/* Website Security Scanner (ADR-031). Look taken from the design canvas "id8 Security Scanner — tool page"
   (the "Buildable today" artboards: results and scanning, desktop 1440 and mobile 390). This page has its own palette and type by kgrv's decision
   (2026-10-11); it is the one page that does not use the id8 UI v2 tokens. */
.wss-body {
    --wss-night: #1B1534;      /* hero, proof blocks, footer */
    --wss-paper: #F5F4F0;      /* light ground */
    --wss-sand: #ECE9E2;       /* alternate light ground */
    --wss-ink: #16141F;
    --wss-ink-soft: #2D2A36;
    --wss-muted: #55525F;
    --wss-line: #DDDAD2;
    --wss-line-strong: #CFCBC2;
    --wss-brand: #5B2BD6;
    --wss-accent: #FFE14A;
    --wss-on-night: #F5F4F0;
    --wss-on-night-soft: #D6D2E0;
    --wss-on-night-dim: #B9B4C8;
    --wss-display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
    --wss-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --wss-sans: 'IBM Plex Sans', system-ui, sans-serif;
    margin: 0; background: var(--wss-night);
}
.wss { color: var(--wss-ink); font-family: var(--wss-sans); font-size: 17px; line-height: 1.5; }
.wss *, .wss-footer * { box-sizing: border-box; }
.wss-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.wss-wrap--narrow { max-width: 820px; }
.wss-wrap--hero { max-width: 880px; }
.wss-wrap--report { max-width: 960px; }
.wss h2, .wss h3 { font-family: var(--wss-display); color: inherit; }
.wss-kicker { margin: 0 0 16px; font-family: var(--wss-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--wss-on-night-dim); }
.wss-kicker--dark { margin-bottom: 12px; color: var(--wss-muted); }
.wss-h2 { margin: 0 0 40px; font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.02em; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.wss-hero { background: var(--wss-night); color: var(--wss-on-night); padding: 64px 0 56px; }
.wss-hero h1 { font-family: var(--wss-display); letter-spacing: -0.03em; }
.wss-hero h1 .wss-mark { background: var(--wss-accent); color: var(--wss-ink); padding: 0 0.12em; }
.wss-br-m { display: none; }
.wss-hero #hero-subtitle { max-width: 640px; text-wrap: pretty; }
.wss-form { margin: 32px 0 0; }
.wss-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.wss-form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.wss-field { flex: 1 1 320px; min-width: 0; height: 60px; border: 2px solid var(--wss-paper); border-radius: 10px; padding: 0 18px;
    background: #FFFFFF; color: var(--wss-ink); font-family: var(--wss-mono); font-size: 16px; }
.wss-field:focus { outline: 3px solid var(--wss-accent); outline-offset: 2px; }
.wss-field:disabled { opacity: 1; border-color: #3B3358; background: #2A2347; color: var(--wss-on-night); -webkit-text-fill-color: var(--wss-on-night); }
.wss-scan { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 32px;
    border: 0; border-radius: 10px; background: var(--wss-brand); color: #FFFFFF; font-family: var(--wss-sans); font-size: 17px;
    font-weight: 600; cursor: pointer; }
.wss-scan:hover { background: #6D3AF0; }
.wss-scan:focus-visible, .wss-btn:focus-visible, .wss-ghost:focus-visible, .wss-copy:focus-visible { outline: 3px solid var(--wss-accent); outline-offset: 2px; }
.wss-scan:disabled { background: #3B3358; color: #A49EB8; cursor: not-allowed; }
.wss-scan.is-busy:disabled { padding: 0 26px; background: var(--wss-brand); color: #FFFFFF; cursor: progress; }
.wss-scan.is-waking:disabled { padding: 0 26px; border: 2px dashed #6E6790; background: #2A2347; color: #CFCAE0; }
.wss-scan.is-waking .wss-spin { border-color: #4A4266; border-top-color: var(--wss-accent); animation-duration: 0.9s; }
.wss-scan-wrap { position: relative; flex: 0 0 auto; display: inline-flex; }
.wss-tip { position: absolute; right: 0; bottom: calc(100% + 14px); z-index: 2; width: 280px; background: #FFFFFF; color: var(--wss-ink);
    border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; text-align: left; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    animation: wss-float 2.4s ease-in-out infinite; }
.wss-tip::after { content: ""; position: absolute; right: 44px; bottom: -6px; width: 12px; height: 12px; background: #FFFFFF; transform: rotate(45deg); }
.wss-tip strong { display: block; font-weight: 700; font-size: 14px; }
.wss-tip span { display: block; margin-top: 2px; color: var(--wss-ink-soft); }
.wss-spin { width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #FFFFFF; border-radius: 50%;
    animation: wss-spin 0.8s linear infinite; }
.wss-under { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.wss-note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--wss-on-night-dim); }
.wss-note svg { flex: none; }
.wss-quota { display: flex; align-items: center; gap: 12px; background: #251E42; border: 1px solid #3B3358; border-radius: 999px;
    padding: 9px 16px; font-size: 14px; color: var(--wss-on-night); }
.wss-quota strong { font-weight: 700; }
.wss-pips { display: flex; gap: 4px; }
.wss-pips span { width: 20px; height: 8px; border-radius: 4px; background: #3B3358; }
.wss-pips span.is-lit { background: var(--wss-accent); }
.wss-status { min-height: 22px; margin: 20px 0 0; font-family: var(--wss-mono); font-size: 14px; color: var(--wss-on-night-soft); }
.wss-status:empty { min-height: 0; margin: 0; }
.wss-banner { margin: 28px 0 0; background: var(--wss-accent); color: var(--wss-ink); border-radius: 12px; padding: 18px 20px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.wss-banner p { margin: 0; font-size: 17px; font-weight: 500; }
.wss-banner strong { font-weight: 700; }
.wss-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px;
    background: var(--wss-brand); color: #FFFFFF; font-family: var(--wss-sans); font-size: 16px; font-weight: 600; cursor: pointer; }
.wss-btn:hover { background: #4C1FC4; }

/* ── One scan's progress: queued, scanning, failed ────────────────────── */
@keyframes wss-spin { to { transform: rotate(360deg); } }
@keyframes wss-sweep { 0% { top: 0; } 100% { top: calc(100% - 2px); } }
@keyframes wss-pulse { 0%, 100% { opacity: 0.35; transform: scale(0.75); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes wss-stripes { to { background-position: 12px 0; } }
@keyframes wss-indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@keyframes wss-shimmer { 0% { background-position: -300px 0; } 100% { background-position: 600px 0; } }
@keyframes wss-queue { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes wss-ring { 0% { opacity: 0.85; transform: scale(0.92); } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes wss-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.wss-live { margin: 32px 0 0; background: #231C40; border: 1px solid #3B3358; border-radius: 16px; overflow: hidden; color: var(--wss-on-night); }
.wss-live__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 16px 22px; }
.wss-live__name { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.wss-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--wss-accent); box-shadow: 0 0 12px 2px var(--wss-accent);
    animation: wss-pulse 1.4s ease-in-out infinite; }
.wss-dot--idle { background: var(--wss-on-night-dim); box-shadow: none; animation-duration: 2s; }
.wss-live__clock { font-family: var(--wss-mono); font-size: 13px; color: var(--wss-on-night-dim); }
.wss-live__clock #wss-clock { color: var(--wss-on-night); font-weight: 600; }
.wss-bar { height: 6px; background: #3B3358; overflow: hidden; }
.wss-bar__fill { width: 0; height: 6px; border-radius: 0 3px 3px 0; background-color: var(--wss-accent);
    background-image: linear-gradient(90deg, rgba(22, 20, 31, 0.22) 0 4px, transparent 4px); background-size: 12px 6px;
    animation: wss-stripes 0.6s linear infinite; transition: width 1s linear; }
.wss-bar--idle .wss-bar__fill { width: 28%; border-radius: 3px; background: var(--wss-on-night-dim); animation: wss-indet 1.6s ease-in-out infinite;
    transition: none; }
.wss-live__body { padding: 24px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px;
    align-items: start; }
.wss-browser { background: #FFFFFF; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.wss-browser__top { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; background: var(--wss-sand); }
.wss-browser__dots { display: flex; gap: 5px; }
.wss-browser__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--wss-line-strong); }
.wss-browser__url { flex: 1 1 auto; min-width: 0; height: 18px; border-radius: 9px; padding: 0 10px; background: #FFFFFF; color: var(--wss-muted);
    font-family: var(--wss-mono); font-size: 11px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wss-browser__page { position: relative; height: 250px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.wss-sk { border-radius: 6px; background: #EFEDE7; }
.wss-sk--title { height: 16px; width: 40%; border-radius: 4px; background: #E7E4DC; }
.wss-sk--hero { height: 80px; }
.wss-sk-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wss-sk--tile { height: 54px; }
.wss-sk--line { height: 8px; width: 90%; border-radius: 4px; }
.wss-sk--short { width: 70%; }
.wss-ping { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--wss-brand); animation: wss-pulse 1.6s ease-in-out infinite; }
.wss-ping--1 { left: 22%; top: 30%; }
.wss-ping--2 { left: 70%; top: 18%; animation-delay: 0.5s; }
.wss-ping--3 { left: 48%; top: 62%; animation-delay: 1s; }
.wss-ping--4 { left: 84%; top: 74%; animation-delay: 0.25s; }
.wss-sweep { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--wss-accent); box-shadow: 0 0 18px 4px var(--wss-accent);
    animation: wss-sweep 2.6s ease-in-out infinite alternate; }
.wss-live__kicker { margin: 0 0 10px; font-family: var(--wss-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--wss-on-night-dim); }
.wss-live__kicker--now { margin-bottom: 6px; color: var(--wss-accent); }
.wss-live__kicker--next { margin-top: 22px; }
.wss .wss-live__title { margin: 0; font-weight: 700; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.wss .wss-live__title--big { font-size: 26px; }
.wss-live__text { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--wss-on-night-soft); }
.wss-live__checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wss-live__checks li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid #3B3358; border-radius: 8px;
    font-size: 14px; color: var(--wss-on-night-soft); }
.wss-live__checks li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6E6790; }
.wss-live__foot { padding: 18px 22px 22px; border-top: 1px solid #3B3358; background: #1F1939; }
.wss-shimmers { display: flex; flex-direction: column; gap: 8px; }
.wss-shimmers div { height: 44px; border-radius: 10px; background-color: #2A2347;
    background-image: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.06) 150px, transparent 300px); background-size: 600px 44px;
    background-repeat: no-repeat; animation: wss-shimmer 1.8s linear infinite; }
.wss-shimmers div + div { width: 78%; animation-delay: 0.3s; }
.wss-live__hint { margin: 12px 0 0; font-size: 13px; color: var(--wss-on-night-dim); }
.wss-queue { padding: 48px 22px 52px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.wss-queue .wss-live__text { max-width: 460px; margin-left: auto; margin-right: auto; }
.wss-queue__rows { display: flex; flex-direction: column; gap: 8px; width: 220px; }
.wss-queue__rows div { height: 14px; border-radius: 7px; background: #3B3358; animation: wss-queue 2.4s ease-in-out infinite; }
.wss-queue__rows div:nth-child(2) { animation-delay: 0.4s; }
.wss-queue__rows .wss-queue__mine { display: flex; align-items: center; padding: 0 8px; background: var(--wss-accent); animation: none; overflow: hidden; }
.wss-queue__mine span { font-family: var(--wss-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--wss-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wss-wake { border-top: 4px solid var(--wss-accent); }
.wss-wake__top { padding: 26px 26px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.wss-wake__icon { flex: none; position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
    border-radius: 18px; background: var(--wss-accent); color: var(--wss-ink); }
.wss-wake__icon::before { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 2px solid var(--wss-accent);
    animation: wss-ring 1.8s ease-out infinite; }
.wss-wake__text { flex: 1 1 360px; min-width: 0; }
.wss .wss-wake__title { font-size: 28px; line-height: 1.15; }
.wss-wake__lead { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--wss-on-night-soft); }
.wss-wake__count { flex: none; text-align: right; }
.wss-wake__count strong { display: block; font-family: var(--wss-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--wss-accent);
    font-variant-numeric: tabular-nums; }
.wss-wake__count span { display: block; margin-top: 4px; font-family: var(--wss-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--wss-on-night-dim); }
.wss-wake__meter { padding: 0 26px 26px; }
.wss-wake__track { height: 10px; border-radius: 5px; background: #3B3358; overflow: hidden; }
.wss-wake__fill { width: 0; height: 10px; border-radius: 5px; background-color: var(--wss-accent);
    background-image: linear-gradient(90deg, rgba(22, 20, 31, 0.22) 0 4px, transparent 4px); background-size: 12px 10px;
    animation: wss-stripes 0.6s linear infinite; transition: width 1s linear; }
.wss-wake__ends { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--wss-mono); font-size: 12px;
    color: var(--wss-on-night-dim); }
.wss-fail:not([hidden]) { padding: 28px 28px 30px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 24px; }
.wss-fail__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px;
    background: #3A1F2A; color: #FF9C86; }
.wss-fail__text { flex: 1 1 420px; min-width: 0; }
.wss-fail__reason { margin-top: 14px; background: var(--wss-night); border: 1px solid #3B3358; border-radius: 10px; padding: 12px 14px;
    font-family: var(--wss-mono); font-size: 13px; line-height: 1.6; color: var(--wss-on-night); overflow-wrap: anywhere; }
.wss-fail__text .wss-live__text { margin-top: 14px; }
.wss-fail__text .wss-btn { margin-top: 18px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
    .wss-live *, .wss-live *::before, .wss-spin, .wss-tip { animation: none !important; }
    .wss-bar__fill, .wss-wake__fill { transition: none; }
}

/* ── Results ──────────────────────────────────────────────────────────── */
.wss-results { background: var(--wss-paper); padding: 56px 0 72px; }
.wss-verdict { background: #FFFFFF; border: 1.5px solid var(--wss-ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--wss-ink); margin-right: 6px;
    overflow: hidden; scroll-margin-top: 16px; }
#wss-report { scroll-margin-top: 16px; }
.wss-verdict__top { padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
.wss-verdict__text { flex: 1 1 420px; min-width: 0; }
.wss-verdict__site { margin: 0 0 8px; font-family: var(--wss-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--wss-muted); overflow-wrap: anywhere; }
.wss .wss-verdict__title { margin: 0; font-weight: 800; font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; }
.wss-verdict__mark { background: var(--wss-accent); padding: 0 0.1em; white-space: nowrap; }
.wss-verdict__mark:empty { display: none; }
.wss-verdict__summary { margin: 10px 0 0; max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--wss-ink-soft); }
.wss-ghost { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
    border: 1.5px solid var(--wss-ink); border-radius: 8px; background: transparent; color: var(--wss-ink); font-family: var(--wss-sans);
    font-size: 15px; font-weight: 600; cursor: pointer; }
.wss-ghost:hover { background: var(--wss-paper); }
.wss-sevs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #E7E4DC; }
.wss-sevs__cell { padding: 16px 20px 18px; border-top: 4px solid #E7E4DC; border-right: 1px solid #E7E4DC; --tone: #6E6A78; }
.wss-sevs__cell:last-child { border-right: 0; }
.wss-sevs__cell strong { display: block; font-family: var(--wss-display); font-weight: 800; font-size: 32px; line-height: 1.1; color: #8C8896; }
.wss-sevs__cell span { display: block; margin-top: 2px; font-family: var(--wss-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--tone); }
.wss-sevs__cell[class*="--"] strong { color: var(--tone); }
/* Critical, high and medium are not on the canvas: same pattern, the page's own severity colours. */
.wss-sevs__cell--critical { --tone: #8A1C10; border-top-color: #C4260C; background: #FDF0EC; }
.wss-sevs__cell--high { --tone: #7A3300; border-top-color: #D9600A; background: #FFF1E3; }
.wss-sevs__cell--medium { --tone: #5E4A00; border-top-color: #C99A00; background: #FFF7D1; }
.wss-sevs__cell--low { --tone: #1F4687; border-top-color: #2F6FD0; background: #EEF4FD; }
.wss-sevs__cell--info { --tone: #4A23B5; border-top-color: var(--wss-brand); background: #F3EFFE; }
.wss-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--wss-night);
    color: var(--wss-on-night); }
.wss-stats li { padding: 16px 24px; min-width: 0; border-left: 1px solid #3B3358; }
.wss-stats li:first-child { border-left: 0; }
.wss-stats strong { display: block; font-family: var(--wss-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.wss-stats span { display: block; margin-top: 2px; font-family: var(--wss-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--wss-on-night-dim); }
.wss-saved { margin: 0; padding: 14px 32px; display: flex; align-items: flex-start; gap: 10px; background: var(--wss-paper);
    border-top: 1px solid #E7E4DC; font-size: 14px; line-height: 1.5; color: var(--wss-ink-soft); }
.wss-saved svg { flex: none; margin-top: 3px; color: var(--wss-muted); }
.wss-saved strong { font-weight: 600; }
.wss-findings-head { margin: 40px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.wss .wss-findings-head h2 { margin: 0; font-weight: 800; font-size: 26px; line-height: 1.2; }
.wss-findings-head span { font-family: var(--wss-mono); font-size: 13px; color: var(--wss-muted); }
.wss-findings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.wss-card { --tone: #4A23B5; --tint: #EEE8FD; --bar: var(--wss-brand); background: #FFFFFF; border: 1px solid var(--wss-line); border-radius: 14px;
    overflow: hidden; }
.wss-card--critical { --tone: #8A1C10; --tint: #FFD6D0; --bar: #C4260C; }
.wss-card--high { --tone: #7A3300; --tint: #FFDCC2; --bar: #D9600A; }
.wss-card--medium { --tone: #5E4A00; --tint: #FFE9B8; --bar: #C99A00; }
.wss-card--low { --tone: #1F4687; --tint: #E6EEFB; --bar: #2F6FD0; }
.wss-card__bar { height: 4px; background: var(--bar); }
.wss-card__head { padding: 20px 24px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "icon kind sev" "icon title sev";
    column-gap: 16px; align-items: center; border-bottom: 1px solid #EEECE6; }
.wss-card__icon { grid-area: icon; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
    background: var(--tint); color: var(--tone); }
.wss-card__kind { grid-area: kind; align-self: end; font-family: var(--wss-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
    color: var(--wss-muted); }
.wss .wss-card__title { grid-area: title; align-self: start; margin: 2px 0 0; font-weight: 700; font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.wss-sev { grid-area: sev; background: var(--tint); color: var(--tone); border-radius: 6px; padding: 5px 12px; font-family: var(--wss-mono);
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.wss-card__body { margin: 0; padding: 20px 24px 24px; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px 20px; align-items: start; }
.wss-card__body dt { padding-top: 3px; font-family: var(--wss-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--wss-muted); }
.wss-card__body dt.wss-dt--proof { padding-top: 6px; }
.wss-card__body dt.wss-dt--fix { padding-top: 16px; }
.wss-card__body dd { margin: 0; min-width: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.wss-card__body dd.wss-where { font-family: var(--wss-mono); font-size: 14px; }
.wss-proof { background: var(--wss-paper); border: 1px solid #E2DFD7; border-radius: 10px; padding: 12px 14px; font-family: var(--wss-mono);
    font-size: 13px; line-height: 1.6; color: var(--wss-ink); overflow-wrap: anywhere; white-space: pre-wrap; }
.wss-hp { display: flex; flex-direction: column; gap: 14px; }
.wss-hp__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wss-hp__label { width: 132px; font-size: 13px; font-weight: 600; color: var(--wss-muted); }
.wss-hp__label--bad { color: #A31F0A; }
.wss-hp__label--good { color: #1D5B30; }
.wss-hchip { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 3px 9px; font-family: var(--wss-mono); font-size: 12px; }
.wss-hchip--bad { border: 1.5px dashed #C4260C; background: #FDF0EC; color: #A31F0A; font-size: 13px; font-weight: 600; }
.wss-hchip--good { border: 1px solid #BFE3C9; background: #EAF6EE; color: #1D5B30; }
.wss-hchip--plain { border: 1px solid #E2DFD7; background: var(--wss-paper); color: var(--wss-ink-soft); padding: 2px 8px; }
.wss-hp__other summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; font-size: 13px; font-weight: 600;
    color: var(--wss-muted); }
.wss-hp__other .wss-hp__row { gap: 6px; margin-top: 4px; }
.wss-api { border: 1px solid #E7E4DC; border-radius: 10px; overflow: hidden; }
.wss-api__row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 14px; border-bottom: 1px solid #EEECE6; }
.wss-api__row:last-child { border-bottom: 0; }
.wss-api__method { flex: none; min-width: 40px; text-align: center; background: #EEE8FD; color: #4A23B5; border-radius: 4px; padding: 2px 4px;
    font-family: var(--wss-mono); font-size: 11px; font-weight: 600; }
.wss-api__path { flex: 1 1 auto; min-width: 0; font-family: var(--wss-mono); font-size: 14px; overflow-wrap: anywhere; }
.wss-api__host { color: #6E6A78; }
.wss-api__status { flex: none; background: var(--wss-sand); color: var(--wss-muted); border-radius: 4px; padding: 2px 8px; font-family: var(--wss-mono);
    font-size: 12px; font-weight: 600; }
.wss-api__status--ok { background: #EAF6EE; color: #1D5B30; }
.wss-fix { background: #FFF7D1; border: 1px solid #F0DE85; border-radius: 10px; padding: 14px 16px; }
.wss-fix p { margin: 0; font-size: 15px; line-height: 1.55; }
.wss-fix__code { margin-top: 10px; display: flex; align-items: center; gap: 10px; background: #FFFFFF; border: 1px solid #E8DFB0; border-radius: 8px;
    padding: 4px 4px 4px 14px; }
.wss-fix__code code { flex: 1 1 auto; min-width: 0; overflow-x: auto; white-space: nowrap; font-family: var(--wss-mono); font-size: 14px; color: var(--wss-ink); }
.wss-copy { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0;
    border-radius: 6px; background: var(--wss-ink); color: #FFFFFF; font-family: var(--wss-sans); font-size: 14px; font-weight: 600; cursor: pointer; }
.wss-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--wss-ink-soft); text-wrap: pretty; }
.wss-intro p strong { font-weight: 600; color: var(--wss-ink); }
.wss-intro p.wss-intro__by { margin-top: 12px; font-size: 14px; color: var(--wss-muted); }
.wss-intro a { color: var(--wss-brand); font-weight: 500; text-decoration: underline; }
#wss-report:not([hidden]) + .wss-intro { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--wss-line); }

/* ── What it checks / How it works / the two cards / FAQ ──────────────── */
.wss-checks { background: var(--wss-sand); padding: 88px 0; }
.wss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.wss-tile { background: #FFFFFF; border: 1px solid var(--wss-line); border-radius: 12px; padding: 24px; }
.wss-tile h3 { margin: 0 0 8px; font-weight: 700; font-size: 21px; line-height: 1.25; }
.wss-tile p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--wss-ink-soft); }
.wss-how { background: var(--wss-paper); padding: 88px 0; }
.wss-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
.wss-steps li { border-top: 3px solid var(--wss-ink); padding-top: 20px; }
.wss-steps__n { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--wss-brand); color: #FFFFFF; font-family: var(--wss-mono); font-size: 15px; font-weight: 600; }
.wss-steps h3 { margin: 16px 0 6px; font-weight: 700; font-size: 21px; line-height: 1.25; }
.wss-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--wss-ink-soft); }
.wss-pair { background: var(--wss-paper); padding: 0 0 88px; }
.wss-pair__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.wss-panel { background: #FFFFFF; border: 1px solid var(--wss-line); border-radius: 14px; padding: 32px; }
.wss-panel h2 { margin: 0 0 20px; font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; }
.wss-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5;
    color: var(--wss-ink-soft); }
.wss-panel li { display: flex; align-items: flex-start; gap: 12px; }
.wss-panel li svg { flex: none; margin-top: 4px; color: #6E6A78; }
.wss-panel--night { background: var(--wss-night); border-color: var(--wss-night); color: var(--wss-on-night); }
.wss-panel--night p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--wss-on-night-soft); }
.wss-panel--night p.wss-panel__mark { margin-top: 16px; font-weight: 500; }
.wss-panel__mark span { background: var(--wss-accent); color: var(--wss-ink); padding: 1px 6px; border-radius: 3px; }
.wss-faq { background: var(--wss-sand); padding: 88px 0; }
.wss-faq .wss-h2 { margin-bottom: 32px; }
.wss-faq__list { border-top: 1px solid var(--wss-line-strong); }
.wss-faq details { border-bottom: 1px solid var(--wss-line-strong); }
.wss-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; cursor: pointer;
    font-size: 18px; font-weight: 600; list-style: none; }
.wss-faq summary::-webkit-details-marker { display: none; }
.wss-faq summary svg { flex: none; transition: transform 0.15s; }
.wss-faq details[open] summary svg { transform: rotate(45deg); }
.wss-faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--wss-ink-soft); }
.wss-more { margin: 28px 0 0; font-size: 15px; color: var(--wss-ink-soft); }
.wss-more a { color: var(--wss-brand); font-weight: 500; text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.wss-footer { background: var(--wss-night); color: var(--wss-on-night-dim); font-family: var(--wss-sans); }
.wss-footer__row { max-width: 1120px; margin: 0 auto; padding: 24px 32px; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 12px 32px; font-size: 14px; }
.wss-footer__brand { display: flex; align-items: center; gap: 10px; color: var(--wss-on-night); font-weight: 500; }
.wss-badge { font-family: var(--wss-display); font-weight: 800; font-size: 16px; line-height: 1; background: var(--wss-brand); color: #FFFFFF;
    padding: 5px 7px; border-radius: 5px; }
.wss-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.wss-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wss-on-night); text-decoration: underline; }
.wss-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wss [hidden], .wss-banner [hidden] { display: none !important; }

/* ── Phone (the 390 artboard) ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .wss-wrap { padding: 0 20px; }
    .wss-hero { padding: 40px 0 44px; }
    .wss-br-m { display: inline; }
    .wss-br-d { display: none; }
    .wss-hero h1 .wss-mark { margin-left: -0.12em; }
    .wss-form { margin-top: 28px; }
    .wss-form__row { flex-direction: column; }
    .wss-field, .wss-scan { flex: none; width: 100%; height: 56px; }
    .wss-field { padding: 0 16px; }
    .wss-scan.is-busy:disabled, .wss-scan.is-waking:disabled { padding: 0; }
    .wss-scan-wrap { display: flex; flex-direction: column; width: 100%; }
    .wss-tip { position: relative; right: auto; bottom: auto; width: auto; margin-top: 14px; animation: none; }
    .wss-tip::after { right: auto; left: 50%; bottom: auto; top: -6px; margin-left: -6px; }
    .wss-wake__top { padding: 20px 18px 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; }
    .wss-wake__icon { width: 56px; height: 56px; border-radius: 16px; }
    .wss-wake__icon::before { inset: -5px; border-radius: 20px; }
    .wss-wake__icon svg { width: 26px; height: 26px; }
    .wss-wake__count { grid-column: 2; grid-row: 1; text-align: left; }
    .wss-wake__count strong { font-size: 34px; }
    .wss-wake__text { grid-column: 1 / -1; margin-top: 18px; }
    .wss .wss-wake__title { font-size: 24px; }
    .wss-wake__lead { font-size: 15px; }
    .wss-wake__meter { padding: 18px 18px 22px; }
    .wss-under { flex-direction: column; align-items: stretch; gap: 12px; }
    .wss-quota { order: -1; border-radius: 12px; padding: 12px 14px; }
    .wss-pips span { width: 22px; }
    .wss-note { align-items: flex-start; }
    .wss-note svg { margin-top: 2px; }
    .wss-banner { margin-top: 24px; padding: 18px; flex-direction: column; align-items: flex-start; }
    .wss-live { margin-top: 24px; }
    .wss-live__head { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 4px; }
    .wss-live__name { gap: 10px; }
    .wss-live__clock { font-size: 12px; }
    .wss-live__body { padding: 18px 16px; gap: 22px; }
    .wss-browser__top { height: 28px; padding: 0 10px; }
    .wss-browser__dots { gap: 4px; }
    .wss-browser__dots span { width: 7px; height: 7px; }
    .wss-browser__url { height: 16px; padding: 0 8px; font-size: 10px; line-height: 16px; }
    .wss-browser__page { height: 170px; padding: 12px; gap: 8px; }
    .wss-sk--title { height: 12px; }
    .wss-sk--hero { height: 54px; }
    .wss-sk-row { gap: 8px; }
    .wss-sk--tile { height: 36px; }
    .wss-sk--line { height: 7px; width: 85%; }
    .wss-sk--short, .wss-ping--4 { display: none; }
    .wss-ping { width: 9px; height: 9px; }
    .wss .wss-live__title { font-size: 21px; }
    .wss .wss-live__title--big { font-size: 24px; }
    .wss-live__kicker--next { margin-top: 20px; }
    .wss-live__checks li { gap: 8px; padding: 0 10px; font-size: 13px; }
    .wss-live__foot { padding: 16px; }
    .wss-queue { padding: 40px 20px 44px; }
    .wss-queue__rows { width: 200px; }
    .wss-fail:not([hidden]) { padding: 22px 18px 24px; flex-direction: column; gap: 14px; }
    .wss-fail__icon { width: 48px; height: 48px; border-radius: 13px; }
    .wss-fail__text { flex: none; width: 100%; }
    .wss .wss-fail__text .wss-live__title--big { font-size: 23px; }
    .wss-fail__reason { padding: 12px; }
    .wss-fail__text .wss-btn { width: 100%; justify-content: center; }
    .wss-results { padding: 36px 0 48px; }
    .wss-verdict { box-shadow: 5px 5px 0 var(--wss-ink); margin-right: 5px; }
    .wss-verdict__top { padding: 20px 18px; display: block; }
    .wss-verdict__site { font-size: 11px; }
    .wss .wss-verdict__title { font-size: 32px; line-height: 1.1; }
    .wss-verdict__summary { font-size: 15px; }
    .wss-ghost { margin-top: 16px; width: 100%; min-height: 48px; }
    .wss-sevs { text-align: center; }
    .wss-sevs__cell { padding: 10px 2px 12px; }
    .wss-sevs__cell strong { font-size: 26px; }
    .wss-sevs__cell span { font-size: 9.5px; letter-spacing: 0.02em; }
    .wss-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wss-stats li { padding: 14px 18px; }
    .wss-stats li:nth-child(odd) { border-left: 0; }
    .wss-stats li:nth-child(-n+2) { border-bottom: 1px solid #3B3358; }
    .wss-stats strong { font-size: 24px; }
    .wss-stats span { font-size: 10px; }
    .wss-saved { padding: 14px 18px; }
    .wss-findings-head { margin: 32px 0 14px; }
    .wss .wss-findings-head h2 { font-size: 24px; }
    .wss-findings-head span { font-size: 12px; }
    .wss-findings { gap: 16px; }
    .wss-card__head { padding: 16px; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "icon kind sev" "icon title title";
        column-gap: 12px; align-items: start; }
    .wss-card__icon { width: 44px; height: 44px; border-radius: 11px; }
    .wss-card__kind { align-self: center; font-size: 11px; letter-spacing: 0; }
    .wss .wss-card__title { margin-top: 4px; font-size: 20px; }
    .wss-sev { border-radius: 5px; padding: 3px 8px; font-size: 11px; }
    .wss-card__body { padding: 16px; display: block; }
    .wss-card__body dt, .wss-card__body dt.wss-dt--proof, .wss-card__body dt.wss-dt--fix { padding-top: 0; font-size: 10px; }
    .wss-card__body dd { margin: 6px 0 18px; }
    .wss-card__body dd:last-child { margin-bottom: 0; }
    .wss-hp { gap: 12px; }
    .wss-hp__label { width: 100%; }
    .wss-hp__row { gap: 6px; }
    .wss-api__row { gap: 10px; min-height: 46px; padding: 6px 12px; }
    .wss-api__method { min-width: 36px; font-size: 10px; }
    .wss-api__path { font-size: 13px; }
    .wss-api__host { display: block; font-size: 11px; }
    .wss-api__status { padding: 2px 6px; font-size: 11px; }
    .wss-fix { padding: 14px; }
    .wss-fix__code { display: block; padding: 0; border: 0; background: none; }
    .wss-fix__code code { display: block; background: #FFFFFF; border: 1px solid #E8DFB0; border-radius: 8px; padding: 10px 12px; font-size: 13px;
        line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
    .wss-copy { margin-top: 10px; width: 100%; min-height: 44px; border-radius: 8px; font-size: 15px; }
    #wss-report:not([hidden]) + .wss-intro { margin-top: 40px; padding-top: 24px; }
    .wss-checks, .wss-faq { padding: 56px 0; }
    .wss-how { padding: 56px 0 40px; }
    .wss-pair { padding-bottom: 56px; }
    .wss-h2 { margin-bottom: 24px; font-size: 36px; line-height: 1.05; }
    .wss-grid { gap: 10px; }
    .wss-tile { padding: 18px; }
    .wss-tile h3, .wss-steps h3 { font-size: 19px; }
    .wss-tile h3 { margin-bottom: 6px; }
    .wss-steps { display: flex; flex-direction: column; gap: 0; }
    .wss-steps li { display: flex; gap: 14px; padding: 16px 0 20px; }
    .wss-steps__n { flex: none; width: 32px; height: 32px; font-size: 14px; }
    .wss-steps h3 { margin: 3px 0 4px; }
    .wss-pair__grid { gap: 16px; }
    .wss-panel { padding: 22px; }
    .wss-panel h2 { margin-bottom: 16px; font-size: 26px; }
    .wss-panel li { gap: 10px; }
    .wss-faq .wss-h2 { margin-bottom: 20px; }
    .wss-faq summary { min-height: 60px; padding: 8px 0; gap: 12px; font-size: 16px; }
    .wss-faq details p { margin-bottom: 16px; font-size: 15px; }
    .wss-footer__row { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
}
