@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* colours of the insight design, ins-light and ins-dark. the logo is the design's svg:
   #141A21 or #F2F2FA and #5786FF. every blue is exactly the logo's #5786FF, buttons and text
   too, Holger's call: white on it is 3.36:1 and it is 2.83:1 as text on the light page */
:root {
  --bg: #14181D; --surface: #1A1E24; --chrome: #1A1E24; --inset: #242930;
  --text: #F2F2F9; --strong: #F2F2F9; --muted: #9197AE; --line: #252930; --line-strong: #2F333D;
  --accent: #5786FF; --accent-text: #5786FF; --accent-soft: #1C2A4D; --accent-line: #5786FF;
  --logo: #F2F2FA; --logo-sub: #5786FF;
  --banner: #1A2440; --banner-line: #2E4A8C; --info: #13324A; --info-line: #2C6A94;
  --them: #FF9A3D;
  --ok: #3DDC97; --warn: #FFB547; --bad: #FF6B85; --bad-soft: rgba(255,107,133,0.1); --bad-line: rgba(255,107,133,0.5);
  --lv1: #3DDC97; --lv2: #F2C94C; --lv3: #F5A25D; --lv4: #FF6B85;
  --chip: #252930; --overlay: rgba(6,5,12,0.7); --shadow: 0 8px 30px rgba(0,0,0,0.4); --card-shadow: none;
  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 14px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #EAEBF4; --surface: #F6F6FB; --chrome: #F6F6FB; --inset: #FAFAFD;
  --text: #151A20; --strong: #151A20; --muted: #63687C; --line: #E5E6EC; --line-strong: #DCDDE3;
  --accent: #5786FF; --accent-text: #5786FF; --accent-soft: #E4ECFF; --accent-line: #5786FF;
  --logo: #141A21;
  --banner: #EDF2FF; --banner-line: #C2D3FF; --info: #DAEBF6; --info-line: #93C2E2;
  --them: #E07A12;
  --ok: #0B7049; --warn: #8C5200; --bad: #BE2A46; --bad-soft: rgba(190,42,70,0.07); --bad-line: rgba(190,42,70,0.45);
  --lv1: #25A36D; --lv2: #D9A507; --lv3: #E8883E; --lv4: #D0364F;
  --chip: #EAEBF4; --overlay: rgba(22,21,31,0.38); --shadow: 0 8px 30px rgba(22,21,31,0.18);
  --card-shadow: 0 1px 2px rgba(22,21,31,0.06), 0 3px 10px rgba(22,21,31,0.05);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--strong); }
h1 { font-size: 28px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
code, .mono { font-family: var(--mono); font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grow { flex: 1; }
.stack > * + * { margin-top: 12px; }

/* shell */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; height: 64px;
  padding: 0 28px; border-bottom: 1px solid var(--line); background: var(--chrome);
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { height: 24px; width: auto; display: block; flex: none; }
.brand .logo-iagon { fill: var(--logo); }
.brand .logo-insight { fill: var(--logo-sub); }
.brand small { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; }
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - 64px); }
.side { background: var(--chrome); border-right: 1px solid var(--line); padding: 20px 14px; }
.side a {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600;
  position: relative; margin-bottom: 4px;
}
.side a:hover { color: var(--strong); background: var(--chip); text-decoration: none; }
.side a.on { color: var(--strong); background: var(--chip); }
.side a.on svg { color: var(--accent-line); }
.side a.on::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 2px; background: var(--accent-line); }
.side svg { width: 18px; height: 18px; flex: none; }
.shell > nav + div { min-width: 0; max-width: 1280px; padding: 28px 40px; }
main { min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: flex; overflow-x: auto; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .side a { white-space: nowrap; margin-bottom: 0; }
  .side a.on::before { display: none; }
  .shell > nav + div { padding: 20px 16px; }
}

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--card-shadow); }
.card + .card { margin-top: 16px; }
.card h2 { margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cards > .card + .card { margin-top: 0; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat .value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; color: var(--strong); }
.stat .hint { color: var(--muted); font-size: 13px; margin-top: 2px; }
.bar { height: 8px; border-radius: 99px; background: var(--inset); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.bar.lv1 i { background: var(--lv1); } .bar.lv2 i { background: var(--lv2); } .bar.lv3 i { background: var(--lv3); } .bar.lv4 i { background: var(--lv4); }
.banner {
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 1px solid var(--banner-line); background: var(--banner); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px;
}
.banner.bad { border-color: var(--bad-line); background: var(--bad-soft); }
.promo-offer { margin-bottom: 20px; }
.promo-offer h2 { margin: 10px 0 4px; }
.promo-offer p { margin: 0; }
.banner.warn { border-color: color-mix(in srgb, var(--lv3) 60%, transparent); background: color-mix(in srgb, var(--lv3) 14%, transparent); }

/* controls */
button, .btn {
  font: inherit; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 9px 16px; cursor: pointer;
  border: 1px solid transparent; background: var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 8px;
}
button svg, .btn svg { width: 18px; height: 18px; flex: none; }
button:hover, .btn:hover { filter: brightness(1.1); text-decoration: none; }
button:not(.ghost):not(.danger):not(.link):not(.icon):not(.chip):not(.x):not(.lp-up):hover, .btn:not(.ghost):hover { filter: none; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 45%, transparent); }
button:disabled { opacity: 0.5; cursor: default; filter: none; }
button.ghost, .btn.ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
button.danger { background: transparent; border-color: var(--bad-line); color: var(--bad); }
button.link { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 600; }
button.icon { padding: 8px; background: var(--surface); border-color: var(--line); color: var(--muted); border-radius: 10px; }
button.icon svg { width: 18px; height: 18px; display: block; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--inset); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 9px 12px; width: 100%;
}
textarea { font-family: var(--mono); font-size: 13px; min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=checkbox] { appearance: none; width: 16px; height: 16px; padding: 0; margin: 0; flex: none; border-radius: 4px; border: 1.5px solid var(--line-strong);
  background: var(--surface); display: inline-grid; place-content: center; cursor: pointer; vertical-align: middle; }
input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
input[type=checkbox]:checked::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
input[type=checkbox]:disabled { opacity: 0.45; cursor: default; }
input[type=checkbox]:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
.secret { cursor: pointer; border-bottom: 1px dashed currentColor; }
.masked { position: relative; }
.masked > span:first-child { visibility: hidden; }
.stars { display: none; }
.masked > .stars { display: block; position: absolute; inset: 0; overflow: hidden; white-space: nowrap; letter-spacing: 0.08em; }
.secret:hover, .secret:focus-visible { color: var(--accent-text); outline: none; }
input[type=color] { padding: 2px; width: 44px; height: 38px; }
input[type=range] { padding: 0; accent-color: var(--accent); }
.field { display: block; }
.field > span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field > small { display: block; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: center; }
.err { color: var(--bad); font-weight: 600; min-height: 1em; }
.rights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 20px; }
.rights-group > * + * { margin-top: 6px; }
.rights-group strong { display: block; font-size: 13px; }
.top select.switch { width: auto; max-width: 340px; padding: 6px 10px; font-size: 14px; }
.okmsg { color: var(--ok); font-weight: 600; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; white-space: nowrap; }
th.sort { cursor: pointer; } th.sort:hover { color: var(--strong); }
tr.dim td { opacity: 0.5; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td code { padding: 3px 7px; border-radius: 6px; background: var(--chip); color: var(--accent-text); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
  background: var(--chip); border: 1px solid var(--line); white-space: nowrap;
}
.chip i { width: 8px; height: 8px; border-radius: 99px; display: block; }
button.chip { font-size: 12px; padding: 3px 10px; color: var(--text); }
button.chip.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--strong); }
.badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.badge.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.badge.bad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
/* colours mean the same everywhere. buttons: solid is the main action, red outline removes,
   stops or cannot be undone. badges and banners: green runs or is done, orange waits for
   someone, red is over or stopped, grey is plain, purple outline marks something */
.badge.mark { border: 1px solid var(--accent-line); color: var(--accent-text); }
.promo .card > .badge.mark:first-child { display: inline-block; margin-bottom: 10px; }
.empty { text-align: center; color: var(--muted); padding: 36px 12px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: var(--overlay); backdrop-filter: blur(3px); }
.modal .card { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow); }
.modal.wide .card { width: min(760px, 100%); }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.modal-head h2 { margin: 0; }
.confirm-word { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 12px;
  border-radius: 10px; background: var(--inset); border: 1px dashed var(--accent-line); }
.confirm-word code { font-size: 14px; color: var(--accent-text); word-break: break-all; }
.impact { border: 1px solid var(--bad-line); background: var(--bad-soft); border-radius: 10px; padding: 4px 10px; }
.impact td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.impact tr:last-child td { border-bottom: 0; }
tr.soon td { background: color-mix(in srgb, var(--lv2) 16%, transparent); }
tr.last td { background: color-mix(in srgb, var(--bad) 12%, transparent); }
.limit-facts td:first-child { width: 200px; white-space: nowrap; }
.danger-zone { border-color: var(--bad-line); }
.danger-row { padding: 14px 0; border-top: 1px solid var(--line); }
.danger-row:first-of-type { border-top: 0; }
.banner.view-as { border-color: var(--info-line); background: var(--info); }
.tags {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; min-height: 42px; cursor: text;
  background: var(--inset); border: 1px solid var(--line-strong); border-radius: 10px;
}
.tags:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.tags input { flex: 1; min-width: 140px; width: auto; border: 0; padding: 3px 4px; background: transparent; box-shadow: none; }
.tags input:focus { box-shadow: none; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px 2px 10px; border-radius: 8px; font-size: 13px;
  font-family: var(--mono); border: 1px solid var(--line-strong); background: var(--surface); cursor: default;
}
.tag.on { border-color: var(--accent-line); background: var(--accent-soft); }
.tag.bad { border-color: var(--bad-line); color: var(--bad); }
.tag i { width: 8px; height: 8px; border-radius: 99px; display: block; }
.tag .x { padding: 2px; background: none; border: 0; color: var(--muted); border-radius: 6px; }
.tag .x svg { width: 14px; height: 14px; }
.tag .x:hover { color: var(--strong); }
.cost td { vertical-align: middle; }
.cost .meter { height: 8px; border-radius: 99px; background: var(--inset); overflow: hidden; min-width: 120px; }
.cost .meter i { display: block; height: 100%; border-radius: 99px; background: #1E9BE0; }
.cost .meter.base i { background: #4F9A74; }
.cost tr.divide td { color: var(--muted); font-size: 13px; padding-top: 16px; border-bottom: 1px solid var(--line-strong); }
.secret-box {
  font-family: var(--mono); font-size: 13px; word-break: break-all; padding: 12px; border-radius: 10px;
  background: var(--inset); border: 1px dashed var(--accent-line); user-select: all;
}
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; font-family: var(--mono); }
.qr { background: #fff; padding: 12px; border-radius: 10px; width: max-content; border: 1px solid var(--line); }
.qr svg { display: block; width: 200px; height: 200px; }

/* login pages */
.auth { max-width: 420px; margin: 8vh auto 0; padding: 16px; }
.auth .card { padding: 28px; position: relative; }
button.card-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); box-shadow: none; }
button.card-x:hover { background: var(--inset); color: var(--strong); filter: none; box-shadow: none; }
button.card-x svg { width: 18px; height: 18px; }
.auth h1 { margin-bottom: 6px; }
form > * + * { margin-top: 16px; }
form > .err:empty { display: none; }
.form-part { border-top: 1px solid var(--line); padding-top: 16px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* charts */
.chart { width: 100%; height: 240px; display: block; }
.chart-box { position: relative; }
.chart.labels { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.chart .axis { stroke: var(--line); }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend-item { cursor: pointer; user-select: none; }
.legend-item:hover, .legend-item:focus-visible { color: var(--strong); outline: none; }
.legend-item.off { opacity: 0.4; text-decoration: line-through; }
.chart rect.total { fill: var(--accent); }
.tip .tip-row { padding: 2px 6px; margin: 2px -6px; border-radius: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.tip {
  position: fixed; z-index: 60; pointer-events: none; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 8px 10px; font-size: 12px; min-width: 140px; box-shadow: var(--shadow);
}
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 16px; font-weight: 600; box-shadow: var(--shadow);
}
.toast.bad { border-color: var(--bad-line); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* trial page and the raffle */
.auth.promo { max-width: 640px; }
.auth.ticket { max-width: 1180px; margin-top: 6vh; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.ticket-grid > .card { padding: 28px; margin-top: 0; }
.ticket-grid h1.fit { font-size: clamp(22px, 1rem + 1.2vw, 32px); text-wrap: balance; margin-bottom: 6px; }
.ticket-side h2 { font-size: 20px; margin-bottom: 4px; }
.ticket-lead { font-size: 17px; font-weight: 700; color: var(--accent-text); margin: 0 0 12px; }
@media (max-width: 860px) {
  .ticket-grid { grid-template-columns: 1fr; }
}
.center { text-align: center; }
.countdown { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--strong); }
.raffle-number { font-family: var(--mono); font-size: 44px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-text); margin: 4px 0 14px; }
.raffle { margin-top: 12px; padding: 10px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); min-height: 120px; }
.raffle:fullscreen { padding: 48px; overflow: auto; }
.raffle-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.raffle-won { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 6px; min-height: 22px; }
.raffle-won li { display: inline-flex; align-items: center; gap: 6px; animation: pop 0.35s ease-out; }
.raffle-won .rank { font-size: 12px; font-weight: 700; color: var(--muted); }
.raffle-split { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); }
.raffle-split::before, .raffle-split::after { content: ""; height: 2px; border-radius: 2px; background: var(--line-strong); }
.raffle-split::before { width: 18px; }
.raffle-split::after { flex: 1; }
.raffle-pot { display: flex; flex-wrap: wrap; gap: 3px; max-height: 460px; overflow: hidden auto; padding: 2px; }
.raffle:fullscreen .raffle-pot { max-height: none; }
.tile { font-family: var(--mono); font-size: 13px; line-height: 1.4; padding: 0 4px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line);
  transition: background 0.12s, transform 0.12s, opacity 0.4s; }
.tile.hot { background: var(--accent-soft); border-color: var(--accent-line); transform: scale(1.06); }
.tile.won { background: var(--accent); border-color: var(--accent); color: #fff; }
.raffle-pot.settled .tile:not(.won) { opacity: 0.3; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tile, .raffle-won li { transition: none; animation: none; } }
.voucher { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.voucher button.icon { padding: 4px; }
.voucher button.icon svg { width: 15px; height: 15px; }
.num-bar { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.num-bar .bar { width: 36px; height: 6px; margin: 0; flex: none; }
th.wrap { white-space: normal; min-width: 88px; }
table.tight th, table.tight td { padding-left: 8px; padding-right: 8px; }
table.tight td button { padding: 6px 11px; }
td.nowrap { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.vbox { display: grid; gap: 8px; justify-items: start; }
.vbox > .row { flex-wrap: nowrap; gap: 10px; }
.vbox button { white-space: nowrap; }
.vbox select { width: auto; }
.inq-who .small { margin-top: 2px; }
.inq-links { gap: 2px 10px; }
.ip-card table { table-layout: fixed; min-width: 640px; }
.ip-card th:nth-child(1) { width: 30%; } .ip-card th:nth-child(2) { width: 36%; } .ip-card th:nth-child(3) { width: 14%; } .ip-card th:nth-child(4) { width: 20%; }
.ip-card td { overflow-wrap: anywhere; }

.landing { min-height: 100vh; background-color: var(--bg); }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.lp-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--chrome) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-top .lp-wrap { height: 68px; }
.lp-nav { display: flex; gap: 24px; }
.lp-nav button.link { color: var(--muted); font-weight: 500; }
.lp-nav button.link:hover { color: var(--strong); }
.lp-hero { padding: 96px 0 72px; }
.lp-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 20px; }
.lp-lead { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.lp-cta { gap: 12px; }
.btn.lp-pill, button.lp-pill { border-radius: 99px; padding: 12px 22px; font-size: 15px; }
.glow { border: 1px solid var(--accent-line); box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 16%, transparent); }
.lp-code { background: var(--surface); border-radius: 16px; overflow: hidden; }
.lp-code-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.lp-code-bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--line-strong); }
.lp-code pre { margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text); overflow-x: auto; }
.lp-c-cmd { color: var(--accent-text); font-weight: 600; }
.lp-c-dim { color: var(--muted); }
.lp-section { padding: 72px 0; }
.lp-section h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; font-weight: 800; margin-bottom: 10px; }
.lp-sub { color: var(--muted); font-size: 17px; max-width: 42em; margin: 0 0 30px; }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-cards > .card + .card, .lp-tables > .card + .card { margin-top: 0; }
.lp-card code { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--chip); color: var(--accent-text); font-size: 13px; }
.lp-card h3 { font-size: 20px; margin: 14px 0 8px; }
.lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.lp-facts > .card + .card { margin-top: 0; }
.lp-facts .card { padding: 16px 18px; }
.lp-facts span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-text); font-weight: 700; margin-bottom: 6px; }
.lp-facts b { font-weight: 600; color: var(--strong); }
.lp-pack { display: flex; flex-direction: column; gap: 10px; }
.lp-pick { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), var(--card-shadow); }
.lp-price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--strong); }
.lp-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.lp-spec { width: 100%; margin: 6px 0 14px; border-collapse: separate; border-spacing: 0; background: var(--inset); border: 1px solid var(--line); border-radius: 12px; }
.lp-spec th, .lp-spec td { padding: 10px 14px; border-top: 1px solid var(--line); border-bottom: 0; font-size: 14px; }
.lp-spec tr:first-child th, .lp-spec tr:first-child td { border-top: 0; }
.lp-spec th { text-align: left; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; background: none; }
.lp-spec td { text-align: right; font-weight: 600; color: var(--strong); font-variant-numeric: tabular-nums; }
.lp-pack .btn { justify-content: center; margin-top: auto; }
.lp-promo { margin-top: 18px; }
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0 40px; }
.lp-step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.lp-step h3 { margin: 12px 0 6px; font-size: 17px; }
.lp-h3 { font-size: 22px; margin: 0 0 6px; }
.lp-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
tr.lp-total td { font-weight: 700; color: var(--strong); }
.lp-promo h3 { font-size: 22px; margin: 10px 0 6px; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--strong); }
.lp-faq p { margin: 10px 0 0; max-width: 46em; }
.lp-foot { border-top: 1px solid var(--line); padding: 28px 0; margin-top: 40px; }
.lp-foot .row { gap: 18px; }
.lp-foot button.link { font-size: inherit; font-weight: inherit; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 900px) {
  .lp-split, .lp-cards, .lp-tables { grid-template-columns: 1fr; }
  .lp-facts, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-nav { display: none; }
  .lp-hero { padding: 56px 0 40px; }
}
@media (max-width: 520px) {
  .lp-wrap { padding: 0 16px; } .lp-facts, .lp-steps { grid-template-columns: 1fr; }
  .lp-top .brand svg { height: 20px; }
  .lp-top .row { gap: 8px; }
  .lp-top .theme-toggle { display: none; }
  .lp-top .btn { padding: 8px 12px; }
}
.lp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .lp-duo { grid-template-columns: 1fr; gap: 48px; } }
.lp-talk { scroll-margin-top: 90px; }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-contact textarea { font-family: inherit; font-size: 15px; }
.lp-sent { padding: 24px 0; text-align: center; }
@media (max-width: 640px) { .lp-two { grid-template-columns: 1fr; } }
.msg { padding: 0; }
.msg summary { cursor: pointer; list-style: none; padding: 16px 20px; }
.msg summary::-webkit-details-marker { display: none; }
.msg[open] summary .msg-lead { display: none; }
.msg-lead { margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg > :not(summary) { margin: 0 20px 16px; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px 16px; border-radius: 10px; background: var(--inset); }
.reply { padding-left: 14px; border-left: 3px solid var(--them); }
.reply .msg-body { margin-top: 6px; background: color-mix(in srgb, var(--them) 9%, var(--inset)); }
.reply.ours { border-left-color: var(--accent-line); }
.reply.ours .msg-body { background: color-mix(in srgb, var(--accent) 9%, var(--inset)); }
textarea.write { font-family: inherit; font-size: 14px; }
a.msg-row { display: block; color: inherit; text-decoration: none; }
a.msg-row:hover { border-color: var(--accent-line); }
.landing > * { position: relative; z-index: 1; }
.landing > .lp-top { position: sticky; z-index: 20; }
.landing > canvas.lp-sparks { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.landing > .lp-up { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 44px; height: 44px; padding: 0; border-radius: 99px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--accent-line); color: var(--accent-text); box-shadow: var(--card-shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.landing > .lp-up.on { opacity: 1; transform: none; pointer-events: auto; }
.lp-up svg { width: 20px; height: 20px; }
.btn.home-link { padding: 7px 12px; font-size: 14px; gap: 6px; }
.btn.home-link svg { width: 16px; height: 16px; }
.limit-link { cursor: pointer; padding: 3px 7px; border-radius: 6px; background: var(--chip); color: var(--accent-text); font-weight: 600; }
.limit-link:hover, .limit-link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent-soft); }
table.levels tr.here td { background: var(--accent-soft); }
table.levels .level { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 99px; background: var(--chip); font-weight: 700; font-size: 12px; }
table.levels tr.here .level { background: var(--accent); color: #fff; }
a.key-name { font-weight: 700; color: var(--strong); }
.profile { position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 12px; }
.profile:hover, .profile:focus-visible { background: var(--chip); outline: none; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 99px; background: var(--accent); color: #141A21; display: grid; place-items: center; font-weight: 600; font-size: 16px; cursor: pointer; }
.profile-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.profile-text strong { color: var(--strong); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 100%; width: max-content; padding: 6px; z-index: 60; cursor: default;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--text); font-weight: 500; white-space: nowrap; }
.menu-item svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.menu-item:hover, .menu-item:focus-visible { background: var(--chip); outline: none; }
.menu-state { margin-left: auto; padding-left: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
@media (max-width: 860px) { .profile-text { display: none; } }
td.pager-cell { border-bottom: 0; padding-top: 14px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pager button { padding: 6px 12px; }
.side a.side-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--accent) 30%, var(--chrome)); border-radius: 0 0 10px 10px; }
.side a.side-foot.on::before { top: 25px; }
@media (max-width: 860px) { .side a.side-foot { margin-top: 0; padding-top: 10px; border-top: 0; border-radius: 10px; } }
.lp-nav a { color: var(--muted); font-weight: 500; }
.lp-nav a:hover { color: var(--strong); text-decoration: none; }
:root { --code-bg: #0E1116; --code-text: #D7DBE7; --code-line: #262B33; --j-key: #9DB8FF; --j-str: #7ED6A8; --j-num: #F2C94C; --j-lit: #FF9FB2; }
.d-method { display: inline-block; min-width: 46px; text-align: center; font: 700 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; letter-spacing: 0.03em; }
.m-get { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-text); }
.m-post { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.d-path { font-family: var(--mono); font-size: 13px; color: var(--strong); overflow-wrap: anywhere; }
.d-var { color: var(--accent-text); }
.d-req { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--warn); }
table.d-params td { vertical-align: top; font-size: 14px; }
table.d-params td code { color: var(--strong); }
.d-panel { border: 1px solid var(--code-line); border-radius: 12px; background: var(--code-bg); overflow: hidden; }
.d-tabs { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--code-line); overflow-x: auto; }
.d-tabs button.ghost { background: none; border: 0; color: #8C93A8; padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.d-tabs button.ghost:hover { color: var(--code-text); filter: none; }
.d-tabs button.ghost.on { background: #1D2330; color: #fff; }
.d-code-wrap { position: relative; }
.d-code-wrap > button.icon { position: absolute; top: 8px; right: 8px; padding: 6px; background: #1D2330; border-color: var(--code-line); color: #8C93A8; }
.d-code { margin: 0; padding: 14px 16px; max-height: 460px; overflow: auto; color: var(--code-text); font: 12.5px/1.6 var(--mono); white-space: pre; tab-size: 2; }
.j-key { color: var(--j-key); } .j-string { color: var(--j-str); } .j-number { color: var(--j-num); } .j-boolean, .j-null { color: var(--j-lit); }
.d-resp-about { padding: 10px 16px 0; color: #8C93A8; }
.d-status { display: inline-block; font: 700 11px/1 var(--mono); padding: 4px 6px; border-radius: 5px; }
.d-status.s2 { background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.d-status.s4 { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.d-codes-list { list-style: none; padding: 0; margin: 0; }
.d-codes-list li { padding: 5px 0; font-size: 14px; }
.docs { min-height: 100vh; }
.docs-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 24px; background: var(--chrome); border-bottom: 1px solid var(--line); }
.docs-label { font-weight: 600; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.docs-menu { display: none; }
.docs-top .btn, .docs-menu { white-space: nowrap; }
.docs-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.docs-side { position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; padding: 18px 14px 48px; border-right: 1px solid var(--line); background: var(--chrome); }
.docs-surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; background: var(--chip); border-radius: 10px; margin-bottom: 12px; }
.docs-surfaces button.ghost { border: 0; background: none; padding: 7px 4px; font-size: 12px; color: var(--muted); border-radius: 8px; justify-content: center; }
.docs-surfaces button.ghost.on { background: var(--surface); color: var(--strong); box-shadow: var(--card-shadow); }
.docs-side input { margin-bottom: 10px; }
.docs-side a { display: flex; gap: 8px; align-items: baseline; padding: 5px 8px; border-radius: 7px; color: var(--text); font-size: 14px; line-height: 1.35; }
.docs-side a:hover { background: var(--chip); text-decoration: none; }
.docs-side a.on { background: var(--accent-soft); color: var(--strong); }
.docs-group h4 { margin: 16px 8px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.d-mini { flex: none; width: 34px; font: 700 10px/1 var(--mono); }
.d-mini.m-get, .d-mini.m-post { background: none; }
.docs-main { min-width: 0; padding: 32px 40px 80px; }
.docs-intro { max-width: 1100px; scroll-margin-top: 80px; }
.docs-intro h1 { font-size: 34px; }
.docs-lead { font-size: 17px; color: var(--muted); }
.docs-surface-head p { margin: 8px 0 0; }
.docs-surface-head { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.docs-surface-head h2 { font-size: 26px; }
.docs-group-title { font-size: 22px; margin: 48px 0 0; }
.docs-op { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.docs-op h3 { font-size: 19px; }
.docs-op h4 { margin: 20px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.docs-op-line { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--inset); border: 1px solid var(--line); }
.docs-op-code { min-height: 200px; }
.docs-op-code h4:first-child { margin-top: 0; }
@media (max-width: 1200px) { .docs-op { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
@media (max-width: 860px) {
  .docs-top { padding: 0 16px; gap: 8px; }
  .docs-label, .docs-top .theme-toggle, .docs-top a.btn.ghost { display: none; }
  .docs-menu { display: inline-flex; padding: 7px 12px; }
  .docs-top a.btn { padding: 7px 12px; }
  .docs-body { grid-template-columns: minmax(0, 1fr); }
  .docs-side { display: none; position: fixed; inset: 64px 0 0 0; height: auto; z-index: 15; border-right: 0; }
  .docs-side.open { display: block; }
  .docs-main { padding: 24px 16px 60px; }
  .docs-intro h1 { font-size: 28px; }
}
.d-start summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.d-start summary::-webkit-details-marker { display: none; }
.chip-path, .chip-num, .chip-code { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid; font: 13px/1.5 var(--mono); white-space: nowrap; }
.chip-path { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.chip-num { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.chip-code { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.docs-guides, .d-start-grid { display: grid; gap: 10px; margin-top: 16px; }
.docs-guides { margin-top: 24px; }
.d-guide-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px 18px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); }
.docs-guides .d-guide-item { background: var(--surface); box-shadow: var(--card-shadow); }
.d-guide-item h3 { margin-top: 6px; }
.d-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.d-row:first-child { border-top: 0; padding-top: 2px; }
.d-row:last-child { padding-bottom: 0; }
.d-row-key { color: var(--muted); font-weight: 600; font-size: 13px; }
.d-row-val { overflow-wrap: anywhere; }
.d-copy-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.d-copy-line .chip-path { font-size: 14px; padding: 4px 10px; }
.d-copy-line button.icon { padding: 6px; }
@media (max-width: 700px) { .d-guide-item, .d-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } .d-guide-item { gap: 8px; } }
.d-surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0; }
button.ghost.d-surface { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: left; padding: 16px 18px; border-radius: var(--radius); font-weight: 400; background: var(--surface); box-shadow: var(--card-shadow); }
button.ghost.d-surface strong { font-size: 16px; color: var(--strong); }
button.ghost.d-surface code { align-self: flex-start; }
button.ghost.d-surface.on { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 900px) { .d-surfaces { grid-template-columns: 1fr; } }
.ep-tools input { max-width: 420px; }
.ep-chips { margin: 12px 0 8px; }
.ep { border-bottom: 1px solid var(--line); }
.ep:last-child { border-bottom: 0; }
button.ghost.ep-head { width: 100%; display: grid; grid-template-columns: auto minmax(0, auto) minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left;
  padding: 12px 8px; border: 0; border-radius: 10px; background: none; font-weight: 400; }
button.ghost.ep-head:hover { background: var(--chip); filter: none; }
.ep.open > button.ghost.ep-head { background: var(--chip); }
.ep-sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.ep-cost { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ep-cost.more { color: var(--warn); }
.ep-body { display: none; padding: 4px 8px 20px; }
.ep.open .ep-body { display: block; }
.ep-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ep-grid h4 { margin: 16px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
@media (max-width: 1100px) { .ep-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } button.ghost.ep-head { grid-template-columns: auto minmax(0, 1fr) auto; } .ep-sum { grid-column: 1 / -1; grid-row: 2; } }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
button.choice { display: grid; gap: 6px; align-content: start; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); color: var(--text); font-weight: 400; box-shadow: none; }
button.choice strong { color: var(--strong); font-size: 14px; }
button.choice:hover { border-color: var(--line-strong); filter: none; box-shadow: none; }
button.choice[aria-checked="true"] { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-line) inset; }
.choice-detail { white-space: pre-line; font-size: 13px; color: var(--muted); line-height: 1.45; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-track { position: relative; width: 38px; height: 22px; flex: none; border-radius: 99px; background: var(--line-strong); transition: background 0.15s; }
.toggle-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 99px; background: #fff; transition: transform 0.15s; }
.toggle-input:checked + .toggle-track { background: var(--accent); }
.toggle-input:checked + .toggle-track .toggle-knob { transform: translateX(16px); }
.toggle-input:focus-visible + .toggle-track { box-shadow: 0 0 0 3px var(--accent-soft); }
.toggle-input:disabled + .toggle-track { opacity: 0.5; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
button.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: none; }
button.tab:hover { color: var(--strong); filter: none; box-shadow: none; }
button.tab[aria-selected="true"] { color: var(--strong); border-bottom-color: var(--accent); }
.tab-count { min-width: 20px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 700; text-align: center; background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--inset); border: 1px solid var(--line); }
.seg button { padding: 5px 12px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-size: 13px; font-weight: 600; box-shadow: none; white-space: nowrap; }
.seg button:hover { color: var(--strong); filter: none; box-shadow: none; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--strong); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.mail-kind { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.mail-kind:first-of-type { border-top: 0; }
.mail-all { border-bottom: 1px solid var(--line-strong); margin-bottom: 4px; }
