/* Modern but calm: brand navy, soft depth, generous spacing, system fonts, no third party. Motion is limited to hover/focus so a repaint never animates.
   The accent colour comes from the admin settings (/theme.css defines --accent). */
:root { --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --r: 10px; --rl: 16px; --wrap: 1160px; --ease: cubic-bezier(.2, .7, .2, 1); }
[data-theme="dark"] { color-scheme: dark; --bg: #0b0c0f; --bg2: #101115; --surface: #121317; --surface2: #181a1f; --line: #22252b; --line2: #30343c; --text: #e8e9ec; --dim: #9ea3ad; --mute: #6b707b; --overlay: rgba(0, 0, 0, .66); --shadow: 0 1px 2px rgba(0,0,0,.35); --shadow-lg: 0 12px 32px -12px rgba(0,0,0,.6); --grid: rgba(255,255,255,.028); }
[data-theme="light"] { color-scheme: light; --bg: #f5f7fb; --bg2: #eef2f8; --surface: #ffffff; --surface2: #f0f3f9; --line: #e3e8f1; --line2: #cfd7e6; --text: #0b1220; --dim: #4b566e; --mute: #7d88a0; --overlay: rgba(11, 18, 32, .45); --shadow: 0 1px 2px rgba(11,18,32,.05), 0 8px 24px -12px rgba(11,18,32,.14); --shadow-lg: 0 24px 60px -24px rgba(11,18,32,.28); --grid: rgba(11,18,32,.06); }
:root { --acc: var(--accent, #eb0101); --acc-soft: color-mix(in srgb, var(--acc) 12%, transparent); --ok: #2fbf8a; --warn: #e0a22e; --bad: #f0545a; }
* { box-sizing: border-box; } [hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; } img, svg { max-width: 100%; } button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--on-accent, #fff); } :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; } .mono { font-family: var(--mono); } .dim { color: var(--dim); } .mute { color: var(--mute); } .sp { flex: 1; }
.boot { min-height: 100vh; display: grid; place-items: center; font-weight: 600; font-size: 20px; color: var(--mute); }

/* ---------- chrome */
#banner { padding: 8px 16px; text-align: center; font-size: 13.5px; color: #fff; background: var(--banner, var(--acc)); }
.bar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); } .bar .in { display: flex; align-items: center; gap: 20px; height: 56px; }
.brand { display: flex; align-items: center; gap: 1px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; } .brand svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 2px; margin-left: 10px; } .nav a { text-decoration: none; padding: 6px 10px; border-radius: 6px; color: var(--dim); font-size: 14px; } .nav a:hover { color: var(--text); background: var(--surface2); } .nav a[aria-current] { color: var(--text); }
.tools { display: flex; align-items: center; gap: 6px; }
.ibtn { height: 32px; min-width: 32px; padding: 0 8px; display: inline-grid; place-items: center; background: transparent; border: 0; border-radius: 6px; color: var(--dim); cursor: pointer; font-size: 12.5px; font-weight: 600; } .ibtn:hover { background: var(--surface2); color: var(--text); } .ibtn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--surface); color: var(--text); font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface2); } .btn.pri { background: var(--acc); border-color: var(--acc); color: var(--on-accent, #fff); } .btn.pri:hover { background: color-mix(in srgb, var(--acc) 88%, #000); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 13px; } .btn.lg { height: 44px; padding: 0 20px; font-size: 15px; } .btn.danger { color: var(--bad); } .btn[disabled] { opacity: .5; cursor: not-allowed; }
.lock { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; opacity: .7; }
footer.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 22px 0 32px; color: var(--mute); font-size: 13px; } footer.foot .in { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; } footer.foot a { text-decoration: none; color: var(--dim); } footer.foot a:hover { color: var(--text); } footer.foot .brand { font-size: 15px; color: var(--text); }

/* ---------- search */
.home { max-width: 760px; margin: 0 auto; padding: 13vh 0 0; } .compact .home { padding-top: 26px; max-width: none; }
.home h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; } .home p.sub { margin: 10px 0 0; color: var(--dim); font-size: 16px; max-width: 560px; } .compact .home h1, .compact .home p.sub, .compact .ex, .compact .note { display: none; }
.sbox { margin-top: 28px; } .compact .sbox { margin-top: 0; }
.sbar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line2); } .sbar:focus-within { border-color: var(--acc); }
.sbar .si { width: 18px; height: 18px; stroke: var(--mute); fill: none; stroke-width: 2; flex: none; } .sbar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; height: 100%; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--dim); background: var(--surface2); border: 1px solid var(--line); white-space: nowrap; }
.sopts { display: flex; gap: 14px; align-items: center; margin-top: 12px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.tog { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 13px; cursor: pointer; } .tog:hover { color: var(--text); border-color: var(--line2); } .tog[aria-pressed="true"] { color: var(--text); border-color: var(--acc); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; } .seg button { border: 0; background: transparent; height: 26px; padding: 0 11px; color: var(--dim); font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; } .seg button + button { border-left: 1px solid var(--line); } .seg button[aria-pressed="true"] { background: var(--surface2); color: var(--text); font-weight: 600; } .seg button.locked { opacity: .5; }
.adv { margin-top: 12px; padding: 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
label.f { display: grid; gap: 5px; font-size: 12px; color: var(--mute); font-weight: 500; }
.in-t, label.f input, label.f select, .field { width: 100%; background: var(--bg); border: 1px solid var(--line2); border-radius: 6px; padding: 8px 10px; font: 400 14px var(--sans); color: var(--text); outline: 0; } .in-t:focus, label.f input:focus, label.f select:focus, .field:focus { border-color: var(--acc); }
.ex { margin-top: 22px; font-size: 13.5px; color: var(--mute); display: flex; gap: 14px; flex-wrap: wrap; } .ex button { border: 0; background: none; padding: 0; color: var(--dim); font: 13px var(--mono); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; } .ex button:hover { color: var(--text); }
.note { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

/* ---------- results */
#results { margin-top: 18px; } .status { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--mute); margin-bottom: 10px; min-height: 18px; } .prog { flex: 1; max-width: 200px; height: 2px; background: var(--line); } .prog i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .3s linear; }
.rhead { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; padding: 8px 0 18px; border-bottom: 1px solid var(--line); } .rhead h2 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; word-break: break-word; } .rhead p { margin: 6px 0 0; color: var(--dim); }
.chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; } .badge { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 12.5px; border: 1px solid var(--line2); color: var(--dim); }
.lvl-none, .lvl-low { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); } .lvl-medium { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, transparent); } .lvl-high, .lvl-critical { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 60%, transparent); font-weight: 600; }
.score { text-align: right; flex: none; } .score b { display: block; font-size: 28px; line-height: 1; font-weight: 600; letter-spacing: -.02em; } .score span { font-size: 12px; color: var(--mute); } .score .t { margin-top: 8px; width: 96px; height: 3px; background: var(--line); margin-left: auto; } .score .t i { display: block; height: 100%; background: var(--acc); }
.tabs { display: flex; gap: 22px; margin: 0 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; } .tabs button { border: 0; background: none; padding: 12px 0; margin-bottom: -1px; color: var(--dim); font-size: 14px; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; } .tabs button:hover { color: var(--text); } .tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--acc); font-weight: 600; } .tabs .n { margin-left: 6px; color: var(--mute); font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.card { padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); } .card h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.fld + .fld { margin-top: 12px; } .fld > .lab { font-size: 12px; color: var(--mute); margin-bottom: 2px; }
.val { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); min-height: 34px; } .fld .val:first-of-type, .card > .val:first-of-type { border-top: 0; } .val .v { flex: 1; min-width: 0; word-break: break-word; } .val .v.m { font-family: var(--mono); font-size: 13px; }
.val .acts { display: flex; gap: 2px; opacity: 0; } .val:hover .acts, .val:focus-within .acts { opacity: 1; } .acts button { border: 0; background: none; color: var(--mute); cursor: pointer; padding: 3px 5px; border-radius: 4px; } .acts button:hover { color: var(--text); background: var(--surface2); } .acts svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; } .conf i { display: inline-block; width: 28px; height: 3px; background: var(--line2); } .conf i b { display: block; height: 100%; background: var(--mute); } .conf.hi i b { background: var(--ok); } .conf.md i b { background: var(--warn); }
.tag { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 11.5px; background: var(--surface2); color: var(--dim); border: 1px solid var(--line); } .tag.ok { color: var(--ok); } .tag.bad { color: var(--bad); } .tag.acc { color: var(--acc); } .tag.warn { color: var(--warn); }
.more { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: var(--surface2); color: var(--dim); font-size: 13px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.lockcard { padding: 28px; text-align: center; border-radius: 10px; border: 1px dashed var(--line2); color: var(--dim); } .lockcard b { display: block; color: var(--text); margin-bottom: 4px; font-size: 15px; } .lockcard .btn { margin-top: 12px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .kv div { padding: 10px 12px; background: var(--surface); } .kv span { display: block; font-size: 11.5px; color: var(--mute); } .kv b { font-weight: 500; word-break: break-word; }
.yes { color: var(--ok); } .no { color: var(--mute); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th { text-align: left; padding: 9px 14px; font-size: 12px; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--line); } .tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: top; word-break: break-word; } .tbl tr:last-child td { border-bottom: 0; } .tbl td:first-child { color: var(--text); }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tl div { display: grid; grid-template-columns: 100px 100px 1fr; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; } .tl div:first-child { border-top: 0; } .tl b { color: var(--text); font: 500 13px var(--mono); }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 14px; } .nums div { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); } .nums b { display: block; font-size: 24px; font-weight: 600; line-height: 1.1; } .nums span { font-size: 12.5px; color: var(--mute); }
.empty { text-align: center; padding: 56px 20px; color: var(--dim); } .empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.alert { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line2); background: var(--surface); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .alert b { display: block; font-weight: 600; } .alert span { color: var(--dim); font-size: 14px; }
.sk { height: 96px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; } details.raw summary { cursor: pointer; font-size: 13px; color: var(--mute); margin-top: 22px; } details.raw pre { max-height: 440px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: var(--surface); font: 12.5px/1.6 var(--mono); color: var(--dim); }

/* ---------- pages: auth, account, pricing */
.narrow { max-width: 400px; margin: 9vh auto 0; } .panel { padding: 24px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); } .panel h1 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; } .panel p.sub { margin: 0 0 18px; color: var(--dim); }
.form { display: grid; gap: 14px; } .err { color: var(--bad); font-size: 13.5px; min-height: 18px; } .swap { margin-top: 16px; font-size: 14px; color: var(--dim); } .swap a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.page { padding-top: 40px; } .page > h1 { margin: 0 0 2px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; } .page > p.sub { color: var(--dim); margin: 0 0 24px; }
.sect { margin-bottom: 16px; } .sect .panel { padding: 22px; } .sect h2 { margin: 0 0 4px; font-size: 16px; font-weight: 600; } .sect p.d { margin: 0 0 14px; color: var(--dim); font-size: 14px; } .row2 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.meter { margin-top: 10px; } .meter .t { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 5px; } .meter .b { height: 4px; background: var(--line); } .meter .b i { display: block; height: 100%; background: var(--acc); }
.fl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 20px; font-size: 14px; } .fl div { color: var(--dim); } .fl .yes::before { content: "✓ "; color: var(--ok); font-weight: 700; } .fl .no::before { content: "– "; color: var(--mute); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 24px; align-items: stretch; } .plan { display: flex; flex-direction: column; padding: 24px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); position: relative; } .plan.hl { border-color: var(--acc); } .plan h3 { margin: 0; font-size: 17px; font-weight: 600; } .plan .pr { margin: 12px 0 4px; font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 1; } .plan .pr small { font-size: 14px; font-weight: 400; color: var(--mute); letter-spacing: 0; } .plan .d { color: var(--dim); font-size: 14px; min-height: 40px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 14px; flex: 1; } .plan li { color: var(--dim); } .plan li.yes::before { content: "✓ "; color: var(--ok); font-weight: 700; } .plan li.no::before { content: "– "; color: var(--mute); } .plan li.no { opacity: .6; } .plan .tag { position: absolute; top: 16px; right: 16px; }
.keys { display: grid; gap: 6px; } .key { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); font-size: 14px; } .key code { font-family: var(--mono); color: var(--dim); } .newkey { padding: 12px; border-radius: 6px; border: 1px solid var(--acc); background: var(--acc-soft); margin-bottom: 12px; word-break: break-all; font-family: var(--mono); font-size: 13px; }
#toasts { position: fixed; bottom: 16px; right: 16px; z-index: 90; display: grid; gap: 8px; } .toast { padding: 10px 14px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--line2); font-size: 14px; max-width: 340px; } .toast.bad { border-color: var(--bad); }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--overlay); padding: 18px; } .modal .box { width: min(520px, 100%); max-height: 90vh; overflow: auto; border-radius: 10px; border: 1px solid var(--line2); background: var(--surface); padding: 22px; } .modal.wide .box { width: min(860px, 100%); } .modal h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; } .modal .foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* ---------- admin */
.adm { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 56px); } .side { position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px); padding: 16px 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; text-decoration: none; color: var(--dim); font-size: 14px; } .side a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .side a:hover { background: var(--surface2); color: var(--text); } .side a[aria-current] { background: var(--surface2); color: var(--text); font-weight: 600; } .side .grp { margin: 10px 10px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.main { padding: 28px 32px 60px; min-width: 0; max-width: 1200px; } .main h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; } .main .lead { margin: 4px 0 22px; color: var(--dim); } .headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; } .headrow .lead { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; } .stat { padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); } .stat b { display: block; font-size: 26px; font-weight: 600; line-height: 1.1; } .stat span { color: var(--mute); font-size: 13px; }
.panel.flat { padding: 20px; margin-bottom: 14px; } .panel.flat h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; } .panel.flat .d { margin: 0 0 12px; color: var(--dim); font-size: 13.5px; }
.sw { position: relative; width: 36px; height: 20px; flex: none; display: inline-block; } .sw input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; } .sw i { position: absolute; inset: 0; border-radius: 99px; background: var(--line2); } .sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; } .sw input:checked + i { background: var(--acc); } .sw input:checked + i::after { transform: translateX(16px); } .sw input:focus-visible + i { outline: 2px solid var(--acc); outline-offset: 2px; }
.srow { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); } .srow:first-of-type { border-top: 0; } .srow b { display: block; font-weight: 500; } .srow span.h { color: var(--dim); font-size: 13px; }
.mx { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); max-height: calc(100vh - 200px); } .mx table { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 14px; } .mx th, .mx td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; } .mx thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); font-weight: 600; } .mx th:first-child, .mx td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 250px; } .mx thead th:first-child { z-index: 3; } .mx tr.g td { background: var(--surface2); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); text-align: left; } .mx td .h { display: block; font-size: 12px; color: var(--mute); white-space: normal; max-width: 240px; font-weight: 400; } .mx input[type=number] { width: 80px; text-align: center; padding: 5px 8px; } .mx .def { opacity: .55; }
.dt { width: 100%; border-collapse: collapse; font-size: 14px; } .dt th { text-align: left; padding: 9px 14px; font-size: 12px; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--line); } .dt td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; } .dt tr.click { cursor: pointer; } .dt tr.click:hover td { background: var(--surface2); }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; } .fgrp { margin: 16px 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); } .frow { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); } .frow b { font-weight: 500; display: block; } .frow span.h { font-size: 12.5px; color: var(--mute); } .frow input[type=number] { width: 96px; } .chk { display: flex; flex-wrap: wrap; gap: 6px; } .chk label { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; cursor: pointer; } .chk input { accent-color: var(--acc); } .chk label:has(input:checked) { border-color: var(--acc); }
.search { max-width: 300px; }

/* ---------- finish: depth, hero, rounded surfaces (kept in one block so the base rules above stay readable) */
body { position: relative; }
body[data-page="home"]::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 100% at 50% 0, #000 20%, transparent 75%); }
body[data-page="home"]::after { content: ""; position: absolute; top: 0; left: 50%; width: 720px; height: 320px; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 9%, transparent), transparent); }
.bar { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent); } .bar .in { height: 62px; }
.brand { font-size: 19px; } .brand svg { width: 24px; height: 24px; }
.nav a { border-radius: 8px; padding: 7px 12px; transition: color .15s, background .15s; } .nav a[aria-current] { background: var(--surface2); }
.btn { border-radius: 10px; height: 38px; padding: 0 16px; box-shadow: var(--shadow); transition: background .15s, border-color .15s, transform .15s var(--ease), box-shadow .15s; } .btn:hover { border-color: var(--mute); } .btn:active { transform: translateY(1px); }
.btn.pri { background: var(--acc); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px var(--acc); border-color: color-mix(in srgb, var(--acc) 80%, #000); } .btn.pri:hover { background: color-mix(in srgb, var(--acc) 90%, #fff); border-color: var(--acc); }
.btn.sm { height: 32px; border-radius: 9px; padding: 0 13px; } .btn.lg { height: 46px; border-radius: 12px; }
.ibtn { border-radius: 9px; transition: background .15s, color .15s; }

.home { max-width: 820px; text-align: center; padding: 11vh 0 0; } .compact .home { text-align: left; padding-top: 28px; max-width: none; }
.home h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; }
.home p.sub { margin: 18px auto 0; font-size: 18px; line-height: 1.55; max-width: 600px; }
.sbox { margin-top: 38px; text-align: left; } .compact .sbox { margin-top: 0; }
.sbar { height: 62px; padding: 0 8px 0 20px; border-radius: 16px; background: var(--surface); border-color: var(--line2); box-shadow: var(--shadow-lg); transition: border-color .15s, box-shadow .15s; } .compact .sbar { height: 54px; box-shadow: var(--shadow); }
.sbar:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft), var(--shadow-lg); } .sbar input { font-size: 17px; } .sbar .si { width: 20px; height: 20px; } .sbar .btn.pri { height: 46px; border-radius: 11px; padding: 0 22px; } .compact .sbar .btn.pri { height: 40px; }
.pill { border-radius: 99px; padding: 3px 10px; background: var(--acc-soft); color: color-mix(in srgb, var(--acc) 55%, var(--text)); border-color: transparent; }
.sopts { justify-content: center; gap: 12px; margin-top: 16px; } .compact .sopts { justify-content: flex-start; }
.tog { border-radius: 99px; height: 30px; padding: 0 13px; background: var(--surface); transition: border-color .15s, color .15s; } .tog[aria-pressed="true"] { background: var(--acc-soft); }
.seg { border-radius: 99px; background: var(--surface); padding: 2px; border-color: var(--line); } .seg button { border-radius: 99px; height: 24px; padding: 0 12px; transition: background .15s, color .15s; } .seg button + button { border-left: 0; } .seg button[aria-pressed="true"] { background: var(--surface2); box-shadow: 0 0 0 1px var(--line2); }
.adv { border-radius: 16px; box-shadow: var(--shadow); text-align: left; }
.in-t, label.f input, label.f select, .field { border-radius: 10px; padding: 10px 12px; background: var(--bg2); transition: border-color .15s, box-shadow .15s; } .in-t:focus, label.f input:focus, label.f select:focus, .field:focus { box-shadow: 0 0 0 3px var(--acc-soft); }
.ex { justify-content: center; margin-top: 26px; align-items: center; } .compact .ex { justify-content: flex-start; } .ex span { color: var(--mute); }
.ex button { padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); text-decoration: none; transition: border-color .15s, color .15s; } .ex button:hover { border-color: var(--line2); }
.types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px auto 0; max-width: 760px; } .types span { padding: 5px 12px; border-radius: 99px; font-size: 13px; color: var(--dim); background: var(--surface); border: 1px solid var(--line); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; } .compact .feats, .compact .types { display: none; }
.feat { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: border-color .2s, transform .2s var(--ease); } .feat:hover { border-color: var(--line2); transform: translateY(-2px); }
.feat .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--acc-soft); color: var(--acc); margin-bottom: 16px; } .feat .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; } .feat p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.note { border-top: 0; margin-top: 40px; padding-top: 0; text-align: center; }

#results { margin-top: 26px; } .status { font-size: 13px; } .prog { height: 3px; border-radius: 3px; overflow: hidden; } .prog i { border-radius: 3px; }
.rhead { padding: 22px 24px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); } .rhead h2 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.badge { border-radius: 99px; padding: 3px 11px; background: var(--surface2); border-color: var(--line); }
.score b { font-size: 32px; font-weight: 700; } .score .t { height: 4px; border-radius: 4px; overflow: hidden; width: 110px; } .score .t i { border-radius: 4px; }
.tabs { gap: 4px; padding: 4px; margin-bottom: 22px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); } .tabs button { padding: 7px 14px; margin: 0; border: 0; border-radius: 9px; transition: background .15s, color .15s; } .tabs button[aria-selected="true"] { background: var(--surface2); box-shadow: 0 0 0 1px var(--line2); color: var(--text); }
.grid { gap: 16px; }
.card { padding: 20px 22px; border-radius: 16px; box-shadow: var(--shadow); transition: border-color .2s; } .card:hover { border-color: var(--line2); } .card h3 { margin-bottom: 12px; font-size: 11.5px; letter-spacing: .08em; }
.val { padding: 8px 0; } .acts button { border-radius: 7px; }
.tag { border-radius: 99px; padding: 1px 9px; } .conf i { border-radius: 3px; width: 32px; height: 4px; } .conf i b { border-radius: 3px; }
.more { border-radius: 10px; }
.lockcard { border-radius: 16px; padding: 36px; background: var(--surface); }
.kv { border-radius: 14px; box-shadow: var(--shadow); } .kv div { padding: 12px 14px; }
.tw { border-radius: 16px; box-shadow: var(--shadow); }
.nums { gap: 14px; margin-bottom: 18px; } .nums div { padding: 18px 20px; border-radius: 16px; box-shadow: var(--shadow); } .nums b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.empty { padding: 72px 20px; } .alert { border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; }
.sk { height: 120px; border-radius: 16px; }
details.raw pre { border-radius: 14px; }

.narrow { margin-top: 10vh; } .panel { border-radius: 16px; box-shadow: var(--shadow); padding: 28px; } .panel h1 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.page > h1 { font-size: 32px; font-weight: 700; letter-spacing: -.035em; } .page { padding-top: 56px; }
.plans { gap: 18px; } .plan { padding: 28px; border-radius: 18px; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; } .plan:hover { transform: translateY(-3px); } .plan.hl { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), var(--shadow-lg); } .plan .pr { font-size: 38px; font-weight: 700; }
.key { border-radius: 10px; } .newkey { border-radius: 10px; } .toast { border-radius: 12px; box-shadow: var(--shadow-lg); }
.modal .box { border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px; } .modal { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
footer.foot { margin-top: 96px; background: var(--bg2); }

.side { background: var(--bg2); } .side a { border-radius: 9px; transition: background .15s, color .15s; } .side a[aria-current] { box-shadow: 0 0 0 1px var(--line2); }
.stat { border-radius: 16px; box-shadow: var(--shadow); } .stat b { font-weight: 700; letter-spacing: -.02em; }
.panel.flat { border-radius: 16px; } .mx, .dt { border-radius: 14px; } .mx { box-shadow: var(--shadow); } .sw i { transition: background .15s; } .sw i::after { transition: transform .15s var(--ease); }
.chk label { border-radius: 99px; }

/* ---------- professional pass: neutral graphite, tighter radii, no glow, accent kept for actions and state only */
[data-theme="dark"] body[data-page="home"]::after { display: none; }
.btn, .btn.pri { transition: background .15s, border-color .15s, color .15s; } .btn:active { transform: none; }
.btn.pri { box-shadow: none; border-color: var(--acc); } .btn.pri:hover { background: color-mix(in srgb, var(--acc) 86%, #000); border-color: color-mix(in srgb, var(--acc) 86%, #000); }
.btn { border-radius: 8px; box-shadow: none; } .btn.sm { border-radius: 7px; } .btn.lg { border-radius: 9px; }
.home h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 650; letter-spacing: -.035em; line-height: 1.08; } .home p.sub { font-size: 17px; color: var(--dim); }
.sbar { border-radius: 12px; height: 58px; box-shadow: none; background: var(--surface); } .compact .sbar { height: 52px; }
.sbar:focus-within { box-shadow: 0 0 0 3px var(--acc-soft); } .sbar .btn.pri { border-radius: 8px; height: 42px; } .compact .sbar .btn.pri { height: 38px; }
.pill, .tog, .badge, .tag, .ex button, .types span, .chk label { border-radius: 6px; }
.seg { border-radius: 8px; } .seg button { border-radius: 6px; }
.tabs { border-radius: 10px; } .tabs button { border-radius: 7px; } .tabs button[aria-selected="true"] { box-shadow: none; background: var(--surface2); }
.card, .rhead, .feat, .plan, .panel, .nums div, .stat, .adv, .tw, .lockcard, .alert, .sk, .panel.flat { border-radius: 12px; box-shadow: none; }
.kv, .mx, .dt, details.raw pre { border-radius: 10px; box-shadow: none; }
.modal .box { border-radius: 14px; } .toast { border-radius: 8px; }
.feat { transition: border-color .2s; } .feat:hover { transform: none; } .plan:hover { transform: none; } .plan.hl { box-shadow: none; }
.feat .ic { border-radius: 9px; background: var(--surface2); color: var(--text); }
.in-t, label.f input, label.f select, .field { border-radius: 8px; }
.rhead h2 { font-weight: 650; } .score b, .nums b, .stat b, .plan .pr { font-weight: 650; }
.bar { background: color-mix(in srgb, var(--bg) 90%, transparent); } .side { background: var(--bg); }
.pill { background: var(--surface2); color: var(--dim); border: 1px solid var(--line); }
.tog[aria-pressed="true"] { background: var(--surface2); border-color: var(--line2); color: var(--text); } .seg button[aria-pressed="true"] { box-shadow: none; }
footer.foot { background: transparent; }

/* ---------- modern pass: light and depth on the graphite base (hero spotlight, edge highlights, soft gradients). Animation only on the home page at load. */
[data-theme="dark"] { --hl: rgba(255,255,255,.055); --hl2: rgba(255,255,255,.02); --spot: rgba(255,255,255,.07); --spot-acc: color-mix(in srgb, var(--acc) 14%, transparent); }
[data-theme="light"] { --hl: rgba(255,255,255,.9); --hl2: rgba(255,255,255,.4); --spot: rgba(11,18,32,.05); --spot-acc: color-mix(in srgb, var(--acc) 9%, transparent); }
body[data-page="home"]::before { height: 720px; background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 60% 90% at 50% 0, #000 10%, transparent 72%); }
[data-theme="dark"] body[data-page="home"]::after, [data-theme="light"] body[data-page="home"]::after { display: block; width: 900px; height: 420px; top: -80px; background: radial-gradient(closest-side, var(--spot), transparent 70%), radial-gradient(closest-side at 50% 30%, var(--spot-acc), transparent 75%); }

.bar { border-bottom-color: var(--line); box-shadow: 0 1px 0 var(--hl2); }
.btn { border-radius: 10px; background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset, 0 1px 2px rgba(0,0,0,.25); } .btn:hover { background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface2); border-color: var(--line2); }
.btn.pri { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 82%, #fff) 0%, var(--acc) 100%); border-color: color-mix(in srgb, var(--acc) 70%, #000); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -8px var(--acc); } .btn.pri:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 70%, #fff) 0%, color-mix(in srgb, var(--acc) 92%, #fff) 100%); border-color: var(--acc); }
.btn.sm { border-radius: 9px; } .btn.lg { border-radius: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 11px; border-radius: 99px; font-size: 12.5px; color: var(--dim); border: 1px solid var(--line2); background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset; margin-bottom: 22px; } .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); } .compact .eyebrow { display: none; }
.home h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 62%, transparent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .08em; }
.compact .home h1 { display: none; }

.sbar { height: 64px; border-radius: 18px; padding: 0 9px 0 22px; background: linear-gradient(180deg, var(--hl2) 0%, transparent 100%), var(--surface); border-color: var(--line2); box-shadow: 0 1px 0 var(--hl) inset, 0 20px 40px -24px rgba(0,0,0,.6); } .compact .sbar { height: 54px; border-radius: 14px; box-shadow: 0 1px 0 var(--hl) inset; }
.sbar:focus-within { border-color: color-mix(in srgb, var(--acc) 70%, var(--line2)); box-shadow: 0 0 0 4px var(--acc-soft), 0 20px 40px -24px rgba(0,0,0,.6); }
.sbar .btn.pri { height: 46px; border-radius: 12px; padding: 0 22px; } .compact .sbar .btn.pri { height: 40px; border-radius: 10px; }
.kbd { flex: none; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 6px; border: 1px solid var(--line2); border-bottom-width: 2px; color: var(--mute); font: 600 12px var(--mono); } .sbar:focus-within .kbd { display: none; }
.pill { border-radius: 99px; background: var(--acc-soft); color: color-mix(in srgb, var(--acc) 55%, var(--text)); border-color: transparent; }
.tog, .badge, .tag, .ex button, .types span, .chk label { border-radius: 99px; } .seg { border-radius: 99px; } .seg button { border-radius: 99px; }
.ex button:hover, .types span:hover { border-color: var(--line2); color: var(--text); }
.types span { background: linear-gradient(180deg, var(--hl2) 0%, transparent 100%), var(--surface); }

.feat, .card, .rhead, .plan, .panel, .nums div, .stat, .adv, .tw, .lockcard, .alert, .panel.flat { border-radius: 16px; background: linear-gradient(180deg, var(--hl2) 0%, transparent 60%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset, 0 1px 2px rgba(0,0,0,.2); }
.feat { position: relative; overflow: hidden; transition: border-color .2s, transform .25s var(--ease); } .feat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line2) 50%, transparent); } .feat:hover { border-color: var(--line2); transform: translateY(-3px); }
.feat .ic { border-radius: 12px; width: 42px; height: 42px; background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 22%, transparent), color-mix(in srgb, var(--acc) 8%, transparent)); color: color-mix(in srgb, var(--acc) 60%, var(--text)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 25%, transparent) inset; }
.card:hover { border-color: var(--line2); } .plan { transition: transform .25s var(--ease), border-color .2s; } .plan:hover { transform: translateY(-3px); } .plan.hl { box-shadow: 0 0 0 1px var(--acc), 0 24px 48px -28px var(--acc); }
.tabs { border-radius: 14px; background: var(--surface); } .tabs button { border-radius: 10px; } .tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface2); box-shadow: 0 0 0 1px var(--line2), 0 1px 0 var(--hl) inset; }
.rhead { padding: 24px 26px; } .rhead h2 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; }
.conf i b { border-radius: 3px; } .prog i { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 60%, transparent), var(--acc)); }
.in-t, label.f input, label.f select, .field { border-radius: 10px; } .modal .box { border-radius: 20px; } .toast { border-radius: 12px; }
.kv, .mx, .dt, details.raw pre { border-radius: 14px; }
.side a[aria-current] { background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface2); }
footer.foot { border-top-color: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .home:not(.x) .eyebrow, .home h1, .home p.sub, .sbox, .ex { animation: rise .6s var(--ease) both; } .home h1 { animation-delay: .05s; } .home p.sub { animation-delay: .1s; } .sbox { animation-delay: .15s; } .ex { animation-delay: .22s; }
  .types, .feats { animation: rise .7s var(--ease) .3s both; }
}

/* ---------- one card per result */
.rsec + .rsec { margin-top: 28px; } .rsec > h3 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.rc { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px 18px 12px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--hl2) 0%, transparent 60%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset, 0 1px 2px rgba(0,0,0,.2); transition: border-color .2s; } .rc:hover, .rc:focus-within { border-color: var(--line2); }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; } .rc-top .mute { font-size: 12px; }
.rc-type { padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--dim); background: var(--surface2); border: 1px solid var(--line); white-space: nowrap; }
.rc-val { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; word-break: break-word; overflow-wrap: anywhere; } .rc-val.m { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.rc-secret { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 13px; word-break: break-all; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); min-height: 38px; font-size: 12px; }
.rc-acts { display: flex; gap: 2px; margin-left: auto; } .rc-acts button { border: 0; background: none; color: var(--mute); cursor: pointer; padding: 5px 7px; border-radius: 8px; transition: color .15s, background .15s; } .rc-acts button:hover { color: var(--text); background: var(--surface2); } .rc-acts svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.rc .conf { font-size: 12px; }

/* ---------- result cards: one per result, always the same layout */
.resgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; align-items: stretch; }
.res { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 14px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--hl2) 0%, transparent 60%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset, 0 1px 2px rgba(0,0,0,.2); transition: border-color .2s; } .res:hover, .res:focus-within { border-color: var(--line2); }
.res-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; }
.res-kind { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); } .res-kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.k-leak .res-kind i { background: var(--warn); } .k-infostealer .res-kind i { background: var(--bad); } .k-profile .res-kind i { background: var(--ok); }
.res-src { font-size: 12.5px; color: var(--mute); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-title { margin: 10px 0 0; font-size: 18px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; word-break: break-word; overflow-wrap: anywhere; }
.rf-list { margin-top: 14px; border-top: 1px solid var(--line); }
.rf { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .rf:last-child { border-bottom: 0; }
.rf-l { color: var(--mute); font-size: 12.5px; padding-top: 1px; } .rf-v { display: grid; gap: 3px; min-width: 0; }
.rf-i { display: flex; align-items: center; gap: 6px; min-width: 0; } .rf-i .t { flex: 1; min-width: 0; word-break: break-word; overflow-wrap: anywhere; } .rf-i.m .t { font-family: var(--mono); font-size: 13px; }
.rf-i .rc-acts { opacity: 0; } .rf-i:hover .rc-acts, .rf-i:focus-within .rc-acts { opacity: 1; } .rf-i .rc-acts button { padding: 3px 5px; }
.res-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); } .res-title { margin-bottom: 14px; } .rf-list { margin: 0 0 14px; } .rf-list:first-of-type { margin-top: 0; }
.res-foot .tags { display: flex; gap: 6px; flex-wrap: wrap; } .res-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; }

/* ---------- blocks inside a result card (credentials, device, account, network, more data) */
.rb { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); } .rb-t { margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.rb .rf-list { margin: 0; border-top: 0; }
.rb-cred { padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); } .rb-cred:last-child { margin-bottom: 0; }
.rb-cl { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; } .rb-cl .t { min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
.rb-cs { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; word-break: break-all; }
.rb-more { margin-top: 12px; border-top: 1px solid var(--line); } .rb-more summary { cursor: pointer; padding: 10px 0 4px; font-size: 13px; color: var(--dim); } .rb-more summary:hover { color: var(--text); } .rb-more .rf-list { margin: 6px 0 0; border-top: 0; }
.res-foot { justify-content: flex-end; }
.res .rf-v .t a, .res a.t { color: inherit; text-decoration-color: var(--line2); text-underline-offset: 3px; }

/* ---------- the search engine's home: types, how it works, questions, footer */
.compact .how, .compact .faq { display: none; }
.types button.tchip { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 99px; cursor: pointer; color: var(--mute); background: none; border: 1px dashed var(--line2); } .types button.tchip:hover { color: var(--text); }
.types a.tchip { padding: 5px 12px; border-radius: 99px; font-size: 13px; text-decoration: none; color: var(--dim); background: linear-gradient(180deg, var(--hl2) 0%, transparent 100%), var(--surface); border: 1px solid var(--line); transition: border-color .15s, color .15s; } .types a.tchip:hover, .types a.tchip.on { color: var(--text); border-color: var(--line2); } .types a.tchip.on { background: var(--surface2); }
.how, .faq { margin-top: 84px; } .how > h2, .faq > h2 { margin: 0 0 22px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .step { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--hl2) 0%, transparent 60%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset; }
.step .num { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; font: 700 14px var(--mono); color: color-mix(in srgb, var(--acc) 60%, var(--text)); background: color-mix(in srgb, var(--acc) 14%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 28%, transparent) inset; }
.step h3 { margin: 0 0 6px; font-size: 16px; } .step p { margin: 0; color: var(--dim); font-size: 14.5px; }
.feat .more-l { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--dim); text-decoration: none; } .feat .more-l:hover { color: var(--text); }
.faq { max-width: 780px; margin-left: auto; margin-right: auto; } .qa { border-bottom: 1px solid var(--line); } .qa summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 2px; position: relative; font-weight: 600; font-size: 16px; } .qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 22px var(--sans); color: var(--mute); transition: transform .2s; } .qa[open] summary::after { content: "–"; color: var(--text); }
.qa p { margin: 0 0 18px; padding-right: 28px; color: var(--dim); }
.hist { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; } .compact .hist { justify-content: flex-start; }
.hchip { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--dim); font: 13px var(--mono); cursor: pointer; } .hchip:hover { color: var(--text); border-color: var(--line2); }
.hclear { border: 0; background: none; color: var(--mute); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; } .hclear:hover { color: var(--text); }
.chk1 { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dim); line-height: 1.5; cursor: pointer; } .chk1 input { margin-top: 3px; accent-color: var(--acc); flex: none; width: 16px; height: 16px; } .chk1 a { color: var(--text); text-underline-offset: 3px; }
.narrow.wide { max-width: 560px; } textarea.in-t { resize: vertical; min-height: 76px; font-family: inherit; } .fine { margin: 18px 0 0; color: var(--mute); font-size: 13px; }
.filter { max-width: 340px; margin-bottom: 16px; } .btn.ghost { background: none; box-shadow: none; border-color: transparent; color: var(--mute); } .btn.ghost:hover { color: var(--text); border-color: var(--line2); }
.res-foot { justify-content: space-between; }

footer.foot.big { padding: 54px 0 0; margin-top: 110px; } .fgrid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.fb .brand { margin-bottom: 12px; } .fb p { margin: 0 0 8px; max-width: 320px; font-size: 14px; color: var(--dim); line-height: 1.55; } .fc h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); font-weight: 600; } .fc a { display: block; padding: 4px 0; font-size: 14px; color: var(--dim); text-decoration: none; } .fc a:hover { color: var(--text); }
.fbase { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 20px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

/* ---------- legal pages (written out by the server) */
.legal { max-width: 800px; padding-top: 56px; padding-bottom: 20px; } .legal h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.035em; } .legal .stamp { margin: 0 0 30px; color: var(--mute); font-size: 14px; }
.legal section { margin-top: 30px; } .legal h2 { margin: 0 0 8px; font-size: 18px; font-weight: 650; letter-spacing: -.01em; } .legal p, .legal li { color: var(--dim); line-height: 1.7; font-size: 15.5px; } .legal p { margin: 0 0 12px; } .legal ul { margin: 0 0 12px; padding-left: 22px; } .legal li { margin-bottom: 6px; }
.legal a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line2); } .legal b { color: var(--text); font-weight: 600; }
.todo { display: inline-block; padding: 0 7px; border-radius: 6px; background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); font-size: .92em; border: 1px dashed color-mix(in srgb, var(--warn) 50%, transparent); }
.legal-links { gap: 6px 22px; padding-top: 6px; } .legal-links span { display: flex; gap: 6px 22px; flex-wrap: wrap; } .legal-links a { color: var(--dim); text-decoration: none; font-size: 13.5px; } .legal-links a:hover { color: var(--text); }
body[data-page="legal"] .nav { display: flex; } body[data-page="legal"] footer.foot { margin-top: 70px; }

/* ---------- maintenance page */
.mt { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.mt-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mt-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 42%, #000 5%, transparent 75%); mask-image: radial-gradient(ellipse 65% 70% at 50% 42%, #000 5%, transparent 75%); }
.mt-bg .o1, .mt-bg .o2 { position: absolute; border-radius: 50%; filter: blur(90px); }
.mt-bg .o1 { width: 560px; height: 560px; left: -140px; top: -160px; background: color-mix(in srgb, var(--acc) 30%, transparent); opacity: .55; }
.mt-bg .o2 { width: 620px; height: 620px; right: -200px; bottom: -240px; background: color-mix(in srgb, var(--text) 16%, transparent); opacity: .5; }
[data-theme="light"] .mt-bg .o1 { opacity: .35; } [data-theme="light"] .mt-bg .o2 { opacity: .25; }
.mt-top, .mt-foot { width: 100%; }
.mt-top { display: flex; align-items: center; gap: 6px; height: 72px; flex: none; } .mt-top .brand { font-size: 20px; }
.mt-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 20px 48px; }
.mt-logo { position: relative; width: 148px; height: 148px; display: grid; place-items: center; margin-bottom: 34px; }
.mt-logo i { position: absolute; border-radius: 50%; border: 1px solid var(--line2); } .mt-logo .r1 { inset: -26px; opacity: .8; } .mt-logo .r2 { inset: -62px; opacity: .45; } .mt-logo .r3 { inset: -104px; opacity: .22; }
.mt-logo .r1::after, .mt-logo .r2::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); } .mt-logo .r2::after { background: var(--text); box-shadow: 0 0 12px var(--text); opacity: .7; }
.mt-logo .core { position: relative; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 30px; border: 1px solid var(--line2); background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface); box-shadow: 0 1px 0 var(--hl) inset, 0 30px 60px -28px rgba(0,0,0,.7), 0 0 0 8px color-mix(in srgb, var(--surface) 55%, transparent); }
.mt-logo .core svg { width: 54px; height: 54px; color: var(--text); }
.mt-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 550; color: var(--dim); border: 1px solid var(--line2); background: linear-gradient(180deg, var(--hl) 0%, transparent 100%), var(--surface); } .mt-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); }
.mt h1 { margin: 22px 0 0; font-size: clamp(38px, 7vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 55%, transparent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .1em; }
.mt-msg { margin: 14px 0 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--dim); }
.mt-bar { position: relative; width: 240px; height: 4px; margin: 34px 0 0; border-radius: 4px; background: var(--line); overflow: hidden; } .mt-bar i { position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.mt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; width: min(560px, 100%); margin-top: 44px; text-align: left; }
.mt-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--hl2) 0%, transparent 60%), color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 1px 0 var(--hl) inset; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mt-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--dim); } .mt-ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-card small { display: block; font-size: 12px; color: var(--mute); letter-spacing: .02em; } .mt-card b { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; } .mt-card b i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); } .mt-card b.warn i { background: var(--warn); } .mt-card b.ok i { background: var(--ok); }
.mt-retry { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; font-size: 13.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.mt-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); } .mt-foot a { color: var(--dim); text-decoration: none; } .mt-foot a:hover { color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes spin { to { transform: rotate(360deg); } } @keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } } @keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(270%); } } @keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .35; } } @keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .mt-bg .o1 { animation: drift 16s ease-in-out infinite alternate; } .mt-bg .o2 { animation: drift 20s ease-in-out infinite alternate-reverse; }
  .mt-logo .core svg { animation: spin 22s linear infinite; } .mt-logo .r1 { animation: spin 14s linear infinite; } .mt-logo .r2 { animation: spin 26s linear infinite reverse; }
  .mt-bar i { animation: slide 1.8s var(--ease) infinite; } .mt-pill i { animation: beat 1.8s ease-in-out infinite; }
  .mt-logo, .mt-pill, .mt h1, .mt-msg, .mt-bar, .mt-cards, .mt-retry { animation: fadeup .7s var(--ease) both; } .mt-pill { animation-delay: .08s; } .mt h1 { animation-delay: .14s; } .mt-msg { animation-delay: .2s; } .mt-bar { animation-delay: .26s; } .mt-cards { animation-delay: .32s; } .mt-retry { animation-delay: .4s; }
}
@media (max-width: 720px) { .mt-cards { grid-template-columns: 1fr; margin-top: 34px; } .mt-logo { transform: scale(.85); margin-bottom: 20px; } .mt-msg { font-size: 16px; } .mt-logo .r3 { display: none; } }

/* ---------- responsive */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; } .fgrid { grid-template-columns: 1fr 1fr; gap: 28px; } .how, .faq { margin-top: 56px; }
  .wrap { padding: 0 16px; } .nav { display: none; } .rhead { flex-direction: column; } .score { text-align: left; } .score .t { margin-left: 0; } .grid { grid-template-columns: 1fr; }
  .adm { grid-template-columns: 1fr; } .side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); } .side .grp { display: none; } .side a { white-space: nowrap; } .main { padding: 20px 14px 50px; }
  .tl div { grid-template-columns: 90px 1fr; } .tl div span:nth-child(2) { display: none; }
  .feats { grid-template-columns: 1fr; margin-top: 44px; } .home { text-align: left; } .sopts, .ex, .types { justify-content: flex-start; } .rhead { padding: 18px; } .tabs { width: auto; }
}
@media (max-width: 560px) { .home { padding-top: 6vh; } .home p.sub { font-size: 16px; } .sbar { height: 56px; } .sbar { padding-left: 12px; } .sbar .si, .sbar .pill { display: none; } .bar .tools .hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
