/* =====================================================================
   Экраны v2: Главная, Заказы (список + панель заказа), Клиенты, профиль.
   Токены и компоненты — в app.css.
   ===================================================================== */

/* ---------------- Плитка игры ---------------- */
.game {
  width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--g1), var(--g2)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.game::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%); }
.game b { position: relative; z-index: 1; font-size: 11.5px; font-weight: 850; letter-spacing: -.02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.game-sm { width: 30px; height: 30px; border-radius: 10px; } .game-sm b { font-size: 9.5px; }
.game-lg { width: 60px; height: 60px; border-radius: 19px; } .game-lg b { font-size: 16px; }
.avatar-lg { width: 56px; height: 56px; font-size: 19px; }
.avatar-xl { width: 88px; height: 88px; font-size: 30px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 40px -16px rgba(0, 0, 0, .55); }

/* Появление строк лесенкой */
.rise { animation: rise-in var(--t-slow) var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }

/* Сгруппированный блок «как в Настройках iPhone» */
.group { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.group-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.group-title .link-btn, .group-title a { font-size: 13px; color: var(--lime-text); font-weight: 650; }
.cell { display: flex; align-items: center; gap: 12px; padding: 13px 16px; min-height: 52px; position: relative; }
.cell + .cell::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.cell-k { color: var(--text-3); font-size: 13.5px; flex: none; min-width: 110px; }
.cell-v { flex: 1; min-width: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.cell-v.left { text-align: left; justify-content: flex-start; }
.cell-sub { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 500; }
a.cell, button.cell { width: 100%; border: 0; background: none; text-align: left; transition: background var(--t-fast); }
a.cell:hover, button.cell:hover { background: var(--surface-hover); }
.cell .chev { color: var(--text-3); }
/* Копируемое значение: нажал по строке — скопировал */
.cell-copy { cursor: copy; }
.cell-copy:active { background: var(--lime-soft) !important; }

/* =====================================================================
   ГЛАВНАЯ
   ===================================================================== */
.home { display: grid; gap: 24px; }
.home-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.home-hello h1 { font-size: 40px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.home-hello p { color: var(--text-3); margin-top: 8px; font-size: 14.5px; }

/* Требует действия — крупные плитки */
.act-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.act {
  --a: var(--lime); --a-soft: var(--lime-soft); --a-text: var(--lime-text);
  position: relative; overflow: hidden; display: grid; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-1); transition: transform var(--t) var(--spring), box-shadow var(--t) var(--ease);
}
a.act:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
a.act:active { transform: scale(.98); }
.act-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.act-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--a-soft); color: var(--a-text); }
.act-ic .ic { width: 20px; height: 20px; }
.act-n { font-size: 40px; font-weight: 850; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.act-label { font-weight: 700; font-size: 14.5px; }
.act-sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.act.is-zero .act-n { color: var(--text-3); }
.act.is-hot .act-n { color: var(--a-text); }
.act-amber { --a: var(--amber); --a-soft: var(--amber-soft); --a-text: var(--amber-text); }
.act-blue { --a: var(--blue); --a-soft: var(--blue-soft); --a-text: var(--blue-text); }
.act-pink { --a: var(--pink); --a-soft: var(--pink-soft); --a-text: var(--pink-text); }
.act-red { --a: var(--red); --a-soft: var(--red-soft); --a-text: var(--red-text); }
.act-green { --a: var(--green); --a-soft: var(--green-soft); --a-text: var(--green-text); }
.act-live { width: 8px; height: 8px; border-radius: 50%; background: var(--a); --c: var(--a); animation: pulse-dot 1.6s infinite; }

/* Цифры периода */
.kpi-wrap { display: grid; gap: 12px; }
.kpi-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kpi-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; }
.kpi { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 4px; align-content: start; min-width: 0; }
.kpi-label { font-size: 13px; font-weight: 650; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.kpi-label .ic { width: 16px; height: 16px; color: var(--text-3); }
.kpi-v { font-size: 30px; font-weight: 850; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-note { font-size: 12px; color: var(--text-3); }
.kpi-main { }
.kpi-main .kpi-v { font-size: 38px; color: var(--lime-text); }
:root:not([data-theme="dark"]) .kpi-main .kpi-v { color: var(--text); }

/* Распределение по статусам — одна полоса */
.mix { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 16px; }
.mix-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; background: var(--surface-3); }
.mix-bar span { display: block; height: 100%; min-width: 4px; border-radius: 99px; transform-origin: left; animation: grow-x .9s var(--spring) both; }
@keyframes grow-x { from { transform: scaleX(0); } }
.mix-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; }
.mix-li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.mix-li i { width: 10px; height: 10px; border-radius: 4px; flex: none; }
.mix-li b { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }

.home-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.supplier { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.supplier-v { font-size: 30px; font-weight: 850; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.supplier-meter { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.supplier-meter span { display: block; height: 100%; border-radius: inherit; animation: grow-x 1s var(--spring) both; }

/* Мини-список последних заказов на главной */
.mini { display: grid; }
.mini-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 16px; position: relative; transition: background var(--t-fast); }
.mini-row:hover { background: var(--surface-hover); }
.mini-row + .mini-row::before { content: ""; position: absolute; top: 0; left: 58px; right: 0; height: 1px; background: var(--line); }
.mini-t { font-weight: 650; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-s { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =====================================================================
   ЗАКАЗЫ
   ===================================================================== */
.ow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.ow.has-order { grid-template-columns: minmax(0, 1fr) minmax(420px, 480px); }
.ow-list { display: grid; gap: 14px; min-width: 0; }
.ow-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.ow-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ow-tools .input-wrap { flex: 1 1 260px; max-width: 380px; }
.ow-tools .input { height: 42px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1); }
.ow-tools .seg { background: var(--surface); box-shadow: var(--shadow-1); }
.seg-btn .count { background: var(--surface-3); color: var(--text-2); }
.seg-btn[aria-selected="true"] .count { background: var(--lime); color: var(--lime-ink); }

/* overflow: clip, а не hidden — иначе список становится контейнером прокрутки
   и «липкие» заголовки дней прилипают внутри него, а не к окну. */
.ol { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: clip; }
.ol-day { position: sticky; top: var(--top-h); z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 18px 8px; font-size: 12px; font-weight: 750; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em;
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ol-day b { font-weight: 650; text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.or {
  display: grid; grid-template-columns: 40px minmax(0, 1.7fr) minmax(0, 1fr) 112px 150px 36px; align-items: center; gap: 14px;
  padding: 12px 12px 12px 18px; position: relative; cursor: pointer; outline: none;
  transition: background var(--t-fast) var(--ease);
}
.or + .or::before { content: ""; position: absolute; top: 0; left: 72px; right: 0; height: 1px; background: var(--line); }
.or:hover { background: var(--surface-hover); }
.or:focus-visible { background: var(--surface-hover); box-shadow: inset 3px 0 0 var(--lime-text); }
.or.current { background: var(--lime-soft); }
.or.current::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lime-text); }
.or.flash { animation: row-flash 1.2s var(--ease); }
@keyframes row-flash { 0% { background: var(--lime-soft); } 100% { background: transparent; } }
.or-t { font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
.or-no { color: var(--text-3); font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.or-s { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.or-client { display: flex; align-items: center; gap: 9px; min-width: 0; }
.or-client .avatar { width: 26px; height: 26px; font-size: 10px; }
.or-client span { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or-client .guest { color: var(--text-3); font-weight: 500; }
.or-sum { text-align: right; }
.or-sum .amount { font-size: 14.5px; font-weight: 750; }
.or-pay { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or-st { display: flex; align-items: center; gap: 6px; min-width: 0; }
.or-flags { display: inline-flex; gap: 4px; }
.or-act { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--text-3); display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
.or-act:hover { background: var(--surface-3); color: var(--text); }
.ol-foot { padding: 14px 18px; text-align: center; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); }
/* Когда открыт заказ — строки компактнее */
.ow.has-order .or { grid-template-columns: 40px minmax(0, 1fr) 104px 36px; }
.ow.has-order .or-client, .ow.has-order .or-st .chip { display: none; }
.ow.has-order .or-st { display: none; }
.ow.has-order .or-sum .or-pay { display: none; }
.or-dot { display: none; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ow.has-order .or-dot { display: inline-block; }

/* ---------------- Панель заказа ---------------- */
/* Липкая — обёртка (элемент сетки), иначе панель не может «прилипнуть»:
   её собственный контейнер ровно её высоты. */
.ow.has-order > #order-result { position: sticky; top: calc(var(--top-h) + 4px); align-self: start; }
.insp {
  max-height: calc(100dvh - var(--top-h) - var(--dock-h) - 40px - var(--safe-b));
  overflow-y: auto; overscroll-behavior: contain; border-radius: var(--r-xl); background: var(--surface-2);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line); scrollbar-width: thin;
  animation: insp-in var(--t-slow) var(--spring) both;
}
@keyframes insp-in { from { opacity: 0; transform: translateX(18px) scale(.985); } }
.insp-bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 16px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.insp-bar .insp-no { font-size: 15px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.insp-in { display: grid; gap: 18px; padding: 6px 16px 20px; }
.insp-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 6px 2px 0; }
.insp-title { font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.insp-meta { font-size: 13px; color: var(--text-3); margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.insp-money { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.insp-sum { font-size: 34px; font-weight: 850; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.insp-old { font-size: 13px; color: var(--text-3); text-decoration: line-through; margin-top: 4px; }
.insp-pay { text-align: right; font-size: 13px; color: var(--text-2); font-weight: 600; }
.insp-pay small { display: block; color: var(--text-3); font-weight: 500; font-size: 12px; margin-top: 2px; }
.insp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.insp-acts .btn { flex: 1 1 auto; height: 46px; font-size: 14.5px; }
.insp-acts .btn-ghost { flex: 0 0 auto; }
.insp-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-text); font-size: 13.5px; }
.insp .group { background: var(--surface); }
.insp .timeline { padding: 16px 16px 0; }

/* Позиции заказа из нескольких товаров */
.oi { display: grid; }
.oi-head { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; font-size: 12.5px; color: var(--text-3); font-weight: 600; border-bottom: 1px solid var(--line); }
.oi-head span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.oi-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.oi-row:last-child { border-bottom: 0; }
.oi-pos { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); font-size: 12px; font-weight: 750; color: var(--text-2); }
.oi-title { font-weight: 650; font-size: 13.5px; }
.oi-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.oi-err { font-size: 12.5px; color: var(--red-text); margin-top: 4px; }
.oi-err.faint { color: var(--text-3); }
.oi-code { font-family: var(--mono); font-size: 13px; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: var(--surface-3); display: inline-flex; align-items: center; gap: 4px; }
.oi-side { display: grid; justify-items: end; gap: 6px; align-content: start; }
.oi-acts { grid-column: 2 / -1; display: flex; gap: 6px; flex-wrap: wrap; }

.group-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: relative; }
.group-item + .group-item::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
a.group-item:hover { background: var(--surface-hover); }
.group-item.current { background: var(--lime-soft); }
.group-idx { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); font-size: 12px; font-weight: 750; }

/* Денежные строки внутри панели */
.money-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: relative; }
.money-row + .money-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.money-row .grow > div:first-child { font-weight: 600; font-size: 13.5px; }
.money-row .grow > div + div { font-size: 12px; color: var(--text-3); }
.money-row .amount { font-size: 14.5px; }
.money-sub { padding: 12px 16px 4px; font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--line); }
.pay-id { display: flex; align-items: center; gap: 6px; padding: 2px 16px 10px; font-size: 12.5px; color: var(--text-2); }
.pay-id .mono { color: var(--text); }

/* =====================================================================
   КЛИЕНТЫ И ПРОФИЛЬ
   ===================================================================== */
.ul { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.ur { display: grid; grid-template-columns: 40px minmax(0, 1fr) 150px 170px 20px; align-items: center; gap: 14px; padding: 12px 16px 12px 18px; position: relative; cursor: pointer; transition: background var(--t-fast); outline: none; }
.ur + .ur::before { content: ""; position: absolute; top: 0; left: 72px; right: 0; height: 1px; background: var(--line); }
.ur:hover, .ur:focus-visible { background: var(--surface-hover); }
.ur-n { font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ur-n span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ur-s { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.ur-c { font-size: 12.5px; color: var(--text-2); }
.ur-c small { display: block; font-size: 11.5px; color: var(--text-3); }
.ur .chev { color: var(--text-3); }

.prof { display: grid; gap: 20px; }
.prof-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-1);
}
.prof-hero > * { position: relative; }
.prof-name { font-size: 32px; font-weight: 850; letter-spacing: -.035em; line-height: 1.05; overflow-wrap: anywhere; }
.prof-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.prof-id { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 13px; color: var(--text-3); margin-top: 6px; }
.prof-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.prof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pstat { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 4px; transition: transform var(--t) var(--spring), box-shadow var(--t); }
a.pstat:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pstat-k { font-size: 12.5px; color: var(--text-3); font-weight: 650; display: flex; align-items: center; gap: 6px; }
.pstat-k .ic { width: 15px; height: 15px; }
.pstat-v { font-size: 26px; font-weight: 850; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pstat-v.sm { font-size: 17px; letter-spacing: -.02em; }
.pstat-n { font-size: 12px; color: var(--text-3); }
.pstat-ring { --p: 0; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--p) * 1%), var(--surface-3) 0); display: grid; place-items: center; float: right; margin-top: -4px; }
.pstat-ring::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); }
.prof-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.danger-zone { padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--red-soft); display: grid; gap: 10px; }
.danger-zone b { color: var(--red-text); }
.danger-zone p { font-size: 13px; color: var(--text-3); }

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .ow.has-order { grid-template-columns: minmax(0, 1fr); }
  .ow.has-order .ow-list { display: none; }
  .ow.has-order > #order-result { position: static; }
  .insp { max-height: none; overflow: visible; }
  .insp-bar { position: sticky; top: var(--top-h); }
  .home-cols, .prof-cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .or { grid-template-columns: 40px minmax(0, 1fr) auto 32px; }
  .or-client { display: none; }
  .or-st { grid-column: 2; grid-row: 2; margin-top: -4px; }
  .or-st .chip { height: 22px; font-size: 11.5px; }
  .or-sum { grid-column: 3; grid-row: 1 / span 2; }
  .or-act { grid-column: 4; grid-row: 1 / span 2; }
  .ur { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .ur-c { display: none; }
  .prof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prof-hero { grid-template-columns: auto minmax(0, 1fr); }
  .prof-acts { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 639px) {
  .home-hello h1 { font-size: 32px; }
  .act-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .act { padding: 14px; gap: 10px; }
  .act-n { font-size: 32px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi-main { grid-column: 1 / -1; }
  .kpi-v { font-size: 22px; }
  .kpi-main .kpi-v { font-size: 32px; }
  .ow-tools .input-wrap { max-width: none; flex-basis: 100%; }
  .ow-tools .seg { width: 100%; }
  .ol { border-radius: 20px; }
  .or { padding-left: 14px; gap: 10px; }
  .or + .or::before { left: 64px; }
  .insp { border-radius: 26px; }
  .insp-in { padding: 4px 12px 16px; }
  .insp-sum { font-size: 30px; }
  .prof-hero { padding: 20px; gap: 14px; }
  .prof-name { font-size: 26px; }
  .avatar-xl { width: 64px; height: 64px; font-size: 22px; }
  .cell-k { min-width: 90px; }
}
