/* ============================================================
   tools.css — Alati hub + KPD, salary, calendar, e-racun, osnivanje
   ============================================================ */

/* shared tool hero + CTA */
.toolhero__head { max-width: 760px; padding-top: 8px; }
.toolhero__title { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem); letter-spacing: -0.025em; line-height: 1; color: var(--ink-900); margin: 18px 0 0; }
.toolhero__lead { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-500); }
.toolhero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.alati-cta__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.alati-cta__title { margin: 14px 0 0; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: #fff; letter-spacing: -0.02em; line-height: 1.05; }
.alati-cta__lead { margin-top: 18px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 520px; }
.alati-cta__btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 860px) { .alati-cta__grid { grid-template-columns: 1fr; gap: 28px; } .alati-cta__btns { flex-direction: row; flex-wrap: wrap; } }

/* ---- Alati hub ---- */
.alati-hero__body { padding: 48px 0 64px; max-width: 760px; }
.alati-hero__body h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -0.025em; color: var(--ink-900); margin: 0 0 28px; }
.alati-grid { margin-top: 24px; }
.alati-kpd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink-900); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); text-decoration: none; }
.alati-kpd:hover { text-decoration: none; }
.alati-kpd__mark { position: absolute; top: -50px; right: -90px; font-weight: 900; font-size: 320px; color: var(--red-700); opacity: .13; line-height: .85; letter-spacing: -0.05em; pointer-events: none; }
.alati-kpd__body { position: relative; }
.alati-kpd__title { margin: 16px 0 0; font-weight: 700; font-size: clamp(28px, 4vw + 1rem, 44px); color: #fff; line-height: 1.05; letter-spacing: -0.025em; }
.alati-kpd__lead { margin: 18px 0 0; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 440px; }
.alati-kpd__stats { margin: 24px 0; display: flex; gap: 32px; }
.alati-kpd__stat-n { font-weight: 700; font-size: 28px; color: var(--red-500); letter-spacing: -0.02em; line-height: 1; }
.alati-kpd__win { background: var(--ink-800); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; font-family: var(--font-mono); position: relative; }
.alati-kpd__win-bar { display: flex; gap: 6px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.alati-kpd__search { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-pill); background: var(--ink-900); border: 1px solid var(--red-700); color: rgba(255,255,255,.85); font-size: 13px; }
.alati-kpd__search .icon { color: var(--red-500); }
.alati-kpd__res { display: grid; grid-template-columns: 70px 1fr 38px; gap: 10px; padding: 10px 10px; margin-top: 8px; background: var(--red-900); border: 1px solid var(--red-500); border-radius: var(--radius-sm); align-items: baseline; }
.alati-kpd__res--dim { background: transparent; border-color: rgba(255,255,255,.08); opacity: .6; }
.alati-kpd__code { color: var(--red-500); font-weight: 700; font-size: 12px; }
.alati-kpd__res span:nth-child(2) { font-family: var(--font-sans); font-size: 12.5px; color: #fff; }
.alati-kpd__pct { color: rgba(255,255,255,.5); font-size: 11px; text-align: right; }
@media (max-width: 900px) { .alati-kpd { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }
@media (max-width: 480px) { .alati-kpd { padding: 20px; } }

/* window dots (shared) */
.dot { width: 11px; height: 11px; border-radius: 50%; opacity: .8; } .dot--r { background: #FF5F57; } .dot--y { background: #FEBC2E; } .dot--g { background: #28C840; }

/* ============================================================
   KPD page
   ============================================================ */
.kpdh__grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.kpdh__title { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); color: var(--ink-900); line-height: .98; letter-spacing: -0.025em; margin: 20px 0 0; }
.kpdh__lead { margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-500); max-width: 580px; }
.kpdh__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.kpdh__aside { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--ink-100); }
.kpdh__stats { margin-top: 18px; display: grid; gap: 0; }
.kpdh__stat { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; }
.kpdh__stat--bd { border-bottom: 1px solid var(--ink-100); }
.kpdh__stat-v { font-weight: 700; font-size: 20px; color: var(--red-700); letter-spacing: -0.02em; }
@media (max-width: 900px) { .kpdh__grid { grid-template-columns: 1fr; gap: 32px; } }

/* the live app window */
.kpdapp { margin-top: 48px; background: var(--ink-900); color: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 32px 80px -32px rgba(20,20,30,.4); }
.kpdapp__bar { padding: 14px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.kpdapp__url { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); }
.kpdapp__inner { padding: 32px clamp(16px, 4vw, 48px) 40px; }
.kpdapp__search {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 20px; min-height: 56px;
  border-radius: var(--radius-pill);
  background: var(--ink-800); border: 2px solid var(--red-700);
  box-shadow: 0 0 0 4px var(--red-900);
}
.kpdapp__search > .icon { color: var(--red-500); flex-shrink: 0; }
.kpdapp__input {
  flex: 1 1 0; min-width: 0;
  background: transparent; border: 0; outline: none;
  color: #fff; font-family: var(--font-sans);
  font-size: 16px;        /* iOS Safari does not auto-zoom at >=16px */
  line-height: 1.5;
  /* The pill wrapper is 56 px; without a height, the input is just its text
     box (~20 px) and only that area receives the tap. Fill the wrapper. */
  height: var(--touch); padding: 0;
}
.kpdapp__input::placeholder { color: rgba(255,255,255,.4); }
.kpdapp__filters { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.kpdapp__sectors {
  display: flex; gap: 6px; flex-wrap: wrap;
  flex: 1 1 auto; min-width: 0;
}
.kpdapp__sector {
  padding: 10px 14px; min-width: var(--touch); min-height: var(--touch); display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); font-size: 12px; font-weight: 600;
  font-family: var(--font-sans); cursor: pointer;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.kpdapp__sector:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.kpdapp__sector.is-active { background: var(--red-700); color: #fff; border-color: var(--red-700); }
.kpdapp__status { margin: 24px 0 12px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); }
.kpdapp__results { display: grid; gap: 4px; max-height: 460px; overflow-y: auto; }

@media (max-width: 640px) {
  /* On phones: the search field wraps cleanly, the FUZZY chip moves below.
     Sector chips become a horizontal scroll strip instead of a 6-row grid. */
  .kpdapp__search { flex-wrap: wrap; padding: 12px 16px; row-gap: 8px; }
  .kpdapp__search > .chip { order: 3; }
  .kpdapp__input { flex: 1 1 100%; }
  .kpdapp__sectors {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    /* Fade hint on the right edge so users know it scrolls. */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
}
.kpdres { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 12px 14px; background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-family: var(--font-sans); transition: background var(--dur), border-color var(--dur); }
.kpdres:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); }
.kpdres.is-copied { background: var(--red-900); border-color: var(--red-500); }
.kpdres__code { color: var(--red-500); font-weight: 700; font-family: var(--font-mono); font-size: 14px; }
.kpdres__name { color: #fff; font-size: 14px; }
.kpdres__name em { color: rgba(255,255,255,.45); font-style: normal; font-size: 12px; }
.kpdres--cat .kpdres__name { color: rgba(255,255,255,.7); }
.kpdres__copy { color: rgba(255,255,255,.4); display: inline-flex; }
.kpdres:hover .kpdres__copy, .kpdres.is-copied .kpdres__copy { color: var(--red-500); }
.kpdapp__note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-500); }
.kpdapp__note .icon { width: 14px; height: 14px; color: var(--red-700); vertical-align: -2px; margin-right: 6px; }

.kpdhow { gap: 48px; align-items: start; }
.kpdhow__steps { margin-top: 24px; display: grid; gap: 18px; }
.kpdhow__step { display: flex; gap: 14px; align-items: flex-start; }
.kpdhow__t { font-size: 16px; font-weight: 600; color: var(--ink-900); }
.kpdhow__d { font-size: 14px; color: var(--ink-500); margin-top: 2px; line-height: 1.5; }
.kpdext__t { margin: 12px 0 8px; font-size: 22px; color: var(--ink-900); }
.kpdext__d { font-size: 15px; color: var(--ink-500); line-height: 1.6; }
.kpdext__btns { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.kpdext__note { margin-top: 16px; font-size: 12.5px; color: var(--ink-400); }
.kpdext__note .icon { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; color: var(--red-700); }

/* ============================================================
   Salary calculator
   ============================================================ */
.sal { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .sal { grid-template-columns: 1fr; } }
.sal__modes { display: flex; gap: 4px; padding: 4px; background: var(--ink-50); border-radius: var(--radius-pill); margin-bottom: 24px; }
.sal__mode {
  flex: 1; padding: 12px; min-height: var(--touch);
  border: 0; background: transparent; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: var(--ink-500); cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.sal__mode:hover { color: var(--ink-900); }
.sal__mode.is-active { background: #fff; color: var(--red-700); box-shadow: var(--shadow-sm); }
.sal__amount { position: relative; }
.sal__amount .input { font-size: clamp(20px, 2vw + 0.85rem, 26px); font-weight: 700; padding-right: 40px; color: var(--ink-900); }
.sal__eur { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 700; color: var(--ink-300); }
.sal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .sal__row { grid-template-columns: 1fr; } }
.sal__hint { margin-top: 6px; font-size: 12.5px; color: var(--ink-400); line-height: 1.5; }
.sal__hint .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; color: var(--red-700); }
.sal__result {
  background: var(--ink-900); color: #fff;
  align-self: start;
}
@media (min-width: 901px) {
  .sal__result { position: sticky; top: 100px; }
}
.sal__result [data-result],
.sal__result [data-row] {
  transition: color var(--dur) var(--ease-out);
}
.sal__result.is-updating .sal__big [data-result] { opacity: 0.4; }
.sal__big [data-result] { display: inline-block; transition: opacity 180ms var(--ease-out); }
.sal__headline { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.sal__big { font-weight: 700; font-size: clamp(32px, 4vw + 1rem, 48px); color: var(--red-200); letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }
.sal__rows { margin-top: 18px; display: grid; gap: 0; }
.sal__line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; color: rgba(255,255,255,.85); }
.sal__line span:last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sal__line--sub { color: rgba(255,255,255,.55); font-size: 13px; padding-left: 14px; }
.sal__line--net { border-top: 1px solid rgba(255,255,255,.12); margin-top: 4px; padding-top: 14px; color: #fff; font-weight: 700; font-size: 16px; }
.sal__line--net span:last-child { color: var(--red-200); }
.sal__employer { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.sal__line--tot { font-weight: 700; color: #fff; }
.sal__cta { margin-top: 24px; }

/* ============================================================
   Tax calendar
   ============================================================ */
.kal__months { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px; }
.kal__month { flex-shrink: 0; padding: 10px 16px; border: 1px solid var(--ink-200); background: #fff; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink-700); cursor: pointer; display: flex; flex-direction: column; line-height: 1.2; transition: all var(--dur); }
.kal__month small { font-size: 10px; color: var(--ink-400); font-weight: 500; }
.kal__month.is-active { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.kal__month.is-active small { color: rgba(255,255,255,.7); }
.kal__filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.kal__cat { padding: 11px 16px; min-height: var(--touch); display: inline-flex; align-items: center; border: 1px solid var(--ink-200); background: #fff; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--ink-700); cursor: pointer; transition: all var(--dur); }
.kal__cat.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.kal__list { display: grid; gap: 12px; }
.kal__loading, .kal__empty { color: var(--ink-500); font-size: 15px; padding: 24px 0; }
.kal__loading .icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; color: var(--red-700); }
.kal__item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--ink-100); border-top: 3px solid var(--cat, var(--red-700)); border-radius: var(--radius); box-shadow: var(--shadow-sm); align-items: start; }
.kal__date { text-align: center; }
.kal__day { display: block; font-weight: 700; font-size: clamp(22px, 3vw + 1rem, 32px); color: var(--ink-900); line-height: 1; letter-spacing: -0.02em; }
.kal__mon { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); text-transform: uppercase; margin-top: 4px; }
.kal__top { display: flex; align-items: center; gap: 12px; }
.kal__cat-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cat, var(--red-700)); }
.kal__full { font-family: var(--font-mono); font-size: 12px; color: var(--ink-400); }
.kal__title { margin: 8px 0 0; font-size: 18px; color: var(--ink-900); }
.kal__desc { margin: 8px 0 0; font-size: 14px; color: var(--ink-500); line-height: 1.55; }
.kal__link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--red-700); }
.kal__note { margin-top: 24px; font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.kal__note .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--red-700); }
@media (max-width: 480px) { .kal__item { grid-template-columns: 56px 1fr; gap: 14px; padding: 16px; } }

/* ---- "Kako uvesti" block on porezni kalendar page (.ics export) ---- */
.toolhero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.ics-how {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start;
  max-width: 980px;
}
.ics-how__t { margin: 14px 0 0; font-weight: 700; font-size: clamp(20px, 2vw + 1rem, 28px); color: var(--ink-900); line-height: 1.2; letter-spacing: -0.015em; }
.ics-how__d { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-500); }
.ics-how__d code { font-family: var(--font-mono); font-size: 13px; background: var(--ink-50); padding: 2px 6px; border-radius: 4px; color: var(--ink-800); }
.ics-how__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: ics; }
.ics-how__steps li {
  position: relative; padding: 14px 16px 14px 52px;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius);
  font-size: 14px; color: var(--ink-700); line-height: 1.5;
  counter-increment: ics;
}
.ics-how__steps li::before {
  content: counter(ics);
  position: absolute; left: 14px; top: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--red-50); color: var(--red-700);
  font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) { .ics-how { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   E-Račun
   ============================================================ */
.ehow__step { display: flex; flex-direction: column; gap: 12px; }
.ehow__ic { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--red-50); color: var(--red-700); display: flex; align-items: center; justify-content: center; }
.ehow__t { font-size: 18px; font-weight: 700; color: var(--ink-900); display: flex; align-items: center; gap: 10px; }
.ehow__t .callout { width: 24px; height: 24px; font-size: 12px; }
.ehow__d { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-500); line-height: 1.55; }
.eapp {
  background: var(--ink-900); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 40px;
}
.eapp__bar {
  padding: 14px 20px; display: flex; gap: 8px; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.eapp__url { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eapp__open {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: background var(--dur) var(--ease-out);
}
.eapp__open:hover { background: var(--red-700); border-color: var(--red-700); text-decoration: none; }
.eapp__open .icon { width: 13px; height: 13px; color: currentColor; }
.eapp__frame {
  display: block; width: 100%;
  height: clamp(520px, calc(100dvh - 220px), 880px);
  border: 0; background: #f2f4f8;
}
.eapp__note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-500); }
.eapp__note .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--red-700); }
.eapp__note a { color: var(--red-700); }
@media (max-width: 640px) {
  .eapp { margin-top: 24px; border-radius: var(--radius); }
  .eapp__bar { padding: 10px 14px; }
  .eapp__url { font-size: 11px; }
  .eapp__open { padding: 7px 10px; font-size: 11px; }
}

/* ============================================================
   Osnivanje guide
   ============================================================ */
.osn-cmp { margin-top: 32px; border: 1px solid var(--ink-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.osn-cmp__head, .osn-cmp__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.osn-cmp__head { background: var(--ink-900); color: #fff; }
.osn-cmp__head span { padding: 16px 18px; font-size: 15px; font-weight: 700; }
.osn-cmp__col.is-hl { color: var(--red-500); } .osn-cmp__col em { font-style: normal; font-size: 11px; font-weight: 600; display: block; color: rgba(255,255,255,.5); }
.osn-cmp__row { border-top: 1px solid var(--ink-50); }
.osn-cmp__row:nth-child(even) { background: var(--paper); }
.osn-cmp__label { padding: 14px 18px; font-size: 13px; font-weight: 600; color: var(--ink-400); text-transform: uppercase; letter-spacing: .04em; }
.osn-cmp__cell { padding: 14px 18px; font-size: 14.5px; color: var(--ink-800); }
.osn-cmp__cell.is-hl { background: var(--red-50); font-weight: 600; color: var(--ink-900); }
.osn-note { margin-top: 20px; font-size: 14px; color: var(--ink-500); }
.osn-note .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--red-700); }
.osn-note a { color: var(--red-700); font-weight: 600; }
.osn-steps { margin-top: 32px; display: grid; gap: 0; }
.osn-step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--ink-100); align-items: baseline; }
.osn-step:first-child { border-top: 0; }
.osn-step__n { font-weight: 700; font-size: clamp(24px, 3vw + 1rem, 32px); color: var(--red-700); letter-spacing: -0.03em; line-height: 1; }
.osn-step__t { margin: 0; font-size: 19px; color: var(--ink-900); }
.osn-step__d { margin: 8px 0 0; font-size: 15px; color: var(--ink-500); line-height: 1.6; }
@media (max-width: 900px) {
  /* Tablet portrait: 4-col table compresses cells. Two-up the data columns
     so the row still reads but doesn't crowd. Header stays full. */
  .osn-cmp__head { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .osn-cmp__head span { padding: 12px 14px; font-size: 13.5px; }
  .osn-cmp__row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .osn-cmp__cell { padding: 12px 14px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  /* Mobile: stack as card per row — label on top, then 3 cells stacked. */
  .osn-cmp__head { display: none; }
  .osn-cmp__row { grid-template-columns: 1fr; padding: 16px 18px; gap: 8px; border-top: 8px solid var(--paper); }
  .osn-cmp__row:nth-child(even) { background: #fff; }
  .osn-cmp__label { background: transparent; padding: 0 0 8px; font-size: 12.5px; }
  .osn-cmp__cell {
    padding: 8px 0; font-size: 14px;
    display: grid; grid-template-columns: 84px 1fr; gap: 14px;
    align-items: baseline;
    border-top: 1px dashed var(--ink-100);
  }
  .osn-cmp__cell::before {
    content: attr(data-label);
    color: var(--ink-500); font-size: 11px;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  }
  .osn-cmp__cell.is-hl { background: transparent; }
}
@media (max-width: 480px) { .osn-step { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; } }
