/* ==========================================================================
   Concept 1 «Прицел»
   Precision / product-led. Light, sharp, data-first.
   Built on brand tokens v1.2. No gradients, no new colours.
   ========================================================================== */

:root {
  --c-navy: #0F1420;
  --c-navy-2: #161D2B;
  --c-muted: #5C6470;
  --c-line: #E6E8EF;
  --c-line-strong: #D3D9E3;
  --c-soft: #F5F6FA;
  --c-soft-2: #FAFBFC;
  --c-teal: #0F766E;
  --c-teal-bright: #35CFC5;
  --c-radius: 14px;
  --c-radius-sm: 10px;
  --c-shadow: 0 22px 50px rgba(20,24,31,.10);
  --c-font: var(--font-sans);
  --c-display: clamp(42px, 4.6vw, 66px);
  --c-h2: clamp(30px, 3vw, 44px);
}

body { font-family: var(--c-font); color: #14181F; background: #fff; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-head-in { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 30px; width: auto; }
.brand-sub { font-size: 12px; color: var(--c-muted); padding-left: 12px; border-left: 1px solid var(--c-line-strong); line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: #39455A;
}
.main-nav a:hover { background: var(--c-soft); color: #14181F; }
.main-nav a[aria-current="page"] { color: var(--c-teal); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-actions .btn-ghost { min-height: 40px; padding: 0 12px; font-size: 14px; }
.head-actions .btn-primary { min-height: 40px; padding: 0 16px; font-size: 14px; }
.nav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-burger:hover { background: var(--c-soft); }
.nav-burger svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none; position: fixed; inset: 72px 0 auto; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--c-line);
  padding: 12px 20px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--c-line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--c-line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 64px; align-items: center; }
.hero h1 {
  margin-top: 14px;
  font-size: var(--c-display);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}
.hero .lead {
  margin-top: 22px; max-width: 560px;
  font-size: 18px; line-height: 1.55; color: #39455A;
}
.hero .lead b { color: #14181F; font-weight: 600; }
.searchbar {
  margin-top: 28px; display: flex; align-items: stretch; gap: 8px;
  background: #fff; border: 1px solid var(--c-line-strong);
  border-radius: 16px; padding: 6px; max-width: 660px;
  box-shadow: 0 8px 22px rgba(20,24,31,.05);
}
.searchbar .field-in { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0 12px; }
.searchbar .field-in svg { width: 20px; height: 20px; color: var(--c-muted); flex: none; }
.searchbar input, .searchbar select {
  border: 0; outline: 0; background: transparent; min-height: 46px;
  width: 100%; font-size: 16px; color: #14181F; min-width: 0;
}
.searchbar input::placeholder { color: #5C6470; }
.searchbar select { max-width: 160px; cursor: pointer; color: #39455A; }
.searchbar .divider { width: 1px; background: var(--c-line); margin: 10px 0; flex: none; }
.searchbar .btn { border-radius: 12px; flex: none; }
.search-note { margin-top: 10px; font-size: 13px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.search-note svg { width: 15px; height: 15px; color: var(--c-teal); flex: none; }
.hero-stats { margin-top: 28px; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat .n { font-family: var(--font-mono); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.hero-stat .t { margin-top: 2px; font-size: 12px; color: var(--c-muted); }

/* live card stack */
.stack-card {
  position: relative; background: #fff; border: 1px solid var(--c-line-strong);
  border-radius: 20px; padding: 18px; box-shadow: var(--c-shadow);
}
.stack-card::before {
  content: ""; position: absolute; inset: 10px -10px -10px 10px;
  border: 1px solid var(--c-line); border-radius: 20px; z-index: -1; background: #fff;
}
.stack-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.stack-head .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--c-muted); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--c-teal); font-weight: 600; }
/* 31.10.2026 (замечание владельца: «блок на первом экране косой»). Правило
   красило ЛЮБОЙ span внутри подписи, включая дату обновления: её сжимало до
   7×7 px и текст шёл вертикальной колонкой поверх карточек. Точка — первый
   span, дата — свой span рядом. */
.live-dot > span:first-child { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--c-teal); box-shadow: 0 0 0 4px rgba(15,118,110,.10); }
.live-dot > span[data-stack-updated] { white-space: nowrap; }
.vac-preview { border: 1px solid var(--c-line); border-radius: 12px; padding: 14px; }
.vac-preview + .vac-preview { margin-top: 8px; }
.vac-preview.expanded { border-color: var(--color-brand-200); background: var(--color-brand-50); }
.vac-top { display: flex; align-items: flex-start; gap: 12px; }
.vac-top .vt { flex: 1; min-width: 0; }
.vac-title { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.vac-meta { margin-top: 4px; font-size: 12px; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.score-ring { width: 46px; height: 46px; flex: none; position: relative; }
.score-ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.score-ring .bg { fill: none; stroke: var(--c-line); stroke-width: 3; }
.score-ring .fg { fill: none; stroke: var(--c-teal); stroke-width: 3; stroke-linecap: round; }
.score-ring .num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--c-teal);
}
.vac-why { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.vac-why span { font-size: 11px; padding: 3px 7px; border-radius: 5px; background: #fff; border: 1px solid var(--c-line); color: #39455A; }
.vac-actions { display: flex; gap: 6px; margin-top: 10px; }
.vac-actions .btn { min-height: 32px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.stack-foot { padding: 12px 4px 0; font-size: 11px; color: #5C6470; }
.collapsed-row { display: flex; align-items: center; gap: 10px; }
.collapsed-row .ct { flex: 1; min-width: 0; }
.collapsed-row .sc { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--c-muted); }
.collapsed-row .sc.high { color: var(--c-teal); }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--c-line); background: var(--c-soft-2); }
.trust-in { display: flex; align-items: center; gap: 40px; padding: 18px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--c-muted); }
.trust-item b { font-family: var(--font-mono); font-size: 15px; color: #14181F; font-weight: 600; }
.trust-sep { width: 1px; height: 20px; background: var(--c-line-strong); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--c-soft); }
.section-line { border-top: 1px solid var(--c-line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head .left { max-width: 640px; }
.section-head h2 { margin-top: 12px; font-size: var(--c-h2); line-height: 1.15; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.section-head .lead { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--c-muted); max-width: 560px; }
.section-head .right { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-teal); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* benefit cards with mini UI */
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.benefit {
  border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 22px;
  display: flex; flex-direction: column; min-height: 320px; background: #fff;
}
.benefit h3 { margin-top: 18px; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.benefit p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.mini-ui { background: var(--c-soft-2); border: 1px solid var(--c-line); border-radius: 12px; padding: 14px; min-height: 150px; }
.mini-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #5C6470; }
.factor { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.factor .fn { width: 92px; font-size: 11px; color: #39455A; }
.factor .bar { flex: 1; height: 6px; border-radius: 99px; background: var(--c-line); overflow: hidden; }
.factor .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c-teal); }
.factor .fv { font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); width: 26px; text-align: right; }
.contact-mini { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--color-brand-100); color: var(--c-teal); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.contact-mini .cm { font-size: 12px; line-height: 1.4; }
.contact-mini .cm b { display: block; font-size: 13px; }
.mail-line { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--c-teal); background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 6px 8px; display: flex; justify-content: space-between; gap: 8px; }
.letter-mini { margin-top: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 10px 12px; font-size: 11px; line-height: 1.5; color: #39455A; }
.letter-mini b { color: #14181F; }
.ats-mini { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ats-score { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--c-teal); }
.ats-score small { font-size: 10px; color: var(--c-muted); font-weight: 400; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--c-line); }
.step { padding: 26px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--c-line); }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--c-teal); letter-spacing: .08em; }
.step h3 { margin-top: 10px; font-size: 22px; letter-spacing: -.02em; }
.step p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--c-muted); max-width: 330px; }
.step .chip { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-teal); background: var(--color-brand-50); border-radius: 6px; padding: 5px 8px; }
.step .chip svg { width: 14px; height: 14px; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.compare-col { border: 1px solid var(--c-line); border-radius: var(--c-radius); overflow: hidden; }
.compare-col.bad { background: #FBEAEA; border-color: #F3C9C9; }
.compare-col.good { background: var(--color-brand-50); border-color: var(--color-brand-200); }
.compare-col h3 { padding: 16px 18px; font-size: 14px; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; gap: 8px; }
.compare-col.bad h3 { color: #B91C1C; border-color: #F3C9C9; }
.compare-col.good h3 { color: var(--c-teal); border-color: var(--color-brand-200); }
.compare-col ul { padding: 8px 18px 16px; }
.compare-col li { display: flex; gap: 10px; padding: 9px 0; font-size: 13px; line-height: 1.5; color: #39455A; border-bottom: 1px solid rgba(211,217,227,.5); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.compare-col.bad li svg { color: #B91C1C; }
.compare-col.good li svg { color: var(--c-teal); }

/* price strip */
.price-strip { margin-top: 36px; border: 1px solid var(--c-line-strong); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1.8fr 1.1fr; }
.price-cell { padding: 24px; }
.price-cell + .price-cell { border-left: 1px solid var(--c-line); }
.price-cell .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #5C6470; }
.price-cell .big { margin-top: 8px; font-size: 34px; letter-spacing: -.04em; font-weight: 700; }
.price-cell .big small { font-size: 14px; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.price-cell p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.price-ops { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.price-ops span { font-size: 12px; color: #39455A; }
.price-ops b { font-family: var(--font-mono); font-weight: 600; }
.price-cell .link-arrow { margin-top: 12px; font-size: 13px; }

/* limits + faq */
.limits-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.limit-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.limit-item svg { width: 18px; height: 18px; color: var(--color-warning-ink); flex: none; margin-top: 2px; }
.limit-item b { display: block; font-size: 14px; }
.limit-item span { display: block; margin-top: 3px; font-size: 13px; color: var(--c-muted); line-height: 1.5; }
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; font-size: 15px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--c-muted); transition: transform .2s ease; flex: none; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .a { padding: 0 0 18px; font-size: 14px; line-height: 1.65; color: var(--c-muted); max-width: 620px; }

/* final cta */
.final { background: var(--c-navy); color: #EEF2F7; padding: 72px 0; }
.final-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.03em; max-width: 620px; text-wrap: balance; }
.final p { margin-top: 12px; color: #8A94A6; max-width: 520px; font-size: 15px; }
.final .actions { display: flex; gap: 10px; flex: none; }
.final .btn-primary { background: var(--c-teal-bright); color: var(--c-navy); }
.final .btn-primary:hover { background: var(--color-brand-300); }
.final .btn-ghost { color: #EEF2F7; border-color: rgba(255,255,255,.2); }
.final .btn-ghost:hover { background: rgba(255,255,255,.06); }

/* footer */
.site-foot { background: #fff; border-top: 1px solid var(--c-line); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 300px; font-size: 13px; color: var(--c-muted); line-height: 1.6; }
.foot-col h4 { font-size: 12px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #5C6470; font-weight: 600; }
.foot-col a { display: block; margin-top: 10px; font-size: 13px; color: #39455A; }
.foot-col a:hover { color: var(--c-teal); }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #5C6470; flex-wrap: wrap; }
.foot-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* cookie - slim, never over the hero CTA */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  background: #fff; border: 1px solid var(--c-line-strong); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow-md); font-size: 12px; color: var(--c-muted);
}
.cookie .actions { display: flex; gap: 6px; flex: none; }
.cookie .btn { min-height: 32px; padding: 0 10px; font-size: 12px; }
@media (max-width: 760px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; align-items: flex-start; }
  .cookie .actions { flex-direction: column; }
}

/* ==========================================================================
   Public inner pages
   ========================================================================== */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--c-line); }
.page-hero h1 { margin-top: 12px; font-size: clamp(36px, 4vw, 56px); line-height: 1.15; letter-spacing: -.03em; max-width: 860px; text-wrap: balance; }
.page-hero .lead { margin-top: 18px; max-width: 720px; font-size: 18px; line-height: 1.6; color: #39455A; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5C6470; }
.breadcrumb a:hover { color: var(--c-teal); }
.breadcrumb svg { width: 13px; height: 13px; }

.subnav { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--c-line); backdrop-filter: blur(8px); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 13px; color: var(--c-muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: #14181F; }
.subnav a.active { color: var(--c-teal); border-bottom-color: var(--c-teal); }

.how-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--c-line); }
.how-block:last-child { border-bottom: 0; }
.how-block .step-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--c-teal); }
.how-block h2 { margin-top: 10px; font-size: 34px; line-height: 1.15; letter-spacing: -.025em; }
.how-block p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--c-muted); }
.how-block .split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.how-block .split-list h4 { font-size: 12px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #5C6470; }
.how-block .split-list li { position: relative; padding-left: 16px; margin-top: 6px; font-size: 13px; line-height: 1.5; color: #39455A; }
.how-block .split-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-teal); }
.how-block .price-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; color: #39455A; background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 7px; padding: 6px 9px; }
.how-block .price-tag b { font-family: var(--font-mono); }
.product-frame { background: var(--c-soft-2); border: 1px solid var(--c-line-strong); border-radius: 16px; padding: 16px; }
.product-frame .bar { display: flex; gap: 5px; margin-bottom: 12px; }
.product-frame .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line-strong); }
.product-frame .screen { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 16px; }
.frame-title { font-size: 14px; font-weight: 600; }
.frame-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.frame-row:last-child { border-bottom: 0; }
.frame-row .fr { flex: 1; min-width: 0; }
.frame-row .fr b { display: block; font-size: 12px; }
.frame-row .fr span { display: block; font-size: 11px; color: var(--c-muted); }
.frame-score { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--c-teal); }

/* pricing page */
.pricing-hero { padding: 56px 0 36px; }
.free-card { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 32px; align-items: center; border: 1px solid var(--color-brand-200); background: var(--color-brand-50); border-radius: 18px; padding: 28px 32px; }
.free-card .big { font-size: 44px; font-weight: 700; letter-spacing: -.04em; color: var(--c-teal); }
.free-card .big small { font-size: 14px; font-weight: 500; color: #39455A; letter-spacing: 0; }
.free-card h3 { font-size: 20px; }
.free-card p { font-size: 14px; line-height: 1.6; color: #39455A; }
.price-table { width: 100%; margin-top: 32px; border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.price-table th { background: var(--c-soft); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #5C6470; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.num { font-family: var(--font-mono); font-weight: 600; text-align: right; white-space: nowrap; }
.price-table td.what { color: var(--c-muted); }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.plan { border: 1px solid var(--c-line); border-radius: 14px; padding: 20px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--color-brand-400); box-shadow: 0 10px 30px rgba(15,118,110,.10); }
.plan .term { font-size: 13px; color: var(--c-muted); }
.plan .price { margin-top: 6px; font-family: var(--font-mono); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.plan .perday { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.plan .worth { margin-top: 12px; font-size: 12px; color: #39455A; background: var(--c-soft); border-radius: 7px; padding: 7px 9px; }
.plan ul { margin-top: 14px; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 12px; color: #39455A; border-bottom: 1px solid rgba(230,232,239,.7); }
.plan li:last-child { border-bottom: 0; }
.plan li b { font-family: var(--font-mono); }
.plan .btn { margin-top: 16px; }
.plan .tag { align-self: flex-start; margin-bottom: 8px; }
.calc { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; margin-top: 32px; border: 1px solid var(--c-line); border-radius: 16px; padding: 24px; }
.calc-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.calc-row:last-child { border-bottom: 0; }
.calc-row .cn { flex: 1; font-size: 14px; }
.calc-row .cn small { display: block; font-size: 11px; color: var(--c-muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--c-line-strong); border-radius: 8px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #39455A; }
.stepper button:hover { background: var(--c-soft); }
.stepper span { width: 36px; text-align: center; font-family: var(--font-mono); font-size: 13px; }
.calc-sum { background: var(--c-navy); color: #fff; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.calc-sum .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: #8A94A6; }
.calc-sum .total { margin-top: 8px; font-family: var(--font-mono); font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.calc-sum .line { display: flex; justify-content: space-between; font-size: 12px; color: #8A94A6; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.calc-sum .line b { color: #fff; font-family: var(--font-mono); }
.calc-sum .btn { margin-top: auto; }
.bonus-note { display: flex; gap: 14px; align-items: flex-start; border: 1px solid #FEF7E0; background: #FEF7E0; border-radius: 12px; padding: 16px 18px; margin-top: 24px; }
.bonus-note svg { width: 20px; height: 20px; color: #7A5400; flex: none; }
.bonus-note b { font-size: 14px; }
.bonus-note p { margin-top: 4px; font-size: 13px; color: #7A5400; line-height: 1.55; }

/* article */
.article-head { padding: 48px 0 32px; border-bottom: 1px solid var(--c-line); }
.article-meta { display: flex; gap: 14px; font-size: 12px; color: #5C6470; margin-top: 16px; flex-wrap: wrap; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 72px; justify-content: center; padding: 48px 0 72px; }
.article-body { font-size: 16px; line-height: 1.72; color: #39455A; }
.article-body h2 { margin-top: 44px; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.article-body h3 { margin-top: 28px; font-size: 20px; line-height: 1.3; }
.article-body p { margin-top: 16px; }
.article-body ul, .article-body ol { margin-top: 14px; padding-left: 22px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-top: 8px; }
.article-body b { font-weight: 600; }
.article-body .lead-p { font-size: 19px; line-height: 1.6; color: #14181F; }
.pull { margin: 28px 0; border-left: 3px solid var(--c-teal); padding: 4px 0 4px 20px; font-size: 19px; line-height: 1.5; color: #14181F; }
.callout { margin: 28px 0; border: 1px solid var(--c-line); border-radius: 12px; padding: 18px 20px; background: var(--c-soft-2); }
.callout .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-teal); }
.callout p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: #39455A; }
.callout .btn { margin-top: 12px; }
.article-aside { position: sticky; top: 96px; align-self: start; }
.toc { border-left: 1px solid var(--c-line); padding-left: 18px; }
.toc .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #5C6470; }
.toc a { display: block; padding: 6px 0; font-size: 13px; color: var(--c-muted); line-height: 1.4; }
.toc a:hover { color: var(--c-teal); }
.aside-cta { margin-top: 24px; border: 1px solid var(--c-line-strong); border-radius: 14px; padding: 18px; background: #fff; }
.aside-cta h4 { font-size: 15px; line-height: 1.35; }
.aside-cta p { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--c-muted); }
.aside-cta .btn { margin-top: 12px; }
.related { padding: 48px 0 72px; border-top: 1px solid var(--c-line); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.related-card { border: 1px solid var(--c-line); border-radius: 12px; padding: 18px; }
.related-card .k { font-size: 11px; color: var(--c-teal); }
.related-card h4 { margin-top: 6px; font-size: 16px; line-height: 1.35; }
.related-card p { margin-top: 6px; font-size: 12px; color: var(--c-muted); line-height: 1.5; }

/* login */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-left { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-box { width: 100%; max-width: 420px; }
.login-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.login-logo img { height: 44px; width: auto; }
.login-box h1 { font-size: 28px; letter-spacing: -.02em; text-align: center; }
.login-box .sub { margin-top: 6px; text-align: center; font-size: 13px; color: var(--c-muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-soft); border-radius: 10px; padding: 4px; margin-top: 24px; }
.auth-tabs button { min-height: 40px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.auth-tabs button.active { background: #fff; color: #14181F; box-shadow: 0 1px 2px rgba(20,24,31,.08); }
.auth-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.auth-form .btn-primary { margin-top: 4px; }
.auth-alt { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.auth-alt .or { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #5C6470; margin: 4px 0; }
.auth-alt .or::before, .auth-alt .or::after { content: ""; height: 1px; background: var(--c-line); flex: 1; }
.auth-alt .btn { border: 1px solid var(--c-line-strong); background: #fff; justify-content: flex-start; padding-left: 16px; }
.auth-alt .btn:hover { background: var(--c-soft); }
.auth-foot { margin-top: 18px; text-align: center; font-size: 12px; color: var(--c-muted); }
.auth-foot a { color: var(--c-teal); }
.login-right { background: var(--c-navy); color: #EEF2F7; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 24px; position: relative; overflow: hidden; }
.login-right .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--c-teal-bright); }
.login-right h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.025em; max-width: 460px; }
.login-right p { color: #8A94A6; font-size: 14px; line-height: 1.6; max-width: 440px; }
.login-right .stack-card { box-shadow: 0 30px 60px rgba(0,0,0,.35); border-color: rgba(255,255,255,.12); }
.login-right .stack-card::before { display: none; }
.login-list { display: flex; flex-direction: column; gap: 10px; }
.login-list li { display: flex; gap: 10px; font-size: 13px; color: #D3D9E3; align-items: flex-start; }
.login-list svg { width: 17px; height: 17px; color: var(--c-teal-bright); flex: none; margin-top: 1px; }

/* legal */
.legal-head { background: var(--c-soft); padding: 48px 0 36px; border-bottom: 1px solid var(--c-line); }
.legal-head h1 { margin-top: 10px; font-size: 40px; letter-spacing: -.03em; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 64px; justify-content: center; padding: 48px 0 72px; }
.legal-body { font-size: 15px; line-height: 1.75; color: #39455A; }
.legal-body h2 { margin-top: 36px; font-size: 22px; }
.legal-body p { margin-top: 12px; }
.legal-body ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal-body li { margin-top: 6px; }

/* ==========================================================================
   App shell
   ========================================================================== */
.app { min-height: 100vh; background: var(--c-soft); display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.rail { background: #fff; border-right: 1px solid var(--c-line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.rail-head { padding: 20px 18px 16px; }
.rail-head img { height: 28px; width: auto; }
.rail-nav { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.rail-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: #39455A; }
.rail-link svg { width: 18px; height: 18px; color: #8A94A6; flex: none; }
.rail-link:hover { background: var(--c-soft); color: #14181F; }
.rail-link.active { background: var(--color-brand-50); color: var(--c-teal); font-weight: 600; }
.rail-link.active svg { color: var(--c-teal); }
.rail-label { margin: 18px 18px 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #5C6470; }
.rail-foot { margin-top: auto; padding: 12px 12px 16px; border-top: 1px solid var(--c-line); }
.rail-balance { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; border: 1px solid var(--c-line); border-radius: 9px; margin-bottom: 10px; }
.rail-balance .bl { font-size: 10px; color: var(--c-muted); }
.rail-balance .bv { font-family: var(--font-mono); font-size: 15px; font-weight: 700; }
.rail-user { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; }
.rail-user:hover { background: var(--c-soft); }
.rail-user .un { font-size: 12px; font-weight: 600; }
.rail-user .ur { font-size: 10px; color: var(--c-muted); }
.rail-privacy { margin: 10px 12px 0; font-size: 10px; color: #5C6470; }

.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--c-line); backdrop-filter: blur(8px); }
.app-top-in { min-height: 64px; display: flex; align-items: center; gap: 14px; padding: 10px 24px; }
.app-top .crumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5C6470; }
.app-top .crumb b { color: #14181F; font-weight: 600; }
.app-top .spacer { flex: 1; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 7px; background: var(--color-brand-50); color: var(--c-teal); font-size: 11px; font-weight: 600; }
.status-chip.warn { background: #FEF7E0; color: #7A5400; }
.status-chip.mute { background: var(--c-soft); color: var(--c-muted); }
.balance-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.balance-chip:hover { border-color: var(--c-line-strong); background: var(--c-soft); }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #5C6470; }
.icon-btn:hover { background: var(--c-soft); color: #14181F; }
.icon-btn svg { width: 18px; height: 18px; }
.user-mini { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 8px; }
.user-mini:hover { background: var(--c-soft); }
.user-mini .av { width: 28px; height: 28px; border-radius: 50%; background: var(--color-brand-100); color: var(--c-teal); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.user-mini .un { font-size: 12px; font-weight: 600; }

.app-body { padding: 24px; max-width: 1480px; width: 100%; margin: 0 auto; }
.page-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.page-title-row h1 { font-size: 26px; letter-spacing: -.025em; line-height: 1.2; }
.page-title-row .sub { margin-top: 4px; font-size: 13px; color: var(--c-muted); }
.page-title-row .actions { display: flex; gap: 8px; flex: none; }

.panel { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--c-line); }
.panel-head h2 { font-size: 15px; font-weight: 600; }
.panel-head .hint { font-size: 11px; color: var(--c-muted); }
.panel-body { padding: 18px; }

.query-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--c-line); background: #fff; border-radius: 12px; }
.query-bar .q { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 9px; border-radius: 7px; background: var(--c-soft); font-size: 12px; font-weight: 600; }
.query-bar .q svg { width: 13px; height: 13px; color: #8A94A6; }
.query-bar .spacer { flex: 1; }
.query-bar .meta { font-size: 11px; color: var(--c-muted); }

.summary-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; margin-top: 12px; }
.summary-cell { background: #fff; padding: 12px 16px; }
.summary-cell .k { font-size: 10px; color: #5C6470; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.summary-cell .v { margin-top: 4px; font-family: var(--font-mono); font-size: 19px; font-weight: 700; }
.summary-cell .v small { font-size: 11px; color: var(--c-muted); font-weight: 400; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; margin-top: 16px; align-items: start; }
.list-panel { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.list-toolbar { padding: 12px 14px; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.chip-tab { min-height: 30px; padding: 0 10px; border-radius: 7px; font-size: 12px; color: var(--c-muted); border: 1px solid transparent; }
.chip-tab:hover { background: var(--c-soft); }
.chip-tab.active { background: var(--c-soft); color: #14181F; font-weight: 600; }
.chip-tab .c { font-family: var(--font-mono); font-size: 10px; margin-left: 4px; color: #5C6470; }
.toolbar-search { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 9px; border: 1px solid var(--c-line); border-radius: 7px; min-width: 180px; }
.toolbar-search input { border: 0; outline: 0; font-size: 12px; width: 100%; min-width: 0; background: transparent; }
.toolbar-search svg { width: 14px; height: 14px; color: #8A94A6; flex: none; }
.sort-select { min-height: 32px; border: 1px solid var(--c-line); border-radius: 7px; padding: 0 8px; font-size: 12px; background: #fff; color: #39455A; }

.vac-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 58px 110px; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--c-line); cursor: pointer; }
.vac-row:last-child { border-bottom: 0; }
.vac-row:hover { background: var(--c-soft-2); }
.vac-row.selected { background: var(--color-brand-50); box-shadow: inset 3px 0 0 var(--c-teal); }
.vac-check { width: 16px; height: 16px; accent-color: var(--c-teal); }
.vac-row .vt { min-width: 0; }
.vac-row .vt b { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vac-row .vt .sub { margin-top: 3px; font-size: 11px; color: var(--c-muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vac-row .vt .sub .src { display: inline-flex; align-items: center; gap: 3px; }
.vac-row .vt .sub .src svg { width: 11px; height: 11px; }
.vac-row .why { margin-top: 4px; display: flex; gap: 4px; flex-wrap: wrap; }
.vac-row .why span { font-size: 10px; color: #39455A; background: var(--c-soft); border-radius: 4px; padding: 2px 5px; }
.vac-row .sc { text-align: right; font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.vac-row .sc small { display: block; font-size: 9px; color: #5C6470; font-weight: 400; font-family: var(--font-sans); }
.vac-row .sc.high { color: var(--c-teal); }
.vac-row .st { text-align: right; }
.vac-row .st .badge { font-size: 10px; }

.detail-panel { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; position: sticky; top: 80px; overflow: hidden; }
.detail-head { padding: 18px; border-bottom: 1px solid var(--c-line); }
.detail-head .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #5C6470; }
.detail-head h2 { margin-top: 6px; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.detail-head .meta { margin-top: 6px; font-size: 12px; color: var(--c-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.detail-score { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--color-brand-50); border-bottom: 1px solid var(--color-brand-100); }
.detail-score .ring { width: 62px; height: 62px; flex: none; position: relative; }
.detail-score .ring svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.detail-score .ring .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--c-teal); }
.detail-score .why b { font-size: 13px; }
.detail-score .why p { font-size: 11px; color: #39455A; margin-top: 3px; line-height: 1.4; }
.detail-tabs { display: flex; border-bottom: 1px solid var(--c-line); }
.detail-tabs button { flex: 1; min-height: 40px; font-size: 12px; color: var(--c-muted); border-bottom: 2px solid transparent; }
.detail-tabs button.active { color: var(--c-teal); border-bottom-color: var(--c-teal); font-weight: 600; }
.detail-body { padding: 16px 18px; max-height: 430px; overflow: auto; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.fact .k { font-size: 10px; color: #5C6470; }
.fact .v { margin-top: 2px; font-size: 12px; font-weight: 500; }
.detail-body h4 { margin-top: 16px; font-size: 11px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #5C6470; }
.detail-body p { margin-top: 6px; font-size: 12px; line-height: 1.55; color: #39455A; }
.contact-box { margin-top: 8px; border: 1px solid var(--c-line); border-radius: 8px; padding: 10px; display: flex; gap: 9px; align-items: center; }
.contact-box .ci { flex: 1; min-width: 0; }
.contact-box .ci b { display: block; font-size: 12px; }
.contact-box .ci span { display: block; font-size: 10px; color: var(--c-muted); }
.contact-box .ci .mail { font-family: var(--font-mono); font-size: 11px; color: var(--c-teal); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; }
.detail-actions { padding: 12px 18px; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-actions .btn { min-height: 38px; font-size: 12px; padding: 0 10px; }
.detail-actions .btn:first-child { grid-column: 1 / -1; }
.detail-foot { padding: 10px 18px; font-size: 10px; color: #5C6470; border-top: 1px solid var(--c-line); }

.selection-bar { position: sticky; bottom: 16px; z-index: 25; margin: 16px auto 0; max-width: 720px; background: var(--c-navy); color: #fff; border-radius: 12px; padding: 10px 12px 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 18px 40px rgba(15,20,32,.22); }
.selection-bar .sel { font-size: 12px; }
.selection-bar .sel b { font-family: var(--font-mono); }
.selection-bar .spacer { flex: 1; }
.selection-bar .btn { min-height: 36px; font-size: 12px; }
.selection-bar .btn-primary { background: var(--c-teal-bright); color: var(--c-navy); }
.selection-bar .btn-ghost { color: #fff; }
.selection-bar .deselect { color: #8A94A6; }

/* vacancy page */
.vac-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.vac-header-card { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 24px; }
.vac-header-card h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.vac-header-card .meta { margin-top: 8px; display: flex; gap: 8px 14px; flex-wrap: wrap; font-size: 12px; color: var(--c-muted); }
.vac-header-card .meta b { color: #14181F; }
.vac-section { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; margin-top: 14px; }
.vac-section-head { padding: 14px 20px; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; }
.vac-section-head h2 { font-size: 15px; }
.vac-section-body { padding: 18px 20px; }
.vac-text { font-size: 13px; line-height: 1.65; color: #39455A; }
.vac-text.clamped { max-height: 140px; overflow: hidden; position: relative; }
.vac-text.clamped::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.vac-text h3 { margin-top: 16px; font-size: 14px; color: #14181F; }
.vac-text ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
.vac-text li { margin-top: 4px; }
.side-card { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; position: sticky; top: 80px; overflow: hidden; }
.side-score { padding: 20px; background: var(--color-brand-50); border-bottom: 1px solid var(--color-brand-100); display: flex; align-items: center; gap: 16px; }
.side-score .ring { width: 70px; height: 70px; position: relative; flex: none; }
.side-score .ring svg { width: 70px; height: 70px; transform: rotate(-90deg); }
.side-score .ring .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--c-teal); }
.side-score h3 { font-size: 14px; }
.side-score p { font-size: 11px; color: #39455A; margin-top: 3px; line-height: 1.4; }
.side-section { padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.side-section:last-child { border-bottom: 0; }
.side-section h4 { font-size: 10px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #5C6470; }
.side-section .contact-box { margin-top: 8px; }
.side-actions { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.side-actions .btn { justify-content: flex-start; }
.side-note { padding: 10px 20px 16px; font-size: 10px; color: #5C6470; line-height: 1.5; }

/* letter / document */
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.paper { background: #fff; border: 1px solid var(--c-line-strong); border-radius: 6px; padding: 44px 52px; box-shadow: 0 10px 30px rgba(20,24,31,.05); max-width: 760px; margin: 0 auto; }
.paper .doc-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
.paper .doc-head .who { font-size: 11px; color: var(--c-muted); line-height: 1.5; }
.paper .doc-head .who b { color: #14181F; font-size: 12px; display: block; }
.paper .subject { margin-top: 20px; font-size: 12px; color: var(--c-muted); }
.paper .subject b { color: #14181F; }
.paper .letter-body { margin-top: 18px; font-size: 14px; line-height: 1.7; color: #39455A; }
.paper .letter-body p { margin-top: 12px; }
.paper .letter-body p:first-child { margin-top: 0; }
.paper .letter-body .hl { background: #FEF7E0; box-shadow: 0 0 0 1px #FEF7E0; border-radius: 2px; }
.paper .sign { margin-top: 24px; font-size: 14px; }
.paper .attach { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--c-line); display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--c-muted); }
.paper .attach svg { width: 15px; height: 15px; color: var(--c-teal); }
.editor-toolbar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: 9px; background: #fff; margin-bottom: 12px; }
.editor-toolbar button { width: 30px; height: 30px; border-radius: 6px; font-size: 12px; color: #39455A; }
.editor-toolbar button:hover { background: var(--c-soft); }
.editor-toolbar .sep { width: 1px; height: 18px; background: var(--c-line); margin: 0 4px; }
.side-panel { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; position: sticky; top: 80px; }
.side-panel .sh { padding: 14px 18px; border-bottom: 1px solid var(--c-line); font-size: 14px; font-weight: 600; }
.side-panel .sb { padding: 16px 18px; }
.check-list li { display: flex; gap: 9px; padding: 7px 0; font-size: 12px; color: #39455A; border-bottom: 1px solid rgba(230,232,239,.7); }
.check-list li:last-child { border-bottom: 0; }
.check-list svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.check-list .ok { color: var(--c-teal); }
.check-list .warn { color: #7A5400; }
.side-panel .send-box { padding: 16px 18px; border-top: 1px solid var(--c-line); }
.side-panel .send-box .btn { width: 100%; }
.side-panel .send-note { margin-top: 8px; font-size: 10px; color: #5C6470; line-height: 1.5; }

/* resume */
.resume-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.resume-paper { background: #fff; border: 1px solid var(--c-line-strong); border-radius: 4px; padding: 40px 46px; max-width: 720px; margin: 0 auto; box-shadow: 0 10px 30px rgba(20,24,31,.05); font-size: 12px; line-height: 1.55; color: #39455A; }
.resume-paper h2 { font-size: 22px; letter-spacing: -.02em; }
.resume-paper .role { margin-top: 3px; font-size: 13px; color: var(--c-teal); font-weight: 600; }
.resume-paper .contacts { margin-top: 8px; font-size: 10px; color: var(--c-muted); }
.resume-paper h3 { margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--c-line); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #14181F; }
.resume-paper p { margin-top: 6px; }
.resume-paper .job { margin-top: 10px; }
.resume-paper .job b { font-size: 12px; }
.resume-paper .job span { color: var(--c-muted); font-size: 10px; }
.resume-paper ul { margin-top: 4px; padding-left: 16px; list-style: disc; }
.resume-paper li { margin-top: 3px; }
.ats-card { padding: 18px; background: var(--c-soft); border-bottom: 1px solid var(--c-line); }
.ats-card .score { font-family: var(--font-mono); font-size: 40px; font-weight: 700; color: var(--c-teal); letter-spacing: -.03em; }
.ats-card .score small { font-size: 11px; color: var(--c-muted); font-weight: 400; }
.ats-card h4 { margin-top: 4px; font-size: 13px; }
.ats-card p { margin-top: 4px; font-size: 11px; color: var(--c-muted); line-height: 1.5; }
.ats-issue { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(230,232,239,.7); font-size: 11px; color: #39455A; }
.ats-issue:last-child { border-bottom: 0; }
.ats-issue svg { width: 14px; height: 14px; flex: none; color: #7A5400; margin-top: 1px; }

/* pipeline */
.pipe-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.pipe-cell { background: #fff; padding: 12px 14px; }
.pipe-cell .k { font-size: 10px; color: #5C6470; }
.pipe-cell .v { margin-top: 3px; font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.pipe-board { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.pipe-col { background: var(--c-soft); border-radius: 10px; padding: 10px; min-height: 300px; }
.pipe-col h3 { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 4px 4px 10px; }
.pipe-col h3 span { font-family: var(--font-mono); font-size: 10px; color: #5C6470; font-weight: 400; }
.pipe-card { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.pipe-card:hover { border-color: var(--c-line-strong); }
.pipe-card .pc-top { display: flex; justify-content: space-between; gap: 8px; }
.pipe-card .pc-top b { font-size: 12px; line-height: 1.35; }
.pipe-card .pc-top .sc { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--c-teal); flex: none; }
.pipe-card .co { margin-top: 3px; font-size: 10px; color: var(--c-muted); }
.pipe-card .next { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--c-line); font-size: 10px; color: #39455A; display: flex; align-items: center; gap: 5px; }
.pipe-card .next svg { width: 12px; height: 12px; color: #7A5400; flex: none; }
.pipe-card.overdue .next { color: #B91C1C; }
.pipe-card.overdue .next svg { color: #B91C1C; }

/* billing */
.billing-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; align-items: start; }
.balance-card { background: var(--c-navy); color: #fff; border-radius: 14px; padding: 24px; }
.balance-card .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: #8A94A6; }
.balance-card .sum { margin-top: 6px; font-family: var(--font-mono); font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.balance-card .sum small { font-size: 14px; color: #8A94A6; font-weight: 400; }
.balance-card .note { margin-top: 8px; font-size: 11px; color: #8A94A6; }
.balance-card .actions { margin-top: 18px; display: flex; gap: 8px; }
.balance-card .btn-primary { background: var(--c-teal-bright); color: var(--c-navy); }
.balance-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.ledger { margin-top: 16px; }
.ledger-row { display: grid; grid-template-columns: 1fr 120px 100px 90px; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--c-line); font-size: 12px; align-items: center; }
.ledger-row.head { background: var(--c-soft); font-size: 10px; color: #5C6470; text-transform: uppercase; letter-spacing: .06em; }
.ledger-row .amt { font-family: var(--font-mono); text-align: right; font-weight: 600; }
.ledger-row .amt.minus { color: #B91C1C; }
.ledger-row .amt.plus { color: var(--c-teal); }
.ledger-row .rest { font-family: var(--font-mono); color: var(--c-muted); text-align: right; }
.plan-card { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 18px; }
.plan-card .k { font-size: 10px; color: #5C6470; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.plan-card h3 { margin-top: 6px; font-size: 17px; }
.plan-card .meta { margin-top: 4px; font-size: 12px; color: var(--c-muted); }
.progress { height: 7px; background: var(--c-line); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; background: var(--c-teal); border-radius: 99px; }
.limits { margin-top: 12px; }
.limits li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 11px; border-bottom: 1px solid rgba(230,232,239,.7); }
.limits li:last-child { border-bottom: 0; }
.limits b { font-family: var(--font-mono); }

/* account */
.account-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 8px; }
.account-nav a { display: flex; align-items: center; min-height: 38px; padding: 0 10px; border-radius: 7px; font-size: 12px; color: #39455A; }
.account-nav a:hover { background: var(--c-soft); }
.account-nav a.active { background: var(--color-brand-50); color: var(--c-teal); font-weight: 600; }
.account-card { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 20px; }
.account-card + .account-card { margin-top: 14px; }
.account-card h2 { font-size: 16px; }
.account-card .sub { margin-top: 4px; font-size: 12px; color: var(--c-muted); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row .sr { max-width: 520px; }
.setting-row .sr b { display: block; font-size: 13px; }
.setting-row .sr span { display: block; margin-top: 3px; font-size: 11px; color: var(--c-muted); line-height: 1.5; }
.connection { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.connection:last-child { border-bottom: 0; }
.connection .logo { width: 36px; height: 36px; border-radius: 8px; background: var(--c-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: var(--c-teal); flex: none; }
.connection .ci { flex: 1; }
.connection .ci b { display: block; font-size: 13px; }
.connection .ci span { display: block; font-size: 11px; color: var(--c-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 360px; }
  .article-layout { grid-template-columns: minmax(0, 680px) 280px; gap: 40px; }
  .app { grid-template-columns: 210px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .main-nav, .brand-sub { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; }
  .stack-card { max-width: 620px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .price-strip { grid-template-columns: 1fr 1fr; }
  .price-cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--c-line); grid-column: 1 / -1; }
  .limits-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-in { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-right { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-layout .toc { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .vac-page-grid, .editor-grid, .resume-grid, .billing-grid { grid-template-columns: 1fr; }
  .side-card, .side-panel { position: static; }
  .pipe-board { grid-template-columns: repeat(4, 260px); }
  .account-grid { grid-template-columns: 1fr; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-nav a { white-space: nowrap; }
  .app { grid-template-columns: 1fr; }
  .rail { display: none; }
  .app-bottom { display: flex; }
  .app-body { padding: 16px 16px 80px; }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 16px; }
  .searchbar { flex-direction: column; padding: 8px; gap: 4px; border-radius: 14px; }
  .searchbar .divider { display: none; }
  .searchbar .field-in { padding: 0 8px; }
  .searchbar select { max-width: none; }
  .searchbar .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .trust-in { gap: 14px 24px; padding: 14px 0; }
  .trust-sep { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { padding: 20px 0; border-top: 1px solid var(--c-line); }
  .step + .step { padding-left: 0; border-left: 0; }
  .compare { grid-template-columns: 1fr; }
  .price-strip { grid-template-columns: 1fr; }
  .price-cell + .price-cell, .price-cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--c-line); grid-column: auto; }
  .final { padding: 48px 0; }
  .final .actions { flex-direction: column; width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .how-block { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .how-block .split-list { grid-template-columns: 1fr; }
  .free-card { grid-template-columns: 1fr; padding: 20px; gap: 12px; }
  .plan-grid { grid-template-columns: 1fr; }
  .price-table { display: block; overflow-x: auto; white-space: nowrap; }
  .article-layout { grid-template-columns: 1fr; padding: 32px 0 48px; }
  .article-aside { position: static; }
  .toc { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .subnav { top: 64px; }
  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .lead { font-size: 16px; }
  .paper { padding: 24px 20px; }
  .paper .doc-head { flex-direction: column; gap: 8px; }
  .editor-toolbar { overflow-x: auto; }
  .resume-paper { padding: 24px 20px; }
  .vac-header-card { padding: 18px; }
  .vac-header-card h1 { font-size: 23px; }
  .app-top-in { padding: 8px 12px; }
  .summary-strip { grid-template-columns: 1fr 1fr; }
  .vac-row { grid-template-columns: 20px minmax(0, 1fr) 48px; }
  .vac-row .st { display: none; }
  .page-title-row { flex-direction: column; }
  .page-title-row .actions { width: 100%; }
  .page-title-row .actions .btn { flex: 1; }
  .ledger-row { grid-template-columns: 1fr 80px; }
  .ledger-row .date, .ledger-row .rest { display: none; }
  .pipe-summary { grid-template-columns: repeat(3, 1fr); }
  .selection-bar { left: 12px; right: 12px; max-width: none; margin: 12px 0 0; }
  .selection-bar .sel span { display: none; }
  .side-actions .btn { min-height: 44px; }
}
@media (min-width: 981px) {
  .app-bottom { display: none; }
}
.app-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--c-line);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  align-items: stretch; justify-content: space-around;
}
.app-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 64px; min-height: 48px; font-size: 10px; color: #5C6470; }
.app-bottom a.active { color: var(--c-teal); }
.app-bottom svg { width: 20px; height: 20px; }

/* mobile fit fixes */
@media (max-width: 760px) {
  .site-head-in { gap: 8px; }
  .head-actions { gap: 4px; }
  .head-actions .btn-ghost { display: none; }
  .head-actions .btn-primary { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .head-actions .nav-burger { display: inline-flex; }
  .brand img { height: 26px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-stat .n { font-size: 17px; }
  .hero-stat .t { font-size: 11px; line-height: 1.35; }
  .stack-card::before { display: none; }
  .cookie { flex-wrap: wrap; }
  .cookie .actions { flex-direction: row; }
  .cookie .btn { min-height: 36px; }
  .mock-note { display: none; }
}

@media (max-width: 760px) {
  .app-top .crumb, .app-top .status-chip { display: none; }
  .app-top .user-mini .un, .app-top .user-mini svg { display: none; }
  .app-top-in { gap: 8px; }
  .app-top .balance-chip { margin-left: auto; }
}

/* mobile min-width fixes */
@media (max-width: 980px) {
  .pipe-board { display: flex; overflow-x: auto; }
  .pipe-col { flex: 0 0 260px; }
}
@media (max-width: 760px) {
  .ledger-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; }
  .ledger-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
  .panel-body[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .billing-grid > div, .billing-grid .panel { min-width: 0; }
}

/* fixes after visual review */
.login-right h2 { color: #EEF2F7; }
.rail-user .un, .rail-user .ur { display: block; line-height: 1.3; }
.editor-toolbar [data-tab] { min-height: 30px; padding: 0 10px; border-radius: 6px; font-size: 12px; color: #5C6470; }
.editor-toolbar [data-tab].active { background: var(--color-brand-50); color: var(--c-teal); font-weight: 600; }
.mobile-brand { display: none; align-items: center; }
.mobile-brand img { height: 26px; width: auto; }
@media (max-width: 760px) {
  .mobile-brand { display: inline-flex; }
  .selection-bar { position: fixed; left: 12px; right: 12px; bottom: 68px; margin: 0; z-index: 45; }
  .app-body { padding-bottom: 150px; }
}

/* dark-context headings must override tokens.css h1-h3 colour */
.final h2 { color: #EEF2F7; }

/* compact cookie: never covers the main action */
.cookie { padding: 8px 11px; font-size: 11px; gap: 10px; max-width: 460px; }
.cookie .btn { min-height: 30px; padding: 0 9px; font-size: 11px; }
@media (max-width: 760px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 8px 10px; font-size: 10.5px; }
  .cookie .btn { min-height: 32px; }
}

/* mobile action bar above the bottom navigation */
.mobile-send { display: none; }
@media (max-width: 980px) {
  .mobile-send {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 70px; z-index: 46;
    background: #fff; border: 1px solid var(--color-border-strong); border-radius: 12px;
    padding: 8px; box-shadow: 0 14px 34px rgba(20,24,31,.18);
  }
  .mobile-send .btn { flex: 1; min-height: 44px; }
  body:has(.mobile-send) .app-body,
  body:has(.mobile-send) .app2-body,
  body:has(.mobile-send) .app3-body { padding-bottom: 150px; }
}

.mobile-brand { gap: 7px; }
.mobile-brand span { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }

/* mobile tap targets: controls and footer links at least 44px high */
@media (max-width: 760px) {
  .foot-col a { display: flex; align-items: center; min-height: 44px; margin-top: 0; }
  .chip-tab, .reg-tab, .sort-select, .toolbar-search, .icon-btn, .stepper button,
  .detail-tabs button, .cookie .btn, .selection-bar .btn { min-height: 44px; }
  .stepper button { width: 44px; }
  .link-arrow { padding: 10px 0; }
  .breadcrumb a { padding: 8px 0; }
}

/* mobile controls: 44px minimum */
@media (max-width: 760px) {
  .stepper button { position: relative; }
  .stepper button::after { content: ""; position: absolute; inset: -4px; }
  .brand, .login-logo, .head-actions .btn, .auth-tabs button, .account-nav a, .acc3-nav a,
  .user3, .user-mini, .app2-user, .app2-balance, .app3-bal, .balance-chip, .reg-search,
  .btn-sm { min-height: 44px; }
}

/* calculator: best subscription for the chosen set */
.calc-reco { margin-top:16px; border:1px solid rgba(53,207,197,.35); background:rgba(53,207,197,.08); border-radius:12px; padding:14px; }
.calc-reco .k { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: #35CFC5; }
.reco-title { margin-top: 5px; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.reco-price { margin-top: 2px; font-family: var(--font-mono); font-size: 25px; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.reco-note { margin-top: 5px; font-size: 11px; line-height: 1.5; color: #8A94A6; min-height: 32px; }
.calc-reco .btn { margin-top: 11px; background: #35CFC5; color: #0F1420; }
.calc-reco .btn:hover { background: var(--color-brand-300); }
.reco-alt { margin-top: 7px; font-size: 10px; color: #8A94A6; }
.calc-plans { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.calc-plan { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.calc-plan.best { border-color: var(--color-brand-400); box-shadow: 0 0 0 2px rgba(15,118,110,.08); }
.calc-plan .top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.calc-plan .top b { font-size: 13px; }
.calc-plan .badge { font-size: 9px; }
.calc-plan .total { margin-top: 6px; font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.calc-plan .meta { margin-top: 5px; font-size: 11px; line-height: 1.5; color: var(--c-muted); min-height: 48px; }
.calc-plan .save { margin-top: 6px; font-size: 11px; font-weight: 600; }
.calc-plan .save.plus { color: var(--c-teal); }
.calc-plan .save.minus { color: #B91C1C; }
.calc-plan .btn { width: 100%; margin-top: auto; }
.calc-plan .btn { margin-top: 12px; }
@media (max-width: 980px) { .calc-plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .calc-plans { grid-template-columns: 1fr; } .calc-plan .meta { min-height: 0; } }

/* 31.10.2026. Таблица цен на телефоне: вместо горизонтальной прокрутки с
   обрезанным текстом — карточки «операция + цена», описание под ними.
   Владелец: мобильная версия должна быть не хуже десктопа. */
@media (max-width: 640px) {
  .price-table { display: block; overflow: visible; white-space: normal; border: 0; border-radius: 0; margin-top: 20px; }
  .price-table thead { display: none; }
  .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { display: block; padding: 0; border: 0; font-size: 13px; }
  .price-table td.num { grid-column: 2; grid-row: 1; text-align: right; }
  .price-table td.what { grid-column: 1 / -1; font-size: 12px; }
}
