/* NETx License Portal (Paul 2026-11-09: "2 aber loginseite vom 5", "die controls in login rechteckig machen"): the pages in
   design B' of WebStudio5 - hairlines, 2 px corners, canvas #f4f6f7, white sidebar with a teal mark; the sign-in page
   split like "Split Vision" - the city line art on the left - with rectangular B' controls on the right.
   One palette, light and dark, logical properties only. */
:root {
  --accent: #1f7a6c; --accent-strong: #17665a; --accent-soft: #e9f3f1; --accent-ink: #ffffff;
  --canvas: #f4f6f7; --surface: #ffffff; --surface-2: #f8fafb; --line: #dfe4e7; --line-soft: #edf0f2; --field: #c9d1d6;
  --ink: #1f2328; --ink-2: #4a545b; --muted: #6a747b;
  --ok: #1f7a6c; --ok-bg: rgba(31,122,108,.12); --warn: #9a6800; --warn-bg: rgba(215,154,28,.16);
  --bad: #b42318; --bad-bg: rgba(196,43,28,.11); --off: #5f6b73; --off-bg: rgba(110,120,128,.14);
  --notice: #fff8e8; --notice-ink: #6e4b00; --critical: #fdecea; --critical-ink: #8a1c12;
  --art-from: #0f2027; --art-mid: #173a40; --art-to: #1f5d5b; --art-ink: #e6f3f1; --art-accent: #9fe0d2;
  --radius: 3px; --corner: 2px; --control: 28px; --control-sm: 24px; --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
  --mono: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #3fb8a9; --accent-strong: #63cbbd; --accent-soft: #15302d; --accent-ink: #06201c;
    --canvas: #0f1416; --surface: #161d20; --surface-2: #19221f; --line: #26323a; --line-soft: #1e282e;
    --ink: #e5ecee; --ink-2: #b8c4c9; --muted: #8b989e;
    --ok: #5fd3bd; --ok-bg: rgba(95,211,189,.14); --warn: #f0c766; --warn-bg: rgba(240,199,102,.14);
    --bad: #ff8f80; --bad-bg: rgba(255,143,128,.14); --off: #9db0b8; --off-bg: rgba(157,176,184,.14);
    --notice: #2a2416; --notice-ink: #f1d58b; --critical: #351a17; --critical-ink: #ffb4a9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #3fb8a9; --accent-strong: #63cbbd; --accent-soft: #15302d; --accent-ink: #06201c;
  --canvas: #0f1416; --surface: #161d20; --surface-2: #19221f; --line: #26323a; --line-soft: #1e282e;
  --ink: #e5ecee; --ink-2: #b8c4c9; --muted: #8b989e;
  --ok: #5fd3bd; --ok-bg: rgba(95,211,189,.14); --warn: #f0c766; --warn-bg: rgba(240,199,102,.14);
  --bad: #ff8f80; --bad-bg: rgba(255,143,128,.14); --off: #9db0b8; --off-bg: rgba(157,176,184,.14);
  --notice: #2a2416; --notice-ink: #f1d58b; --critical: #351a17; --critical-ink: #ffb4a9;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
/* The UI fonts of the scripts Segoe UI does not carry: Japanese, Chinese, Korean, Thai. */
:root:lang(ja) { --font: "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Noto Sans JP", sans-serif; }
:root:lang(zh) { --font: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif; }
:root:lang(ko) { --font: "Segoe UI Variable Text", "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
:root:lang(th) { --font: "Segoe UI Variable Text", "Segoe UI", "Leelawadee UI", "Noto Sans Thai", sans-serif; }
#app { min-height: 100vh; display: flex; flex-direction: column; } #app > * { flex: 1; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
svg.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: -.01em; }
/* Numbers, keys and links read left to right in every language, Arabic included. */
.mono, .key-text, .secret { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] td.mono, [dir="rtl"] .key-text, [dir="rtl"] .secret { text-align: right; }

/* ---- brand ---- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand .word { display: block; font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1.05; }
.brand .product { display: block; }
.brand .word b { color: var(--accent); font-weight: 700; }
.brand .product { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* ---- buttons and fields ---- */
.btn { height: var(--control); padding: 0 12px; border-radius: var(--corner); border: 1px solid var(--field); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn.danger { color: var(--bad); border-color: var(--bad); }
.btn.danger:hover { background: var(--bad); color: #fff; }
.btn.small { height: var(--control-sm); padding: 0 9px; font-size: 12.5px; }
.signin .btn { height: 36px; font-size: 14px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.input, select.input, textarea.input { width: 100%; height: var(--control); border: 1px solid var(--field); background: var(--surface);
  padding: 0 8px; border-radius: var(--corner); font-size: 13.5px; }
.signin .input { height: 34px; font-size: 14px; }
textarea.input { height: auto; min-height: 92px; padding: 6px 8px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.end { justify-content: flex-end; }
.grow { flex: 1; }
.hint { font-size: 12.5px; color: var(--muted); }
.error { color: var(--bad); font-size: 13px; min-height: 20px; margin: 6px 0 2px; }

/* ---- sign-in: split ---- */
.signin { min-height: 100%; display: grid; grid-template-columns: minmax(380px, 1.05fr) minmax(420px, 1fr); }
.signin .art { position: relative; overflow: hidden; padding: 44px 48px; color: var(--art-ink); display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, var(--art-from) 0%, var(--art-mid) 55%, var(--art-to) 100%); }
.signin .art .brand .word { color: #fff; } .signin .art .brand .word b { color: var(--art-accent); } .signin .art .brand .product { color: #a8cfc7; }
.signin .art .quote { position: relative; z-index: 1; font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; line-height: 1.28; max-width: 520px; margin-bottom: 26px; }
.signin .art .quote b { font-weight: 650; display: block; }
.signin .art .facts { position: relative; z-index: 1; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: #b9d8d2; margin-bottom: 236px; }
.signin .art .facts span { display: inline-flex; align-items: center; gap: 8px; }
.signin .art svg.city { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 210px; opacity: .55; }
.signin .art svg.honeycomb { position: absolute; inset-inline-end: -70px; top: -60px; width: 380px; height: 418px; opacity: .1; }
.signin .panel { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(28px, 6vw, 96px); background: var(--surface); }
.signin .panel .form { width: 100%; max-width: 360px; margin-inline: auto; }
.signin h1 { font-size: 28px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; }
.signin .lead { color: var(--ink-2); margin: 0 0 28px; }
.signin .alt-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0; }
.signin .alt-divider::before, .signin .alt-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.signin .foot { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); gap: 12px; }
.signin .foot select { border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.signin .qr { display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 8px 0 12px; }
.signin .qr svg { width: 196px; height: 196px; }
.signin .secret { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; word-break: break-all; padding: 8px 10px; background: var(--surface-2); border-radius: var(--corner); }
.banner { border-radius: var(--radius); padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid #d79a1c; color: var(--ink); }
.banner.critical { border-inline-start-color: var(--bad); }
.banner.info { border-inline-start-color: var(--accent); }

@media (max-width: 860px) { .signin { grid-template-columns: 1fr; } .signin .art { min-height: 220px; padding: 28px; } .signin .art .facts { margin-bottom: 90px; } .signin .art svg.city { height: 120px; } }

/* ---- app shell: B' sidebar ---- */
.shell { min-height: 100%; display: grid; grid-template-columns: 228px minmax(0, 1fr); grid-template-rows: 46px 1fr; }
.sidebar { grid-row: 1 / 3; background: var(--surface); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; padding: 14px 0;
  position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sidebar .brand { padding: 2px 16px 18px; }
.sidebar nav { display: flex; flex-direction: column; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 36px; color: var(--ink-2); text-decoration: none; font-size: 13.5px;
  border-inline-start: 3px solid transparent; }
.sidebar nav a:hover { background: var(--surface-2); color: var(--ink); }
.sidebar nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); border-inline-start-color: var(--accent); font-weight: 600; }
.sidebar .grow { flex: 1; }
.sidebar svg.honeycomb { position: absolute; inset-inline-start: -60px; bottom: -40px; width: 230px; height: 253px; opacity: .07; color: var(--accent); pointer-events: none; }
.sidebar > * { position: relative; z-index: 1; }
.topbar { display: flex; align-items: center; gap: 8px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar .company { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.topbar .tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 32px; height: 32px; border-radius: var(--corner); border: 1px solid transparent; background: transparent; display: grid; place-items: center;
  cursor: pointer; color: var(--ink-2); position: relative; }
.icon-btn:hover { border-color: var(--line); color: var(--accent); }
.icon-btn .badge { position: absolute; inset-inline-end: 1px; top: 1px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--bad); color: #fff;
  font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.me { display: flex; align-items: center; gap: 8px; padding: 2px 8px 2px 2px; border-radius: var(--corner); border: 1px solid transparent; background: transparent; cursor: pointer; }
.me:hover { border-color: var(--line); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.me .who { line-height: 1.15; font-size: 12.5px; text-align: start; } .me .who small { display: block; color: var(--muted); font-size: 11.5px; }
.menu { position: absolute; inset-inline-end: 16px; top: 44px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16,24,32,.12); padding: 4px; z-index: 20; }
.menu button, .menu a { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; background: transparent; border-radius: var(--corner);
  cursor: pointer; text-align: start; text-decoration: none; color: var(--ink); font-size: 13.5px; }
.menu button:hover, .menu a:hover { background: var(--surface-2); color: var(--accent); }
.menu hr { border: 0; border-top: 1px solid var(--line-soft); margin: 4px; }

/* ---- the emergency console (NETx operators, loopback only) ---- */
.tag-local { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--bad); }
.tag-local .icon { width: 14px; height: 14px; }
.topbar .tag-local { margin-inline-start: 14px; padding: 2px 8px; border: 1px solid var(--bad); border-radius: var(--corner); }
.signin.console .art { background: linear-gradient(160deg, #1b1f24 0%, #2a2326 55%, #4a2a26 100%); }
.signin.console .art .quote b { color: #f3b7ad; }
.card > header .grow { flex: 1; }
.check-row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check-row input { margin-top: 3px; accent-color: var(--accent); }
.check-row small { display: block; margin-top: 2px; }

/* ---- pages ---- */
main.page { padding: 18px clamp(16px, 2.4vw, 32px) 48px; width: 100%; position: relative; min-width: 0; }
.page-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.page-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.page-head .actions { margin-inline-start: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; }
.kpi .l { font-size: 12px; color: var(--muted); } .kpi .v { font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin-top: 1px; } .kpi .s { font-size: 12px; color: var(--ink-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card > header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.card > header h3 { margin: 0; font-size: 15px; font-weight: 600; }
.card > .body { padding: 16px 18px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; height: var(--control); padding: 0 8px; border: 1px solid var(--field); border-radius: var(--corner); background: var(--surface); min-width: 260px; }
.search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; }
.select { height: var(--control); border: 1px solid var(--field); border-radius: var(--corner); background: var(--surface); padding: 0 8px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); }
table.data th { text-align: start; font-weight: 600; font-size: 12px; color: var(--ink-2); background: var(--surface-2); height: 30px; padding: 0 10px;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tbody tr { cursor: pointer; } table.data tbody tr:hover { background: var(--surface-2); }
table.data tr.static { cursor: default; }
.scroll { overflow-x: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.off { background: var(--off-bg); color: var(--off); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 8px; }
dl.facts { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 8px 16px; margin: 0; font-size: 13.5px; }
dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; } .timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.timeline time { color: var(--muted); }
.notice-list .notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); }
.notice-list .notice.warning { border-inline-start-color: #d79a1c; } .notice-list .notice.critical { border-inline-start-color: var(--bad); }
.notice-list .notice h4 { margin: 0 0 2px; font-size: 14px; } .notice-list .notice p { margin: 0; white-space: pre-line; color: var(--ink-2); font-size: 13px; }
.key-text { font-family: var(--mono); font-size: 15px; letter-spacing: .04em; padding: 10px 12px; background: var(--surface-2); border: 1px dashed var(--field); border-radius: var(--corner); user-select: all; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.checks label { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--corner); cursor: pointer; }
.watermark { display: none; position: fixed; inset-inline-end: -60px; bottom: -70px; width: 320px; height: 352px; opacity: .05; pointer-events: none; color: var(--accent); z-index: 0; }
main.page > * { position: relative; z-index: 1; }

/* ---- dialogs and toasts ---- */
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(16,24,32,.28); }
dialog::backdrop { background: rgba(15,32,39,.45); backdrop-filter: blur(2px); }
dialog > header { padding: 18px 22px 0; } dialog > header h3 { margin: 0; font-size: 16px; font-weight: 600; }
dialog > .body { padding: 14px 22px 4px; max-height: min(70vh, 640px); overflow: auto; }
dialog > footer { padding: 12px 22px 20px; display: flex; justify-content: flex-end; gap: 8px; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(760px, 100vw); background: var(--surface); border-inline-start: 1px solid var(--line); box-shadow: -20px 0 50px rgba(16,24,32,.12); z-index: 15; display: flex; flex-direction: column; }
.drawer > header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer > header h3 { margin: 0; font-size: 17px; } .drawer > .body { padding: 18px 22px 40px; overflow: auto; flex: 1; }
.drawer section { margin-bottom: 24px; } .drawer section h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.toasts { position: fixed; inset-inline-end: 20px; bottom: 20px; display: grid; gap: 8px; z-index: 40; }
.toast { background: var(--ink); color: var(--canvas); padding: 10px 14px; border-radius: var(--radius); font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.2); max-width: 420px; }
.toast.error { background: var(--bad); color: #fff; }
@media (max-width: 860px) { .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 46px 1fr; } .sidebar { position: static; height: auto; grid-row: auto; flex-direction: row; flex-wrap: wrap; padding: 0; overflow: visible; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .topbar { top: 0; }
  .sidebar .brand { padding: 10px 12px 6px; flex: 1 1 100%; } .sidebar nav { flex-direction: row; overflow-x: auto; flex: 1 1 100%; scrollbar-width: none; } .sidebar nav.lower { display: none; } .sidebar nav a { border-inline-start: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .sidebar nav a[aria-current="page"] { border-bottom-color: var(--accent); } .sidebar .grow, .sidebar svg.honeycomb { display: none; } }
table.data small.narrow { display: none; }
.cell-actions { display: flex; gap: 6px; justify-content: flex-end; }
.card + .card, .card + .grid2, .grid2 + .card, .kpis + .card { margin-top: 16px; }
.grid2 > .card { margin-top: 0; }
.input:disabled, .select:disabled { background: var(--surface-2); color: var(--muted); }
@media (max-width: 720px) { table.data .wide { display: none; } table.data th, table.data td { padding-inline: 7px; } table.data .mono { font-size: 12px; letter-spacing: -.02em; } table.data small.narrow { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
  .page-head .actions { margin-inline-start: 0; width: 100%; } .search { min-width: 0; flex: 1 1 100%; } .toolbar .select { flex: 1 1 0; min-width: 0; } }
@media (max-width: 720px) { .topbar { padding: 0 12px; } .me .who { display: none; } dl.facts { grid-template-columns: 1fr; } .timeline li { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .drawer { animation: slide .18s ease-out; } @keyframes slide { from { transform: translateX(24px); opacity: .6; } } [dir="rtl"] .drawer { animation: none; } }
/* Online activation (Paul 2026-11-09): one request, one card - mobile first, because the technician approves on the phone. */
a.banner.waiting { border-inline-start-color: var(--warn); background: var(--warn-bg); color: var(--ink); text-decoration: none; align-items: center; }
a.banner.waiting > div { flex: 1; min-width: 0; }
a.banner.waiting .btn { flex: 0 0 auto; }
.banner.ok { border-inline-start-color: var(--ok); background: var(--ok-bg); }
.activation-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.activation-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px 16px; align-items: center; padding: 12px 15px; color: var(--ink); text-decoration: none; }
.activation-row:hover { border-color: var(--accent); }
.activation-card { max-width: 560px; margin: 0 auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.activation-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.activation-left { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.activation-facts { font-size: 14px; }
.activation-facts dd { overflow-wrap: anywhere; }
.activation-form { display: flex; flex-direction: column; gap: 8px; }
.code-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.code-input { height: 58px; font: 700 30px/1 var(--mono); letter-spacing: .14em; text-align: center; text-transform: uppercase;
  border: 1px solid var(--field); border-radius: var(--corner); background: var(--surface); color: var(--ink); direction: ltr; }
.code-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.code-error { margin: 0; color: var(--bad); font-weight: 600; }
.big-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.btn.big { height: 48px; font-size: 15px; }
.file-pick { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
@media (max-width: 720px) {
  .activation-card { padding: 14px; border-radius: 0; border-inline: 0; }
  .activation-row { grid-template-columns: 1fr auto; }
  .activation-row .hint { grid-column: 1; }
  .big-actions { grid-template-columns: 1fr; }
  .big-actions [data-approve] { order: -1; }
  .code-input { height: 64px; font-size: 34px; }
}
