/* SkynetNode — light datasheet page, plans drawn as rack units.
   Ink navy plates on cool paper; cobalt is the only action colour;
   green / amber / red are reserved for status LEDs and badges. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }

:root {
  --ink: #0e1b2c;
  --ink-2: #17293f;
  --ink-3: #24384f;
  --paper: #f3f5f8;
  --white: #fff;
  --line: #d8dfe8;
  --steel: #56667a;
  --cobalt: #2447f9;
  --cobalt-d: #1634c4;
  --cobalt-tint: #e9edff;
  --green: #17a563;
  --amber: #d98a00;
  --red: #d23f37;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-d); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--cobalt); color: #fff; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); font-stretch: 116%; font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 18px; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-size: .94em; }
.muted { color: var(--steel); }
.right { text-align: right; }
.center { text-align: center; }
.kicker { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 16px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--steel); max-width: 60ch; margin: 18px 0 0; }
.fine { font-size: 14px; color: var(--steel); margin: 18px 0 0; }
.crumbs { font-size: 14px; color: var(--steel); margin: 0 0 18px; }
.crumbs a { color: var(--steel); }

/* ---- status LED ---- */
.led { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2fe08f; box-shadow: 0 0 0 3px rgba(47, 224, 143, .18), 0 0 10px rgba(47, 224, 143, .7); }
.led-amber { background: #ffb739; box-shadow: 0 0 0 3px rgba(255, 183, 57, .2), 0 0 10px rgba(255, 183, 57, .7); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 8px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cobalt-tint); color: var(--ink); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--steel); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--red); }

/* ---- header ---- */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.util { background: var(--ink); color: #b9c6d6; font-size: 13px; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.util-note { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.util nav { display: flex; align-items: center; gap: 20px; }
.util a, .util button { color: #dfe7f1; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.util a:hover, .util button:hover { color: #fff; text-decoration: underline; }
.util form { margin: 0; }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand b { color: var(--cobalt); font-weight: 700; }
.brand svg rect { fill: var(--ink); }
.brand svg .led { fill: #2fe08f; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 6px; }
.main-nav a:not(.btn):hover { background: var(--paper); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--cobalt); }
.nav-cta { margin-left: 12px; }
.nav-toggle, .nav-btn { display: none; }

.flash { font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.flash-ok { background: #e6f6ee; color: #0c5a36; }
.flash-error { background: #fdecea; color: #8c231d; }

/* ---- hero ---- */
.hero { padding: 76px 0 84px; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-stretch: 122%; font-weight: 800; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* the cabinet: product lines as faceplates */
.cabinet { background: var(--ink); border-radius: 14px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(14, 27, 44, .55); }
.cabinet-top { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #7f93ab; padding: 6px 10px 14px; }
.plate { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "led name from" "led kick from"; column-gap: 16px; row-gap: 4px; align-items: center; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; padding: 18px 20px 18px 34px; color: #fff; text-decoration: none; position: relative; transition: background .15s, border-color .15s, transform .15s; }
.plate + .plate { margin-top: 8px; }
.plate::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 8px; background: radial-gradient(circle at 4px 14px, #0a1422 3px, transparent 3.5px), radial-gradient(circle at 4px calc(100% - 14px), #0a1422 3px, transparent 3.5px); }
.plate:hover { background: var(--ink-3); border-color: #4b6587; color: #fff; transform: translateX(3px); }
.plate .led { grid-area: led; }
.plate-name { grid-area: name; font: 700 20px/1.1 var(--display); font-stretch: 116%; }
.plate-kicker { grid-area: kick; font: 400 12.5px/1.2 var(--mono); color: #8fa3bb; }
.plate-from { grid-area: from; font: 400 13px/1 var(--mono); color: #8fa3bb; text-align: right; }
.plate-from b { display: block; font: 700 24px/1.1 var(--display); font-stretch: 110%; color: #fff; margin: 3px 0; }

/* ---- facts strip ---- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 30px 26px 30px 0; }
.facts-grid > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.facts h2 { font-size: 17px; margin-bottom: 8px; }
.facts p { font-size: 14.5px; color: var(--steel); margin: 0; }

/* ---- bands ---- */
.band { padding: 80px 0; }
.band-flush { padding-top: 44px; }
.band-tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink .kicker { color: #8fb0ff; }
.band-ink .lede { color: #b9c6d6; margin-bottom: 28px; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.band-head .kicker { margin-bottom: 12px; }
.band-more { margin: 22px 0 0; color: var(--steel); font-size: 15px; }
.h-small { font-size: 20px; margin-bottom: 18px; }
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0 52px; }
.page-head-tight { padding: 32px 0 34px; }
.page-head-tight h1 { font-size: clamp(28px, 4vw, 40px); }
.narrow { max-width: 640px; margin: 0 auto; padding: 90px 24px; }
.narrow-wide { max-width: 860px; }
.narrow-wide h2 { margin-bottom: 22px; }

/* ---- term switch ---- */
.term { display: inline-flex; padding: 4px; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.term button { font: 600 14px/1 var(--body); color: var(--steel); background: none; border: 0; padding: 10px 14px; border-radius: 7px; cursor: pointer; }
.term button em { font: 500 12px/1 var(--mono); font-style: normal; color: var(--green); margin-left: 6px; }
.term button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.term button[aria-pressed="true"] em { color: #6ff0b3; }

/* ---- the rack ---- */
.rack { background: var(--ink); border-radius: 14px; padding: 10px; display: grid; gap: 8px; box-shadow: 0 30px 60px -34px rgba(14, 27, 44, .6); }
.unit { display: grid; grid-template-columns: 230px 1fr auto; gap: 24px; align-items: center; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; padding: 22px 24px 22px 38px; color: #fff; position: relative; }
.unit::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 8px; background: radial-gradient(circle at 4px 16px, #0a1422 3px, transparent 3.5px), radial-gradient(circle at 4px calc(100% - 16px), #0a1422 3px, transparent 3.5px); }
.unit-id { display: flex; align-items: flex-start; gap: 14px; }
.unit-id .led { margin-top: 7px; }
.unit-id h3 { font-size: 21px; color: #fff; }
.tag { display: inline-block; margin-top: 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: #8fb0ff; padding: 5px 7px; border-radius: 4px; }
.tag-quiet { background: transparent; color: #7f93ab; padding-left: 0; }
.unit-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.unit-specs > div { padding: 2px 16px; border-left: 1px solid var(--ink-3); min-width: 0; }
.unit-specs dt { font: 400 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #7f93ab; margin-bottom: 8px; }
.unit-specs dd { margin: 0; font: 500 15px/1.3 var(--mono); color: #eaf0f7; overflow-wrap: anywhere; }
.unit-buy { display: grid; grid-template-columns: auto auto; grid-template-areas: "price btn" "bill btn"; column-gap: 22px; align-items: center; text-align: right; }
.unit-price { grid-area: price; margin: 0; white-space: nowrap; }
.unit-price b { font: 800 30px/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.unit-price span { font: 400 13px/1 var(--mono); color: #8fa3bb; margin-left: 5px; }
.unit-bill { grid-area: bill; margin: 6px 0 0; font: 400 12px/1.2 var(--mono); color: #8fa3bb; white-space: nowrap; }
.unit-buy .btn { grid-area: btn; }

/* ---- content blocks ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li { padding: 18px 0; border-top: 1px solid var(--ink-3); color: #b9c6d6; font-size: 15.5px; }
.checks li:last-child { border-bottom: 1px solid var(--ink-3); }
.checks b { display: block; color: #fff; font: 700 17px/1.2 var(--display); font-stretch: 112%; margin-bottom: 4px; }
.steps { list-style: none; counter-reset: step; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 22px 0 0; font-size: 15px; color: var(--steel); }
.steps li::before { content: counter(step); display: block; font: 800 34px/1 var(--display); font-stretch: 120%; color: var(--cobalt); margin-bottom: 12px; }
.steps b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 30px; }
.points > div { padding: 22px 0; border-top: 1px solid var(--line); }
.points h3 { margin-bottom: 6px; }
.points p { margin: 0; color: var(--steel); font-size: 15.5px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); text-decoration: none; color: var(--ink); }
.other:hover { border-color: var(--cobalt); color: var(--ink); }
.other b { display: block; font: 700 18px/1.2 var(--display); font-stretch: 114%; }
.other span { font: 400 12.5px/1.3 var(--mono); color: var(--steel); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 26px/1 var(--mono); color: var(--cobalt); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 40px 20px 0; color: var(--steel); max-width: 70ch; }

.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #33445a; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---- footer ---- */
.site-foot { background: var(--ink); color: #9fb0c5; padding: 56px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-foot .brand { color: #fff; }
.site-foot .brand b { color: #8fb0ff; }
.site-foot .brand svg rect { fill: #fff; }
.site-foot .brand svg .led { fill: var(--green); }
.foot-brand p { margin: 16px 0 0; max-width: 34ch; }
.site-foot h2 { font: 500 12px/1 var(--mono); font-stretch: 100%; letter-spacing: .12em; text-transform: uppercase; color: #6f859f; margin-bottom: 16px; }
.foot-grid div > a:not(.brand) { display: block; color: #dfe7f1; text-decoration: none; padding: 5px 0; }
.foot-grid div > a:not(.brand):hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--ink-3); padding-top: 20px; padding-bottom: 24px; font-size: 13.5px; }

/* ---- forms ---- */
.form label, .field-label { display: block; font-weight: 600; font-size: 14.5px; margin: 18px 0 6px; }
.form label small { font-weight: 400; color: var(--steel); margin-left: 4px; }
.label-link { float: right; font-weight: 400; font-size: 13.5px; }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form input[type="date"], .form select, .form textarea, .inline-form select {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 13px;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus, .inline-form select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-tint); }
.form input:disabled { background: var(--paper); color: var(--steel); }
.form .btn { margin-top: 22px; }
.hint { font-size: 13.5px; color: var(--steel); margin: 6px 0 0; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 20px; }
.form .check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--cobalt); }
.form-error { background: #fdecea; color: #8c231d; border: 1px solid #f3c2bd; border-radius: 8px; padding: 11px 13px; font-size: 14.5px; margin: 0 0 6px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.inline-form select { width: auto; min-width: 240px; }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.choice legend { font-weight: 600; font-size: 14.5px; padding: 0; margin-bottom: 8px; }
.choice label { display: flex; gap: 12px; align-items: center; margin: 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 400; }
.choice label:has(input:checked) { border-color: var(--cobalt); background: var(--cobalt-tint); }
.choice input { width: 18px; height: 18px; accent-color: var(--cobalt); }
.choice b { display: block; font-size: 16px; }
.choice i { font: 400 13px/1.3 var(--mono); font-style: normal; color: var(--steel); }

.auth { padding: 64px 24px 90px; }
.auth-card { max-width: 440px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.auth-card h1 { font-size: 30px; }
.auth-intro { color: var(--steel); margin: 10px 0 18px; }
.auth-foot { margin: 22px 0 0; font-size: 14.5px; color: var(--steel); text-align: center; }

/* ---- cards, tables, badges ---- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.card h2 { font-size: 19px; margin-bottom: 14px; }
.card > .form-error { margin-bottom: 14px; }
.card.form > label:first-of-type, .card.form > fieldset:first-of-type { margin-top: 0; }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.summary h2 { font-size: 24px; }
.spec-list, .kv { margin: 16px 0 0; display: grid; }
.spec-list > div, .kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec-list dt, .kv dt { color: var(--steel); }
.spec-list dd, .kv dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.spec-list dd { font-family: var(--mono); font-size: 14px; }
.kv { margin-top: 0; }
.kv > div:first-child { border-top: 0; padding-top: 0; }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th.right, .table td.right { text-align: right; }
.row-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.row-title:hover { color: var(--cobalt); }
.sub { display: block; font-size: 13px; color: var(--steel); }

.badge { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1 var(--mono); padding: 6px 9px; border-radius: 999px; white-space: nowrap; background: #eef1f5; color: #44546a; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-green { background: #e3f5ec; color: #0c6b40; }
.badge-amber { background: #fdf1d9; color: #8a5600; }
.badge-red { background: #fde8e6; color: #9b2a23; }

.notice { border-radius: 10px; padding: 13px 16px; font-size: 15px; margin: 0 0 18px; border: 1px solid; }
.notice-green { background: #e6f6ee; border-color: #b4e2c9; color: #0c5a36; }
.notice-amber { background: #fdf4e1; border-color: #f1d9a3; color: #6f4500; }
.notice-red { background: #fdecea; border-color: #f3c2bd; color: #8c231d; }
.empty { background: var(--white); border: 1px dashed #b9c4d2; border-radius: 12px; padding: 40px 24px; text-align: center; }
.empty p { color: var(--steel); max-width: 44ch; margin: 0 auto 18px; }

/* ---- client panel ---- */
.in-panel .site-head { position: static; }
.panel { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 90px; align-items: start; }
.panel-nav { position: sticky; top: 24px; }
.panel-who { font: 500 12.5px/1.4 var(--mono); color: var(--steel); margin: 0 0 14px; overflow-wrap: anywhere; }
.panel-nav nav { display: grid; gap: 2px; margin-bottom: 20px; }
.panel-nav nav a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; }
.panel-nav nav a:hover { background: var(--white); }
.panel-nav nav a[aria-current="page"] { background: var(--white); border-left-color: var(--cobalt); color: var(--cobalt); }
.panel-main { min-width: 0; }
.panel-main h1 { font-size: 32px; margin-bottom: 24px; }
.panel-main > h2 { font-size: 20px; margin: 36px 0 14px; }
.panel-main > .card, .panel-main > .cols { margin-bottom: 18px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.title-row h1 { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.stats > * { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; text-decoration: none; color: var(--ink); }
.stats a:hover { border-color: var(--cobalt); }
.stats b { display: block; font: 800 34px/1 var(--display); font-stretch: 116%; }
.stats span { font-size: 14px; color: var(--steel); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cols-invoice { grid-template-columns: .8fr 1.2fr; }
.copyable { font: 500 14px/1.4 var(--mono); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; user-select: all; }
.notes { font: 400 13.5px/1.55 var(--mono); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0 0; }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); margin: 16px 0 18px; padding-top: 14px; }
.inv-total b { font: 800 26px/1 var(--display); font-stretch: 112%; }

/* payment box */
.coins { display: flex; flex-wrap: wrap; gap: 10px; }
.coin { font: 600 15px/1.2 var(--body); color: var(--ink); text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px; cursor: pointer; min-width: 136px; }
.coin small { display: block; margin-top: 3px; font: 400 12px/1 var(--mono); color: var(--steel); }
.coin:hover { border-color: var(--cobalt); }
.coin[aria-pressed="true"] { border-color: var(--cobalt); background: var(--cobalt-tint); }
.coin:disabled { opacity: .6; cursor: progress; }
#invoice-pay h2 { margin-top: 26px; }
.send { display: grid; grid-template-columns: 172px 1fr; gap: 22px; align-items: start; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; aspect-ratio: 1; }
.qr svg { display: block; width: 100%; height: 100%; }
.qr path { fill: var(--ink); }
.fields { min-width: 0; }
.fields .field-label:first-child { margin-top: 0; }
.copy { display: flex; gap: 8px; align-items: stretch; }
.copy code { flex: 1; min-width: 0; font: 500 14px/1.45 var(--mono); overflow-wrap: anywhere; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.copy button { font: 600 13px/1 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 0 14px; cursor: pointer; min-width: 78px; }
.copy button:hover { border-color: var(--cobalt); }
.waiting { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; color: var(--steel); font-size: 14.5px; }

/* tickets */
.thread { display: grid; gap: 12px; margin-bottom: 18px; }
.msg { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.msg-staff { border-left: 4px solid var(--cobalt); }
.msg header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; margin-bottom: 8px; }
.msg time { color: var(--steel); font-family: var(--mono); font-size: 12.5px; }
.msg-body { overflow-wrap: anywhere; }

/* ---- responsive ---- */
@media (max-width: 1040px) {
  .unit { grid-template-columns: 1fr auto; }
  .unit-specs { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--ink-3); padding-top: 16px; }
  .unit-specs > div:first-child { border-left: 0; padding-left: 0; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cols, .cols-invoice, .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .util-note { display: none; }
  .util .wrap { justify-content: flex-end; }
  .nav-btn { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .nav-btn span::before { position: absolute; top: -6px; }
  .nav-btn span::after { position: absolute; top: 6px; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 24px; margin: 0; }
  .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--cobalt); outline-offset: 2px; }
  .bar { flex-wrap: wrap; position: relative; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 4px 0 16px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a:not(.btn) { padding: 13px 4px; border-top: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 12px 0 0; }
  .site-head { position: static; }
  .panel { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .panel-nav { position: static; }
  .panel-nav nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; margin-bottom: 12px; }
  .panel-nav nav a { border-left: 0; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; }
  .panel-nav nav a[aria-current="page"] { border-bottom-color: var(--cobalt); }
  .panel-nav .btn-block, .panel-who { display: none; }
  .points, .others { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 52px; }
  .band { padding: 52px 0; }
  .band-flush { padding-top: 30px; }
  .unit { grid-template-columns: 1fr; gap: 16px; padding: 20px 18px 20px 34px; }
  .unit-specs { grid-template-columns: 1fr 1fr; gap: 14px 0; grid-row: auto; }
  .unit-specs > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .unit-buy { grid-template-columns: 1fr auto; text-align: left; border-top: 1px solid var(--ink-3); padding-top: 16px; }
  .plate { grid-template-columns: auto 1fr; grid-template-areas: "led name" "led kick" "led from"; }
  .plate-from { text-align: left; margin-top: 6px; }
  .plate-from b { display: inline; font-size: 20px; }
  .facts-grid, .steps, .stats { grid-template-columns: 1fr; }
  .facts-grid > div, .facts-grid > div + div { padding: 20px 0; border-left: 0; }
  .facts-grid > div + div { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .send { grid-template-columns: 1fr; }
  .qr { max-width: 200px; }
  .auth { padding: 28px 16px 60px; }
  .auth-card, .card { padding: 22px; }
  .inline-form select { min-width: 0; width: 100%; }
  .util nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .led-amber { animation: none; }
  .plate, .btn { transition: none; }
  .plate:hover { transform: none; }
}
