/* miliWat: magenta brand, ink black, Archivo. Dense B2B layout: scan a price list, click a row for detail. */
:root {
  --brand: #C62A5C; --brand-dark: #A8244E; --brand-soft: #FBE4EC; --brand-tint: #FDF4F7;
  --ink: #141414; --muted: #5C5560; --paper: #FFFFFF; --sand: #FAF6F7; --line: #E8DEE3; --line-strong: #CBB9C1;
  --green: #1F7A48; --green-soft: #E3F3E9; --red: #B3261E; --amber: #8A5A00; --amber-soft: #FBF0D8;
  --r: 10px; --pill: 999px;
  /* Inter for every number and table cell (its tabular figures line up); Archivo only for display type. */
  --font: Inter, "Helvetica Neue", Arial, sans-serif; --display: Archivo, Inter, Arial, sans-serif; --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  --max: 1320px; --gutter: 20px; --head-h: 84px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--paper); line-height: 1.45; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
table, .num, .row, .rows-head, .breaks, .kv, .paper { font-variant-numeric: tabular-nums; }
h1.display, .pagehead h1, .p-info h1, h2.title, .logo, .badge-price .num, .card .power, .pricenow .v, .page-narrow h1, .login-card h1, .cat-card .t { font-family: var(--display); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border-radius: var(--r); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.btn:hover { background: var(--sand); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-lg { min-height: 48px; padding: 0 24px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn .spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* forms */
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 40px; border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 8px 11px; font-weight: 500; font-size: 15px; background: var(--paper); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { min-height: 84px; resize: vertical; }
.field .err { color: var(--red); font-size: 12px; font-weight: 700; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.help { font-size: 13px; font-weight: 500; color: var(--muted); }
.alert { border-radius: var(--r); padding: 12px 15px; font-size: 14px; font-weight: 600; }
.alert-ok { background: var(--brand-soft); border: 1.5px solid var(--brand); }
.alert-err { background: #FDECEA; border: 1.5px solid var(--red); color: var(--red); }

/* header */
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.site-head { position: sticky; top: 0; z-index: 20; }
.nav { border-bottom: 1.5px solid var(--line-strong); background: var(--paper); }
.nav .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 23px; letter-spacing: -.6px; }
.logo b { font-weight: 900; } .logo > span:last-child > span { font-weight: 600; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14.5px; font-weight: 600; }
.menu a { text-decoration: none; padding: 5px 0; border-bottom: 2.5px solid transparent; }
.menu a:hover { color: var(--brand); }
.menu a.active { border-bottom-color: var(--brand); color: var(--brand); }
.nav-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .menu { display: none; width: 100%; flex-direction: column; gap: 0; padding: 4px 0; }
  .menu.open { display: flex; }
  .menu a { padding: 11px 2px; border-bottom: 1px solid var(--line); }
}

/* home hero: compact, informative */
.hero { background: var(--brand-tint); border-bottom: 1.5px solid var(--line); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { font-weight: 700; font-size: 11.5px; letter-spacing: .6px; padding: 5px 9px; border-radius: 5px; background: var(--ink); color: #fff; }
.tag-brand { background: var(--brand); }
.tag-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
h1.display { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; font-weight: 900; letter-spacing: -1.2px; max-width: 16ch; }
.lead { margin: 0; font-size: 16px; font-weight: 500; max-width: 62ch; color: var(--muted); }
.hero-art { flex: 0 1 380px; min-width: 0; display: flex; align-items: center; gap: 18px; }
.hero-art img { width: 150px; height: 238px; object-fit: contain; border-radius: 4px; }
.badge-price { width: 168px; height: 168px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.badge-price .from { font-size: 12px; font-weight: 700; opacity: .85; }
.badge-price .num { font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -1.5px; }
.badge-price .unit { font-size: 17px; font-weight: 800; }
.badge-price .note { font-size: 11px; font-weight: 600; margin-top: 4px; opacity: .85; text-align: center; padding: 0 12px; }
@media (max-width: 700px) { .hero-art { display: none; } }

/* stats + warehouse strip */
.strip { background: var(--ink); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding-top: 11px; padding-bottom: 11px; font-size: 13.5px; font-weight: 600; }
.strip .k { font-size: 11px; font-weight: 800; letter-spacing: .8px; color: var(--brand-soft); }
.strip b { font-weight: 800; }

/* sections */
.section { padding: 40px 0 8px; }
.section-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.eyebrow { margin: 0 0 4px; font-weight: 800; letter-spacing: .8px; font-size: 11.5px; color: var(--brand); }
h2.title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* deal card (home) */
.card { border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--paper); text-decoration: none; position: relative; }
.card:hover { border-color: var(--brand); }
.card .brand { font-size: 12px; font-weight: 700; color: var(--muted); }
.card .power { font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.card .model { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.card .stock { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.promo { position: absolute; top: 10px; right: 10px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 3px 7px; border-radius: 4px; }
.pricebox { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; border-top: 1.5px solid var(--line); padding-top: 8px; }
.pricebox .p { font-size: 22px; font-weight: 900; letter-spacing: -.5px; color: var(--brand); }
.pricebox .u { font-size: 12px; font-weight: 700; color: var(--muted); }
.pricebox .pc { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }

/* category links */
.cat-card { border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 5px; text-decoration: none; background: var(--paper); }
.cat-card:hover { border-color: var(--brand); }
.cat-card .t { font-size: 18px; font-weight: 800; }
.cat-card .d { font-size: 13px; font-weight: 500; color: var(--muted); }
.cat-card .go { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--brand); }

/* steps, reviews, cta */
.steps { background: var(--sand); padding: 36px 0; margin-top: 36px; }
.step { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.step .t { font-size: 16px; font-weight: 800; }
.step span:last-child { font-size: 13.5px; color: var(--muted); }
.review { border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: 15px; font-weight: 500; }
.review .who { margin-top: auto; font-weight: 800; font-size: 14px; }
.review .src { font-size: 12px; font-weight: 600; color: var(--muted); }
.stars { display: flex; gap: 2px; }
.rating { display: flex; align-items: center; gap: 10px; background: var(--brand-soft); border-radius: var(--r); padding: 9px 14px; }
.rating .big { font-size: 26px; font-weight: 900; color: var(--brand); }
.rating .s { font-size: 12px; font-weight: 600; line-height: 1.3; }
.cta { background: var(--brand-tint); border-top: 1.5px solid var(--line); margin-top: 40px; padding: 36px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cta .copy { flex: 1 1 340px; }
.cta .copy ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.cta form { flex: 1 1 460px; background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
footer { background: var(--ink); color: #fff; padding: 32px 0; margin-top: 40px; }
footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; font-size: 13.5px; line-height: 1.7; }
footer .h { font-weight: 800; color: var(--brand-soft); margin-bottom: 4px; font-size: 12px; letter-spacing: .5px; }
footer a { color: #fff; }

/* page head */
.pagehead { background: var(--sand); border-bottom: 1.5px solid var(--line); }
.pagehead .wrap { padding-top: 18px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; }
.pagehead h1 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.8px; }
.crumbs { margin: 0 0 3px; font-size: 12px; font-weight: 600; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--brand); }
.searchbox { min-height: 40px; border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 0 12px; min-width: 230px; }

/* catalog: dense table-like rows */
.catalog { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; padding: 16px 0 50px; }
.filters { flex: 1 1 210px; max-width: 250px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--head-h) + 10px); }
.filters .fg { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.filters .k { margin: 0 0 7px; font-size: 11px; font-weight: 800; letter-spacing: .7px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { min-height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-weight: 600; font-size: 12.5px; background: var(--paper); cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; min-height: 28px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.results { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.notice { border-radius: var(--r); padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 500; }
.notice.dark { background: var(--ink); color: #fff; } .notice.dark a { color: var(--brand-soft); font-weight: 700; }
.notice.soft { background: var(--brand-soft); border: 1px solid var(--brand); }
.resbar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.resbar select { min-height: 34px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 0 8px; font-size: 13px; font-weight: 600; }

.rows { border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.rows-head { border-radius: 9px 9px 0 0; }
.rows .row:last-child { border-radius: 0 0 9px 9px; }
.rows-head { display: grid; grid-template-columns: var(--cols); gap: 12px; padding: 7px 14px; background: var(--sand); border-bottom: 1.5px solid var(--line-strong); font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: var(--muted); position: sticky; top: var(--head-h); z-index: 5; }
.rows-head .r, .row .r { text-align: right; }
.row .nml { text-decoration: none; }
.row .nml:hover { color: var(--brand); text-decoration: underline; }
.row .ds { font-size: 11px; font-weight: 800; letter-spacing: .3px; color: var(--muted); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 5px; padding: 3px 6px; line-height: 1; }
.row .ds:hover { color: var(--brand); border-color: var(--brand); }
.row .ds { min-width: 34px; text-align: center; }
.row .ds.off { border-style: dashed; opacity: .45; cursor: default; }
.row { cursor: pointer; display: grid; grid-template-columns: var(--cols); gap: 12px; padding: 6px 14px; border-top: 1px solid var(--line); align-items: center; text-decoration: none; background: var(--paper); line-height: 1.3; }
.rows .row:nth-child(2n) { background: var(--sand); }
.row:hover, .rows .row:nth-child(2n):hover { background: var(--brand-tint); }
.rows { --cols: minmax(0, 2.4fr) 112px minmax(0, 1.4fr) 100px 112px; }
.rows.w { --cols: minmax(0, 2.6fr) 62px minmax(0, 1.7fr) 100px 112px; }
.row .nm { min-width: 0; }
.row .nm b { font-size: 13.5px; font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .nm small { font-size: 11px; color: var(--muted); font-family: var(--mono); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .pw { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .av { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .av .st { color: var(--ink); font-weight: 700; }
.row .av .dot.eta ~ .st { color: var(--amber); }
.row .av .dot.order ~ .st { color: var(--muted); font-weight: 600; }
.row .av .sd { color: var(--muted); }
.row .pr { text-align: right; line-height: 1.2; }
.row .pr b { font-size: 15px; font-weight: 800; color: var(--brand); display: block; letter-spacing: -.2px; }
.row .pr small { font-size: 10.5px; color: var(--muted); }
.row .ac { display: flex; justify-content: flex-end; gap: 6px; }
.btn.add { min-height: 28px; padding: 0 10px; font-size: 12px; border-width: 1px; border-color: var(--line-strong); background: var(--paper); color: var(--brand); font-weight: 700; }
.btn.add:hover { border-color: var(--brand); background: var(--brand-soft); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.dot.now { background: var(--green); } .dot.eta { background: var(--amber); } .dot.order { background: var(--muted); }
@media (max-width: 900px) {
  .filters { position: static; max-width: none; flex-basis: 100%; }
  .rows { --cols: minmax(0, 1fr) auto; }
  .rows-head { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 3px; padding: 9px 13px; }
  .row .pw { grid-row: 2; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .row .av { grid-row: 3; grid-column: 1 / -1; white-space: normal; }
  .row .pr { grid-row: 1; grid-column: 2; }
  .row .ac { grid-row: 2 / 4; grid-column: 2; align-items: center; }
}
.empty { padding: 36px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--r); }
.empty h2 { margin: 0 0 6px; font-size: 18px; }
.skeleton { height: 44px; border-radius: 8px; background: linear-gradient(90deg, var(--sand), #fff, var(--sand)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton, .spin { animation: none; } }

/* product detail */
.product { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 20px 0 32px; }
.p-art { flex: 0 1 280px; min-width: 0; background: var(--sand); border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 300px; position: relative; }
.p-art img { max-height: 320px; width: auto; }
.p-art .ph { color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.p-info { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.p-info h1 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.p-info .sub { font-size: 14px; font-weight: 700; color: var(--muted); }
.p-info .model { font-family: var(--mono); font-size: 13.5px; font-weight: 500; }
.specs { display: flex; flex-wrap: wrap; gap: 5px; }
.spec { border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 9px; font-weight: 600; font-size: 12.5px; background: var(--sand); }
.pricepanel { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 14px; }
.pricenow { flex: 0 0 auto; }
.pricenow .v { font-size: 34px; font-weight: 900; color: var(--brand); letter-spacing: -1px; line-height: 1; }
.pricenow .u { font-size: 13px; font-weight: 700; color: var(--muted); }
.pricenow .pc { font-size: 13px; font-weight: 600; margin-top: 3px; }
.breaks { flex: 1 1 240px; min-width: 0; font-size: 13px; }
.breaks div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.breaks div:first-child { border-top: 0; font-weight: 800; font-size: 11px; letter-spacing: .5px; color: var(--muted); }
.breaks b { font-weight: 800; }
.orderbox { border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--sand); }
.orderbox .r { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.orderbox .sum { flex: 1 1 180px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.tablebox { overflow-x: auto; border: 1.5px solid var(--line-strong); border-radius: var(--r); }
table.t { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; padding: 9px 13px; background: var(--sand); font-weight: 800; font-size: 11.5px; letter-spacing: .4px; color: var(--muted); border-bottom: 1.5px solid var(--line-strong); }
table.t td { padding: 9px 13px; border-top: 1px solid var(--line); }
table.t td.r, table.t th.r { text-align: right; }
.dl a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; border-top: 1px solid var(--line); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.dl a:first-child { border-top: 0; }
.dl a:hover { color: var(--brand); }
.panel { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; }
.panel h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding-bottom: 40px; }

/* cart, toast */
.cart-line { display: grid; grid-template-columns: 1fr 96px auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cart-line input { min-height: 38px; border: 1.5px solid var(--line-strong); border-radius: 7px; padding: 0 9px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); font-weight: 700; font-size: 13.5px; z-index: 50; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* dealer portal */
.portal { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; padding: 20px 0 50px; }
.portal-side { flex: 1 1 330px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.portal-main { flex: 1.5 1 480px; min-width: 0; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 36px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--paper); font-weight: 800; font-size: 17px; cursor: pointer; }
.stepper button:hover { border-color: var(--brand); color: var(--brand); }
.stepper .v { min-width: 112px; text-align: center; background: var(--brand); color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 15px; font-weight: 800; }
.seg { display: flex; gap: 3px; background: var(--sand); border-radius: 8px; padding: 3px; }
.seg button { flex: 1; min-height: 36px; border: 0; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; background: transparent; }
.seg button.on { background: var(--brand); color: #fff; }
.paper { background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--r); box-shadow: 0 10px 30px rgba(20,20,20,.07); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.paper .ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.paper table { width: 100%; border-collapse: collapse; font-size: 12px; }
.paper th { text-align: left; background: var(--sand); padding: 5px 6px; font-weight: 800; font-size: 10.5px; letter-spacing: .4px; }
.paper td { padding: 5px 6px; border-top: 1px solid var(--line); }
.paper td.r, .paper th.r { text-align: right; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.kv span:first-child { color: var(--muted); font-weight: 500; } .kv span:last-child { font-weight: 700; text-align: right; }
.status { display: inline-block; padding: 2px 8px; border-radius: 5px; font-weight: 700; font-size: 11.5px; background: var(--sand); border: 1px solid var(--line-strong); }
.status.ok { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.status.done { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.status.warn { background: #FDECEA; border-color: var(--red); color: var(--red); }
.login-card { max-width: 420px; margin: 40px auto 60px; border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.login-card h1 { margin: 0; font-size: 24px; font-weight: 900; }
.page-narrow { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 60px; }
.page-narrow h1 { font-size: 28px; font-weight: 900; letter-spacing: -.7px; margin: 0 0 12px; }
.page-narrow h2 { font-size: 17px; margin: 22px 0 6px; }
.page-narrow p, .page-narrow li { font-size: 14.5px; color: var(--muted); }
.page-narrow table.t { margin: 8px 0; }
