/* Sakajanta — design tokens */
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0e1f3a;
  --navy: #16325c;
  --blue: #2f6fed;
  --blue-dark: #1f56c7;
  --mist: #eef3fa;
  --mist-2: #f6f8fc;
  --paper: #ffffff;
  --line: #d9e1ec;
  --line-soft: #e8edf4;
  --text: #1c2a40;
  --muted: #5a6a82;
  --ok: #157f53; --ok-bg: #e7f5ee;
  --warn: #9a5b07; --warn-bg: #fdf3e3;
  --bad: #b42b22; --bad-bg: #fcebea;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jakarta", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: #34445e; max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-sm); border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: var(--paper); color: var(--bad); border-color: #efc4c0; }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); }
.btn-sm { padding: 7px 12px; font-size: .85rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue-dark); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Public header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 22px; margin-left: 12px; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue-dark); }
.head-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; }
@media (max-width: 900px) {
  .site-nav, .head-actions { display: none; }
  .menu-toggle { display: block; }
  .site-head.open .site-nav, .site-head.open .head-actions { display: flex; }
  .site-head.open .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 16px; }
  .site-head.open .site-nav { flex-direction: column; width: 100%; gap: 12px; margin: 8px 0 0; }
  .site-head.open .head-actions { width: 100%; margin: 4px 0 0; }
}

/* Hero */
.hero { padding: 72px 0 84px; background: linear-gradient(180deg, var(--mist-2), #fff 70%); border-bottom: 1px solid var(--line-soft); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: grid; gap: 8px; color: #34445e; font-size: .93rem; padding: 0; list-style: none; }
.hero-trust li { display: flex; gap: 10px; align-items: flex-start; }
.hero-trust svg { flex: none; margin-top: 4px; color: var(--ok); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 44px 0 56px; } }

/* The transformation: before page and after page */
.transform { position: relative; min-height: 470px; margin-top: 40px; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px -22px rgba(14,31,58,.35); }
.sheet-before { position: absolute; left: 0; top: 0; width: 56%; padding: 18px 18px 22px; transform: rotate(-2.2deg); font-family: "Times New Roman", Times, serif; font-size: 11.5px; line-height: 1.45; color: #4a4a4a; background: #fcfcfb; }
.sheet-before .strike { text-decoration: line-through; text-decoration-color: rgba(180,43,34,.75); }
.sheet-before b { color: #222; }
.sheet-after { position: relative; margin-left: 16%; margin-right: 150px; padding: 26px 28px; font-family: "Carlito", Calibri, var(--sans); font-size: 12.5px; line-height: 1.42; color: #1a1f2b; z-index: 2; }
.sheet-after .nm { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 0; font-weight: 600; }
.sheet-after .hl { font-weight: 700; color: #2e3646; margin: 0 0 2px; }
.sheet-after .ct { color: #5a6a82; font-size: 11px; border-bottom: 1.5px solid var(--navy); padding-bottom: 8px; margin-bottom: 10px; }
.sheet-after h4 { font-size: 10.5px; color: var(--navy); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; margin: 10px 0 5px; font-family: inherit; }
.sheet-after ul { margin: 3px 0 0 16px; padding: 0; }
.sheet-after .role { display: flex; justify-content: space-between; gap: 8px; }
.sheet-after .role span:last-child { color: #5a6a82; white-space: nowrap; }
.note { position: absolute; z-index: 3; width: 172px; background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.35; padding: 8px 11px; border-radius: 8px; max-width: 210px; box-shadow: 0 8px 20px -10px rgba(14,31,58,.6); }
.note::before { content: ""; position: absolute; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.note-1 { right: 0; top: 70px; } .note-1::before { left: -4px; top: 14px; }
.note-2 { right: 0; top: 250px; } .note-2::before { left: -4px; top: 14px; }
.note-3 { left: 0; top: -58px; width: 240px; } .note-3::before { left: 26px; bottom: -4px; }
.sample-tag { position: absolute; right: 150px; bottom: -30px; font-size: .8rem; color: var(--muted); }
@media (max-width: 1180px) { .sheet-after { margin-right: 0; } .note { display: none; } }
@media (max-width: 960px) { .sheet-before { width: 62%; } }
@media (max-width: 1180px) { .sample-tag { right: 0; } }
@media (max-width: 560px) { .transform { min-height: 0; } .sheet-before { display: none; } .sheet-after { margin-left: 0; } .sample-tag { position: static; display: block; margin-top: 8px; } }

/* Sections */
.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #d5deec; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.section-ink .section-head p { color: #b8c5da; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* Steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { padding: 22px 22px 0 0; counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2rem; color: var(--blue); line-height: 1; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Why it matters */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-list li:first-child { border-top: 1px solid var(--line); }
.rule-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.section-ink .rule-list li { border-color: rgba(255,255,255,.14); }
.section-ink .rule-list strong { color: #fff; }

/* Before/after examples */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--sans); color: var(--text); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.compare { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.compare pre { white-space: pre-wrap; font: 13px/1.55 "Times New Roman", Times, serif; color: #444; background: #fcfcfb; border: 1px solid var(--line); border-radius: 4px; padding: 20px; margin: 0; max-height: 560px; overflow: auto; }
.compare iframe { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.compare-notes { margin-top: 18px; }
.compare-notes li { margin-bottom: 6px; }
.panel-label { font-weight: 700; color: var(--ink); margin: 0 0 8px; font-size: .95rem; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* Services list (not identical cards) */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.svc-item { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.svc-item svg { color: var(--blue); }
.svc-item h3 { margin-bottom: 4px; }
.svc-item p { color: var(--muted); margin-bottom: 8px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* Formats table */
.fmt-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fmt-table th, .fmt-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); vertical-align: top; }
.fmt-table th { color: #fff; font-weight: 600; width: 30%; }
.section:not(.section-ink) .fmt-table th, .section:not(.section-ink) .fmt-table td { border-color: var(--line); }
.section:not(.section-ink) .fmt-table th { color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #3a4a63; padding-bottom: 16px; max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--navy); color: #d5deec; border-radius: var(--r-lg); padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Footer */
.site-foot { background: var(--ink); color: #a9b7cd; padding: 56px 0 32px; font-size: .93rem; }
.site-foot a { color: #d5deec; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot .brand { color: #fff; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Content pages */
.page-head { padding: 64px 0 36px; background: var(--mist-2); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 22ch; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Forms */
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .93rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 5px; }
input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: .95rem; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,237,.16); }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Alerts */
.alert { padding: 13px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: .94rem; border: 1px solid; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: var(--ok-bg); border-color: #bfe3cf; color: #0f5a3b; }
.alert-error { background: var(--bad-bg); border-color: #f2c6c2; color: #8a2019; }
.alert-warn { background: var(--warn-bg); border-color: #f2dcb4; color: #6d4106; }
.alert-info { background: var(--mist); border-color: #cfdcf0; color: var(--navy); }

/* Auth */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 20px; background: var(--mist-2); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.auth-card h1 { font-size: 1.9rem; }

/* Dashboard shell */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; background: var(--mist-2); }
.side { background: var(--ink); color: #b8c5da; padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side a.brand { color: #fff; padding: 0 10px 22px; font-size: 1.3rem; font-weight: 600; background: none; }
.side a.brand:hover { background: none; }
.side a.brand svg { width: 30px; height: 30px; opacity: 1; }
.side nav { display: grid; gap: 2px; }
.side .group { font-size: .78rem; color: #7f90ab; padding: 16px 12px 6px; }
.side a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; color: #d5deec; text-decoration: none; font-size: .93rem; font-weight: 500; }
.side a svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a[aria-current="page"] { background: rgba(47,111,237,.22); color: #fff; }
.side-foot { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.side-foot .who { color: #fff; font-weight: 600; }
.main { min-width: 0; }
.topbar { display: none; }
.content { padding: 34px 40px 60px; max-width: 1240px; }
.content-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.content-head h1 { font-size: 1.85rem; margin: 0; }
.content-head p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 270px; transform: translateX(-100%); transition: transform .2s; z-index: 60; }
  .app.nav-open .side { transform: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
  .topbar .brand { color: #fff; font-size: 1.15rem; }
  .topbar button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 6px; padding: 6px 10px; }
  .content { padding: 24px 18px 48px; }
}

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 22px; }
.panel h2 { font-family: var(--sans); font-size: 1.12rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--ink); font-weight: 600; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }
.stat small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: .82rem; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl a { font-weight: 600; text-decoration: none; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--mist); color: var(--navy); white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-muted { background: #eef0f3; color: #556070; }

/* Empty state */
.empty { text-align: left; padding: 30px; border: 1.5px dashed var(--line); border-radius: var(--r); background: #fff; }
.empty h3 { margin-bottom: 6px; }

/* Upload dropzone */
.drop { display: block; position: relative; border: 2px dashed #b7c6dd; border-radius: var(--r); padding: 34px; text-align: center; background: var(--mist-2); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.drag { border-color: var(--blue); background: var(--mist); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop strong { color: var(--ink); display: block; font-size: 1.05rem; margin-top: 8px; }
.drop > span { display: block; }
.drop svg { color: var(--blue); }
.drop .file-name { margin-top: 10px; font-weight: 600; color: var(--blue-dark); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: block; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; height: 100%; font-weight: 400; margin: 0; }
.choice label b { display: block; color: var(--ink); font-size: .95rem; }
.choice label span { font-size: .83rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--blue); background: #f2f6fe; box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Progress (AI jobs) */
.progress-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin-bottom: 22px; }
.progress-bar { height: 6px; background: var(--mist); border-radius: 99px; overflow: hidden; margin: 16px 0 10px; }
.progress-bar span { display: block; height: 100%; width: 35%; background: var(--blue); border-radius: 99px; animation: indet 1.6s ease-in-out infinite; }
@keyframes indet { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
.stage-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.stage-list li.done { color: var(--ok); }
.stage-list li.now { color: var(--ink); font-weight: 600; }

/* CV workspace */
.preview-frame { width: 100%; height: 900px; border: 1px solid var(--line); border-radius: var(--r); background: #e9edf3; }
.issue { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.issue:last-child { border-bottom: 0; }
.issue-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 3px; }
.issue p { margin: 2px 0; font-size: .92rem; }
.issue .orig { color: var(--muted); font-style: italic; }
.flag { border-left: 3px solid var(--warn); background: var(--warn-bg); padding: 10px 12px; border-radius: 0 6px 6px 0; margin-bottom: 8px; font-size: .9rem; }
.versions li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.versions { list-style: none; padding: 0; margin: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.score { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--serif); font-size: 2.6rem; color: var(--ink); line-height: 1; }
.score small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.meter { height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; margin-top: 8px; }
.meter span { display: block; height: 100%; background: var(--blue); }

/* Editor */
.ed-section { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; }
.ed-section > summary { padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.ed-section > summary::-webkit-details-marker { display: none; }
.ed-section > summary .count { font-weight: 500; color: var(--muted); font-size: .88rem; }
.ed-body { padding: 4px 20px 20px; }
.ed-item { border: 1px solid var(--line); border-radius: 8px; padding: 16px 16px 4px; margin-bottom: 12px; background: var(--mist-2); }
.ed-item-bar { display: flex; justify-content: flex-end; gap: 6px; margin: -6px -6px 6px 0; }
.ed-item-bar button { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font-size: .8rem; cursor: pointer; color: var(--text); }
.ed-item-bar button:hover { border-color: var(--ink); }
.ed-item-bar .rm:hover { border-color: var(--bad); color: var(--bad); }
@media (max-width: 700px) { .ed-sticky { position: static !important; } }
.ed-sticky { position: sticky; bottom: 0; background: rgba(246,248,252,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 14px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; z-index: 5; }

/* Tool outputs */
.copy-block { position: relative; background: var(--mist-2); border: 1px solid var(--line); border-radius: 8px; padding: 16px 16px 16px; margin-bottom: 12px; white-space: pre-wrap; }
.copy-block .copy { position: absolute; top: 8px; right: 8px; }
.req { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 600px) { .req { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--mist); color: var(--navy); border-radius: 999px; padding: 3px 11px; font-size: .84rem; }
.chip-miss { background: var(--warn-bg); color: var(--warn); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; }
.plan h3 { font-size: 1.15rem; }
.plan .price { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); line-height: 1.1; margin: 8px 0; }
.plan .price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }

/* Admin */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 10px; }
.bars div { flex: 1; max-width: 46px; background: var(--blue); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.bars div span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .86rem; color: var(--text); background: #fff; }
.filter a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.msg { padding: 14px 16px; border-radius: 8px; margin-bottom: 10px; background: var(--mist-2); border: 1px solid var(--line); }
.msg.staff { background: #f2f6fe; border-color: #cfdcf0; }
.msg-meta { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(14,31,58,.5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 90; }
.modal-backdrop.open { display: flex; }
.modal { background: #fff; border-radius: var(--r-lg); padding: 28px; max-width: 520px; width: 100%; }
