/* Новое оформление Mugboard: светлая стеклянная панель на мягком сиренево-голубом градиенте, меню слева,
   фиолетовый акцент, белые карточки с цветными плитками-иконками. Подключается поверх app.css только при
   оформлении «Новое» (Настройки → Оформление); прежнее оформление живёт в app.css без изменений. */

@font-face { font-family: 'Wix Madefor Display'; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/wix-madefor-display-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Display'; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/wix-madefor-display-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Wix Madefor Text'; font-weight: 400; font-display: swap;
  src: url(/static/fonts/wix-madefor-text-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Text'; font-weight: 400; font-display: swap;
  src: url(/static/fonts/wix-madefor-text-400-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Wix Madefor Text'; font-weight: 500; font-display: swap;
  src: url(/static/fonts/wix-madefor-text-500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Text'; font-weight: 500; font-display: swap;
  src: url(/static/fonts/wix-madefor-text-500-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Wix Madefor Text'; font-weight: 600 700; font-display: swap;
  src: url(/static/fonts/wix-madefor-text-600-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Text'; font-weight: 600 700; font-display: swap;
  src: url(/static/fonts/wix-madefor-text-600-latin.woff2) format('woff2'); 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; }

/* Палитра — одна для светлой и тёмной темы системы: макет светлый, стекло на тёмном не читается
   (тёмная палитра app.css действует только на прежнее оформление). Текст и тоны — не ниже 4,5:1 к своей подложке. */
:root.glass {
  --bg: #EEEDF8; --surface: #FFFFFF; --surface-2: #F8F7FD; --muted-bg: #F1F0F8;
  --ink: #12122A; --ink-2: #44465A; --muted: #5F6377; --faint: #A3A6B8;
  --line: #E8E7F2; --line-2: #EFEEF6; --line-3: #DCDBEA;
  --accent: #7C47E6; --accent-bg: #EFE9FD; --accent-line: #8B5CF0; --accent-ink: #6532D8;
  --warn: #A1460F; --warn-bg: #FCEFE3; --run: #2A63C6; --run-bg: #E6EFFD; --ok: #1F9D63;
  --btn: #7C47E6; --btn-ink: #FFFFFF; --live-bg: #12122A; --live-ink: #FFFFFF; --live-muted: #C9C9DA;
  --hatch-1: #E6E5F1; --hatch-2: #F6F5FB;
  --good: #167650; --good-bg: #E3F5EC; --bad: #C2372C; --bad-bg: #FCECEA; --warn-2: #9A4A08; --warn-2-bg: #FDF0E2;
  --violet: #7C47E6; --violet-bg: #EFE9FD; --blue: #2A63C6; --blue-bg: #E3EEFC; --green: #1B9460; --green-bg: #DDF3E8;
  --orange: #E37B23; --orange-bg: #FDEBD8;
  --brand-heart: #FFFFFF;
  --glass: rgba(255, 255, 255, .62); --glass-side: rgba(255, 255, 255, .55); --glass-line: rgba(255, 255, 255, .8);
  --shadow: 0 1px 2px rgba(40, 30, 90, .06);
  --shadow-card: 0 1px 2px rgba(40, 30, 90, .05), 0 6px 20px rgba(60, 40, 130, .06);
  --shadow-pop: 0 2px 6px rgba(40, 30, 90, .08), 0 18px 44px rgba(60, 40, 130, .16);
  --r-card: 18px; --r-ctl: 12px;
  --f-text: 'Wix Madefor Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Wix Madefor Display', 'Wix Madefor Text', system-ui, sans-serif;
  color-scheme: light;
}
.glass .t-neutral { --c: #5B5E78; --cb: #EEEEF5; }
/* мелкие серые подписи и значки — не бледнее 4,5:1 (текст) и 3:1 (значки) */
.glass button.copy { color: var(--muted); opacity: 1; }
.glass .st-opt .tn { opacity: 1; }
.glass .sort-hint { color: var(--muted); }

/* Фон и стекло */
/* Градиент — отдельным неподвижным слоем: background-attachment: fixed перерисовывал весь фон на каждом кадре прокрутки */
html.glass { background: #EEF0FA; min-height: 100%; }
html.glass::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 8% -10%, #D8C7F6 0%, rgba(216, 199, 246, 0) 60%),
    radial-gradient(1100px 900px at 105% 110%, #C9D9F4 0%, rgba(201, 217, 244, 0) 60%),
    linear-gradient(135deg, #E6DDF9 0%, #EEF0FA 48%, #DCE6F7 100%); }
.glass body, body.glass { background: transparent;
  font-family: var(--f-text); font-size: 15px; line-height: 1.45; color: var(--ink);
}
.glass ::selection { background: #DCCDFB; color: var(--ink); }
.glass * { scrollbar-color: #CFC8E6 transparent; }
.glass h1, .glass h2, .glass h3, .glass .kpi .v, .glass .tile .n, .glass .facts b, .glass .rec-n {
  font-family: var(--f-display); }
.glass .tn, .glass .tbl td { font-variant-numeric: tabular-nums; }
.glass :focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
.glass .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.glass .shell { display: flex; align-items: stretch; min-height: calc(100dvh - 32px); margin: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 28px;
  box-shadow: 0 30px 80px -30px rgba(70, 45, 150, .28), 0 2px 10px rgba(70, 45, 150, .06); }
/* Размытия под панелью нет намеренно: под ней ровный градиент, а размытие во всю страницу вместе с «липкими»
   меню и поиском давало в Chrome полупрозрачные прямоугольники при начале прокрутки (продавец, 09.10.2026) */
.glass .work { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* Боковое меню */
.glass .side { position: sticky; top: 16px; align-self: flex-start; height: calc(100dvh - 32px); width: 236px; flex: none;
  display: flex; flex-direction: column; gap: 6px; padding: 26px 14px 18px; background: var(--glass-side);
  border-right: 1px solid rgba(255, 255, 255, .9); border-radius: 28px 0 0 28px; overflow-y: auto; scrollbar-width: none; }
.glass .side .brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 26px; text-decoration: none; }
.glass .brand-mark { width: 48px; height: 48px; border-radius: 0; background: none; color: var(--violet); flex: none; }
.glass .brand-mark svg { width: 48px; height: 48px; }
.glass .brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.glass .brand-t b { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.glass .brand-t small { border: 0; padding: 0; margin-top: 4px; font-size: 14px; color: var(--muted); }
.glass .side .nav { flex-direction: column; gap: 8px; }
.glass .side .nav a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 14px; border-radius: 14px;
  font-size: 17px; font-weight: 500; color: var(--ink-2); border: 1px solid transparent; transition: background .15s, color .15s; }
.glass .side .nav a .ic { color: #3C3E52; flex: none; width: 24px; height: 24px; }
.glass .side .nav a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.glass .side .nav a.on { background: linear-gradient(180deg, #EEE8FD, #E7E0FB); border-color: #DDD2FA; color: var(--accent-ink); }
.glass .side .nav a.on .ic { color: var(--accent); }
.glass .side .nav-n { margin-left: auto; min-width: 26px; height: 26px; border-radius: 13px; padding: 0 7px; font-size: 13px;
  background: var(--violet); color: #fff; }
.glass .side .demo { align-self: flex-start; margin: 0 8px 6px; }
.glass .sync { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.glass .sync small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.glass .sync-ic { color: var(--violet); display: flex; }
.glass .sync:hover { border-color: #DDD2FA; }
.glass .side-out { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; margin-top: 4px; padding: 0 14px;
  border: 0; border-radius: 12px; background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.glass .side-out:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }

/* Верх рабочей области: поиск плавает справа и остаётся под рукой при прокрутке */
.glass .top { position: sticky; top: 0; z-index: 20; height: auto; display: flex; justify-content: flex-end; gap: 12px;
  padding: 26px 34px 0; margin-bottom: -66px; background: none; border: 0; border-radius: 0 28px 0 0; pointer-events: none;
  transition: background .2s, box-shadow .2s; }
/* при прокрутке поиск — на полупрозрачной полосе во всю ширину, чтобы не закрывать кнопки под собой */
.glass .top.stuck { padding: 12px 34px 12px; margin-bottom: -64px; border-radius: 0; background: rgba(246, 244, 252, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(220, 219, 234, .9), 0 10px 24px -18px rgba(60, 40, 130, .35); pointer-events: auto; }
.glass .top > * { pointer-events: auto; }
.glass .hsearch { position: relative; display: flex; align-items: center; }
.glass .hsearch .ic { position: absolute; left: 14px; z-index: 1; color: var(--muted); pointer-events: none; }
.glass .hsearch .input { width: min(480px, 38vw); min-height: 44px; padding-left: 44px; font-size: 15px; border-radius: 14px;
  background: rgba(255, 255, 255, .88); border-color: var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-card); }
.glass .hsearch .input::placeholder { color: #707387; }

.glass .page { max-width: 1560px; width: 100%; margin: 0; padding: 30px 34px 56px; gap: 26px; }
.glass .page-head { align-items: flex-end; min-height: 44px; }
/* заголовок не заходит под плавающий поиск; переключатель периода — справа под поиском */
.glass .page-head:has(.seg) { flex-wrap: wrap; row-gap: 14px; min-height: 92px; align-items: flex-start; }
/* мало места рядом с периодами — они уходят строкой ниже, а подпись не жмётся в три строки (24.10.2026) */
.glass .page-head:has(.seg) > div:first-child { flex: 1 0 460px; max-width: 100%; }
.glass .page-head:has(.seg) > .seg { align-self: flex-end; }
.glass .page-head .seg { flex: none; flex-wrap: nowrap; }
.glass .dz-info .page-head:has(.seg) { flex-wrap: wrap; min-height: 0; }
.glass .page-head h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.glass .page-head p { font-size: 16px; margin-top: 8px; color: var(--muted); }
.glass .crumbs { font-size: 14px; }
.glass .crumbs a:hover { color: var(--accent-ink); }

/* Переключатель периода: белая подложка, выбранный — фиолетовый */
.glass .seg { padding: 4px; gap: 2px; border-radius: 14px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); }
.glass .seg a, .glass .seg button, .glass .seg label span { min-height: 36px; padding: 0 16px; border-radius: 10px; font-size: 14px;
  font-weight: 500; color: var(--ink-2); justify-content: center; }
.glass .seg a:hover, .glass .seg button:hover { color: var(--ink); background: var(--surface-2); }
.glass .seg a.on, .glass .seg button.on, .glass .seg label input:checked + span { background: var(--accent-bg); color: var(--accent-ink);
  box-shadow: 0 0 0 1px #DCCFFB inset; font-weight: 600; }

/* Кнопки и поля */
.glass .btn { border-radius: var(--r-ctl); font-weight: 600; transition: background .15s, box-shadow .15s, opacity .15s, transform .1s; }
.glass .btn:not(.ghost) { box-shadow: 0 6px 16px -6px rgba(124, 71, 230, .6); }
.glass .btn:not(.ghost):not(:disabled):not([aria-disabled="true"]):hover { opacity: 1; background: #6D38DA; }
.glass .btn.ghost { background: rgba(255, 255, 255, .9); border-color: var(--line-3); color: var(--ink); }
.glass .btn.ghost:not(:disabled):not([aria-disabled="true"]):hover { opacity: 1; border-color: #CDBFF7; color: var(--accent-ink); }
.glass .btn.small { border-radius: 10px; }
.glass .btn .ic { flex: none; }
.glass .input { border-radius: 10px; border-color: var(--line-3); }
.glass .input:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(139, 92, 240, .18); }
.glass .st-all { color: var(--accent-ink); }

/* Карточки */
.glass .card { border: 1px solid rgba(232, 231, 242, .9); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.glass .card h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.glass .sec-head { margin: 2px 0 -14px; gap: 14px; }
.glass .sec-head h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.glass .note { color: var(--muted); }
.glass .alert { border-radius: var(--r-card); overflow-wrap: anywhere; }

/* Показатели вверху главной: цветная плитка-иконка, число, подпись */
.glass .kpis { gap: 16px; }
.glass .kpi { flex-direction: row; align-items: center; gap: 14px; padding: 18px; min-height: 100px; }
.glass .kpi-ic { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  flex: none; background: var(--cb); color: var(--c); }
.glass .k-blue { --c: var(--blue); --cb: var(--blue-bg); }
.glass .k-green { --c: var(--green); --cb: var(--green-bg); }
.glass .k-orange { --c: var(--orange); --cb: var(--orange-bg); }
.glass .k-violet { --c: var(--violet); --cb: var(--violet-bg); }
.glass .kpi-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.glass .kpi .v { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.glass .kpi .l { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* Рекомендации и группы: номер, плитка-иконка, заголовок с числом, пояснение, стрелка «свернуть» */
.glass .recs { gap: 12px; }
.glass .rec { border-left: 1px solid rgba(232, 231, 242, .9); padding: 0; gap: 0; overflow: hidden; }
.glass .rec-head { flex-wrap: nowrap; align-items: flex-start; gap: 16px; padding: 18px 18px 18px 22px; cursor: pointer; }
.glass .rec-n { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; margin-top: 2px; color: #fff; background: var(--c); }
.glass .rec-n.cnt { width: auto; min-width: 32px; padding: 0 9px; font-size: 15px; }
.glass .rec-ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--cb); color: var(--c); margin-top: -5px; }
.glass .rec-hd { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 0 1 auto; padding-top: 4px; }
.glass .rec-head h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.glass .rec-cnt { font-family: var(--f-text); font-weight: 400; color: var(--muted); font-size: 17px; }
.glass .rec-lead { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 78ch; }
.glass .rec-head .btn { flex: none; margin-top: 2px; }
.glass .rec-tog { flex: none; width: 36px; height: 36px; margin-top: 0; border: 0; border-radius: 10px; background: none; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, transform .2s ease-out; }
.glass .rec-tog:hover { background: var(--muted-bg); color: var(--ink); }
.glass .rec-tog .ic { transform: rotate(180deg); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.glass .rec.is-closed .rec-tog .ic { transform: none; }
.glass .rec.is-closed .rec-head { padding-bottom: 18px; align-items: center; }
.glass .rec.is-closed .rec-n, .glass .rec.is-closed .rec-ic, .glass .rec.is-closed .rec-head .btn { margin-top: 0; }
.glass .rec.is-closed .rec-lead, .glass .rec.is-closed .rec-body { display: none; }
.glass .rec.is-closed .rec-hd { padding-top: 0; }
.glass .rec-head:hover .rec-tog { background: var(--muted-bg); }
.glass .rec-body { display: flex; flex-direction: column; gap: 14px; padding: 0 22px 18px 22px; }
.glass .rec-chips { padding-left: 110px; gap: 10px; }
.glass .rec-stack { padding-left: 110px; }
.glass .chip { flex-direction: row; align-items: baseline; gap: 6px; padding: 9px 14px; border-radius: 10px; background: var(--cb);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent) inset; }
.glass .chip small { font-size: 14px; color: var(--c); }
.glass .chip b { font-size: 15px; font-weight: 600; color: var(--c); }
.glass .rec-items { grid-template-columns: 64px minmax(0, 1.3fr) max-content minmax(200px, 1fr); column-gap: 20px; margin: 0 -22px; padding: 0 22px; }
.glass .rec-items li { padding: 10px 0; border-top-color: var(--line-2); }
.glass .ri-photo { width: 64px; height: 48px; border-radius: 10px; }
.glass .ri-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.glass .ri-note { font-size: 13px; color: var(--muted); }
.glass .ri-action { font-size: 13px; padding: 6px 12px; }
.glass .ri-bar { font-size: 13px; color: var(--ink-2); gap: 7px; }
.glass .rbar { height: 9px; border-radius: 5px; background: #EEEDF5; }
.glass .rbar i { border-radius: 5px; }
.glass .rec-more-wrap { border-top-color: var(--line-2); padding-top: 14px; }
@supports not (grid-template-columns: subgrid) {
  .glass .rec-items li { grid-template-columns: 64px minmax(0, 1.3fr) 190px minmax(200px, 1fr); column-gap: 20px; }
}
.glass .dist { height: 14px; border-radius: 7px; }
.glass .legend span::before { border-radius: 4px; }

/* Плитки групп */
.glass .tile { border-left: 1px solid rgba(232, 231, 242, .9); }
.glass .tile .n { font-size: 30px; }
.glass .tile:hover { background: #fff; border-color: #DDD2FA; }

/* Списки */
.glass .toolbar { border-bottom-color: var(--line-2); }
.glass .st-opt { min-height: 32px; font-size: 13px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 16%, transparent) inset; }
.glass .st-opt.off { box-shadow: 0 0 0 1px var(--line-3) inset; }
.glass table.tbl { font-size: 14px; }
.glass .tbl th { font-size: 13px; color: var(--muted); font-weight: 500; background: var(--surface); }
.glass .tbl th.sorted { color: var(--accent-ink); }
.glass .tbl td { border-bottom-color: var(--line-2); }
.glass .tbl tbody tr:hover, .glass .tbl tbody tr:hover td.stick { background: #F8F6FE; }
.glass .tbl .name > a { font-size: 15px; }
.glass .ph img, .glass .ph .noimg { border-radius: 8px; }
.glass .flag { border-radius: 7px; font-size: 12px; padding: 3px 8px; }
.glass .tbl td.l .flags .flag { white-space: normal; max-width: 100%; }  /* длинный статус переносится, а не наезжает на «Рейтинг» */
.glass .float-head { box-shadow: 0 8px 18px -10px rgba(60, 40, 130, .3); }
.glass .rng-i { border-radius: 8px; }
.glass .print-total b { font-family: var(--f-display); font-size: 20px; }

/* Страница принта */
.glass .dz-photo { border-radius: 22px; box-shadow: var(--shadow-card); }
.glass .dz-info h1 { font-size: 30px; }
.glass .verdict { border-left: 1px solid rgba(232, 231, 242, .9); position: relative; padding: 20px 22px 20px 30px; overflow: hidden; }
.glass .verdict::before { content: ''; position: absolute; left: 14px; top: 22px; width: 8px; height: 8px; border-radius: 4px; background: var(--c); }
.glass .verdict .t { font-family: var(--f-display); font-size: 20px; }
.glass .facts b { font-size: 22px; }
.glass .chart rect.bar { fill: #9B86D9; }
.glass .chart rect.bar-orders { fill: var(--violet); opacity: .85; }
.glass .chart rect.bar:hover { fill: var(--accent-ink); opacity: 1; }

/* Задачи */
.glass .kboard { border: 1px solid rgba(232, 231, 242, .9); border-top: 1px solid rgba(232, 231, 242, .9); border-radius: 22px;
  box-shadow: var(--shadow-card); }
.glass .kboard-head .ticon { color: var(--c); }
.glass .kboard-head::before { content: ''; width: 10px; height: 10px; border-radius: 5px; background: var(--c); flex: none; }
.glass .bcol { border-radius: 16px; }
.glass .tcard { border-left: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.glass .tcard .tkind::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--c); flex: none; }
.glass .tbtn { border-radius: 9px; }

/* Настройки */
.glass .fset .frow .input { border-radius: 9px; }
.glass .theme-pick { display: flex; gap: 12px; flex-wrap: wrap; }

/* Всплывающее */
.glass .why-pop, .glass .kpick-menu, .glass .pickbar { border-radius: 16px; box-shadow: var(--shadow-pop); }
.glass .why-pop { border-top-width: 1px; border-color: var(--line-3); }
.glass .why-x { width: 32px; height: 32px; display: grid; place-items: center; margin: -6px -6px -6px 0; padding: 0; border-radius: 8px; }
.glass .why-x:hover { background: var(--muted-bg); }
.glass .why-pop:focus { outline: none; }
.glass .tbl th:not([data-k]) { cursor: default; }
.glass .why-head b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 4px;
  background: var(--c, var(--ink)); vertical-align: 1px; }
.glass .toast { border-radius: 14px; background: var(--ink); box-shadow: var(--shadow-pop); z-index: var(--z-toast); }
.glass .period-float { background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: var(--shadow-pop); border-radius: 14px; }
.glass .period-float a.on { background: var(--accent-bg); color: var(--accent-ink); box-shadow: 0 0 0 1px #DCCFFB inset; }
.glass .zoom-pop { border-radius: 18px; box-shadow: var(--shadow-pop); }

/* Вход */
.glass .login .card { border-radius: 24px; padding: 32px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px); box-shadow: var(--shadow-pop); }
.glass .login .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

/* Плавающий переключатель периода — внизу посередине, в строку (продавец, 10.10.2026); поля справа не нужны */
@media (min-width: 901px) {
  body.glass:has(.page-head .seg) .page { padding-right: 34px; }
  .glass .period-float { left: calc(50% + 126px); right: auto; top: auto; bottom: 16px; transform: translateX(-50%); flex-direction: row; padding: 4px; }
  /* посередине рабочей области — правее меню на половину его ширины */
  .glass .period-float a { padding: 8px 12px; font-size: 13px; }
}

/* Узкие экраны: меню — полоса сверху, панель без полей */
@media (max-width: 1180px) {
  .glass .side { width: 216px; }
  .glass .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glass .rec-chips, .glass .rec-stack { padding-left: 0; }
}
@media (max-width: 900px) {
  .glass .shell { margin: 0; border-radius: 0; flex-direction: column; min-height: 100dvh; border: 0; }
  .glass .side { position: sticky; top: 0; z-index: 30; height: auto; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: 6px 10px; padding: 10px 12px; border-radius: 0; border-right: 0; border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: visible; }
  .glass .side .brand { padding: 0 4px; }
  .glass .brand-mark, .glass .brand-mark svg { width: 34px; height: 34px; }
  .glass .brand-t b { font-size: 19px; }
  .glass .brand-t small, .glass .side .grow, .glass .sync { display: none; }
  .glass .side form { margin-left: auto; }
  .glass .side-out { margin: 0; min-height: 36px; padding: 0 10px; }
  .glass .side-out span { display: none; }
  .glass .side .nav { order: 5; flex-direction: row; width: 100%; overflow-x: auto; gap: 4px; }
  .glass .side .nav a { min-height: 40px; padding: 0 12px; gap: 8px; font-size: 14px; white-space: nowrap; border-radius: 11px; }
  .glass .side .nav a .ic { width: 18px; height: 18px; }
  .glass .side .nav-n { min-width: 20px; height: 20px; font-size: 11px; margin-left: 2px; }
  .glass .top { position: static; align-self: stretch; margin: 0; padding: 12px 16px 0; }
  .glass .hsearch { flex: 1; }
  .glass .hsearch .input { width: 100%; }
  .glass .page { padding: 18px 16px 88px; gap: 20px; }
  body.glass:has(.page-head .seg) .page { padding-right: 16px; }  /* поле под плавающий период не нужно: до 900px его нет */
  .glass .page-head > div:first-child { padding-right: 0; }
  .glass .page-head:has(.seg) { flex-wrap: wrap; min-height: 0; }
  .glass .page-head .seg { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
  .glass .page-head .seg a { white-space: nowrap; padding: 0 12px; flex: 1 0 auto; }
  .glass .page-head h1 { font-size: 28px; }
  .glass .kpi { padding: 16px; gap: 12px; min-height: 0; }
  .glass .kpi-ic { width: 42px; height: 42px; border-radius: 12px; }
  .glass .kpi-ic .ic { width: 22px; height: 22px; }
  .glass .kpi .v { font-size: 22px; }
  .glass .kpi .l { font-size: 12px; }
}
@media (max-width: 700px) {
  .glass .rec-head { flex-wrap: wrap; gap: 10px 12px; padding: 16px; }
  .glass .rec-ic { display: none; }
  .glass .rec-hd { flex: 1 1 calc(100% - 100px); }
  .glass .rec-head .btn { order: 5; width: auto; margin-left: 44px; }
  .glass .rec-head .grow { display: none; }
  .glass .rec-tog { margin-left: auto; }
  .glass .rec-head h3 { font-size: 17px; }
  .glass .rec-cnt { font-size: 15px; }
  .glass .rec-body { padding: 0 16px 16px; }
  .glass .rec-items { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; margin: 0 -16px; padding: 0 16px; }
  .glass .ri-photo { width: 56px; height: 48px; }
}
/* Первый блок страницы, если это не заголовок, — ниже плавающего поиска */
.glass .page > :first-child:not(.page-head):not(.crumbs) { margin-top: 62px; }
@media (max-width: 900px) { .glass .page > :first-child:not(.page-head):not(.crumbs) { margin-top: 0; } }

/* Значки в плитках — крупнее и плотнее, логотип заполняет свою клетку */
.glass .kpi-ic .ic { width: 30px; height: 30px; stroke-width: 2; }
.glass .rec-ic .ic { width: 24px; height: 24px; stroke-width: 2; }
.glass .rec-ic .ic path, .glass .kpi-ic .ic path { fill: color-mix(in srgb, currentColor 14%, transparent); }
.glass .rec-ic .ic path[d^="M"]:not([d*="z"]):not([d*="Z"]), .glass .kpi-ic .ic path[d^="M"]:not([d*="z"]):not([d*="Z"]) { fill: none; }
/* 5. У свёрнутой карточки — только номер, значок, заголовок и стрелка, как на макете */
.glass .rec.is-closed .rec-head .btn { display: none; }
/* 8. Таблица списка — компактнее в рабочей области рядом с меню */
.glass .tbl thead tr.rng-row th.rng-c { min-width: 54px; }
.glass .tbl td, .glass .tbl th { padding-left: 5px; padding-right: 5px; }
.glass .tbl .name { min-width: 160px; max-width: 220px; }
@media (max-width: 700px) {
  /* 7. Стрелка «свернуть» — всегда справа вверху; «Подробнее» — второй строкой под заголовком */
  .glass .rec-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; }
  .glass .rec-head .rec-hd { grid-column: 2; grid-row: 1; }
  .glass .rec-head .rec-tog { grid-column: 3; grid-row: 1; margin: 0; }
  .glass .rec-head .btn { grid-column: 2; grid-row: 2; margin: 0; justify-self: start; }
  .glass .rec-head .rec-n { grid-column: 1; grid-row: 1; }
  /* переключатель периода — сеткой 3×2, без обрезки */
  .glass .page-head .seg { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .glass .page-head .seg a { padding: 0 6px; }
  /* меню — пять равных частей, подписи покороче */
  .glass .side .nav { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0; overflow: visible; }  /* с «A/B», «Отзывами», «Сотрудниками» и «Юнит-экономикой» — девять */
  .glass .side .nav a { flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; padding: 4px 0; font-size: 10px; letter-spacing: -.02em; position: relative; }
  .glass .side .nav a span:not(.nav-n) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .glass .side .nav-n { position: absolute; top: 3px; right: 6px; }
}
/* На телефоне в полосе меню пять пунктов: «Все принты» — коротко, «Принты» (для читалок экрана остаётся полное) */
.glass .side .nav .lbl-short { display: none; }
@media (max-width: 700px) {
  .glass .side .nav .lbl-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .glass .side .nav .lbl-short { display: inline; }
}
/* Запас в блоках «Срочно допечатать»: 4 / 7 / 14 / 30 дней — над плашками */
.glass .rec-days { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-left: 110px; }
.glass .rec-days .seg { box-shadow: none; }
.glass .rec-days .seg a { min-height: 32px; padding: 0 12px; font-size: 13px; }
.glass .rec.loading .rec-days, .glass .rec.loading .rec-items { opacity: .5; transition: opacity .2s; }
@media (max-width: 1180px) { .glass .rec-days { padding-left: 0; } }
/* «к партии» + 4 срока: на узком экране подписи в одну строку, лишнее — прокруткой полоски */
.glass .rec-days .seg a { white-space: nowrap; }
@media (max-width: 520px) { .glass .rec-days .seg { max-width: 100%; overflow-x: auto; } .glass .rec-days .seg a { padding: 0 6px; font-size: 12px; } }


/* 9. Телефон и планшет (касание): поля 16px — iPhone не увеличивает страницу при вводе; цели нажатия не меньше ~40px */
@media (pointer: coarse) {
  .glass .input, .glass .rng-i, .glass .hsearch .input, .glass .sp-field input, .glass .sp-add textarea { font-size: 16px; }
  .glass button.copy, .glass .wb-link { position: relative; }
  .glass button.copy::after, .glass .wb-link::after { content: ''; position: absolute; inset: -11px -6px; }
  .glass .rec-tog, .glass .tbtn { min-width: 44px; min-height: 44px; }
  .glass .tbl input.pick { width: 22px; height: 22px; }
}
@media (max-width: 700px) {
  /* в списке на телефоне фото не закреплено — закреплённым остаётся только название, видно больше цифр */
  .glass .tbl .ph.stick { position: static; }
  .glass .tbl .stick2 { left: 0; }
  .glass .tbl .name { min-width: 130px; }
  /* таблица задания поставки — карточками: название и артикулы слева, количество крупно справа */
  .glass #sp-copy-table, .glass #sp-copy-table tbody { display: block; }
  .glass #sp-copy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .glass #sp-copy-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding: 12px 16px;
    border-bottom: 1px solid var(--line-2); }
  .glass #sp-copy-table td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .glass #sp-copy-table td:nth-child(1) { grid-column: 1; font-weight: 600; color: var(--ink); }
  .glass #sp-copy-table td:nth-child(2), .glass #sp-copy-table td:nth-child(3) { grid-column: 1; font-size: 13px; color: var(--muted); }
  .glass #sp-copy-table td:nth-child(2)::before { content: 'арт. WB '; }
  .glass #sp-copy-table td:nth-child(3):not(:empty)::before { content: 'баркод '; }
  .glass #sp-copy-table td:nth-child(4) { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-family: var(--f-display);
    font-size: 24px; color: var(--ink); }
  .glass #sp-copy-table td:nth-child(4)::after { content: ' шт'; font: 500 13px var(--f-text); color: var(--muted); }
}
/* Справа у таблицы ещё столбцы — край гаснет, пока не докрутили (видно, что таблица шире карточки) */
/* 21.10.2026 (разбор redesign + accessibility): затухание было едва заметно — шире и глубже */
.glass .tbl-wrap.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 80px), rgba(0, 0, 0, .12));
  mask-image: linear-gradient(to right, #000 calc(100% - 80px), rgba(0, 0, 0, .12)); }
.glass .tbl-wrap:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
/* 10. Главная «дела на сегодня» (10.10.2026): сводка дел вверху, дела и недельные группы карточками, группы — плитками */
.glass .today { display: flex; flex-wrap: wrap; padding: 0; overflow: hidden; }
/* разделители — тенью слева и сверху: у первой колонки и первого ряда они уходят за край и не видны */
.glass .today a { flex: 1 1 210px; display: flex; gap: 14px; align-items: center; padding: 18px; min-width: 0; text-decoration: none;
  color: inherit; box-shadow: -1px 0 0 var(--line-2), 0 -1px 0 var(--line-2); transition: background .15s; }
.glass .today a:hover { background: var(--surface-2); }
.glass .today a:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.glass .today .rec-ic { flex: none; width: 46px; height: 46px; }
.glass .today .v { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.glass .today b { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--c); }
.glass .today b small { font: 500 14px var(--f-text); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.glass .today .l { font-size: 14px; font-weight: 600; color: var(--ink); }
.glass .today .s { font-size: 13px; line-height: 1.35; color: var(--muted); }
.glass .sec-head .note b { color: var(--ink-2); font-weight: 600; }
.glass .recs.week .rec-n { background: var(--muted-bg); color: var(--ink-2); }
.glass .rec h3 { scroll-margin-top: 110px; }
.glass .gtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.glass .gtile { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; text-decoration: none; color: inherit;
  transition: border-color .15s, background .15s; }
.glass .gtile:hover { border-color: #DDD2FA; }
.glass .gtile:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
.glass .gtile .n { font-family: var(--f-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--c); }
.glass .gtile .t { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.glass .gtile .t::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--c); }
.glass .gtile .x { font-size: 13px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.glass .calib b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 700px) {
  .glass .today a { flex-basis: 150px; padding: 14px; gap: 10px; }
  .glass .today .rec-ic { width: 38px; height: 38px; }
  .glass .today b { font-size: 22px; }
  .glass .gtiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .glass .gtile { padding: 14px; }
}

/* «Свернуть все» — справа внизу, когда страницу прокрутили и есть раскрытые блоки (recs.js) */
.glass .fold-all { position: fixed; right: 28px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-pop); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: opacity .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.glass .fold-all:hover { color: var(--accent-ink); border-color: #DCCFFB; }
.glass .fold-all .ic { transform: rotate(180deg); }
.glass .fold-all.hidden { display: inline-flex !important; opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 700px) {
  .glass .fold-all { right: 12px; bottom: 72px; min-height: 40px; padding: 0 12px; font-size: 13px; }
}
@media (min-width: 901px) and (max-width: 1180px) { .glass .period-float { left: calc(50% + 116px); } }

/* ---------- Аудит UI/UX Pro Max (17.10.2026): доступность и телефон ---------- */
/* якоря, фокус и прокрутка к шагу не уходят под липкую полосу (поиск 68 px на ПК, меню ~120 px на телефоне) */
html.glass { scroll-padding-top: 84px; }
@media (max-width: 900px) { html.glass { scroll-padding-top: 132px; } }
/* отступ под плавающий поиск — только на ПК: на телефоне он сжимал подзаголовок до ~200 px */
@media (min-width: 901px) { .glass .page-head:not(:has(.seg)) > div:first-child { padding-right: min(500px, 40vw); } }
@media (max-width: 900px) { .glass .page-head > .grow:empty { display: none; } }  /* только пустая распорка: в A/B и «Рекомендациях» в .grow лежит заголовок */
/* строки дел на главной: пояснение в две строки, а не обрезка на главной цифре */
.glass .ri-note { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.glass .rec-items .n-short { display: none; }
@media (max-width: 700px) { .glass .rec-items .n-short { display: inline; } }
/* «Дела» на телефоне (Грета, 30.10.2026, портал № 5): принт в три строки — название, артикул с пояснением в одну строку,
   действие жирным цветом карточки без плашки; полоска — на странице принта. Так на экран входит 5 принтов вместо 3 */
@media (max-width: 700px) {
  .glass .rec-items li { row-gap: 2px; }
  .glass .rec-items .ri-bar { display: none; }
  .glass .rec-items .n-full { display: none; }
  .glass .rec-items .ri-note { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .glass .rec-items .ri-action { background: none; padding: 0; border-radius: 0; font-size: 14px; font-weight: 700; color: var(--c); }
}
/* мелкий текст — не меньше 12 px */
.glass .tbl .sub-v, .glass .flag, .glass .chip small { font-size: 12px; }
/* значок WB у кампании — читается (было ~1,6:1) */
.glass .wb-link { opacity: 1; background: var(--muted); }
/* граница полей ввода — заметна (было 1,37:1); фокус поля — плотнее */
.glass .input, .glass .sp-field, .glass .rng-i { border-color: #8E90A6; }
.glass .input:focus-visible, .glass .sp-field:focus-within { box-shadow: 0 0 0 3px rgba(124, 71, 230, .35); }
/* стоп-лист: три счётчика */
.glass .sp-kpis3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .glass .sp-kpis3 { grid-template-columns: minmax(0, 1fr); } }
/* цели нажатия на телефоне — не меньше 44 px */
@media (pointer: coarse) {
  .glass .btn.small, .glass .seg a, .glass .seg button, .glass .seg label > span, .glass .side-out { min-height: 44px; }
  .glass .rec-days .seg a { min-height: 40px; }
  .glass .crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .glass .flag.tag-btn { min-height: 32px; display: inline-flex; align-items: center; }
  .glass .st-tbl .input, .glass .st-ship .input { font-size: 16px; }
}
/* Страница ошибки и «не найдено» */
.glass .err-page { max-width: 640px; display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.glass .err-code { margin: 0; font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--accent-ink); }
.glass .err-page h1 { font-size: 30px; letter-spacing: -0.02em; text-wrap: balance; }
.glass .err-text { margin: 0; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.glass .err-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Аудит по redesign-skill (18.10.2026): состояния, переходы, текст, токены ===== */
:root.glass { --z-sticky: 20; --z-nav: 30; --z-float: 40; --z-pop: 60; --z-toast: 70; --z-skip: 100;
  --r-badge: 7px; --r-seg: 10px; --r-thumb: 10px; }
.glass .top { z-index: var(--z-sticky); }
.glass .period-float, .glass .fold-all { z-index: var(--z-float); }
.glass .why-pop, .glass .kpick-menu, .glass .zoom-pop { z-index: var(--z-pop); }
@media (max-width: 900px) { .glass .side { z-index: var(--z-nav); } }
/* недоступная кнопка выглядит недоступной и при наведении */
.glass .btn:disabled, .glass .btn[aria-disabled="true"] { box-shadow: none; opacity: .5; cursor: not-allowed; }
.glass .btn[aria-disabled="true"] { pointer-events: none; }
/* плашки-фильтры: наведение и нажатая */
.glass .chip-f:hover { box-shadow: 0 0 0 1px var(--c) inset; }
.glass .chip-f[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--c) inset; }
/* нажатие — лёгкое «проседание» */
.glass :is(.btn, .seg a, .seg button, .chip-f, .tbtn, .rec-tog, .side .nav a, .gtile, .today a, .side-out, .sync, .st-opt):active:not(:disabled) { transform: translateY(1px); }
.glass .fold-all:active { transform: scale(.98); }
/* заголовки столбцов с сортировкой */
.glass .tbl th[data-k]:hover, .glass .float-head .tbl th[data-k]:hover { color: var(--ink); background: var(--surface-2); }
/* меню «Что сделать»: видно, какой пункт выбран с клавиатуры */
.glass .kpick-opt:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; }
/* поле с неверным вводом */
.glass .rng-i[aria-invalid="true"], .glass .input:user-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(194, 55, 44, .15); }
/* плавные переходы у всего, на что можно нажать */
.glass :is(.seg a, .seg button, .chip-f, .tbtn, .side-out, .sync, .why-x, .kpick-opt, .kpick-btn, .st-opt, .st-all, .input, .crumbs a, .tbl th[data-k], .rec-tog, .gtile, .today a) {
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .1s; }
.glass .st-all:hover, .glass .crumbs a:hover { color: var(--accent-ink); }
.glass .kpick-btn:hover { border-color: #CDBFF7; }
/* текст: ровные переносы, длина строки, табличные цифры */
.glass :is(h1, h2, .rec-head h3, .err-page h1) { text-wrap: balance; }
.glass :is(.page-head p, .rec-lead, .gtile .x, .today .s, p.note, .empty, .verdict .x, .verdict .why) { text-wrap: pretty; }
.glass .page > p.note { max-width: 88ch; line-height: 1.55; }
.glass :is(.rec-n, .legend, .ri-bar span, .seg a, .chip b, .facts b) { font-variant-numeric: tabular-nums; }  /* крупные цифры плиток — пропорциональные (dataviz) */
/* скругления по шкале */
.glass .flag { border-radius: var(--r-badge); }
.glass .tbtn, .glass .fset .input, .glass .rng-i { border-radius: var(--r-ctl); }
/* загрузка: смена периода — страница бледнеет, пока подгружается */
.glass main[aria-busy="true"] { opacity: .6; transition: opacity .2s; }
/* плавная прокрутка к карточке из сводки — если пользователь не просил меньше анимации */
@media (prefers-reduced-motion: no-preference) { html.glass { scroll-behavior: smooth; } }
/* значки: одна толщина линии на любом размере */
.glass :is(.ic, .ticon, button.copy svg, .fold-all svg, .why-x svg) * { vector-effect: non-scaling-stroke; }
.glass .ic, .glass .ticon { stroke-width: 1.6; }
.glass :is(.kpi-ic, .rec-ic) .ic { stroke-width: 2; }

/* символы шрифта (↓ ↑ ✓ ★) — значками той же линии, что весь набор */
.glass .tbl th.sorted::after { content: ''; display: inline-block; width: 11px; height: 11px; margin-left: 3px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236532D8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain; }
.glass .tbl th.sorted.asc::after { transform: rotate(180deg); }
.glass .tbl th[data-n]::after { content: attr(data-n); width: auto; height: auto; padding-left: 13px; font-size: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236532D8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") no-repeat left center / 11px; }
.glass .tbl th.asc[data-n]::after { transform: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236532D8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E"); }
.glass button.copy.done::after { content: ''; display: block; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B9460' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.glass .rt::before { content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E3A008'%3E%3Cpath d='m12 3.5 2.6 5.3 5.8.8-4.2 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8-4.2-4.1 5.8-.8z'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Графики (аудит dataviz, 18.10.2026): серые столбики остатков — контраст 3:1 к карточке (было 2,4) */
.glass .chart rect.bar-stock { fill: #8A8EA3; }
.glass .chart rect.bar-stock.out { fill: var(--bad); }

/* ---------- «Отзывы» (18.10.2026, макет .impeccable/mocks/reviews) ---------- */
.glass .rv-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.glass .rv-bar .grow { flex: 1; }
.glass .rv-bar .seg a .tn, .glass .rv-kind a .tn { margin-left: 4px; }
.glass .rv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; padding: 22px; margin-bottom: 16px; }
.glass .rv-q, .glass .rv-a { min-width: 0; }
.glass .rv-p { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.glass .rv-p img, .glass .rv-ph { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-bg); flex: none; object-fit: cover; }
.glass .rv-p b { display: block; font-size: 15px; } .glass .rv-p b a { color: inherit; }
.glass .rv-p small { color: var(--muted); font-size: 13px; }
.glass .rv-st { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
/* срок ответа (Ирена, 30.10.2026): «ждёт 5 ч», «ответ через 3 ч»; ждёт дни — оранжевым */
.glass .rv-wait { padding: 2px 8px; border-radius: 999px; background: var(--muted-bg); color: var(--ink-2); white-space: nowrap; }
.glass .rv-wait.is-late { background: var(--warn-bg); color: var(--warn); }
.glass .rv .stars { color: #C98500; letter-spacing: 1px; font-size: 16px; } .glass .rv .stars i { color: #D9D6E8; font-style: normal; }
.glass .rv-t { font-size: 15px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.glass .rv-t p { margin: 0 0 8px; } .glass .rv-t em { font-style: normal; color: var(--muted); font-weight: 500; }
.glass .rv-img { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.glass .rv-img img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--muted-bg); }
.glass .rv-a { display: flex; flex-direction: column; gap: 10px; }
.glass .rv-a label { font-size: 13px; color: var(--muted); font-weight: 500; }
.glass .rv-a textarea { min-height: 132px; resize: vertical; font: inherit; font-size: 15px; line-height: 1.5; padding: 12px 14px; }
.glass .rv-act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.glass .rv-note { font-size: 12px; color: var(--muted); }
.glass .rv-done { background: var(--green-bg); border: 1px solid #CFEBDB; border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.glass .rv-done b { color: #1B7A4F; font-size: 13px; display: block; margin-bottom: 4px; }
.glass .ai-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; border-top: 1px solid var(--line); }  /* колонка не шире карточки: длинные названия моделей в списке распирали её на телефоне (23.10.2026) */
.glass .ai-form select.input { max-width: 100%; }
.glass .ai-form > * { max-width: 760px; } .glass .ai-form .st-h { margin: 0; }
.glass .ai-form textarea { font: inherit; font-size: 14px; line-height: 1.5; padding: 12px 14px; }
@media (max-width: 900px) { .glass .rv { grid-template-columns: 1fr; padding: 18px; } }
/* «Отзывы»: замечание ИИ — «Переделать» и «Запомнить на будущее» (18.10.2026) */
.glass .rv-fb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.glass .rv-fb .input { flex: 1 1 240px; min-width: 0; height: 40px; font-size: 14px; }
.glass .rv-mem { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); cursor: pointer; }
.glass .ai-ls { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.glass .ai-ls li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.glass .ai-ls li span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.glass .ai-ls li small { white-space: nowrap; font-size: 12px; }
.glass .rv.rv-esc .rv-note { color: var(--bad); font-weight: 600; }
.glass .rv-notes { margin: 0; padding: 8px 10px 8px 30px; display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.glass .rv-notes::before { content: 'Учтено:'; margin-left: -20px; color: var(--muted); font-weight: 500; }
.glass .rv-notes[hidden], .glass .rv-mem[hidden], .glass .rv-fb[hidden] { display: none; }  /* display выше перебивал hidden — пустое «Учтено:» */
.glass .rv-notes li { display: flex; gap: 8px; align-items: baseline; } .glass .rv-notes li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.glass .rv-nx { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; min-width: 24px; min-height: 24px; }
.glass .rv-nx:hover { color: var(--bad); }

/* «Как считается» на главной: длинные пояснения свёрнуты (продавец, 20.10.2026) */
.glass details.how > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none;
  font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.glass details.how > summary::-webkit-details-marker { display: none; }
.glass details.how > summary::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.glass details.how[open] > summary::after { transform: rotate(180deg); }
.glass details.how > summary:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; border-radius: 6px; }
.glass details.how > p { margin: 4px 0 0; }
.glass .rec-hd details.how > p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 78ch; text-wrap: pretty; }
.glass .rec.is-closed details.how { display: none; }
@media (prefers-reduced-motion: reduce) { .glass details.how > summary::after { transition: none; } }
/* ===== Ozon (20.10.2026, макет .impeccable/mocks/ozon): переключатель площадки под логотипом — как переключатель периода ===== */
.glass .side .mp-seg { display: grid; grid-template-columns: 1fr 1fr; margin: -10px 6px 20px; box-shadow: none; }
.glass .side .mp-seg a { justify-content: center; font-weight: 600; display: flex; align-items: center; }
@media (max-width: 900px) {
  .glass .side .mp-seg { margin: 0 0 0 4px; order: 2; padding: 3px; }
  .glass .side .mp-seg a { min-height: 30px; padding: 0 12px; font-size: 13px; }
}
/* значки площадок: W — тот же принт на WB, O — Ozon */
.glass .mp-b { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px;
  font-size: 10px; font-weight: 700; line-height: 1; color: #fff; vertical-align: -3px; flex: none; text-decoration: none; }
.glass .mp-wb { background: #A23FD6; }
.glass .mp-oz { background: #005BFF; }
.glass a.mp-b { margin-left: 5px; }
.glass .dz-ids .dz-line > .mp-b:first-child { margin-right: 8px; }
.glass .dz-ids .dz-line > a.mp-b:first-child { margin-left: 0; }
.glass .mp-jump .mp-b { margin: 0 6px 0 0; }
.glass .mp-cmp { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 6px 0 0; color: var(--ink-2); flex-wrap: wrap; }
.glass .oz-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 8px 0 4px; }
.glass .oz-bars i { flex: 1; background: var(--violet, #7C5CE6); opacity: .55; border-radius: 3px 3px 0 0; min-height: 2px; }
.glass .oz-axis { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.glass .tbl.mini { width: 100%; }
.glass .tbl.mini td, .glass .tbl.mini th { padding: 7px 8px; font-size: 13px; }
.glass .tbl.mini td.l, .glass .tbl.mini th.l { text-align: left; }
.glass .px-grid.oz-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.glass .oz-grid .tbl td.l { white-space: normal; }  /* длинные названия и кластеры переносятся, а не раздвигают карточку */
@media (max-width: 1100px) { .glass .px-grid.oz-grid { grid-template-columns: minmax(0, 1fr); } }
.glass .px-card .px-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.glass .px-card .px-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.glass .sub-v.neg { color: var(--bad, #B42318); }
/* Ozon — «Поставки» FBO (20.10.2026) */
.glass .oz-tabs { margin: 0 0 18px; width: max-content; max-width: 100%; }
.glass .oz-form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-bottom: 16px; }
.glass .oz-form .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.glass .oz-form .field .input { width: 150px; }
.glass .oz-form .oz-newf { display: flex; flex-basis: 100%; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }  /* «Упор на новинки» */
.glass .oz-form .oz-newf input { width: 18px; height: 18px; accent-color: var(--accent); }
.glass .oz-cut { background: var(--warn-bg); color: var(--ink); font-weight: 400; margin: 0 0 12px; }  /* «Ozon сам убрал из заявки» */
.glass .oz-cut b { color: var(--warn); }
.glass .oz-cut ul { margin: 8px 0 0; padding-left: 18px; }
.glass .oz-cut li b { color: var(--ink); }
.glass .oz-refill { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 0; }
.glass .oz-wait { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }  /* «Загружаю короба из Ozon» */
.glass .oz-form .oz-cl { flex-basis: 100%; padding: 2px 0 0; }  /* кластеры в наборе — снятые не берём */
.glass .oz-drop-b { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 12px; }
.glass .oz-drop-b .note { margin: 0; }
.glass .oz-form .note { flex: 1 1 100%; margin: 0; }
.glass .oz-form .oz-cl > .note { flex: none; }  /* подпись «Кластеры:» — не на всю строку, иначе галочки сжимаются в столбец */
.glass .oz-create { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.glass .oz-create .input { flex: 1 1 280px; }
.glass .oz-th { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; float: left; margin: 0 10px 0 0; }
.glass .oz-by { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 12px; color: var(--ink-2); }
.glass .oz-by span { background: var(--surface-2, #F4F1FB); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.glass .oz-task-head { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.glass .oz-task-head h2 { margin: 0 0 4px; }
.glass .oz-state .note { margin: 0 0 12px; }
.glass .oz-why { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.glass .oz-why > .note { display: block; margin: 8px 0 0; max-width: 70ch; }
.glass .oz-why-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.glass .oz-why-list li.warn { color: var(--warn); }
.glass .oz-state-b { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.glass .oz-state-b form { margin: 0; }
.glass .oz-steps { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.glass .oz-steps h2 { margin: 0; }
.glass .oz-slots { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.glass .oz-slots .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.glass .oz-sure { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.glass .oz-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 16px; }
.glass .oz-box { border-top: 1px solid var(--line-2); padding: 8px 0; font-size: 13px; }
.glass .oz-box ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); }
/* Ozon — «Импорт из WB» (20.10.2026, макет .impeccable/mocks/ozon-import) */
.glass .imp-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 18px; }
.glass .imp-sum .card { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.glass .imp-sum b { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.glass .imp-sum span { font-size: 13px; color: var(--muted); }
.glass .imp-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .glass .imp-grid { grid-template-columns: minmax(0, 1fr); } }
.glass .imp-grid > .card { min-width: 0; }
.glass .imp-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 16px 18px 6px; }
.glass .imp-bar .input { flex: 1 1 220px; }
.glass .imp-who-f { padding: 4px 18px 10px; }
/* «Для кого» в импорте — те же галочки, что «Статусы» в списках, но без цвета */
.glass .imp-who-f .st-opt { --c: var(--ink); --cb: var(--muted-bg); box-shadow: 0 0 0 1px var(--line-3) inset; }
.glass .imp-who-f .st-opt.off { color: var(--ink-2); }
.glass .imp-who-f { flex-wrap: nowrap; align-items: flex-start; }
.glass .imp-who-f > .note { padding-top: 7px; white-space: nowrap; }
.glass .imp-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.glass .imp-who-f.one .imp-chips { max-height: 32px; overflow: hidden; }  /* свёрнуто — одна строка */
.glass .imp-who-f .st-all { padding-top: 7px; white-space: nowrap; }
.glass .imp-tbl th[data-sort] { cursor: pointer; user-select: none; }
.glass .imp-tbl th[data-sort]:hover { color: var(--accent-ink); }
@media (max-width: 720px) {
  .glass .imp-who-f { display: flex; flex-wrap: wrap; overflow: visible; }
  .glass .imp-who-f > .note { display: inline; }
  .glass .imp-chips { flex-basis: 100%; }
  .glass .imp-who-f .st-all { order: 0; padding-top: 0; }
}
.glass .imp-tbl td, .glass .imp-tbl th { vertical-align: middle; }
.glass .imp-tbl tr.sel td { background: var(--accent-bg); }
.glass .imp-tbl tr.is-picked td { background: color-mix(in srgb, var(--accent-bg) 55%, transparent); }
.glass .imp-tbl tr.is-picked td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.glass .imp-tbl .flag { white-space: normal; text-align: center; }
.glass .imp-open { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.glass .imp-open:hover { color: var(--accent-ink); text-decoration: underline; }
.glass .imp-tbl .imp-who { min-width: 64px; }
.glass .imp-tbl .imp-grp .flag { display: inline-block; max-width: 104px; }
.glass .imp-tbl td.imp-ok { text-align: center; }
.glass .imp-tbl th.imp-fh { white-space: normal; width: 88px; max-width: 88px; text-align: center; hyphens: auto; overflow-wrap: anywhere; }
.glass .imp-mark { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; cursor: help; }
.glass .imp-mark.ok { color: var(--good); background: var(--good-bg); }
.glass .imp-mark.warn { color: var(--warn); background: var(--warn-bg); }
.glass #imp-n-sub.imp-jump { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }  /* «ниже, под «Показать ещё»» — раскрыть и прокрутить */
.glass .imp-tbl th.imp-ord { white-space: normal; min-width: 70px; }
.glass .imp-tbl th.imp-per-c { vertical-align: bottom; padding-bottom: 4px; border-bottom: 0; }
.glass .imp-tbl tr.rng-row th { padding-top: 0; }
.glass .imp-per-c .note { display: block; margin: 0 0 6px; font-weight: 400; }
.glass .imp-per { width: max-content; }
.glass #imp-who a[hidden] { display: none; }
.glass .imp-prev { padding: 20px 22px; }
@media (min-width: 1101px) { .glass .imp-prev { position: sticky; top: 84px; max-height: calc(100dvh - 100px); overflow-y: auto; } }
.glass .imp-photos { display: flex; gap: 6px; margin: 10px 0 14px; align-items: center; flex-wrap: wrap; }
.glass .imp-photos img { width: 56px; height: 75px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.glass .imp-photos span { font-size: 13px; color: var(--muted); padding-left: 4px; }
.glass .imp-fields { table-layout: fixed; width: 100%; }
.glass .imp-fields td { font-size: 13px; vertical-align: top; overflow-wrap: break-word; white-space: normal; }
.glass .imp-fields td.k { color: var(--muted); width: 28%; }
.glass .imp-fields td.src { color: var(--muted); font-size: 12px; width: 24%; }
.glass #imp-msgs .warn { color: var(--warn); }
.glass #imp-msgs .err { color: var(--bad); }

/* Ozon — «Кто делает» у задания (20.10.2026): коробки задания Ozon в «Нагрузке по дням» */
.glass .oz-crew { margin-top: 18px; }
.glass .oz-crew-f { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.glass .oz-crew-d { display: flex; gap: 12px; flex-wrap: wrap; }
.glass .oz-crew-d .field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.glass .oz-crew-d .input[type="number"] { width: 90px; }
.glass .oz-crew .tbl.mini { width: auto; min-width: min(420px, 100%); }
.glass .oz-crew .tbl.mini .input { width: 80px; min-height: 34px; text-align: right; }
.glass .oz-crew-b { display: flex; gap: 10px; flex-wrap: wrap; }
.glass .oz-dropoff { margin: 14px 0 12px; }
.glass .oz-dropoff-now { margin: 0 0 8px; }
.glass .oz-dropoff-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.glass .oz-dropoff-row .field { flex: 0 1 280px; min-width: 0; }
.glass .oz-dropoff-row .field .input { width: 100%; min-width: 0; text-overflow: ellipsis; }
.glass .oz-dropoff-more { margin: 0 0 14px; }
.glass .oz-dropoff-more > summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.glass .oz-dropoff-more .oz-dropoff-row { margin-top: 8px; }
.glass .oz-dropoff-find { flex-wrap: nowrap; }
.glass .oz-dropoff-find .field { flex: 1 1 auto; max-width: 320px; }
.glass .oz-dropoff-why { margin: 6px 0 0; }
.glass .oz-crew .note.warn { color: var(--warn); }
/* «Прогноз на Ozon» в «Импорте из WB»: число с подсказкой «почему столько» */
.glass .imp-tbl td.imp-why { text-decoration: underline dotted var(--muted); text-underline-offset: 3px; cursor: help; }

/* Раздел Ozon в цветах Ozon (класс oz у html на страницах Ozon; продавец, 20.10.2026: «макет цветов всё ок»; макет — .impeccable/mocks/ozon-colors) */
/* Раздел Ozon — фирменные цвета Ozon (20.10.2026): синий #005BFF вместо фиолетового, розовый #F91155 — только
   счётчики в меню. Текст синим на белом 5,3:1, на подложке --accent-bg 4,7:1. */
:root.glass.oz {
  --accent: #005BFF; --accent-bg: #E6EEFF; --accent-line: #3D7EFF; --accent-ink: #0047CC;
  --btn: #005BFF; --violet: #005BFF; --violet-bg: #E6EEFF; --oz-pink: #F91155;
}
html.glass.oz::before {
  background:
    radial-gradient(1200px 800px at 8% -10%, #C9DBFF 0%, rgba(201, 219, 255, 0) 60%),
    radial-gradient(1100px 900px at 105% 110%, #FBD9E6 0%, rgba(251, 217, 230, 0) 55%),
    linear-gradient(135deg, #DCE7FF 0%, #EEF2FB 50%, #F1E6F0 100%); }
.glass.oz .btn:not(.ghost) { box-shadow: 0 6px 16px -6px rgba(0, 91, 255, .55); }
.glass.oz .input:focus { box-shadow: 0 0 0 3px rgba(0, 91, 255, .18); }
.glass.oz .input:focus-visible, .glass.oz .sp-field:focus-within { box-shadow: 0 0 0 3px rgba(0, 91, 255, .32); }
.glass.oz .side .nav a.on { background: linear-gradient(180deg, #EAF1FF, #E1EAFF); border-color: #CCDCFF; }
.glass.oz .seg a.on, .glass.oz .seg button.on, .glass.oz .seg label input:checked + span { box-shadow: 0 0 0 1px #C7D8FF inset; }
.glass.oz :is(.sync, .tile, .gtile):hover { border-color: #CCDCFF; }
.glass.oz .side .nav-n { background: transparent; color: #D10846; box-shadow: 0 0 0 1.5px var(--oz-pink) inset; }  /* без заливки — не так ярко (продавец, 20.10.2026) */
.glass.oz .brand-mark { color: #005BFF; }

/* Ozon — разбор impeccable (21.10.2026). A/B и «Юнит-экономика» в синем Ozon: у ab.css и графиков app.css фиолетовый
   задан числами, переменные :root.glass.oz до них не доходят */
.glass.oz .abx.abx-g { --accent: #005BFF; --accent-bg: #E6EEFF; --accent-line: #3D7EFF; --btn: #005BFF; }
.glass.oz .abx-g .btn:not(.ghost) { box-shadow: 0 6px 16px -6px rgba(0, 91, 255, .55); }
.glass.oz .abx-g .btn:not(.ghost):not(:disabled):hover { background: #004AD6; }
.glass.oz .abx-g .btn.ghost:not(:disabled):hover { border-color: #CCDCFF; color: #0047CC; }
.glass.oz .abx-g .seg button.on, .glass.oz .abx-g .seg label input:checked + span { color: #0047CC; box-shadow: 0 0 0 1px #C7D8FF inset; }
.glass.oz .abx-g .vcard.lead { box-shadow: 0 10px 28px -14px rgba(0, 91, 255, .5); }
.glass.oz .wf .c1 i, .glass.oz .wk .col.in .bar, .glass.oz .wk-legend .k-in { background: #005BFF; }
.glass.oz .wk .bar, .glass.oz .wk-legend .k-out { background: #B9CFFF; }
.glass.oz .wf .base i { background: #C3D6FF; }
.glass.oz .wf .c2 i { background: #0E8FA0; }  /* логистика: синий занят комиссией */
.glass.oz .wf .c6 i { background: #D3E0FA repeating-linear-gradient(135deg, transparent 0 5px, rgba(0, 71, 204, .18) 5px 7px); }
.glass.oz .wf .rest i { background: #C5CCDD; }
.glass.oz .btn.ghost:not(:disabled):not([aria-disabled="true"]):hover, .glass.oz .kpick-btn:hover { border-color: #CCDCFF; }
.glass.oz .period-float a.on, .glass.oz .seg a.on { box-shadow: 0 0 0 1px #C7D8FF inset; }
.glass.oz .fold-all:hover { border-color: #CCDCFF; }
/* стрелки сортировки — синие */
.glass.oz .tbl th.sorted::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230047CC' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.glass.oz .tbl th[data-n]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230047CC' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.glass.oz .tbl th.asc[data-n]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230047CC' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E"); }
/* значки «W» и «O» — 16 px, а нажимать пальцем: область нажатия шире самого значка */
.glass a.mp-b { position: relative; }
.glass a.mp-b::after { content: ''; position: absolute; inset: -12px; }
@media (max-width: 720px) {
  /* страница принта: в узкой таблице кластеров главное — «Есть», «Хватит» и «Состояние» */
  .glass .oz-grid .m-hide { display: none; }
  /* цели касания не меньше 44 px */
  /* кроме переключателя WB | Ozon: иначе шапка Ozon на 14 px выше и меню прыгает (Мартин, журнал № 83, 30.10.2026) */
  .glass.oz :is(.seg:not(.mp-seg) a, .st-opt, details > summary) { min-height: 44px; }
  .glass.oz button.copy { width: 32px; height: 32px; }
}
/* Телефон: в полосе меню пять разделов и «Ещё» (21.10.2026: девять пунктов по 41 px — мимо пальца); остальные — в выпадающем списке */
.glass .nav-more { display: none; }
.glass .nav-more .d-rare { display: none; }  /* точка на «Ещё»: на телефоне — за всё скрытое, на ноутбуке — только за редкие */
@media (max-width: 700px) {
  .glass .side .nav { grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
  .glass .side .nav a.nav-x { display: none; }
  .glass .nav-more { display: block; }
  .glass .nav-more > summary { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; padding: 4px 0; font-size: 10px; letter-spacing: -.02em; border: 1px solid transparent; border-radius: 11px; cursor: pointer; position: relative; }
  .glass .nav-more > summary::-webkit-details-marker { display: none; }
  .glass .nav-more > summary .ic { width: 18px; height: 18px; color: #3C3E52; }
  .glass .nav-more > summary .nav-n { position: absolute; top: 3px; right: 6px; }
  .glass .nav-more > summary .nav-dot { position: absolute; top: 6px; right: calc(50% - 17px); width: 9px; height: 9px; border-radius: 50%;
    background: var(--bad); box-shadow: 0 0 0 2px var(--surface); }
  .glass .nav-more.on > summary, .glass .nav-more[open] > summary { background: var(--accent-bg); color: var(--accent-ink); }
  .glass .nav-more.on > summary .ic, .glass .nav-more[open] > summary .ic { color: var(--accent); }
  .glass .nav-more > summary:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
  .glass .nav-more-p { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 230px; display: flex; flex-direction: column;
    gap: 2px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(20, 20, 60, .18), 0 1px 2px rgba(20, 20, 60, .08); }
  .glass .side .nav .nav-more-p a { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 0 12px;
    font-size: 15px; letter-spacing: 0; }
  .glass .side .nav .nav-more-p a .nav-n { position: static; margin-left: auto; }
  .glass .side .nav .nav-more-p a .nav-n.hot { background: var(--bad); color: #fff; box-shadow: none; }  /* за это горит точка на «Ещё» */
}
/* Ноутбук с невысоким экраном (Мартин, журнал № 85, 30.10.2026: при 1440×900 не видно «Отчёты», «Серверы», «Настройки»,
   при 768 — ещё «Журнал» и «Команда»): пункты ниже, а при высоте до 820 px редкие (data-rare) — под «Ещё» внутри колонки */
@media (min-width: 901px) and (max-height: 960px) {
  .glass .side .nav { gap: 4px; }
  .glass .side .nav a, .glass .nav-more > summary { min-height: 42px; }
  .glass .side .brand { padding-bottom: 16px; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .glass .side .nav a.nav-x[data-rare] { display: none; }
  .glass .nav-more { display: block; }
  .glass .nav-more > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-radius: 14px;
    font-size: 17px; font-weight: 500; color: var(--ink-2); border: 1px solid transparent; cursor: pointer; }
  .glass .nav-more > summary::-webkit-details-marker { display: none; }
  .glass .nav-more > summary .ic { color: #3C3E52; flex: none; width: 24px; height: 24px; }
  .glass .nav-more > summary:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
  .glass .nav-more .d-all { display: none; }
  .glass .nav-more .d-rare { display: block; margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); }
  .glass .nav-more.rare-on > summary { background: linear-gradient(180deg, #EEE8FD, #E7E0FB); border-color: #DDD2FA; color: var(--accent-ink); }
  .glass .nav-more > summary:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
  .glass .nav-more-p { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding-left: 12px; }
  .glass .nav-more-p a:not([data-rare]) { display: none !important; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .glass.oz .nav-more.rare-on > summary { background: linear-gradient(180deg, #EAF1FF, #E1EAFF); border-color: #CCDCFF; }
}
/* Карточка «Данные WB/Ozon» внизу меню на ноутбуке обрезалась на 14–90 px (Мартин, № 85; Грета, 30.10.2026): пункты и
   отступы ниже; при высоте до 820 px в карточке только когда обновлено, без заголовка */
@media (min-width: 1025px) and (max-height: 1100px) {
  .glass .side { gap: 4px; padding-top: 20px; padding-bottom: 14px; }
  .glass .side .nav { gap: 4px; }
  .glass .side .nav a, .glass .nav-more > summary { min-height: 46px; }
}
@media (min-width: 1025px) and (max-height: 920px) {
  .glass .side { gap: 3px; padding: 16px 12px 10px; }
  .glass .side .brand { padding-bottom: 6px; }
  .glass .side .mp-seg { margin: -4px 6px 8px; }
  .glass .side .nav { gap: 2px; }
  .glass .side .nav a, .glass .nav-more > summary { min-height: 40px; }
  .glass .sync { padding: 6px 12px; gap: 10px; }
  .glass .side-out { min-height: 34px; margin-top: 0; }
}
@media (min-width: 1025px) and (max-height: 820px) {
  .glass .sync > span:not(.sync-ic) { font-size: 0; min-width: 0; }
  .glass .sync small { margin: 0; font-size: 12px; line-height: 1.35; }
}

/* Списки на компьютере (21.10.2026): поля «от — до» — по кнопке «Фильтр по числам» рядом с поиском */
.glass #tbl .q-box { display: flex; align-items: center; gap: 8px; }
.glass #tbl .q-box .input { flex: 1 1 auto; min-width: 240px; }
@media (max-width: 700px) { .glass #tbl .q-box .input { min-width: 0; } }
.glass #tbl .d-fbtn { flex: none; white-space: nowrap; }
.glass #tbl .d-fbtn.on, .glass #tbl .d-fbtn[aria-expanded="true"] { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-ink); }
@media (min-width: 701px) { .glass #tbl:not(.d-rng-open) thead tr.rng-row .rng-i { display: none; } }
@media (max-width: 700px) { .glass #tbl .d-fbtn { display: none; } }
/* «Импорт из WB» (21.10.2026): пока принт не выбран, таблица — во всю ширину, карточки «Как будет на Ozon» нет */
.glass .imp-grid:not(.has-prev) { grid-template-columns: minmax(0, 1fr); }
.glass .imp-grid:not(.has-prev) > .imp-prev { display: none; }
.glass .imp-tip { flex: 1 1 260px; margin: 0; }
.glass .imp-grid.has-prev .imp-tip { display: none; }
/* «Импорт из WB»: таблица теперь во всю ширину — поля «от — до» не растягиваются, стоят справа под числами */
.glass .imp-tbl .rng-i { width: 84px; margin-left: auto; margin-right: auto; }
/* «Прогноз на Ozon» и «Заказов на WB» — числа, заголовок и поля «от — до» по середине столбца (продавец, 21.10.2026) */
.glass .imp-tbl :is(td.imp-p, td.imp-o, td.imp-d, th[data-sort="oz"], th[data-sort="orders"], th[data-sort="views"], th[data-sort="drra"], th[data-sort="drr"], th.rng-c) { text-align: center; }
.glass .imp-tbl :is(th[data-sort="views"], th[data-sort="drra"], th[data-sort="drr"]) { white-space: normal; max-width: 110px; }
.glass .imp-tbl th.imp-ord[data-sort="who"], .glass .imp-tbl td.imp-who { padding-left: 16px; }
.glass .imp-per-c .imp-from { margin: 6px 0 0; }
.glass .imp-who-f .st-opt.zero:not(:has(input:checked)) { opacity: .5; }  /* у выбранных адресатов таких нет */

/* «Импорт из WB» — панель действий и ход импорта (21.10.2026, разбор ui-ux-pro-max + anti-ui-slop: «почему всё так плохо с UI») */
.glass .imp-act { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto; gap: 10px 28px; align-items: center; padding: 14px 20px;
  border-top: 1px solid var(--line-2); position: sticky; bottom: 0; z-index: 3; background: var(--surface);
  border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: 0 -10px 24px -12px rgba(28, 24, 48, .18); }
.glass .imp-act-sel b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.glass .imp-act-sel .note { display: block; margin-top: 2px; font-size: 13px; }
.glass .imp-act-sel .note.warn { color: var(--warn); }
.glass .imp-act-price { display: grid; grid-template-columns: auto auto; gap: 4px 12px; align-items: end; }
.glass .imp-act-price .field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.glass .imp-act-price .input { width: 120px; color: var(--ink); font-weight: 600; }
.glass .imp-act-price .input[aria-invalid="true"] { border-color: var(--bad); }
.glass .imp-act-hint { grid-column: 1 / -1; font-size: 12px; margin: 0; }
.glass .imp-act-hint.err { color: var(--bad); }
.glass .imp-act[data-state="empty"] .imp-act-price { opacity: .55; }
.glass .imp-act-go { display: flex; justify-content: flex-end; }
.glass .imp-act-go > .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.glass.oz .imp-act-go > .btn:disabled { background: var(--muted-bg); color: var(--muted); box-shadow: none; opacity: 1; }
.glass .imp-confirm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.glass .imp-confirm > span { font-weight: 600; max-width: 300px; }
.glass .imp-act[data-state="confirm"] { box-shadow: 0 -10px 24px -12px rgba(0, 91, 255, .35), inset 0 3px 0 var(--accent); }
.glass .imp-act[data-state="sending"] .imp-act-go { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .glass .imp-act { grid-template-columns: 1fr; gap: 12px; } .glass .imp-act-go, .glass .imp-confirm { justify-content: stretch; }
  .glass .imp-act-go > .btn, .glass .imp-confirm .btn { flex: 1 1 auto; } }
@media (max-width: 700px) { .glass .imp-act[data-state="empty"] { position: static; box-shadow: none; } }

.glass .imp-run { padding: 18px 22px; margin: 0 0 18px; }
.glass .imp-run-t { margin: 0 0 12px; font-family: var(--f-display); font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.glass .imp-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.glass .imp-steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line-2); }
.glass .imp-steps li.done { border-color: var(--good); color: var(--ink-2); }
.glass .imp-steps li.on { border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.glass .imp-bar-p { height: 6px; border-radius: 3px; background: var(--muted-bg); overflow: hidden; margin: 0 0 10px; }
.glass .imp-bar-p i { display: block; height: 100%; background: var(--accent); transition: width .3s ease-out; }
@media (prefers-reduced-motion: reduce) { .glass .imp-bar-p i { transition: none; } }
.glass .imp-run-sum { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 10px; vertical-align: middle; }
.glass .imp-res { list-style: none; margin: 8px 0 0; padding: 0; }
.glass .imp-ri { display: grid; grid-template-columns: 40px minmax(0, 1.4fr) auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line-2); }
.glass .imp-ri > img, .glass .imp-ri > .noimg { width: 40px; height: 53px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.glass .imp-ri-m { min-width: 0; }
.glass .imp-ri-m b { display: block; font-weight: 600; }
.glass .imp-ri-m .note { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.glass .imp-ri-next { font-size: 13px; }
.glass .imp-ri-a { display: flex; gap: 14px; justify-content: flex-end; font-size: 13px; white-space: nowrap; }
.glass .imp-ri-err { grid-column: 2 / -1; margin: 0; font-size: 13px; color: var(--bad); }
.glass .imp-ri.is-bad { background: linear-gradient(90deg, var(--bad-bg), transparent 45%); }
@media (max-width: 700px) {
  .glass .imp-ri { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .glass .imp-ri-next, .glass .imp-ri-a { grid-column: 2 / -1; justify-content: flex-start; min-width: 0; }
  /* три ссылки в строку на 375 px не влезали — вылезала «На Ozon ↗» (Мартин, 30.10.2026): переносим ссылками целиком */
  .glass .imp-ri-a { flex-wrap: wrap; gap: 4px 14px; white-space: normal; }
  .glass .imp-ri-a a { white-space: nowrap; }
  .glass .imp-steps { font-size: 11px; gap: 4px; }
}
.glass .imp-jobs { margin-top: 18px; padding: 18px 22px; }
.glass .imp-brand { margin-top: 18px; padding: 18px 22px; }
.glass .imp-brand > p { max-width: 72ch; }
.glass .imp-brand .imp-sum { margin: 14px 0; }
.glass .imp-brand-go { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.glass .imp-job { border-top: 1px solid var(--line-2); }
.glass .imp-job > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 12px 0; cursor: pointer; list-style: none; }
.glass .imp-job > summary::-webkit-details-marker { display: none; }
.glass .imp-job > summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.glass .imp-job[open] > summary::before { transform: rotate(45deg); }
.glass .imp-job > summary .imp-run-sum { margin-left: auto; }
.glass .imp-job-body { padding: 0 0 12px; }
.glass .imp-job-body .imp-run-t { font-size: 15px; margin-bottom: 10px; }
.glass .imp-bar2 { padding-top: 4px; padding-bottom: 12px; }
.glass .imp-bar2 > .note { margin: 0; }
.glass .imp-bar2 .imp-from { font-size: 12px; }
@media (min-width: 701px) { .glass #imp-tbl:not(.rng-open) tr.rng-row { display: none; } }
.glass #imp-fbtn.on, .glass #imp-fbtn[aria-expanded="true"] { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-ink); }
.glass .imp-tbl .imp-mark.ok { background: none; color: var(--faint); }  /* сигнал — только у исключений */
.glass .imp-tbl td.imp-why abbr, .glass .imp-tbl td.imp-why { text-decoration: none; }
.glass .imp-tbl tr:hover td.imp-why { text-decoration: underline dotted var(--muted); text-underline-offset: 3px; }
.glass .imp-sent { display: block; margin-bottom: 4px; }
.glass .imp-act [hidden], .glass .imp-run[hidden] { display: none !important; }
.glass .imp-confirm > span { max-width: 360px; }
.glass .imp-ri { grid-template-columns: 40px minmax(0, 1.4fr) 170px minmax(0, 1fr) 330px; }  /* ссылки — постоянной ширины: иначе у строк без ссылок колонки съезжали */
.glass .imp-ri > .flag { justify-self: start; }
@media (max-width: 700px) { .glass .imp-ri { grid-template-columns: 40px minmax(0, 1fr) auto; } }

/* Разбор redesign-existing-projects + accessibility (21.10.2026) */
.glass.oz .btn:not(.ghost):not(:disabled):not([aria-disabled="true"]):hover { background: #004AD6; }  /* было фиолетовое наведение WB */
:root.glass.oz { --surface-2: #F6F8FD; --muted-bg: #EFF2F9; --line: #E4E8F2; --line-2: #ECEFF6; --line-3: #D8DEEA; --hatch-1: #E3E8F2; --hatch-2: #F5F7FB; }
.glass.oz ::selection { background: #CFE0FF; }
.glass .abx-g .tab.on span { opacity: 1; font-weight: 600; }  /* число на выбранной вкладке A/B: было 3,3:1 */
.glass .abx-g .trow .c-ti .meta.mono { white-space: normal; overflow: visible; text-overflow: clip; }
.glass .oz-form > .note, .glass.oz .card.pad > p.sub { max-width: 78ch; }
.glass .oz-tabs { margin: 0; }
.glass .px-head.mt { margin-top: 18px; }
.glass .oz-bars i { background: var(--accent); }
.glass .oz-bars i:last-child { opacity: 1; }
.glass .oz-by span { background: var(--surface-2); }
.glass .dz-wb { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.glass .dz-wb:hover { text-decoration: underline; text-underline-offset: 3px; }
.glass .dz-wb.mp-jump { display: inline-flex; align-items: center; gap: 8px; }
.glass .page-head p { text-wrap: pretty; }
/* «Импорт из WB» на телефоне: липкая панель — в две строки, а не на пол-экрана */
@media (max-width: 700px) {
  .glass .imp-act { grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 10px 14px; }
  .glass .imp-act-sel { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
  .glass .imp-act-sel b { font-size: 15px; } .glass .imp-act-sel .note { margin: 0; }
  .glass .imp-act-price { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .glass .imp-act-price .input { width: 100%; min-height: 40px; }
  .glass .imp-act-hint { display: none; } .glass .imp-act-hint.err { display: block; }
  .glass .imp-act-go { grid-column: 1 / -1; } .glass .imp-act-go > .btn { width: 100%; min-height: 44px; }
  .glass .imp-confirm > span { max-width: none; flex: 1 1 100%; font-size: 14px; }
  .glass .imp-per { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .glass .imp-per a { white-space: nowrap; }
}

/* A/B: выбранная вкладка — бледной подложкой, как выбор на всём сайте (разбор redesign, 21.10.2026), а не сплошной заливкой */
.glass .abx.abx-g .tab.on, .glass .abx.abx-g .tabs .on { background: var(--accent-bg); color: #6532D8; box-shadow: 0 0 0 1px #DCCFFB inset; }  /* --accent-ink внутри A/B белый */
.glass.oz .abx.abx-g .tab.on, .glass.oz .abx.abx-g .tabs .on { color: #0047CC; box-shadow: 0 0 0 1px #C7D8FF inset; }
.glass .abx.abx-g .tab.on span { color: inherit; }
/* «Импорт из WB»: эталоны лидеров и топ-20 продаж под заголовками CR, CRa и ДРР (продавец, 21.10.2026) */
.glass .imp-tbl .imp-ref { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; font-size: 11px; font-weight: 400;
  color: var(--muted); white-space: nowrap; letter-spacing: 0; }
/* эталоны лидеров и топ-20: числа — зелёным, чтобы выделялись (продавец, 21.10.2026) */
.glass .imp-tbl .imp-ref b, .glass .tbl .ref-v b { color: var(--good); font-weight: 600; }
/* пояснения к столбцам «По неделям» в юнит-экономике (finance.js) */
.glass .ft th[data-tip] { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.glass .ft th[data-tip]:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.ft-tip { position: fixed; z-index: 60; max-width: 260px; padding: 8px 11px; border-radius: 10px; background: var(--ink, #12122A); color: #fff;
  font: 400 12.5px/1.4 var(--f-text, system-ui); box-shadow: 0 8px 24px rgba(18, 18, 42, .22); pointer-events: none; white-space: normal; }
/* Телефон: плавающий переключатель периода — во всю ширину экрана, листается вбок, выбранный период виден сразу.
   На главной большая сетка периодов в шапке спрятана — остаётся только плавающий (продавец, 27.10.2026: «меню
   сделаем летающим, оно очень много места занимает») */
@media (max-width: 700px) {
  .glass .period-float { left: 8px; right: 8px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: flex-start; padding: 4px; }
  .glass .period-float::-webkit-scrollbar { display: none; }
  .glass .period-float a { flex: none; padding: 9px 12px; font-size: 14px; }
  body.glass:has(.dash-pf) .page-head .seg { display: none; }
  body.glass:has(.dash-pf) .page { padding-bottom: 84px; }
}
/* страница принта, «Показатели по периодам»: строки с «—» и 0 во всех периодах скрыты до «Показать все» (Грета, 30.10.2026) */
.glass .ptbl:not(.show-all) tr.pt-empty { display: none; }
.glass .pt-hidden { margin: 0; padding: 12px 22px 16px; font-size: 13px; color: var(--muted); }
.glass .pt-hidden button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; }
.glass .pt-hidden button:hover { text-decoration: underline; }
.glass .pt-hidden button:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; border-radius: 4px; }
