/* ==========================================================================
   Образцы нового вида кабинета (21.10.2026). Рахман 19–21.10: шрифты как в презентации и демо-кабинете
   Акопа (Prata + Onest), кнопки и иконки как у Apex .com — живые, с откликом на каждое нажатие; палитру
   «Дрима» не менять. Включается адресом `?look=a` или `?look=b` (запоминается), `?look=0` — прежний вид;
   без выбора кабинет остаётся как был. Выбор Рахмана → этот слой становится основным, флаг уходит.
   Общее у обоих: Prata — заголовки, Onest — интерфейс и цифры (шрифты свои, `fonts/`, без Google);
   иконки рисуются прямо в разметке и двигаются частями на каждое нажатие (`playIcon` в cabinet.js).
   А «Пилюли» — как Apex .com: кнопки-пилюли с мягким свечением и бликом, крупные скругления.
   Б «Чернила» — как демо Акопа: главная кнопка цветом текста, тонкие линии вместо теней, спокойно.
   `html[data-split="1"]` — второе прочтение «чтобы экран разделялся»: список слева, накладная справа.
   ========================================================================== */

/* ---------------------------------------------------------------- шрифты --- */
@font-face { font-family: "Prata"; src: url(fonts/prata-cyrext.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Prata"; src: url(fonts/prata-cyr.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Prata"; src: url(fonts/prata-lat.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* своё имя, чтобы не спорить с Onest из Google, который пока грузит прежний вид */
@font-face { font-family: "Onest Local"; src: url(fonts/onest-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

html[data-look] {
  --font-ui: "Onest Local", "Onest", "Segoe UI", system-ui, sans-serif;
  --font-mono: var(--font-ui);
  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --display-weight: 400;
  --display-track: -0.01em;
  --e-out: cubic-bezier(.22, 1, .36, 1);
  font-synthesis: none;          /* у Prata одно начертание: без поддельного жирного */
}

/* ---------------------------------------------------- заголовки и цифры --- */
html[data-look] .screen-head.hero h1 { font: 400 clamp(30px, 3vw, 40px)/1.06 var(--font-display); letter-spacing: -0.015em; }
html[data-look] .screen-head h1 { font-weight: 400; }
html[data-look] .sec-t { font: 400 23px/1.2 var(--font-display); letter-spacing: -0.01em; }
html[data-look] #sheet-body h2, html[data-look] #sheet-body .card-head h2 { font: 400 25px/1.2 var(--font-display); letter-spacing: -0.01em; }
html[data-look] .gate-mark, html[data-look] .brand-name, html[data-look] .jobs-t { font-weight: 400; }
html[data-look] .gate-tg .gate-card h1, html[data-look] .gate-card h1 { font: 400 30px/1.15 var(--font-display); }
html[data-look] .card .metric .v, html[data-look] .rv-kpi .v, html[data-look] .ms-v, html[data-look] .hero-value,
html[data-look] .sum-lead .sum-t b, html[data-look] .jobs-t b, html[data-look] .rvk .v {
  font-family: var(--font-ui); font-weight: 650; letter-spacing: -0.02em;
}
html[data-look] .screen-kicker { letter-spacing: .1em; }
@media (max-width: 760px) {
  html[data-look] .screen-head.hero h1 { font-size: 28px; }
  html[data-look] #sheet-body h2, html[data-look] #sheet-body .card-head h2 { font-size: 22px; }
  html[data-look] .sec-t { font-size: 21px; }
}

/* ------------------------------------------------- отклик на каждое нажатие --- */
html[data-look] .btn, html[data-look] .chip, html[data-look] .subtab, html[data-look] .ctab, html[data-look] .tab,
html[data-look] .nav-item, html[data-look] .pick, html[data-look] .pill, html[data-look] .seg button {
  transition: transform .14s var(--e-out), background-color .2s var(--ease), box-shadow .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
html[data-look] .btn:active:not([disabled]), html[data-look] .pill:active { transform: scale(.97); }
html[data-look] .chip:active, html[data-look] .subtab:active, html[data-look] .ctab:active,
html[data-look] .nav-item:active, html[data-look] .pick:active, html[data-look] .seg button:active { transform: scale(.96); }
html[data-look] tr.clickable { transition: background-color .2s var(--ease); -webkit-tap-highlight-color: transparent; }
html[data-look] tr.clickable:active td { background: var(--accent-soft); }
html[data-look] .tab:active .tab-ic { transform: scale(.9); }

/* ------------------------------------------------------------ живые иконки ---
   Иконка двигается своими частями (размечены в спрайте index.html): галочка дорисовывается, самолётик
   улетает и возвращается, у корзины поднимается крышка, документ подпрыгивает и дописывает строки.
   Рахман 21.10 днём: «у некоторых просто приближение-отдаление» — увеличения целиком больше нет: плитки обзора
   волной, график дорисовывается, монета переворачивается, звезда подмигивает, у лампочки вспыхивают лучи,
   у кошелька откидывается клапан, мегафон «говорит», ползунки настроек разъезжаются, у часов бегут стрелки.
   Иконка без размеченных частей кивает (`.plain`). Один раз на нажатие, без зацикливания. */
html[data-look] svg.i * { transform-box: fill-box; transform-origin: center; }
html[data-look] svg.i .lid { transform-origin: 90% 100%; }
html[data-look] svg.i .write { transform-origin: 15% 85%; }
html[data-look] svg.i .flap { transform-origin: 0% 100%; }
html[data-look] svg.i .tilt { transform-origin: 0% 50%; }
html[data-look] svg.i .hands { transform-box: view-box; transform-origin: 12px 12px; }   /* вокруг центра циферблата */
svg.i .ray { opacity: 0; }                     /* лучи лампочки видны только в движении — в любом виде */
@keyframes ic-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ic-pop { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.2); } 70% { transform: scale(.94); } }
@keyframes ic-hop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-3.5px); } 62% { transform: translateY(.6px); } }
@keyframes ic-fly { 0% { transform: none; opacity: 1; } 42% { transform: translate(6px, -6px); opacity: 0; }
                    43% { transform: translate(-6px, 6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ic-turn { from { transform: rotate(0); } to { transform: rotate(90deg); } }
@keyframes ic-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes ic-back { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(-38deg); } }
@keyframes ic-up { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-3.5px); } }
@keyframes ic-dn { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(3px); } }
@keyframes ic-lid { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-22deg) translateY(-1px); } }
@keyframes ic-blink { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.1); } }
@keyframes ic-write { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-14deg); } 65% { transform: rotate(9deg); } }
@keyframes ic-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-1.8px); } 50% { transform: translateX(1.8px); } 75% { transform: translateX(-1px); } }
@keyframes ic-scan { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-1.6px, -1px); } 65% { transform: translate(1.6px, 1px); } }
@keyframes ic-squeeze { 0%, 100% { transform: scaleX(1); } 45% { transform: scaleX(.65); } }
@keyframes ic-slide-l { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-3.5px); } }
@keyframes ic-dot { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-3px); } }
@keyframes ic-flash { 0%, 100% { opacity: 1; } 30% { opacity: .15; } 60% { opacity: 1; } 78% { opacity: .5; } }
@keyframes ic-steam { 0% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: .15; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes ic-nudge { 0%, 100% { transform: none; } 30% { transform: translateY(-1.5px) rotate(-10deg); } 65% { transform: rotate(6deg); } }
@keyframes ic-tile { 0%, 100% { transform: none; } 35% { transform: translateY(-2.5px); } 65% { transform: translateY(.5px); } }
@keyframes ic-soar { 0% { transform: translate(-4px, 4px); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes ic-swipe { 0%, 100% { transform: none; } 35% { transform: translateX(3.5px) rotate(-5deg); } 70% { transform: translateX(-1px); } }
@keyframes ic-flip { 0% { transform: none; } 50% { transform: translateY(-2.5px) scaleX(-1); } 100% { transform: none; } }
@keyframes ic-twinkle { 0%, 100% { transform: none; } 30% { transform: translateY(-2px) rotate(-14deg); } 62% { transform: rotate(9deg); } }
@keyframes ic-ray { 0% { opacity: 0; transform: scale(.4); } 35% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ic-flap { 0%, 100% { transform: none; } 40% { transform: rotate(-16deg); } }
@keyframes ic-tilt { 0%, 100% { transform: none; } 25% { transform: rotate(-9deg); } 55% { transform: rotate(5deg); } }
@keyframes ic-slide-r { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(3.5px); } }
html[data-look] svg.i.play-ic .draw { stroke-dasharray: 1; animation: ic-draw .55s var(--e-out) .05s both; }
html[data-look] svg.i.play-ic .draw.d2 { animation-delay: .17s; }
html[data-look] svg.i.play-ic .draw.d3 { animation-delay: .29s; }
html[data-look] svg.i.play-ic .pop, html[data-look] svg.i.play-ic .draw-all { animation: ic-nudge .5s var(--e-out); }
html[data-look] svg.i.play-ic .tile { animation: ic-tile .5s var(--e-out); }
html[data-look] svg.i.play-ic .tile.d2 { animation-delay: .07s; }
html[data-look] svg.i.play-ic .tile.d3 { animation-delay: .14s; }
html[data-look] svg.i.play-ic .tile.d4 { animation-delay: .21s; }
html[data-look] svg.i.play-ic .soar { animation: ic-soar .5s var(--e-out) .32s both; }
html[data-look] svg.i.play-ic .swipe { animation: ic-swipe .55s var(--e-out); }
html[data-look] svg.i.play-ic .flip { animation: ic-flip .7s cubic-bezier(.45, 0, .25, 1); }
html[data-look] svg.i.play-ic .twinkle { animation: ic-twinkle .6s var(--e-out); }
html[data-look] svg.i.play-ic .ray { animation: ic-ray .75s var(--e-out) .08s; }
html[data-look] svg.i.play-ic .flap { animation: ic-flap .55s var(--e-out); }
html[data-look] svg.i.play-ic .tilt { animation: ic-tilt .55s var(--e-out); }
html[data-look] svg.i.play-ic .hands { animation: ic-spin .8s var(--e-out); }
html[data-look] svg.i.play-ic .slide-r { animation: ic-slide-r .45s var(--e-out); }
html[data-look] svg.i.play-ic .hop { animation: ic-hop .55s var(--e-out); }
html[data-look] svg.i.play-ic .hop.d2 { animation-delay: .12s; }
html[data-look] svg.i.play-ic .fly { animation: ic-fly .62s var(--e-out); }
html[data-look] svg.i.play-ic .turn { animation: ic-turn .45s var(--e-out); }
html[data-look] svg.i.play-ic .spin { animation: ic-spin .7s var(--e-out); }
html[data-look] svg.i.play-ic .back { animation: ic-back .55s var(--e-out); }
html[data-look] svg.i.play-ic .up { animation: ic-up .5s var(--e-out); }
html[data-look] svg.i.play-ic .dn { animation: ic-dn .5s var(--e-out); }
html[data-look] svg.i.play-ic .lid { animation: ic-lid .6s var(--e-out); }
html[data-look] svg.i.play-ic .blink { animation: ic-blink .4s ease-in-out; }
html[data-look] svg.i.play-ic .write { animation: ic-write .6s var(--e-out); }
html[data-look] svg.i.play-ic .shake { animation: ic-shake .45s ease-in-out; }
html[data-look] svg.i.play-ic .scan { animation: ic-scan .6s ease-in-out; }
html[data-look] svg.i.play-ic .squeeze { animation: ic-squeeze .45s var(--e-out); }
html[data-look] svg.i.play-ic .slide-l { animation: ic-slide-l .45s var(--e-out); }
html[data-look] svg.i.play-ic .dt { animation: ic-dot .42s ease-in-out .05s; }
html[data-look] svg.i.play-ic .dt.d2 { animation-delay: .13s; }
html[data-look] svg.i.play-ic .dt.d3 { animation-delay: .21s; }
html[data-look] svg.i.play-ic .flash { animation: ic-flash .6s linear; }
html[data-look] svg.i.play-ic .steam { animation: ic-steam .8s ease-in-out; }
html[data-look] svg.i.play-ic.plain { animation: ic-nudge .5s var(--e-out); }
html[data-look] svg.i.play-ic .slide-l.d3 { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  html[data-look] svg.i.play-ic, html[data-look] svg.i.play-ic * { animation: none !important; }
  html[data-look] .btn:active:not([disabled]), html[data-look] .chip:active { transform: none; }
}

/* ==========================================================================
   Вариант А «Пилюли» — как Apex .com
   ========================================================================== */
html[data-look="a"] .btn { border-radius: 999px; padding: 0 20px; }
html[data-look="a"] .btn.sm { border-radius: 999px; padding: 0 14px; }
html[data-look="a"] .btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 82%, white) 0%, var(--accent) 52%,
                              color-mix(in oklab, var(--accent) 86%, black) 100%);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .32), 0 10px 24px -12px color-mix(in oklab, var(--accent) 80%, transparent);
}
html[data-look="a"] .btn.primary:active:not([disabled]) {
  transform: scale(.97);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .22), 0 4px 10px -6px color-mix(in oklab, var(--accent) 70%, transparent);
}
html[data-look="a"] .btn.primary[disabled] { box-shadow: none; }
html[data-look="a"] .btn:not(.primary):not(.ghost) { background: var(--surface); border-color: var(--line); }
html[data-look="a"] .btn.ghost { border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  html[data-look="a"] .btn.primary:hover {
    box-shadow: inset 0 1px 0 oklch(100% 0 0 / .32), 0 16px 30px -14px color-mix(in oklab, var(--accent) 85%, transparent);
  }
  html[data-look="a"] .btn:not(.primary):hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); }
  html[data-look="a"] .btn .i { transition: transform .3s var(--e-out); }
}
/* главная кнопка карточки и окна: крупная пилюля */
html[data-look="a"] .card-actions .btn, html[data-look="a"] .sheet-foot .btn.primary { border-radius: 999px; height: 50px; font-size: 15px; }
/* поля и выпадающие списки — мягче, фокус светится цветом действия */
html[data-look="a"] #sheet-body input:not([type=checkbox]), html[data-look="a"] #sheet-body select,
html[data-look="a"] #sheet-body textarea, html[data-look="a"] .toolbar select, html[data-look="a"] .toolbar input[type="search"] {
  border-radius: 14px;
}
html[data-look="a"] #sheet-body input:focus-visible, html[data-look="a"] #sheet-body select:focus-visible,
html[data-look="a"] .toolbar input[type="search"]:focus-visible {
  outline: 2px solid transparent; outline-offset: 1px;   /* кольцо видно и в режиме высокой контрастности */ border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
/* значки разделов в круглых плашках (как у Apex): в меню и на нижней панели телефона */
html[data-look="a"] .nav-item svg { width: 34px; height: 34px; padding: 7px; margin: -4px 0 -4px -6px; border-radius: 50%;
  background: oklch(100% 0 0 / .08); }
html[data-look="a"] .nav-item.is-active svg { background: var(--accent-soft); }
html[data-look="a"] .card { border-radius: 20px; }
html[data-look="a"] .step { border-radius: 20px; }
html[data-look="a"] .path-step { border-radius: 999px; }
html[data-look="a"] .ctab.is-on { border-bottom-width: 3px; }

/* ==========================================================================
   Вариант Б «Чернила» — как демо-кабинет Акопа
   ========================================================================== */
html[data-look="b"] .btn { border-radius: 10px; }
html[data-look="b"] .btn.sm { border-radius: 9px; }
html[data-look="b"] .btn.primary {
  background: var(--ink); border-color: var(--ink); color: var(--surface); box-shadow: none;
}
html[data-look="b"] .btn.primary:active:not([disabled]) { transform: scale(.98); box-shadow: none; }
html[data-look="b"] .btn.primary.is-busy::after { border-color: var(--surface); border-top-color: transparent; }
html[data-look="b"] .btn:not(.primary):not(.ghost) { background: var(--surface); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) {
  html[data-look="b"] .btn.primary:hover { background: color-mix(in oklab, var(--ink) 86%, var(--surface)); }
  html[data-look="b"] .btn:not(.primary):hover { background: var(--surface-2); border-color: var(--ink-4); }
}
html[data-look="b"] .card-actions .btn, html[data-look="b"] .sheet-foot .btn.primary { border-radius: 12px; height: 48px; }
/* тонкие линии вместо теней */
html[data-look="b"] .card { box-shadow: none; border: 1px solid var(--line); border-radius: 12px; }
html[data-look="b"] .step { border-radius: 12px; }
html[data-look="b"] .chip.is-on { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
html[data-look="b"] .subtab.is-on, html[data-look="b"] .seg button.is-on { box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="b"] #sheet-body input:not([type=checkbox]), html[data-look="b"] #sheet-body select, html[data-look="b"] #sheet-body textarea {
  border-radius: 9px;
}
html[data-look="b"] #sheet-body input:focus-visible, html[data-look="b"] #sheet-body select:focus-visible {
  outline: 2px solid transparent; outline-offset: 1px;   /* кольцо видно и в режиме высокой контрастности */ border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 12%, transparent);
}
html[data-look="b"] .ctab.is-on { color: var(--ink); }

/* ==========================================================================
   «Экран делится» (образец второго прочтения): компьютер, накладная справа, список слева живой
   ========================================================================== */
@media (min-width: 1100px) {
  html[data-split="1"] { --pane: min(56vw, 900px); }
  html[data-split="1"] .overlay { left: auto; right: 0; width: var(--pane); background: transparent; pointer-events: none; }
  html[data-split="1"] .overlay.is-open .modal { pointer-events: auto; box-shadow: -1px 0 0 var(--line), -28px 0 60px -44px oklch(10% .02 var(--h) / .55); }
  html[data-split="1"].sheet-open, html[data-split="1"].sheet-open body { overflow: auto; }
  html[data-split="1"].sheet-open .app { grid-template-columns: 0 1fr; }
  html[data-split="1"].sheet-open .rail { visibility: hidden; }
  html[data-split="1"].sheet-open .main { margin-right: var(--pane); }
  html[data-split="1"].sheet-open .screen-head.hero { display: none; }
  /* узкий список: дата, номер, точка и кнопки строк уходят — строка открывается нажатием справа */
  html[data-split="1"].sheet-open .rest-tbl .num-col, html[data-split="1"].sheet-open .rest-tbl th:nth-child(3),
  html[data-split="1"].sheet-open .work-tbl td[data-k="Дата"], html[data-split="1"].sheet-open .work-tbl th:first-child,
  html[data-split="1"].sheet-open td[data-k="Точка"], html[data-split="1"].sheet-open .work-tbl td.go,
  html[data-split="1"].sheet-open .work-tbl th:last-child { display: none; }
  html[data-split="1"] #sheet-body { max-width: none; }
  html[data-split="1"] tr.clickable.is-open-row td { background: var(--accent-soft); }
}

/* ------------------------------------------------- переключатель образцов --- */
.look-pick {
  position: fixed; z-index: 140; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--navy); color: oklch(100% 0 0 / .92); box-shadow: 0 10px 30px -12px oklch(10% .05 258 / .6);
  font: 600 12.5px/1 var(--font-ui);
}
.look-pick b { padding: 0 8px 0 10px; font-weight: 600; opacity: .7; }
.look-pick button { border: 0; border-radius: 999px; padding: 8px 12px; background: none; color: inherit; font: inherit; cursor: pointer; }
.look-pick button.is-on { background: oklch(100% 0 0 / .18); }
@media (max-width: 760px) { .look-pick { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } .look-pick .split { display: none; } }
html.sheet-open .look-pick { display: none; }   /* поверх окна не мешает: переключать — на списке */

/* ---------------------------- правки по проверке дизайнером и ролями (21.10.2026) --- */
/* цифры табличной ширины — только в столбцах сумм и количеств; в названиях («12шт») обычные */
html[data-look] body { font-variant-numeric: normal; }
html[data-look] .money, html[data-look] .num, html[data-look] .num-col, html[data-look] .item-num, html[data-look] .payline b,
html[data-look] .sum, html[data-look] input.qty, html[data-look] .metric .v, html[data-look] .ms-v, html[data-look] .totals,
html[data-look] .head-sum, html[data-look] .qnav-t, html[data-look] .rvk .v, html[data-look] .jcell, html[data-look] .msum {
  font-variant-numeric: tabular-nums;
}
/* сумма в шапке накладной — главным числом документа */
html[data-look] .head-sum { display: inline-block; font: 650 19px/1.2 var(--font-ui); letter-spacing: -0.01em; }
/* А: значки разделов в кружках заметны на ткани (было 1,1:1 к фону) */
html[data-look="a"] .nav-item svg { background: oklch(100% 0 0 / .15); }
/* А с дисциплиной Б: светящаяся пилюля — только у главной кнопки экрана («Добавить накладную», главная кнопка
   окна); действия в строках списка — спокойным тоном и одной ширины, иначе семь синих брусков подряд шумят */
html[data-look="a"] .work-tbl td.go .btn.primary {
  background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; box-shadow: none;
}
html[data-look="a"] .work-tbl td.go .btn { min-width: 212px; justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  html[data-look="a"] .work-tbl td.go .btn.primary:hover { background: color-mix(in oklab, var(--accent-soft) 70%, var(--accent) 12%); box-shadow: none; }
}
@media (max-width: 620px) { html[data-look="a"] .work-tbl td.go .btn { min-width: 0; } }

/* ------------------ А: цвета состояний (Рахман 21.10 днём: «жёлтое, зелёное и красное — как по-деревенски», ---
   «зелёненький убрать»). Один спокойный набор в цвет Дрима вместо светофора: «в порядке» — глубокий синий
   (зелёного нет нигде), «нужно внимание» — карамель, «проблема» — винный. Меняются только краски, смысл и места
   те же: плашки, журналы, ревизия, шаги накладной. Текст на светлых плашках 5,5:1 и выше, в тёмной теме — 6,4:1. */
html[data-look="a"] {
  --ok:   oklch(45% .12 258);  --ok-soft:   oklch(95.5% .018 258);
  --warn: oklch(50% .095 62);  --warn-soft: oklch(96.6% .018 78);  --warn-strong: oklch(45% .09 60);
  --risk: oklch(50% .16 18);   --risk-soft: oklch(96.3% .02 18);
}
html[data-look="a"][data-theme="dark"] {
  --ok:   oklch(80% .07 258);  --ok-soft:   oklch(30% .045 258);
  --warn: oklch(83% .085 72);  --warn-soft: oklch(31% .04 65);   --warn-strong: var(--warn);
  --risk: oklch(77% .11 18);   --risk-soft: oklch(30% .06 18);
}
/* плашки: тонкая кайма своего цвета и точка-знак у «внимания» и «проблемы» (у кого точки нет в разметке) */
html[data-look="a"] .badge.ok, html[data-look="a"] .badge.warn, html[data-look="a"] .badge.risk {
  border-color: color-mix(in oklab, currentColor 20%, transparent);
}
html[data-look="a"] .badge.warn:not(:has(> .glyph))::before, html[data-look="a"] .badge.risk:not(:has(> .glyph))::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
/* журналы: клетки-пилюли, пропуск — с каймой, легенда кружками */
html[data-look="a"] .jcell { border-radius: 999px; font-weight: 600; }
html[data-look="a"] .jcell.gap { border-color: color-mix(in oklab, var(--risk) 22%, transparent); }
html[data-look="a"] .j-legend .dot { border-radius: 50%; }
/* шаги-подсказки («Укажите товар», «Проверьте итог»): кайма тоньше, без второго цвета */
html[data-look="a"] .step-warn { border-color: color-mix(in oklab, var(--warn) 22%, transparent); }
html[data-look="a"] .step-ok { border-color: color-mix(in oklab, var(--ok) 20%, transparent); }
