/* MyWorkshopOS — общий вид сайта по дизайн-системе MyWorkshopOS: бумага F2F1EE, чернила 141416,
   красный C2402E — только точка знака; заголовки — Unbounded, текст — Golos Text. Светлая тема по умолчанию, тёмная — по настройке
   устройства или кнопкой в шапке (assets/theme.js ставит data-theme на <html>). */

@font-face {
  font-family: "Unbounded Variable"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("/assets/fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded Variable"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("/assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  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: "Golos Text Variable"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("/assets/fonts/golos-text-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text Variable"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("/assets/fonts/golos-text-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #f2f1ee;
  --surface: #ffffff;
  --surface-2: #e8e6e1;
  --text: #141416;
  --muted: #5a5a60;
  --line: #dad8d2;
  --accent: #141416;
  --accent-hover: #2e2e33;
  --accent-ink: #f2f1ee;
  --link: #141416;
  --steel: #141416;
  --steel-soft: #e8e6e1;
  --brand-red: #c2402e;
  --fill-bg: #fff1b8;
  --fill-ink: #5c4300;
  --focus: #2563eb;
  --shadow: 0 1px 2px rgb(20 20 22 / 6%), 0 6px 20px rgb(20 20 22 / 6%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141416;
    --surface: #1d1d20;
    --surface-2: #26262a;
    --text: #f2f1ee;
    --muted: #a3a29d;
    --line: #333338;
    --accent: #f2f1ee;
    --accent-hover: #ffffff;
    --accent-ink: #141416;
    --link: #f2f1ee;
    --steel: #f2f1ee;
    --steel-soft: #26262a;
    --brand-red: #c2402e;
    --fill-bg: #4a3a05;
    --fill-ink: #ffe28a;
    --focus: #7aa7ff;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 6px 20px rgb(0 0 0 / 25%);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #141416;
  --surface: #1d1d20;
  --surface-2: #26262a;
  --text: #f2f1ee;
  --muted: #a3a29d;
  --line: #333338;
  --accent: #f2f1ee;
  --accent-hover: #ffffff;
  --accent-ink: #141416;
  --link: #f2f1ee;
  --steel: #f2f1ee;
  --steel-soft: #26262a;
  --brand-red: #c2402e;
  --fill-bg: #4a3a05;
  --fill-ink: #ffe28a;
  --focus: #7aa7ff;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 6px 20px rgb(0 0 0 / 25%);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Golos Text Variable", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--link); text-decoration-color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2 { hyphens: auto; -webkit-hyphens: auto; font-family: "Unbounded Variable", "Golos Text Variable", system-ui, sans-serif; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h3 { line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 650; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 780px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 20;
}
.skip:focus { left: 8px; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-family: "Unbounded Variable", system-ui, sans-serif; font-weight: 700; font-size: 1.02rem;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand svg { width: 32px; height: 32px; flex: none; }
.mark-tile { fill: var(--text); }
.mark-line { stroke: var(--bg); }
.mark-dot { fill: var(--brand-red); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.theme-toggle {
  flex: none;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { color: var(--text); border-color: var(--muted); }
.btn-small { flex: none; min-height: 40px; padding: 8px 14px; font-size: 0.95rem; }
.btn[aria-disabled="true"] {
  background: var(--surface-2); color: var(--muted); border-color: var(--line); cursor: default;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Главная: первый экран */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.15fr 1fr; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 999px;
  background: var(--steel-soft); color: var(--steel); font-size: 0.85rem; font-weight: 600;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin-bottom: 28px; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.hero-art {
  border-radius: 18px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-art svg { display: block; width: 100%; height: auto; }
.art-sheet-1 { fill: var(--muted); }
.art-sheet-2 { fill: var(--text); }
.art-sheet-3 { fill: var(--muted); opacity: 0.35; }
.art-dot { fill: var(--brand-red); }
.art-bg { fill: var(--surface-2); }
.art-line { stroke: var(--line); }
.art-text { fill: var(--muted); font: 500 13px "Golos Text Variable", system-ui, sans-serif; }

/* Разделы */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.section-alt .card { background: var(--bg); }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card-icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 10px; background: var(--steel-soft); color: var(--steel);
}
.card-icon svg { width: 22px; height: 22px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px 16px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: "Unbounded Variable", system-ui, sans-serif; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 0.95rem; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 0.45em; width: 14px; height: 8px;
  border-left: 3px solid var(--text); border-bottom: 3px solid var(--text); transform: rotate(-45deg);
}

.phone {
  width: min(260px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5;
  border-radius: 34px; border: 10px solid var(--steel); background: var(--bg);
  padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.phone-bar { height: 10px; width: 40%; margin: 0 auto 6px; border-radius: 6px; background: var(--line); }
.phone-note {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 0.82rem; line-height: 1.35;
}
.phone-note b { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.phone-note span { color: var(--muted); }

.cta {
  border-radius: 18px; padding: 36px 28px; background: var(--steel); color: var(--bg);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; opacity: 0.85; }
.cta .btn-primary { background: var(--bg); color: var(--text); }
.cta .btn-primary:hover { background: var(--surface); color: var(--text); }
.cta .btn-secondary { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 50%, transparent); }
.cta .btn-secondary:hover { border-color: var(--bg); }

/* Документы: политика, соглашение, поддержка */
.doc { padding: 40px 0 64px; }
.doc header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc .meta { color: var(--muted); font-size: 0.95rem; margin: 0; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc h3 { margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.4em; }
.doc .toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 8px;
}
.doc .toc ol { margin: 0; columns: 2 240px; column-gap: 32px; }
.doc .toc li { break-inside: avoid; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }

.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--text);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 1.2em;
}
.callout p:last-child { margin-bottom: 0; }

.requisites { list-style: none; padding: 0 !important; }
.requisites li { margin-bottom: 0.3em; }

/* Пометка о незаполненных реквизитах — видна сразу, чтобы незаполненные реквизиты не ушли в магазин */
.fill {
  background: var(--fill-bg); color: var(--fill-ink); padding: 0 4px; border-radius: 4px;
  font-weight: 600; white-space: normal;
}

details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px;
}
summary {
  cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--muted);
}
details[open] summary::after { content: "−"; }
details > div { padding: 0 18px 14px; }
details > div p:last-child, details > div ul:last-child, details > div ol:last-child { margin-bottom: 0; }

.store-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 32px; }
.store-cards .card { display: flex; flex-direction: column; gap: 12px; }
.store-cards .card h2 { font-size: 1.25rem; margin: 0; }
.store-cards .card .actions { margin-top: auto; }
.badge {
  display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); font-size: 0.82rem; font-weight: 600;
}

/* Подвал */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 0.93rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.site-footer p { margin: 0 0 6px; }

.not-found { padding: 80px 0; text-align: center; }
.not-found .actions { justify-content: center; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-art { order: -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { gap: 8px; }
  .brand { gap: 8px; font-size: 0.92rem; }
  .brand svg { width: 28px; height: 28px; }
  .doc h1 { font-size: 1.45rem; }
  .nav a.nav-link { display: none; }
  .section { padding: 40px 0; }
  .cta { padding: 28px 20px; }
  .actions .btn { flex: 1 1 auto; }
  th, td { padding: 8px 10px; }
}

@media print {
  .site-header, .site-footer, .theme-toggle, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* Рисунок первого экрана */
.art-card { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.art-title { fill: var(--text); font: 700 15px "Golos Text Variable", system-ui, sans-serif; }
.art-bar { fill: var(--surface-2); }
.art-chip { fill: var(--accent); }
.art-chip-text { fill: var(--accent-ink); font: 600 12px "Golos Text Variable", system-ui, sans-serif; }

.not-found .lead { margin-left: auto; margin-right: auto; }

/* ===== Экраны системы на главной (пример, вымышленные данные) =====
   Повторяют устройство настоящих экранов MyWorkshopOS: Пульс бизнеса, «Ждёт моего решения»,
   «Мой день продаж», «Цех». Цвета смыслов — как в реестре статусов системы. */

@font-face {
  font-family: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --good: #2e7d5b; --good-bg: #e3f1ea;
  --bad: #b03a2e; --bad-bg: #f8e4e1;
  --wait: #9a5b06; --wait-bg: #fbedd3;
  --band-1: #141416; --band-2: #34343b; --band-ink: #f2f1ee;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --good: #63c597; --good-bg: #183428;
    --bad: #ec7d6d; --bad-bg: #3a1f1b;
    --wait: #f0b85c; --wait-bg: #3a2d14;
    --band-1: #2a2a30; --band-2: #3d3d45; --band-ink: #f2f1ee;
  }
}
:root[data-theme="dark"] {
  --good: #63c597; --good-bg: #183428;
  --bad: #ec7d6d; --bad-bg: #3a1f1b;
  --wait: #f0b85c; --wait-bg: #3a2d14;
  --band-1: #2a2a30; --band-2: #3d3d45; --band-ink: #f2f1ee;
}

.num { font-family: "JetBrains Mono Variable", ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.screen {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; line-height: 1.4;
}
.screen-caption { display: block; margin-top: 10px; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* Пульс бизнеса */
.pulse-band {
  background: linear-gradient(135deg, var(--band-1), var(--band-2)); color: var(--band-ink); padding: 16px 18px 14px;
}
.pulse-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pill-ghost { background: rgb(242 241 238 / 14%); color: var(--band-ink); }
.pill-good { background: var(--good-bg); color: var(--good); }
.pill-wait { background: var(--wait-bg); color: var(--wait); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-work { background: var(--surface-2); color: var(--text); }
.pulse-title { font-family: "Unbounded Variable", system-ui, sans-serif; font-weight: 650; font-size: 1.15rem; }
.pulse-sub { opacity: 0.72; font-size: 0.78rem; margin-top: 2px; }
.pulse-owner { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pulse-owner .pill-wait { background: #f6d58f; color: #3d2600; }
.pulse-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.pulse-tabs span { padding: 6px 10px; border-radius: 8px 8px 0 0; color: var(--muted); font-size: 0.82rem; }
.pulse-tabs span.on { color: var(--text); font-weight: 650; box-shadow: inset 0 -2px 0 var(--text); }
.pulse-body { padding: 14px; display: grid; gap: 14px; }
.tile-group-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.tiles { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.tile-label { color: var(--muted); font-size: 0.78rem; }
.tile-value { font-size: 1.25rem; font-weight: 600; margin: 2px 0; white-space: nowrap; }
.tile-trend { font-size: 0.74rem; color: var(--good); }
.tile-trend.down { color: var(--bad); }
.tile-note { font-size: 0.74rem; color: var(--muted); }
.tile-hero { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-hero .tile-value { font-size: 1.6rem; }

/* Столбики прибыли по месяцам */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; flex: none; }
.bars i { display: block; width: 12px; border-radius: 4px 4px 2px 2px; background: var(--muted); opacity: 0.35; }
.bars i.now { background: var(--good); opacity: 1; }
.h40 { height: 40%; } .h48 { height: 48%; } .h55 { height: 55%; } .h62 { height: 62%; } .h70 { height: 70%; } .h78 { height: 78%; } .h100 { height: 100%; }

/* Где зарабатываем */
.margin-list { display: grid; gap: 10px; padding: 14px 16px 16px; }
.margin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; }
.margin-row b { font-weight: 600; font-size: 0.9rem; }
.margin-row .num { font-size: 0.85rem; }
.margin-bar { grid-column: 1 / -1; height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.margin-bar i { display: block; height: 100%; border-radius: 6px; background: var(--good); }
.w42 { width: 42%; } .w58 { width: 58%; } .w66 { width: 66%; } .w74 { width: 74%; } .w88 { width: 88%; }
.screen-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.screen-head strong { font-size: 0.95rem; }
.screen-head .seg { display: flex; gap: 4px; flex-wrap: wrap; }

/* Ждёт моего решения */
.decisions { list-style: none; margin: 0; padding: 6px 0; }
.decisions li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 16px; border-top: 1px solid var(--line); }
.decisions li:first-child { border-top: 0; }
.decisions b { font-weight: 600; font-size: 0.9rem; }
.decisions small { grid-column: 1; color: var(--muted); font-size: 0.78rem; }
.decisions .pill { grid-row: 1 / span 2; grid-column: 2; align-self: center; }

/* Телефон с экраном */
.device {
  width: min(300px, 100%); margin: 0 auto; border-radius: 36px; border: 9px solid #141416;
  background: var(--bg); padding: 14px 10px 16px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.35;
}
.device-notch { width: 34%; height: 8px; border-radius: 6px; background: var(--line); margin: 0 auto 12px; }
.device-title { font-weight: 700; font-size: 0.98rem; margin: 0 4px 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 2px 10px; }
.chip { display: inline-flex; gap: 5px; align-items: center; padding: 5px 9px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0.76rem; }
.chip b { font-family: "JetBrains Mono Variable", monospace; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.job { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; margin-bottom: 8px; }
.job-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 6px; }
.job-top b { font-size: 0.86rem; }
.job-line { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.78rem; padding: 3px 0; border-top: 1px dashed var(--line); }
.job-btn { margin-top: 8px; text-align: center; padding: 7px; border-radius: 9px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.8rem; }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; margin-bottom: 8px; }
.group-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 0.82rem; margin-bottom: 4px; }
.group-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 0.78rem; padding: 4px 0; border-top: 1px solid var(--line); }
.group-row span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Разделы главной */
.pain { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pain .card { position: relative; padding-left: 52px; }
.pain .card::before {
  content: "×"; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bad-bg); color: var(--bad); font-weight: 700;
}
.answer {
  margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--good-bg); color: var(--text);
  border: 1px solid color-mix(in srgb, var(--good) 30%, transparent); font-size: 1.05rem;
}
.answer strong { color: var(--good); }
.owner-grid { display: grid; gap: 28px; grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.owner-shots { display: grid; gap: 16px; }
.roles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.roles .card h3 { margin-bottom: 6px; }
.shots-2 { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: start; margin-top: 36px; }
.request {
  border-radius: 20px; padding: 36px 28px; background: linear-gradient(135deg, var(--band-1), var(--band-2)); color: var(--band-ink);
  display: grid; gap: 24px; grid-template-columns: 1.2fr 1fr; align-items: center;
}
.request h2 { color: var(--band-ink); }
.request p { opacity: 0.85; }
.request .checks li::before { border-color: var(--band-ink); }
.request .btn-primary { background: var(--band-ink); color: #141416; }
.request .btn-primary:hover { background: #ffffff; color: #141416; }
.request .btn-secondary { background: transparent; color: var(--band-ink); border-color: rgb(242 241 238 / 40%); }
.request .note { font-size: 0.9rem; opacity: 0.7; margin: 12px 0 0; }

@media (max-width: 960px) {
  .owner-grid, .shots-2, .request { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .screen { font-size: 13px; }
  .tile-value { font-size: 1.05rem; }
  .tile-hero .tile-value { font-size: 1.3rem; }
  .tile { padding: 9px 10px; }
  .pulse-body { padding: 10px; }
  .request { padding: 28px 18px; }
}

figure { margin: 0; }
.link-light { color: inherit; }
.link-light:hover { color: inherit; }
.hero-shot { min-width: 0; }
