/* The console of «Штаб» (stage 4): the dark theme of the approved mockup
   «Пульт ИИ-команды» (07.11). The colours are the design's tokens (section 6 of
   Пульт_дизайн.md); the fonts are the system's, nothing is downloaded. Below
   640 px the same page becomes the phone screen of the mockup. */
:root {
  --c-bg: #0B0C11; --c-panel: #12131A; --c-inner: #171923; --c-tag: #1D1F2A;
  --c-line: #23252F; --c-line2: #2E3142; --c-hover: #3A3E52;
  --c-ink: #EEF0F6; --c-ink2: #C9CCDA; --c-mute: #A3A7BA; --c-faint: #7E8296;
  --c-accent: #8E7CFF; --c-accent-d: #5B4BDB; --c-link: #B9AEFF; --c-link-h: #D9D2FF;
  --c-works: #4CC9F0; --c-waits: #FFB547; --c-help: #FF6B81; --c-done: #5BD49B;
  --c-works-t: #7FDBF7; --c-waits-t: #FFC978; --c-help-t: #FF95A6; --c-done-t: #8EE6B8;
  --c-works-bg: rgba(76, 201, 240, .12); --c-waits-bg: rgba(255, 181, 71, .12); --c-help-bg: rgba(255, 107, 129, .12); --c-done-bg: rgba(91, 212, 155, .12);
  --c-alert-line: #4A2A33; --c-alert-bg: #2A1820; --c-alert-t: #FFB3BF;
  --c-on-accent: #0B0C11; --c-on-waits: #0B0C11; --c-on-ava: #0B0C11;
  --c-card-line: #262938; --c-field: #14151D; --c-field-line: #272A37; --c-chip: #1F2130; --c-bar: #4A4F6A;
  --c-alert-btn-line: #6B3441; --c-alert-ph: #1A1218; --c-alert-ph-t: #E6C7CD; --c-sheet: rgba(5, 6, 10, .35); --c-shadow: rgba(0, 0, 0, .45);
  --c-chart-sales: #4E5674; --c-works-line: #234452; --c-band: rgba(163, 167, 186, .16);
  --c-s-refunds: #6B4A3F; --c-s-fees: #A0603F; --c-s-ads: #D07B4E; --c-s-cogs: #8C5A8C;
  color-scheme: dark;
}
/* The light theme (owner, 13.11.2026: «Когда мы добавим белую тему, чтобы плитки тоже с финансовыми цифрами были
   белыми»): the same tokens, light; «Светлая тема» in the header sets it, the browser remembers it. */
:root[data-theme="light"] {
  --c-bg: #F3F4F8; --c-panel: #FFFFFF; --c-inner: #F7F8FB; --c-tag: #ECEEF4;
  --c-line: #E2E5ED; --c-line2: #D2D6E2; --c-hover: #A9B0C6;
  --c-ink: #161822; --c-ink2: #343849; --c-mute: #5D6276; --c-faint: #84899C;
  --c-accent: #6C59F2; --c-accent-d: #5443D9; --c-link: #5241D6; --c-link-h: #3A2BB8;
  --c-works: #1395C6; --c-waits: #EE9F1F; --c-help: #E4475E; --c-done: #1DA669;
  --c-works-t: #0B6B90; --c-waits-t: #925400; --c-help-t: #B2213A; --c-done-t: #11764A;
  --c-works-bg: rgba(19, 149, 198, .10); --c-waits-bg: rgba(238, 159, 31, .14); --c-help-bg: rgba(228, 71, 94, .10); --c-done-bg: rgba(29, 166, 105, .10);
  --c-alert-line: #F1C0C8; --c-alert-bg: #FFF2F4; --c-alert-t: #B2213A;
  --c-on-accent: #FFFFFF; --c-on-waits: #1B1406; --c-on-ava: #0B0C11;
  --c-card-line: #E1E4EC; --c-field: #FFFFFF; --c-field-line: #D2D6E2; --c-chip: #ECEEF4; --c-bar: #C3C8D8;
  --c-alert-btn-line: #EBB0BA; --c-alert-ph: #FFF2F4; --c-alert-ph-t: #8E1F31; --c-sheet: rgba(22, 24, 34, .04); --c-shadow: rgba(22, 24, 34, .14);
  --c-chart-sales: #A3ABC4; --c-works-line: #B5DFF0; --c-band: rgba(93, 98, 118, .13);
  --c-s-refunds: #A9796A; --c-s-fees: #CC8452; --c-s-ads: #E4A06F; --c-s-cogs: #A97CAE;
  color-scheme: light;
}
/* the header's switch shows the theme to go to */
:root[data-theme="light"] .c-to-light, :root:not([data-theme="light"]) .c-to-dark { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.console { background: var(--c-bg); color: var(--c-ink); font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.console a { color: var(--c-link); text-decoration: none; } .console a:hover { color: var(--c-link-h); }
.console h1, .console h2, .console h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
.console h2 { font-size: 18px; } .console h3 { font-size: 17px; line-height: 1.3; }
.console p { margin: 0; }
.c-wrap { max-width: 1360px; margin: 0 auto; padding: 20px 28px 56px; display: flex; flex-direction: column; gap: 20px; }
.c-page { display: flex; flex-direction: column; gap: 20px; }
.c-dim { color: var(--c-mute); font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the header */
.c-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.c-brand { display: flex; align-items: center; gap: 10px; color: var(--c-ink) !important; flex: 0 0 auto; }
.c-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--c-accent); color: var(--c-on-accent); display: inline-flex; align-items: center; justify-content: center; }
.c-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.c-shop { color: var(--c-mute); font-size: 14px; }
.c-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.c-clock { text-align: right; line-height: 1.25; } .c-clock b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; } .c-clock span { font-size: 12px; color: var(--c-mute); } .c-clock i { font-style: normal; }
.c-bell { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--c-field); border: 1px solid var(--c-field-line); color: var(--c-ink) !important; display: inline-flex; align-items: center; justify-content: center; }
.c-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--c-waits); color: var(--c-on-waits); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.c-menu { display: flex; align-items: center; gap: 14px; font-size: 13px; } .c-menu a { color: var(--c-mute); } .c-menu a:hover { color: var(--c-ink); } .c-menu form { margin: 0; }
.c-linkbtn { background: none; border: 0; padding: 0; color: var(--c-mute); font: inherit; cursor: pointer; } .c-linkbtn:hover { color: var(--c-ink); }

/* panels, buttons, chips */
.c-panel { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.c-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--c-line2); background: var(--c-tag); color: var(--c-ink) !important; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; transition: filter .15s ease, transform .15s ease; }
.c-btn:hover { filter: brightness(1.12); } .c-btn:active { transform: scale(.98); } .c-btn:focus-visible, .c-chipbtn:focus-visible, .c-bell:focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; }
.c-btn.primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent) !important; font-weight: 600; }
.c-btn.ghost { background: transparent; border-color: transparent; color: var(--c-mute) !important; }
.c-btn.sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.c-btn.alert { border-color: var(--c-alert-btn-line); background: var(--c-alert-bg); color: var(--c-alert-t) !important; font-weight: 600; }
.c-btn[disabled] { opacity: .5; cursor: not-allowed; }
.c-chip { font-size: 12px; color: var(--c-ink2); background: var(--c-chip); border-radius: 8px; padding: 5px 9px; white-space: nowrap; } .c-chip small { color: var(--c-mute); font-size: 11px; }
.c-chip.money { color: var(--c-ink); font-weight: 600; } .c-chip.urgent { background: var(--c-help-bg); color: var(--c-help-t); } .c-chip.later { background: var(--c-waits-bg); color: var(--c-waits-t); }
.c-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.c-chipbtn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line2); background: transparent; color: var(--c-mute) !important; font-size: 13px; font-weight: 500; white-space: nowrap; }
.c-chipbtn.on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent) !important; }
.c-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-faint); flex: 0 0 auto; }
.c-dot.t-ok, .c-dot.t-done { background: var(--c-done); } .c-dot.t-warn, .c-dot.t-waits { background: var(--c-waits); } .c-dot.t-bad, .c-dot.t-help { background: var(--c-help); }
.c-dot.t-off { background: var(--c-faint); } .c-dot.t-works { background: var(--c-works); } .c-dot.t-accent { background: var(--c-accent); }
.c-flash { padding: 12px 16px; border-radius: 14px; background: var(--c-done-bg); border: 1px solid rgba(91, 212, 155, .35); color: var(--c-done-t); }
.c-flash.bad { background: var(--c-help-bg); border-color: rgba(255, 107, 129, .35); color: var(--c-help-t); }
.c-empty { color: var(--c-mute); font-size: 14px; }
.c-fresh { position: sticky; top: 10px; z-index: 40; align-self: center; padding: 10px 18px; border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent) !important; font-weight: 600; font-size: 13px; box-shadow: 0 12px 30px var(--c-shadow); }
.c-fresh[hidden] { display: none; }
.c-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.c-num { font-size: 13px; color: var(--c-mute); font-variant-numeric: tabular-nums; }

/* the morning summary */
.c-brief { flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: stretch; padding: 28px; }
.c-brief-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.c-kicker { font-size: 13px; color: var(--c-mute); }
.c-brief h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.c-lead { font-size: 16px; color: var(--c-mute); max-width: 640px; }
.c-tiles { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.c-tile { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.c-tile-k { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-mute); }
.c-tile-v { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.c-tile-s { font-size: 12px; color: var(--c-faint); min-height: 1em; }
/* each tile leads where its number is (owner, 12.11.2026) */

/* the warehouse */
.c-store { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 14px 20px; padding: 16px 22px; }
.c-store-head { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; } .c-store-head h2 { font-size: 15px; }
.c-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--c-tag); border: 1px solid var(--c-line2); color: var(--c-works-t); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.c-groups { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 520px; min-width: 0; }
.c-group { background: var(--c-inner); border: 1px solid var(--c-line); border-radius: 10px; font-size: 13px; }
.c-group.t-bad { border-color: var(--c-alert-line); }
.c-group summary { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; cursor: pointer; list-style: none; white-space: nowrap; }
.c-group summary::-webkit-details-marker { display: none; }
.c-gname { color: var(--c-ink); } .c-gtime { color: var(--c-mute); font-variant-numeric: tabular-nums; }
.c-group ul { list-style: none; margin: 0; padding: 4px 12px 10px; display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.c-group li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .c-group li .c-dot { width: 6px; height: 6px; transform: translateY(-1px); }
.c-group[open] { flex-basis: 100%; }
.c-refresh { margin: 0; flex: 0 0 auto; }
/* the warehouse, short and at the bottom (owner, 12.11.2026): how much is loaded and when, what is wrong in words */
.c-store-state { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--c-ink2); }
.c-store-state p { margin: 0; }
.c-store-bad { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.c-store-bad li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* one card for the findings of one check about one product, their list folded like «Откуда цифра» */
.c-group-list summary { font-size: 13px; color: var(--c-ink2); }
.c-grouped { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; }
.c-grouped li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--c-ink2); }
.c-grouped li > span:first-child { flex: 1 1 220px; min-width: 0; }
/* each line: the headline, its numbers and, when the lines differ, its own «Что сделать» (owner's review, 13.11.2026) */
.c-gl-text { display: flex; flex-direction: column; gap: 3px; }
.c-gl-text > span { color: var(--c-ink); }
.c-gl-detail, .c-gl-todo { font-size: 12px; line-height: 1.45; color: var(--c-ink2); }
.c-gl-todo b { color: var(--c-ink); font-weight: 600; }
/* «Открыть» stays a button inside the fold (the fold's links are blocks): centred text, no stretch, on the phone too */
.c-grouped .c-btn { display: inline-flex; margin-top: 0; flex: 0 0 auto; }

/* the page is one column of bands (owner, 14.11.2026: «Ждут вашего решения» across the page, no black beside it) */
.c-dec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.c-dec-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.c-more .c-btn { width: auto; }
.c-joblist.c-jobgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.c-jobsband .c-sec-head a { font-size: 13px; }

/* the summary takes the events of the night: under the greeting, newest first, four and the rest folded */
.c-brief-events { border-top: 1px solid var(--c-line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.c-brief-events h2 { font-size: 13px; font-weight: 500; color: var(--c-mute); }
.c-brief-more summary { cursor: pointer; font-size: 13px; color: var(--c-link); list-style: none; } .c-brief-more summary::-webkit-details-marker { display: none; }
.c-brief-more[open] summary { margin-bottom: 10px; }

/* the team's strip: one card a colleague — face, name, role, status (owner, 14.11.2026) */
.c-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
@media (max-width: 1100px) { .c-strip { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.c-mate { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 14px 8px 12px; background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 16px; color: var(--c-ink2) !important; text-decoration: none !important; transition: border-color .2s ease, transform .2s ease; }
.c-mate:hover { border-color: var(--c-hover); transform: translateY(-2px); }
.c-mate.s-soon { opacity: .62; }
.c-mate b { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.c-mate-role { font-size: 12px; line-height: 1.3; color: var(--c-mute); }
.c-mate .c-pill { height: 22px; padding: 0 8px; font-size: 11px; margin-top: 2px; }
.c-mate-help { font-size: 11px; line-height: 1.3; color: var(--c-help-t); }
.c-mate-ava { position: relative; display: inline-flex; margin-bottom: 2px; }
.c-mate-n { position: absolute; top: -4px; right: -10px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-waits); color: var(--c-on-waits); font-size: 11px; font-weight: 600; font-style: normal; display: flex; align-items: center; justify-content: center; }

/* the team */
.c-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.c-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.c-card { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s ease, transform .2s ease; }
.c-card:hover { border-color: var(--c-hover); transform: translateY(-2px); }
.c-card.s-soon { opacity: .62; }
.c-card-head { display: flex; align-items: center; gap: 12px; }
.c-ava { width: 42px; height: 42px; border-radius: 50%; color: var(--c-on-ava); font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; position: relative; }
.c-ava.sm { width: 28px; height: 28px; font-size: 12px; } .c-ava.lg { width: 56px; height: 56px; font-size: 22px; }
.c-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; } .c-who b { font-size: 15px; font-weight: 600; } .c-who span { font-size: 12px; color: var(--c-mute); }
.c-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--c-tag); color: var(--c-mute); }
.c-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-faint); }
.c-pill.s-works { background: var(--c-works-bg); color: var(--c-works-t); } .c-pill.s-works i { background: var(--c-works); animation: c-pulse 1.8s ease-out infinite; }
.c-pill.s-waits { background: var(--c-waits-bg); color: var(--c-waits-t); } .c-pill.s-waits i { background: var(--c-waits); }
.c-pill.s-help { background: var(--c-help-bg); color: var(--c-help-t); } .c-pill.s-help i { background: var(--c-help); }
@keyframes c-pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 201, 240, .55); } 70% { box-shadow: 0 0 0 7px rgba(76, 201, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 201, 240, 0); } }
.c-now small { display: block; font-size: 11px; color: var(--c-faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.c-helpline { font-size: 13px; color: var(--c-help-t); }
.c-last { font-size: 13px; color: var(--c-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-pending { font-size: 12px; color: var(--c-waits-t); }
.c-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.c-spark { display: flex; flex-direction: column; gap: 4px; } .c-spark small { font-size: 11px; color: var(--c-faint); }
.c-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; } .c-bars i { width: 6px; border-radius: 2px; background: var(--c-line2); }
.c-card.s-works .c-bars i, .c-card.s-waits .c-bars i { background: var(--c-bar); }

/* the decisions */
.c-dec { background: var(--c-inner); border: 1px solid var(--c-line2); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.c-dec-head { display: flex; align-items: center; gap: 10px; } .c-who-line { font-size: 13px; color: var(--c-mute); } .c-who-line b { color: var(--c-ink); font-weight: 600; }
.c-dec-head time { margin-left: auto; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-why, .c-todo { font-size: 13px; color: var(--c-mute); } .c-why b, .c-todo b { color: var(--c-ink); font-weight: 500; }
.c-verify { font-size: 12px; color: var(--c-faint); } .c-verify summary { cursor: pointer; } .c-verify a { display: inline-block; margin-top: 6px; }
.c-more { font-size: 13px; color: var(--c-mute); }
.c-acts { display: flex; flex-wrap: wrap; gap: 8px; } .c-act { margin: 0; display: flex; flex: 1 1 120px; } .c-act .c-btn { width: 100%; }
.c-acts .c-act:has(.ghost) { flex: 0 0 auto; }
.c-resolved { font-size: 13px; color: var(--c-mute); border-top: 1px solid var(--c-line); padding-top: 10px; } .c-resolved summary { cursor: pointer; }
.c-resolved ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.c-res { display: flex; align-items: center; gap: 10px; background: var(--c-done-bg); border-radius: 12px; padding: 10px 12px; }
.c-res-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; } .c-res-text b { color: var(--c-ink); font-weight: 600; font-size: 13px; } .c-res-text span { font-size: 12px; color: var(--c-done-t); }
.c-res .c-act { flex: 0 0 auto; }

/* the alerts */
.c-alert { background: var(--c-panel); border: 1px solid var(--c-alert-line); border-radius: 22px; padding: 16px 20px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
.c-alert-ico { color: var(--c-help-t); display: flex; } .c-alert p { font-size: 14px; color: var(--c-ink2); }
.c-alert p { flex: 1 1 320px; } .c-alert form { margin: 0; } .c-alert .c-btn { width: auto; }

/* the night */
.c-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.c-lines li { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--c-ink2); }
.c-lines time { flex: 0 0 auto; width: 42px; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }
.c-lines .c-dot { width: 10px; height: 10px; }

/* the profile of a colleague: a page of its own, in the middle of the screen (owner, 12.11.2026: «вся информация смещена к правому краю») */
.c-sheet { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 70vh; background: var(--c-sheet); border-radius: 22px; padding: 20px; }
.c-sheet-back { align-self: center; width: 760px; max-width: 100%; margin: 0; color: var(--c-mute) !important; font-size: 14px; }
.c-profile { width: 760px; max-width: 100%; background: var(--c-panel); border: 1px solid var(--c-field-line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.c-prof-head { display: flex; align-items: center; gap: 14px; } .c-prof-head .c-who b { font-size: 20px; } .c-prof-head .c-who span { font-size: 13px; }
.c-prof-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--c-ink2); }
.c-does { font-size: 14px; color: var(--c-ink2); }
.c-note { font-size: 13px; color: var(--c-mute); background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 12px; padding: 10px 12px; }
.c-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.c-checks-fold summary { cursor: pointer; font-size: 12px; color: var(--c-mute); margin-top: 10px; } .c-checks-fold[open] summary { margin-bottom: 8px; }
.c-box { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 14px; padding: 14px; font-size: 13px; color: var(--c-ink2); }
.c-box-t { font-size: 12px !important; font-weight: 600; margin: 0 0 8px !important; } .c-box-t.works { color: var(--c-works-t); } .c-box-t.waits { color: var(--c-waits-t); }
.c-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .c-checks li { display: flex; flex-direction: column; gap: 1px; }
.c-res-ok { color: var(--c-done-t); font-size: 12px; } .c-res-found { color: var(--c-waits-t); font-size: 12px; } .c-res-none { color: var(--c-help-t); font-size: 12px; }
.c-prof-sec h3 { font-size: 13px; margin: 0 0 10px; }
/* owner's review, 13.11.2026: «За что отвечает и что делает» — what the colleague looks after, then his checks */
.c-box-self .c-does { margin: 0 0 10px; } .c-box-sub { margin: 10px 0 6px; font-size: 12px; color: var(--c-mute); }
.c-waitn { margin: 0; display: flex; align-items: baseline; gap: 10px; } .c-waitn b { font-size: 26px; color: var(--c-ink); }
.c-filter-note { margin: -6px 0 6px; font-size: 13px; }
/* the board: labelled tiles and one picture in place of «Приборы» */
.c-board { display: flex; flex-direction: column; gap: 10px; }
.c-btiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.c-btile { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-btile span { font-size: 12px; color: var(--c-mute); } .c-btile b { font-size: 18px; font-weight: 600; color: var(--c-ink); }
.c-btile small { font-size: 12px; color: var(--c-faint); }
.c-btile.good { background: var(--c-done-bg); border-color: transparent; } .c-btile.good b { color: var(--c-done-t); }
.c-btile.warn { background: var(--c-waits-bg); border-color: transparent; } .c-btile.warn b { color: var(--c-waits-t); }
.c-btile.bad { background: var(--c-help-bg); border-color: transparent; } .c-btile.bad b { color: var(--c-help-t); }
.c-board-sub { margin: 4px 0 0; font-size: 13px; color: var(--c-ink2); } .c-board-note { margin: 0; font-size: 12px; color: var(--c-faint); }
.c-stack { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: var(--c-tag); }
.c-stack i, .c-legend i { display: block; } .c-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--c-ink2); }
.c-legend span { display: inline-flex; align-items: center; gap: 6px; } .c-legend i { width: 10px; height: 10px; border-radius: 2px; }
.s-refunds { background: var(--c-s-refunds); } .s-fees { background: var(--c-s-fees); } .s-ads { background: var(--c-s-ads); } .s-cogs { background: var(--c-s-cogs); } .s-profit { background: var(--c-done); }
.c-lasts { display: flex; flex-direction: column; gap: 8px; }
.c-lrow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 10px; align-items: center; font-size: 13px; color: var(--c-ink2); }
.c-lname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .c-lname small { color: var(--c-faint); }
.c-lbar { position: relative; height: 12px; background: var(--c-tag); border-radius: 6px; }
.c-lbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--c-works); } .c-lbar i.short { background: var(--c-help); }
.c-lbar em, .c-mark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--c-waits); }
.c-mark { position: static; display: inline-block; width: 10px; height: 2px; vertical-align: middle; margin-right: 6px; }
/* Страж's board (15.11.2026): the Account Health Rating on Amazon's scale 0–1000 — three zones, the score's mark over them */
.c-btile.c-btile-text b { font-size: 14px; line-height: 1.35; }
.c-ahr { position: relative; padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.c-ahr-bar { width: 100%; height: 16px; display: block; }
.c-ahr-score { position: absolute; top: 0; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: var(--c-ink); white-space: nowrap; }
.c-ahr .z-bad, .c-legend .z-bad { fill: var(--c-help); background: var(--c-help); }
.c-ahr .z-warn, .c-legend .z-warn { fill: var(--c-waits); background: var(--c-waits); }
.c-ahr .z-good, .c-legend .z-good { fill: var(--c-done); background: var(--c-done); }
.c-ahr .z-mark { fill: var(--c-ink); }
/* Промо's board (16.11.2026): the coupons on one time line — each coupon's days, the budget spent inside them, Amazon's 80% mark */
.c-coupons { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.c-coupon { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.c-coupon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--c-ink2); min-width: 0; }
.c-coupon-head .c-lname { flex: 1 1 auto; } .c-coupon-head b { flex: none; font-weight: 600; color: var(--c-ink); white-space: nowrap; }
.c-coupon-head .c-lname small { display: block; overflow: hidden; text-overflow: ellipsis; }
.c-coupon-head b { text-align: right; } .c-coupon-head b small { display: block; font-weight: 400; color: var(--c-faint); }
/* a phone: the coupon's name on its own line, what it spent under it — «бюджета купона» left the name no room beside it */
@media (max-width: 640px) {
  .c-coupon-head { flex-wrap: wrap; row-gap: 2px; } .c-coupon-head .c-lname, .c-coupon-head b { flex: 1 1 100%; }
  .c-coupon-head b { text-align: left; white-space: normal; } .c-coupon-head b small { display: inline; } .c-coupon-head b small::before { content: ' · '; }
}
.c-coupon-lane { width: 100%; height: 16px; display: block; background: var(--c-inner); border-radius: 4px; }
.c-coupon-lane .p-run, .c-legend .p-run { fill: var(--c-bar); background: var(--c-bar); }
.c-coupon-lane .p-run.live, .c-legend .p-run.live { fill: var(--c-works-line); background: var(--c-works-line); }
.c-coupon-lane .p-spent, .c-legend .p-spent { fill: var(--c-works); background: var(--c-works); }
.c-coupon-lane .p-spent.off { fill: var(--c-help); }
.c-coupon-lane .p-mark, .c-legend .p-mark { fill: var(--c-waits); background: var(--c-waits); }
.c-coupon-lane .p-now, .c-legend .p-now { fill: var(--c-ink); background: var(--c-ink); }
/* Макс's board (16.11.2026): Sponsored Brands and Display each on its own line; the Search terms' money on one bar —
   what brought orders, the negative candidates, the rest without orders — the legend one part a line, so it wraps on a phone */
.c-adtypes { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--c-ink2); }
.c-stack.c-terms { gap: 2px; } .c-stack.c-terms i { min-width: 2px; }
.c-terms .a-sell, .c-legend .a-sell { background: var(--c-done); } .c-terms .a-neg, .c-legend .a-neg { background: var(--c-help); }
.c-terms .a-low, .c-legend .a-low { background: var(--c-bar); } .c-terms .a-zero, .c-legend .a-zero { background: var(--c-waits); }
.c-legend.c-legend-rows { flex-direction: column; gap: 4px; } .c-legend.c-legend-rows span { align-items: flex-start; } .c-legend.c-legend-rows i { flex: none; margin-top: 4px; }
.c-btable th small { display: block; font-weight: 400; color: var(--c-faint); }
.c-adtable th small { white-space: normal; } .c-adtable th:nth-child(n+4) { min-width: 84px; } .c-adtable td:first-child { min-width: 120px; }
/* Макс's products on a phone (375px, decision 145): six columns do not fit — each row folds into a card, the name over
   five numbers in a 3-column grid, each number under its column's name (data-label); the column heads hide */
@media (max-width: 560px) {
  .c-adtable thead { display: none; }
  .c-adtable, .c-adtable tbody { display: block; width: 100%; }
  .c-adtable tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 10px 0; }
  .grid.c-adtable td, .grid.c-adtable td.num { display: block; padding: 0; border: 0; text-align: left; min-width: 0; }
  .grid.c-adtable tr { border-bottom: 1px solid var(--c-line, rgba(127,127,127,.25)); }
  .c-adtable td:first-child { grid-column: 1 / -1; min-width: 0; font-weight: 600; }
  .c-adtable td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--c-ink2); }
}
.c-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-faint); }
.c-funnel { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c-fstep { background: var(--c-works-bg); border: 1px solid var(--c-works-line); border-radius: 10px; padding: 8px 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; font-size: 13px; color: var(--c-ink2); }
.c-fstep b { font-size: 16px; color: var(--c-ink); } .c-fstep small { flex-basis: 100%; font-size: 12px; color: var(--c-faint); }
.c-btable td, .c-btable th { font-size: 13px; }
/* «Поручения» (owner, 13.11.2026): «Как решить» of a finding, «Что умеет», «Поручить команде» */
.c-solve { font-size: 13px; color: var(--c-ink2); } .c-solve > b { color: var(--c-ink); font-weight: 600; }
.c-solve ul, .c-joblist { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.c-solve li, .c-joblist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.c-job-text { flex: 1 1 220px; min-width: 0; } .c-assign { flex: 0 0 auto; }
.c-job-result { display: block; margin-top: 4px; color: var(--c-ink); line-height: 1.45; } .c-job-result b { color: var(--c-done); font-weight: 600; }
.c-grouped .c-solve { font-size: 12px; } .c-grouped .c-solve li { gap: 6px; }
.c-joblist li { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.c-jobs h1 { margin: 6px 0 8px; } .c-jobseg h2 { font-size: 15px; margin: 20px 0 8px; }
.c-backs { display: flex; gap: 18px; flex-wrap: wrap; }
.c-notes h1 { margin: 6px 0 8px; } .c-notes h2 { font-size: 15px; margin: 20px 0 8px; }
.c-notes .c-msgs { display: flex; flex-direction: column; gap: 8px; } .c-notes .c-alerts { display: flex; flex-direction: column; gap: 8px; }
/* the example questions under the question line: shown while it has the focus */
.c-ask { position: relative; }
.c-asklist { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 60vh; overflow-y: auto; background: var(--c-panel); border: 1px solid var(--c-line2); border-radius: 14px; padding: 10px; box-shadow: 0 12px 32px var(--c-shadow); }
.c-ask:focus-within .c-asklist { display: block; }
.c-asklist.open { display: block; position: static; max-height: none; box-shadow: none; margin-top: 14px; }
.c-asklist-t { margin: 2px 6px 6px; font-size: 12px; color: var(--c-faint); }
.c-askgroup p { margin: 8px 6px 4px; font-size: 12px; font-weight: 600; color: var(--c-mute); }
.c-askitem { display: block; padding: 7px 10px; border-radius: 9px; font-size: 13px; color: var(--c-ink2) !important; text-decoration: none; }
.c-askitem:hover, .c-askitem:focus-visible { background: var(--c-tag); color: var(--c-ink) !important; outline: none; }
.c-msg { display: flex; flex-direction: column; gap: 2px; background: var(--c-inner); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; color: var(--c-ink2) !important; font-size: 13px; } .c-msg small { color: var(--c-faint); font-size: 12px; }
.c-tool { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; color: var(--c-ink2); padding: 6px 0; border-bottom: 1px solid var(--c-line); } .c-tool a { white-space: nowrap; font-size: 12px; }
.c-write { margin-top: 4px; } .c-write-note { font-size: 13px; }

/* «Спросить»: the line of the header, the page /ask */
.c-ask { flex: 1 1 360px; min-width: 0; position: relative; margin: 0; }
.c-askbox { display: flex; align-items: center; gap: 10px; background: var(--c-field); border: 1px solid var(--c-field-line); border-radius: 14px; padding: 0 6px 0 14px; height: 50px; transition: border-color .2s ease; }
.c-askbox:focus-within { border-color: var(--c-accent); }
.c-ask-ico { color: var(--c-mute); display: flex; }
.c-askbox input { flex: 1 1 auto; min-width: 0; height: 40px; background: transparent; border: 0; outline: none; color: var(--c-ink); font: inherit; font-size: 15px; }
.c-askbox input::placeholder, .c-askform textarea::placeholder { color: var(--c-faint); }
.c-askbox .c-btn { height: 40px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.c-wait { margin: 6px 2px 0; font-size: 13px; color: var(--c-works-t); }
.c-ask .c-wait { position: absolute; left: 14px; top: 52px; }
.c-btn.waiting { opacity: .55; }
.c-askpage h1 { font-size: 26px; }
.c-askform { display: grid; gap: 8px; margin: 0; }
.c-askform textarea { width: 100%; font: inherit; font-size: 15px; color: var(--c-ink); background: var(--c-field); border: 1px solid var(--c-field-line); border-radius: 14px; padding: 12px 14px; resize: vertical; outline: none; }
.c-askform textarea:focus { border-color: var(--c-accent); } .c-askform textarea[disabled], .c-askbox input[disabled] { opacity: .55; }
.c-askform-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.c-bad { color: var(--c-help-t); font-size: 13px; }
/* the answer of «Спросить» as render.js writes it, in the dark */
.console .card { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 16px; padding: 14px 16px; }
.console .card .k { color: var(--c-mute); font-size: 12px; } .console .answer h2 { font-size: 18px; margin: 0 0 8px; } .console .answer h3 { font-size: 15px; margin: 14px 0 6px; } .console .answer p { margin: 0 0 8px; color: var(--c-ink2); }
.console .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.console table.grid { width: 100%; border-collapse: collapse; font-size: 13px; } .console table.grid th, .console table.grid td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.console table.grid th { color: var(--c-faint); font-weight: 600; font-size: 12px; } .console td.num, .console th.num, .console table.grid td.num, .console table.grid th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.console .nowrap { white-space: nowrap; } .console .muted { color: var(--c-mute); } .console .bad { color: var(--c-help-t); }
.console .badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--c-works-bg); color: var(--c-works-t); }
.console details.verify { margin-top: 14px; color: var(--c-mute); } .console details.verify summary { cursor: pointer; }
/* «Показать расчёт»: one block per fact — its name, then period · state · source, then its own small table */
.console .facts { display: grid; gap: 14px; margin-top: 10px; }
.console .fact { border-top: 1px solid var(--c-line); padding-top: 12px; min-width: 0; }
.console .fact-head { margin: 0; color: var(--c-ink); font-size: 14px; } .console .fact-id { color: var(--c-faint); margin-right: 4px; font-variant-numeric: tabular-nums; }
.console .fact-meta { margin: 2px 0 8px; color: var(--c-mute); font-size: 12px; }
.console .fact-value { color: var(--c-ink2); font-size: 13px; } .console .fact-line { margin: 0 0 6px; }
.console .fact-value table.grid { width: auto; min-width: 50%; } .console .fact-value table.grid td, .console .fact-value table.grid th { padding: 6px 10px; }
.console .fact-value td:first-child { white-space: nowrap; } /* a week «13.09–19.09» on one line on a phone */
.console .c-retry { margin: 0 0 12px; }
.console ul.plain, .console ol.plain { padding-left: 18px; color: var(--c-ink2); } .console ul.plain li, .console ol.plain li { margin-bottom: 8px; }
.console .missing { color: var(--c-mute); font-size: 13px; }
.console .flash { padding: 12px 16px; border-radius: 14px; background: var(--c-done-bg); color: var(--c-done-t); margin: 0 0 12px; } .console .flash.bad { background: var(--c-help-bg); color: var(--c-help-t); }

/* the phone (section 5 of the design): the same page below 640 px, rearranged by these rules */
.c-phone-only { display: none !important; }
.c-steps { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }
.c-stepdots { display: flex; gap: 5px; align-items: center; } .c-stepdots i { height: 8px; width: 8px; border-radius: 999px; background: var(--c-line2); } .c-stepdots i.d-done { background: var(--c-done); } .c-stepdots i.d-cur { width: 22px; background: var(--c-accent); } .c-stepdots em { font-style: normal; font-size: 11px; color: var(--c-faint); }
.c-faces { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 4px; }
.c-face { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; color: var(--c-mute) !important; font-size: 11px; text-align: center; }
.c-face .c-ava { width: 38px; height: 38px; font-size: 14px; }
.c-face-dot { position: absolute; top: 28px; left: calc(50% + 9px); width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--c-panel); background: var(--c-faint); }
.c-face-dot.s-works { background: var(--c-works); } .c-face-dot.s-waits { background: var(--c-waits); } .c-face-dot.s-help { background: var(--c-help); } .c-face-dot.s-soon { background: var(--c-line2); }
.c-mini { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 16px; padding: 0 14px; font-size: 13px; }
.c-mini summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; color: var(--c-ink2); } .c-mini summary::-webkit-details-marker { display: none; }
.c-mini .c-icon { width: 30px; height: 30px; } .c-mini-list { list-style: none; margin: 0; padding: 0 0 12px; display: flex; flex-direction: column; gap: 8px; } .c-mini-list li { display: flex; gap: 8px; align-items: center; } .c-mini-list .c-dim { margin-left: auto; }
.c-mini .c-lines { padding-bottom: 12px; } .c-mini .c-empty { padding-bottom: 12px; font-size: 13px; }
.c-askfab { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 30; height: 52px; border-radius: 16px; background: var(--c-accent); color: var(--c-on-accent) !important; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 12px 30px var(--c-shadow); }

@media (max-width: 640px) {
  .c-phone-only { display: revert !important; }
  .c-faces.c-phone-only { display: grid !important; } .c-steps.c-phone-only { display: flex !important; } .c-askfab.c-phone-only { display: flex !important; }
  .c-desk-only, .c-tiles, .c-cards, .c-strip, .c-filters, .c-team .c-sec-head p, .c-store, .c-night, .c-ask, .c-more, .c-shop { display: none !important; }
  .c-wrap { padding: 16px 16px 96px; gap: 14px; }
  .c-page { gap: 14px; }
  .c-brief { order: 1; padding: 18px; gap: 4px; } .c-brief-text { flex-basis: auto; gap: 4px; } .c-brief h1 { font-size: 28px; } .c-lead { font-size: 15px; }
  .c-decisions { order: 2; padding: 0; background: transparent; border: 0; gap: 12px; } .c-decisions .c-sec-head { display: none; } .c-decisions .c-steps { padding: 0 4px; }
  .c-act .c-btn { white-space: nowrap; }
  .c-dec:not(:first-of-type) { display: none; } .c-dec-grid { grid-template-columns: minmax(0, 1fr); } .c-dec-col + .c-dec-col { display: none; }
  .c-dec { border-radius: 22px; padding: 18px; background: var(--c-field); } .c-dec h3 { font-size: 21px; line-height: 1.25; }
  .c-acts { flex-direction: row-reverse; flex-wrap: nowrap; } .c-act .c-btn { height: 52px; border-radius: 14px; font-size: 15px; } .c-acts .c-act:has(.ghost) .c-btn { padding: 0 12px; }
  .c-alert { order: 3; padding: 10px 12px; border-radius: 16px; background: var(--c-alert-ph); flex-direction: row; align-items: center; gap: 10px; } .c-alert p { flex: 1 1 auto; font-size: 13px; color: var(--c-alert-ph-t); } .c-alert .c-btn { width: auto; height: 44px; padding: 0 12px; font-size: 13px; } .c-alert form { flex: 0 0 auto; }
  .c-alert ~ .c-alert { display: none; }
  .c-team { order: 4; padding: 14px 16px; gap: 10px; } .c-team h2 { font-size: 12px; font-weight: 400; color: var(--c-mute); }
  .c-mini { order: 6; } #night-mini { order: 5; } .c-flash { order: 0; } /* the previous day above the warehouse, as on the computer */
  .c-top { gap: 10px; flex-wrap: nowrap; align-items: flex-start; } .c-logo { width: 28px; height: 28px; border-radius: 8px; } .c-name { font-size: 16px; } .c-brand { margin-top: 6px; }
  .c-tools { gap: 6px 10px; flex: 1 1 0; min-width: 0; justify-content: flex-end; } .c-clock { display: flex; gap: 6px; align-items: baseline; text-align: right; } .c-clock b { font-size: 12px; font-weight: 500; color: var(--c-mute); } .c-clock span { font-size: 12px; } .c-wd { display: none; }
  .c-bell { width: 40px; height: 40px; }
  .c-menu { order: 3; width: 100%; justify-content: flex-end; gap: 12px; font-size: 12px; }
  .c-profile { padding: 18px; } .c-boxes { grid-template-columns: 1fr; } .c-fstep { width: 100% !important; } .c-btiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-btile b { font-size: 16px; } .c-lrow { grid-template-columns: minmax(0, 1fr) auto; } .c-lrow .c-lbar { grid-column: 1 / -1; grid-row: 2; } .c-sheet-back { display: none; } .c-sheet { padding: 0; }
}

/* «Изменения и их влияние» (stage 5; mockup v2 of 15.11.2026): the wide tile under the four of the summary — on the phone
   too, where the four are hidden — and the page /changes: tiles, the picture by week, the lines, the analysis, the mark */
.c-tiles .c-chtile { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; background: var(--c-inner); border: 1px solid var(--c-accent); border-radius: 16px; padding: 14px 16px; color: var(--c-ink) !important; text-decoration: none; transition: transform .2s ease; }
.c-tiles .c-chtile:hover { transform: translateY(-2px); }
.c-chtile-v { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.c-chtile-mid { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.c-chtile-go { font-size: 13px; font-weight: 600; color: var(--c-link); white-space: nowrap; }
.ch-page h1 { font-size: 26px; } .ch-sub { margin-top: -8px !important; }
.ch-prods { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-prods .c-chipbtn { height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; white-space: normal; max-width: 100%; }
.ch-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ch-tiles .c-tile.ch-warn { background: var(--c-waits-bg); border-color: transparent; } .ch-tiles .c-tile.ch-warn .c-tile-v { color: var(--c-waits-t); }
.ch-cap { font-size: 13px; font-weight: 600; color: var(--c-ink2); margin-top: 4px !important; }
.ch-chart { width: 100%; height: auto; display: block; background: var(--c-inner); border-radius: 12px; }
.ch-chart .wk { fill: var(--c-chart-sales); } .ch-chart .part { opacity: .45; }
.ch-chart .v { fill: var(--c-ink); font-size: 13px; font-weight: 600; text-anchor: middle; } .ch-chart .ax { fill: var(--c-faint); font-size: 12px; text-anchor: middle; }
.ch-chart .ev { stroke: var(--c-inner); stroke-width: 2; } .ch-chart .ev.on { stroke: var(--c-ink); }
.ch-chart .sel { stroke: var(--c-waits); stroke-dasharray: 4 3; stroke-width: 1.5; }
.ch-chart .tag { fill: var(--c-waits-bg); stroke: var(--c-waits); } .ch-chart .tagt { fill: var(--c-waits-t); font-size: 12px; font-weight: 600; text-anchor: middle; }
.ch-chart .g-ads { fill: var(--c-accent); } .ch-chart .g-coupon { fill: var(--c-waits); } .ch-chart .g-deal { fill: var(--c-done); } .ch-chart .g-list { fill: var(--c-works); } .ch-chart .g-other { fill: var(--c-faint); }
.ch-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: 0 0 10px; background: var(--c-faint); }
.ch-dot.g-ads { background: var(--c-accent); } .ch-dot.g-coupon { background: var(--c-waits); } .ch-dot.g-deal { background: var(--c-done); } .ch-dot.g-list { background: var(--c-works); }
.ch-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--c-ink2); margin-top: -4px; } .ch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ch-rows { display: flex; flex-direction: column; border-top: 1px solid var(--c-line); }
.ch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 4px; border-bottom: 1px solid var(--c-line); }
.ch-row.on { background: var(--c-inner); border-radius: 12px 12px 0 0; border-bottom: 0; padding: 12px; }
.ch-main { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--c-ink) !important; text-decoration: none; }
.ch-main:hover .ch-rh { color: var(--c-link-h); }
.ch-rb { display: flex; flex-direction: column; min-width: 0; } .ch-rh { font-size: 14px; } .ch-rt { font-size: 13px; color: var(--c-mute); overflow-wrap: anywhere; }
.ch-rc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ch-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.ch-t-wait { background: var(--c-waits-bg); color: var(--c-waits-t); } .ch-t-mix { background: var(--c-works-bg); color: var(--c-works-t); }
.ch-t-up { background: var(--c-done-bg); color: var(--c-done-t); } .ch-t-down { background: var(--c-help-bg); color: var(--c-help-t); } .ch-t-none { background: var(--c-tag); color: var(--c-mute); }
.ch-rc a.ch-markchip { background: transparent; color: var(--c-link) !important; border: 1px solid var(--c-line2); }
.ch-prog { width: 72px; height: 6px; border-radius: 3px; background: var(--c-tag); overflow: hidden; display: inline-block; } .ch-prog i { display: block; height: 100%; background: var(--c-waits); }
.ch-progt { font-size: 12px; color: var(--c-faint); }
.ch-marks { flex-basis: 100%; list-style: none; margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--c-ink2); }
.ch-marks li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ch-unmark { margin: 0; display: inline-flex; } .ch-unmark .c-linkbtn { font-size: 12px; color: var(--c-link); }
.ch-detail { background: var(--c-inner); border-radius: 0 0 12px 12px; padding: 4px 16px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; }
.ch-verdict { display: flex; flex-direction: column; gap: 2px; border-radius: 12px; padding: 12px 14px; }
.ch-verdict b { font-size: 16px; } .ch-verdict span { color: var(--c-ink2); font-size: 14px; }
.ch-pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ch-pcell { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 12px; padding: 10px 10px 8px; min-width: 0; }
.ch-pt { font-size: 13px; color: var(--c-ink2); font-weight: 600; } .ch-pu { font-size: 12px; color: var(--c-mute); margin-top: 2px; }
.ch-pd { font-size: 13px; color: var(--c-ink2); font-weight: 600; text-align: center; }
.ch-pair { width: 100%; height: auto; display: block; }
.ch-pair .band { fill: var(--c-band); } .ch-pair .b0 { fill: var(--c-chart-sales); } .ch-pair .b1 { fill: var(--c-accent); } .ch-pair .pw { fill: none; stroke: var(--c-line2); stroke-dasharray: 4 3; }
.ch-pair .pv { fill: var(--c-ink); font-size: 13px; font-weight: 700; text-anchor: middle; } .ch-pair .ax { fill: var(--c-faint); font-size: 12px; text-anchor: middle; }
.ch-sw { display: inline-block; width: 22px; height: 10px; background: var(--c-band); border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.ch-how { font-size: 13px; color: var(--c-mute); } .ch-note { font-size: 12px; color: var(--c-mute); }
.ch-also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ch-also-t { font-size: 13px; font-weight: 600; color: var(--c-ink2); margin-right: 2px; }
.ch-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ch-small { font-size: 13px; color: var(--c-mute); padding: 10px 4px; border-bottom: 1px solid var(--c-line); } .ch-small summary { cursor: pointer; }
.ch-small ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.ch-mark h2 { font-size: 17px; }
.ch-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; margin: 0; }
.ch-form label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--c-mute); }
.ch-form-note { grid-column: 1 / -1; }
.ch-form select, .ch-form input, .ch-form textarea { width: 100%; min-width: 0; font: inherit; font-size: 14px; color: var(--c-ink); background: var(--c-field); border: 1px solid var(--c-field-line); border-radius: 10px; padding: 9px 11px; }
.ch-form select:focus, .ch-form input:focus, .ch-form textarea:focus { outline: none; border-color: var(--c-accent); }
.ch-form textarea { resize: vertical; }
@media (max-width: 760px) {
  .ch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-pairs, .ch-form { grid-template-columns: minmax(0, 1fr); }
  .ch-main { flex-basis: 100%; } .ch-rc { justify-content: flex-start; width: 100%; padding-left: 22px; }
  .ch-detail { padding: 4px 12px 14px; }
}
@media (max-width: 640px) {
  .c-brief .c-tiles.c-with-changes { display: grid !important; grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
  .c-tiles.c-with-changes > .c-tile { display: none; }
  .c-tiles .c-chtile { padding: 12px 14px; gap: 12px; } .c-chtile-v { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) { .c-pill.s-works i { animation: none; } .c-card, .c-btn, .c-tiles .c-chtile { transition: none; } .c-card:hover, .c-tiles .c-chtile:hover { transform: none; } }

/* The pages around the console in its look (owner, 12.11.2026: the seller sees only the console) —
   settings, sign-in, first run, keys, messages; their content is the monitor's, the look is the console's */
.c-util h1 { font-size: 26px; margin: 0; } .c-util h2 { font-size: 17px; margin: 0 0 8px; } .c-util p { margin: 0 0 8px; }
.c-util a { color: var(--c-link); }
.c-util .card { background: var(--c-inner); border: 1px solid var(--c-line); border-radius: 14px; padding: 16px 18px; }
.c-util .card .k, .c-util .muted { color: var(--c-mute); }
.c-util .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.c-util .filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 12px; }
.c-util .filters label, .c-util .auth label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--c-mute); }
.c-util input[type=text], .c-util input[type=password], .c-util input[type=number], .c-util input[type=email], .c-util input:not([type]), .c-util select, .c-util textarea { font: inherit; font-size: 14px; color: var(--c-ink); background: var(--c-field); border: 1px solid var(--c-field-line); border-radius: 10px; padding: 9px 11px; min-width: 150px; }
.c-util input:focus, .c-util select:focus, .c-util textarea:focus { outline: none; border-color: var(--c-accent); }
.c-util input[type=checkbox], .c-util input[type=radio] { accent-color: var(--c-accent); }
.c-util .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--c-accent); background: var(--c-accent); color: var(--c-on-accent) !important; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.c-util .btn.secondary { background: var(--c-tag); border-color: var(--c-line2); color: var(--c-ink) !important; font-weight: 500; }
.c-util .btn.ghost { background: transparent; border-color: var(--c-line2); color: var(--c-mute) !important; font-weight: 500; }
.c-util .btn.small { min-height: 32px; padding: 0 12px; font-size: 13px; }
.c-util .badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--c-tag); color: var(--c-ink2); }
.c-util .ok { color: var(--c-done-t); } .c-util .bad { color: var(--c-help-t); }
.c-util .switch { display: flex; gap: 6px; align-items: center; margin: 0 0 12px; } .c-util .switch a { padding: 5px 12px; border: 1px solid var(--c-line2); border-radius: 999px; color: var(--c-ink2); } .c-util .switch a.active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.c-util pre { background: var(--c-field); border: 1px dashed var(--c-line2); border-radius: 12px; padding: 12px; white-space: pre-wrap; font-size: 13px; color: var(--c-ink2); }
.c-util dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; } .c-util dl.kv dt { color: var(--c-mute); } .c-util dl.kv dd { margin: 0; }
.c-util .auth { max-width: 420px; width: 100%; margin: 24px auto; } .c-util .auth .card { padding: 22px 24px; } .c-util .auth input { width: 100%; } .c-util .auth .btn { margin-top: 16px; width: 100%; }
.c-util details summary { cursor: pointer; } .c-util ul.plain, .c-util ol.plain { padding-left: 18px; }
.c-util .c-door { border-color: var(--c-line2); }
/* the card: «Откуда цифра» and the text for Amazon */
.c-src { margin: 6px 0 0; padding-left: 18px; color: var(--c-ink2); font-size: 13px; } .c-src li { margin-bottom: 4px; }
.c-case summary { cursor: pointer; color: var(--c-mute); font-size: 13px; }
.c-casetext { background: var(--c-field); border: 1px dashed var(--c-line2); border-radius: 12px; padding: 12px; white-space: pre-wrap; font-size: 13px; color: var(--c-ink2); margin: 8px 0; }
/* the subscription banner on the console-look pages */
.console .flash.warn { background: var(--c-waits-bg); color: var(--c-waits-t); } .console .flash a { color: inherit; text-decoration: underline; }
.c-util dl.kv2 { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; margin: 6px 0 0; font-size: 13px; max-width: 520px; } .c-util dl.kv2 dt { color: var(--c-mute); } .c-util dl.kv2 dd { margin: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--c-ink); }
/* «Конкуренты» (stage 3, step 7): the product's ASIN under its name, the date of Keepa's estimate, the add field */
.c-util .prod { display: block; font-size: 12px; color: var(--c-mute); font-variant-numeric: tabular-nums; }
.c-util .c-src-note { font-size: 12px; }
.c-util .c-own { margin: 0 0 10px; font-size: 14px; }
.c-util table.c-comp td:first-child { min-width: 200px; }
.c-util table.c-comp form { margin: 0; }
.c-util .c-add { margin: 12px 0 0; } .c-util .c-add label { flex: 1 1 260px; } .c-util .c-add input[type=text] { width: 100%; box-sizing: border-box; }
/* a card never grows past the page on a phone: its tables scroll inside it (the settings pages and «Конкуренты», 12.11.2026) */
.c-util .card { min-width: 0; max-width: 100%; box-sizing: border-box; }
.c-util select, .c-util .filters label { max-width: 100%; } .c-util select { text-overflow: ellipsis; }
/* «Копии вне сервера» (decision 101): the switch as a slider, the recovery code shown once */
.c-util .c-switch { margin: 12px 0 0; } .c-util .c-switch label { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--c-ink); cursor: pointer; }
.c-util .c-switch input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: var(--c-line2); cursor: pointer; transition: background .15s; }
.c-util .c-switch input[type=checkbox]::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-ink); transition: transform .15s; }
.c-util .c-switch input[type=checkbox]:checked { background: var(--c-accent); } .c-util .c-switch input[type=checkbox]:checked::after { transform: translateX(18px); background: var(--c-on-accent); }
.c-util .c-switch input[type=checkbox]:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.c-util .c-fresh-code { border-color: var(--c-accent); }
.c-util .c-recovery { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--c-line2); border-radius: 12px; background: var(--c-field); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: .03em; line-height: 1.6; color: var(--c-ink); overflow-wrap: anywhere; user-select: all; }

/* «Amazon должен» (card, section 5): the month's sums, the lists with the seller's marks, the case text, the report */
.c-owes h1 { margin: 6px 0 4px; } .c-owes h2 { font-size: 16px; margin: 18px 0 8px; } .c-owes h3 { font-size: 14px; margin: 0; line-height: 1.4; }
.c-owe-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.c-owe-tiles > div { background: var(--c-inner); border: 1px solid var(--c-card-line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.c-owe-tiles small { color: var(--c-mute); font-size: 12px; } .c-owe-tiles b { font-size: 22px; }
.c-owe-list { display: flex; flex-direction: column; gap: 10px; }
.c-owe p { margin: 0; } .c-owe ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--c-ink2); }
.c-owe-doubt { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--c-line2); padding-left: 10px; }
.c-owe-mark { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; font-size: 13px; }
.c-owe-mark label { display: flex; flex-direction: column; gap: 4px; color: var(--c-mute); }
.c-owe-mark input { height: 36px; border-radius: 10px; border: 1px solid var(--c-line2); background: var(--c-field); color: var(--c-ink); padding: 0 10px; font: inherit; min-width: 150px; }
.c-owe-case pre, .c-owe-report pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--c-field); border: 1px solid var(--c-line2); border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.5; user-select: all; }
.c-owe-report pre { user-select: text; }
.c-owes details summary { cursor: pointer; color: var(--c-link); font-size: 14px; }
.c-owe-parts table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; } .c-owe-parts td, .c-owe-parts th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.c-owes-band .c-owes-link { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; color: var(--c-ink) !important; text-decoration: none; }
