/* Tenvaultix 365 Health Check */
:root {
  --navy-950: #040b1c;
  --navy-900: #0a1733;
  --navy-800: #0f2147;
  --navy-700: #1b3366;
  --sky: #21a4f8;
  --sky-soft: #5cc2ff;
  --blue: #1668d9;
  --blue-dark: #0f55b8;
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #64748b;
  --line: #e3e8f0;
  --line-2: #eef2f7;
  --bg: #f5f7fb;
  --card: #ffffff;
  --good: #12a36b;
  --good-bg: #e7f7ef;
  --warn: #c97a09;
  --warn-bg: #fff4e0;
  --bad: #dc3d43;
  --bad-bg: #fdecec;
  --info: #2563eb;
  --info-bg: #e9f0fe;
  --na: #7b8799;
  --na-bg: #f0f2f6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 6px 24px rgba(15, 27, 45, .06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Self-hosted fonts for the blueprint view (SIL Open Font License, see static/fonts/) */
@font-face { font-family: "Plex Mono"; src: url("/static/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/static/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/static/fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 750; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; }
p { margin: 0 0 1em; }
code, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header & footer */
.site-header { background: var(--navy-950); color: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span small { display: block; font-weight: 500; font-size: .72rem; color: var(--sky-soft); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: #c7d6ee; font-size: .95rem; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn { color: #fff; }
.nav-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.nav .link-button { color: #c7d6ee; font-size: .95rem; }
.nav .link-button:hover { color: #fff; }
.console-me .link-button { color: #9db4d6; text-align: left; }
.console-me .link-button:hover { color: #fff; text-decoration: underline; }
.code-block { background: #0b1b2e; color: #dbe7f7; padding: 12px 14px; border-radius: 8px; overflow-x: auto; font-size: .8rem; line-height: 1.5; white-space: pre; margin: 10px 0 6px; }
.site-footer { background: var(--navy-950); color: #9db4d6; padding: 36px 0; margin-top: 72px; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer a { color: #c7d6ee; }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* ---------- buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-sky { background: var(--sky); color: var(--navy-950); }
.btn-sky:hover { background: var(--sky-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.14); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
input[type=text], input[type=email] { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
input:focus-visible, .btn:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(33,164,248,.45); outline-offset: 2px; }
.field-error { color: #ffb4b4; margin: 8px 0 0; font-size: .9rem; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; width: auto; }

/* ---------- hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(33,164,248,.28), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-soft); margin-bottom: 14px; }
.hero h1 { color: #fff; }
.hero .lead { color: #c7d6ee; font-size: 1.13rem; max-width: 40em; }
.check-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px; margin-top: 26px; }
.check-form label { display: block; font-weight: 600; margin-bottom: 10px; }
.check-form .inline-form input { border-color: transparent; }
.hero-links { margin-top: 18px; display: flex; gap: 10px 22px; flex-wrap: wrap; }
.hero-links a { color: var(--sky-soft); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: #9db4d6; font-size: .9rem; list-style: none; padding: 0; }
.trust li::before { content: "✓"; color: var(--sky); margin-right: 7px; font-weight: 700; }
.preview { background: #fff; color: var(--ink); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.preview-head strong { font-size: .95rem; }
.preview-body { display: flex; gap: 18px; align-items: center; }
.preview-stats { display: grid; gap: 10px; flex: 1; }
.preview-stat { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.preview-stat b { display: block; font-size: 1.25rem; }
.preview-stat span { font-size: .8rem; color: var(--muted); }
.preview-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.preview-list li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }

/* ---------- sections */
.section { padding: 72px 0 0; }
.section-head { max-width: 680px; margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--info-bg); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.section-gap { margin-top: 22px; }
.band { background: var(--navy-900); color: #dbe7fa; border-radius: 18px; padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band h2 { color: #fff; }
.band p { margin: 0; color: #b6c8e6; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.price { font-size: 2rem; font-weight: 750; letter-spacing: -.02em; margin: 6px 0 0; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-alt { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: .94rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.plan li.soon { color: var(--muted); }
.plan li.soon::before { content: "…"; color: var(--muted); }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

/* ---------- flash & banners */
.flash { border-radius: 10px; padding: 12px 16px; margin: 18px 0 0; border: 1px solid var(--line); background: #fff; }
.flash.good { background: var(--good-bg); border-color: #bfe8d3; }
.flash.warn { background: var(--warn-bg); border-color: #f6d9a6; }
.flash.error { background: var(--bad-bg); border-color: #f5c2c4; }
.banner { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--info-bg); border: 1px solid #c9d9fb; border-radius: 12px; padding: 12px 16px; margin-top: 18px; }
.banner.warn { background: var(--warn-bg); border-color: #f6d9a6; }
.banner p { margin: 0; }

/* ---------- page head (report, dashboard) */
.page-head { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; padding: 34px 0 30px; }
.page-head h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 4px; }
.page-head .sub { color: #9db4d6; margin: 0; }
.page-head .head-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.overview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 26px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; }
.kpi b { display: block; font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; color: #fff; }
.kpi span { font-size: .85rem; color: #9db4d6; }
.kpi.money b { color: #ffd27a; }
.kpi.urgent b { color: #ff9a9e; }
.grade-text { font-size: .95rem; color: #c7d6ee; margin-top: 8px; text-align: center; }

/* score ring */
.ring { display: block; }
.ring-track { fill: none; stroke: rgba(148, 163, 184, .25); stroke-width: 10; }
.ring-value { fill: none; stroke-width: 10; stroke-linecap: round; stroke: var(--na); }
.ring-score { font-size: 34px; font-weight: 750; fill: currentColor; }
.ring-label { font-size: 10px; fill: currentColor; opacity: .7; }
.ring.grade-a .ring-value, .ring.grade-b .ring-value { stroke: var(--good); }
.ring.grade-c .ring-value { stroke: #e9a23b; }
.ring.grade-d .ring-value, .ring.grade-f .ring-value { stroke: var(--bad); }
.on-dark .ring { color: #fff; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cat-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cat-name { font-weight: 650; font-size: .95rem; }
.cat-score { font-weight: 750; }
.cat-meta { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.bar { display: block; width: 100%; height: 6px; margin-top: 10px; }
.bar .track { fill: var(--line-2); }
.bar .fill { fill: var(--na); }
.bar .fill.grade-a, .bar .fill.grade-b { fill: var(--good); }
.bar .fill.grade-c { fill: #e9a23b; }
.bar .fill.grade-d, .bar .fill.grade-f { fill: var(--bad); }

/* ---------- findings */
.findings { display: grid; gap: 10px; }
.finding { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--na); border-radius: 12px; }
.finding.s-fail { border-left-color: var(--bad); }
.finding.s-warn { border-left-color: var(--warn); }
.finding.s-pass { border-left-color: var(--good); }
.finding.s-info { border-left-color: var(--info); }
.finding > summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; cursor: pointer; list-style: none; }
.finding > summary::-webkit-details-marker { display: none; }
.finding .f-title { font-weight: 650; }
.finding .f-summary { color: var(--ink-2); font-size: .94rem; margin-top: 2px; }
.finding .f-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.finding .f-body { padding: 0 16px 18px 56px; border-top: 1px solid var(--line-2); }
.finding .f-body h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 6px; }
.finding .f-body p, .finding .f-body li { color: var(--ink-2); font-size: .94rem; }
.finding .f-body ol { padding-left: 20px; margin: 0; }
.finding .f-body ol li + li { margin-top: 4px; }
.evidence { list-style: none; padding: 0; margin: 0; max-height: 260px; overflow: auto; border: 1px solid var(--line-2); border-radius: 8px; }
.evidence li { padding: 7px 12px; font-size: .88rem; border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; }
.evidence li:last-child { border-bottom: 0; }
.f-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.s-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--na-bg); color: var(--na); }
.s-fail .s-icon { background: var(--bad-bg); color: var(--bad); }
.s-warn .s-icon { background: var(--warn-bg); color: var(--warn); }
.s-pass .s-icon { background: var(--good-bg); color: var(--good); }
.s-info .s-icon { background: var(--info-bg); color: var(--info); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--na-bg); color: var(--ink-2); white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; }
.chip.sev-critical { background: var(--bad); color: #fff; }
.chip.sev-high { background: var(--bad-bg); color: #b4232a; }
.chip.sev-medium { background: var(--warn-bg); color: #9a5b00; }
.chip.sev-low { background: var(--na-bg); color: var(--ink-2); }
.chip.money { background: #fff5d6; color: #8a5a00; text-transform: none; letter-spacing: 0; }
.chip.good { background: var(--good-bg); color: #0b7a4f; }
.chip.plan { background: rgba(33,164,248,.16); color: var(--sky-soft); }

.report-section { margin-top: 34px; }
.report-section > h2 { font-size: 1.35rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.report-section > h2 .count { font-size: .95rem; color: var(--muted); font-weight: 500; }
.changes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.changes ul { margin: 6px 0 0; padding-left: 18px; }
.note { font-size: .88rem; color: var(--muted); }
.cta-card { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #dbe7fa; border-radius: 16px; padding: 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.cta-card h3 { color: #fff; font-size: 1.25rem; }
.cta-card p { margin: 0; color: #b6c8e6; max-width: 40em; }
.demo-banner { background: #fff5d6; border-bottom: 1px solid #f3df9e; color: #6b4a00; font-size: .93rem; }
.demo-banner .wrap { padding: 10px 20px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--na); margin-right: 6px; }
.status-dot.done { background: var(--good); }
.status-dot.failed { background: var(--bad); }
.status-dot.running { background: var(--sky); }

/* message page */
.message { max-width: 620px; margin: 64px auto 0; text-align: center; }
.message .card { padding: 34px; }
.message .btn-row { justify-content: center; margin-top: 20px; }
.message-icon { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--info-bg); color: var(--info); }
.message-icon.error { background: var(--bad-bg); color: var(--bad); }
.message-icon.good { background: var(--good-bg); color: var(--good); }

/* prose pages */
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose li { margin: 4px 0; }
.perm-name { font-family: ui-monospace, Consolas, monospace; font-size: .86rem; white-space: nowrap; }
.danger { border-color: #f5c2c4; }

/* ---------- blueprint: "your digital office, inspected" */
.blueprint { --bp-mono: "Plex Mono", ui-monospace, Consolas, monospace; --bp-hand: "Caveat", "Segoe Print", cursive; }
.bp-intro { display: flex; justify-content: space-between; gap: 12px 28px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.bp-intro > div { flex: 1 1 420px; max-width: 46em; }
.bp-intro h2 { font-size: 1.35rem; }
.bp-intro p { margin: 0; }
.bp-key { flex: 0 1 360px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.bp-key summary { cursor: pointer; font-weight: 650; color: var(--blue); }
.bp-key ul { margin: 10px 0 2px; padding-left: 18px; color: var(--ink-2); }
.bp-key li + li { margin-top: 4px; }

.bp-sheet {
  --bp-bg: #0c2d63; --bp-wall: #f2f8ff; --bp-line: #bfe0ff; --bp-dim: rgba(191, 224, 255, .62);
  --bp-bad: #ff6b6b; --bp-warn: #ffbe55; --bp-ok: #7fe0b0;
  position: relative; border-radius: 16px; padding: 18px 18px 16px; color: var(--bp-wall);
  background-color: var(--bp-bg);
  background-image:
    radial-gradient(1100px 600px at 30% 20%, rgba(92, 194, 255, .16), transparent 70%),
    linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  box-shadow: 0 18px 50px rgba(4, 11, 28, .28), inset 0 0 0 1px rgba(191, 224, 255, .18);
  overflow: hidden;
}
.bp-plan { display: block; width: 100%; height: auto; font-family: var(--bp-mono); }
.bp-swipe { display: none; }

.bp-stamp { position: absolute; top: 12px; left: 16px; z-index: 2; transform: rotate(-5deg); border: 2.5px solid var(--bp-bad); color: var(--bp-bad);
  border-radius: 7px; padding: 3px 10px 2px; font-family: var(--bp-mono); text-transform: uppercase; letter-spacing: .14em; text-align: center;
  background: rgba(12, 45, 99, .72); animation: bp-stamp .45s 2.3s cubic-bezier(.2, 1.6, .4, 1) both; }
.bp-stamp.ok { border-color: var(--bp-ok); color: var(--bp-ok); }
.bp-stamp b { display: block; font-size: .82rem; font-weight: 600; }
.bp-stamp span { font-size: .58rem; opacity: .9; }

/* rooms */
.bp-room-fill { fill: transparent; transition: fill .2s; }
.bp-room.st-fail .bp-room-fill { fill: url(#bp-hatch-fail); }
.bp-room.st-warn .bp-room-fill { fill: url(#bp-hatch-warn); }
.bp-room.st-pass .bp-room-fill { fill: rgba(127, 224, 176, .05); }
.bp-room.st-na .bp-room-fill { fill: rgba(255, 255, 255, .03); }
.bp-room.hl .bp-room-fill { fill: rgba(92, 194, 255, .2); }
.hatch-fail { stroke: rgba(255, 107, 107, .26); stroke-width: 2.5; }
.hatch-warn { stroke: rgba(255, 190, 85, .2); stroke-width: 2; }
.bp-room-name { fill: var(--bp-wall); font-size: 15px; font-weight: 600; letter-spacing: .12em; }
.bp-room-real { fill: var(--bp-dim); font-size: 10.5px; letter-spacing: .14em; }
.bp-room.st-fail .bp-room-name { fill: #ffb3b3; }
.bp-room.st-warn .bp-room-name { fill: #ffd899; }

/* walls draw themselves on load */
.bp-wall { fill: none; stroke: var(--bp-wall); stroke-width: 3.5; stroke-linecap: square; stroke-dasharray: 1; animation: bp-draw 1.5s .1s ease-out both; }
.bp-wall.outer { stroke-width: 7; animation-duration: 1.8s; animation-delay: 0s; }
.bp-dims path { fill: none; stroke: var(--bp-dim); stroke-width: 1; }
.bp-dims text { fill: var(--bp-dim); font-size: 11px; letter-spacing: .14em; text-anchor: middle; }
.bp-room text, .bp-fixture, .bp-dims, .bp-outside { animation: bp-fade .7s 1.1s ease-out both; }

/* shared text */
.bp-caption { fill: var(--bp-dim); font-size: 11.5px; text-anchor: middle; }
.bp-caption.left { text-anchor: start; }
.bp-small { fill: var(--bp-dim); font-size: 10.5px; letter-spacing: .16em; text-anchor: middle; }
.bp-small.bad { fill: var(--bp-bad); }
.bp-hand { font-family: var(--bp-hand); font-size: 22px; font-weight: 600; fill: var(--bp-wall); }
.bp-hand.bad { fill: var(--bp-bad); }
.bp-hand.warn { fill: var(--bp-warn); }
.bp-hand.end { text-anchor: end; }
.bp-hand.mid { text-anchor: middle; }

/* mailroom seals and leaking mail */
.bp-seal circle { fill: var(--bp-bg); stroke: var(--bp-line); stroke-width: 2.2; }
.bp-seal .inner { fill: none; stroke-width: 1.2; stroke-dasharray: 3 3; }
.bp-seal text { fill: var(--bp-wall); font-size: 11px; font-weight: 600; text-anchor: middle; letter-spacing: .04em; }
.bp-seal.st-pass circle { stroke: var(--bp-ok); }
.bp-seal.st-warn circle { stroke: var(--bp-warn); }
.bp-seal.st-warn text { fill: var(--bp-warn); }
.bp-seal.st-fail circle { stroke: var(--bp-bad); stroke-dasharray: 5 4; }
.bp-seal.st-fail text { fill: var(--bp-bad); }
.bp-seal .broken { stroke: var(--bp-bad); stroke-width: 3; stroke-linecap: round; }
.bp-seal.st-na { opacity: .45; }
.bp-leak { fill: none; stroke: var(--bp-bad); stroke-width: 2.5; stroke-dasharray: 8 6; animation: bp-flow 1s linear infinite; }
.bp-arrowhead { fill: var(--bp-bad); }
.bp-leak-mail { fill: rgba(255, 107, 107, .12); stroke: var(--bp-bad); stroke-width: 2; stroke-linejoin: round; }

/* equipment, files, desks, keys, reception */
.bp-device rect { fill: var(--bp-bg); stroke: var(--bp-line); stroke-width: 1.6; }
.bp-device path { fill: none; stroke: var(--bp-line); stroke-width: 2.2; stroke-linecap: round; }
.bp-device.bad rect, .bp-device.bad path { stroke: var(--bp-bad); }
.bp-device.grace rect, .bp-device.grace path { stroke: var(--bp-warn); }
.bp-cabinet rect { fill: var(--bp-bg); stroke: var(--bp-line); stroke-width: 1.6; }
.bp-cabinet path { fill: none; stroke: var(--bp-line); stroke-width: 1.2; }
.bp-door path { fill: none; stroke: var(--bp-wall); stroke-width: 2.6; }
.bp-door .swing { stroke-width: 1.2; stroke-dasharray: 4 4; }
.bp-door.bad path, .bp-door.st-fail path { stroke: var(--bp-bad); }
.bp-door.st-warn path { stroke: var(--bp-warn); }
.bp-door-shut { fill: none; stroke: var(--bp-wall); stroke-width: 2; }
.bp-paper rect { fill: rgba(255, 107, 107, .14); stroke: var(--bp-bad); stroke-width: 1.5; }
.bp-lock rect { fill: var(--bp-bg); stroke: var(--bp-ok); stroke-width: 2; }
.bp-lock path { fill: none; stroke: var(--bp-ok); stroke-width: 2.4; stroke-linecap: round; }
.bp-lock.st-warn rect, .bp-lock.st-warn path { stroke: var(--bp-warn); }
.bp-lock.st-fail rect, .bp-lock.st-fail path { stroke: var(--bp-bad); }
.bp-lock.st-na rect, .bp-lock.st-na path { stroke: var(--bp-dim); }
.bp-path { fill: none; stroke: var(--bp-dim); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.bp-desk rect { fill: var(--bp-bg); stroke: var(--bp-line); stroke-width: 1.5; }
.bp-desk .chair { fill: var(--bp-line); }
.bp-desk.idle rect { stroke: var(--bp-warn); }
.bp-desk.idle .chair { fill: none; stroke: var(--bp-warn); stroke-width: 1.5; }
.bp-desk.left rect { stroke: var(--bp-bad); }
.bp-desk.left .mark { stroke: var(--bp-bad); stroke-width: 2; stroke-linecap: round; }
.bp-desk.left .chair { fill: none; stroke: var(--bp-bad); stroke-width: 1.5; }
.bp-desk.empty rect { stroke: var(--bp-bad); stroke-dasharray: 4 3; fill: rgba(255, 107, 107, .08); }
.bp-desk.empty .chair { fill: none; stroke: var(--bp-bad); stroke-width: 1.2; stroke-dasharray: 2 2; }
.bp-rack { fill: none; stroke: var(--bp-line); stroke-width: 3; stroke-linecap: round; }
.bp-key-icon circle, .bp-key-icon path { fill: none; stroke: var(--bp-line); stroke-width: 2.2; stroke-linecap: round; }
.bp-key-icon.bad circle, .bp-key-icon.bad path { stroke: var(--bp-bad); }
.bp-key-icon .mat { fill: rgba(255, 107, 107, .2); stroke: var(--bp-bad); stroke-width: 1.2; }
.bp-counter { fill: none; stroke: var(--bp-line); stroke-width: 2.4; stroke-linecap: round; }
.bp-badge rect { fill: var(--bp-bg); stroke: var(--bp-line); stroke-width: 1.5; }
.bp-badge circle, .bp-badge path { fill: none; stroke: var(--bp-line); stroke-width: 1.4; stroke-linecap: round; }
.bp-badge.bad rect { stroke: var(--bp-bad); stroke-dasharray: 4 2; }
.bp-badge.bad circle, .bp-badge.bad path { stroke: var(--bp-bad); }
.bp-street { fill: none; stroke: var(--bp-dim); stroke-width: 1.5; stroke-dasharray: 22 12; }
.bp-north circle { fill: none; stroke: var(--bp-dim); stroke-width: 1.2; }
.bp-north path { fill: var(--bp-line); }
.bp-north text { fill: var(--bp-dim); font-size: 11px; text-anchor: middle; }

/* the inspector's numbered marks */
.bp-marker { cursor: pointer; animation: bp-pop .4s 1.7s cubic-bezier(.2, 1.6, .4, 1) both; transform-box: fill-box; transform-origin: center; }
.bp-marker circle { fill: var(--bp-bad); stroke: #fff; stroke-width: 2; transition: stroke-width .15s; }
.bp-marker.st-warn circle { fill: var(--bp-warn); }
.bp-marker text { fill: #fff; font-size: 13px; font-weight: 600; text-anchor: middle; pointer-events: none; }
.bp-marker.st-warn text { fill: #3d2600; }
.bp-marker:hover circle, .bp-marker.hl circle { stroke-width: 4; }
.bp-marker:focus { outline: none; }
.bp-marker:focus-visible circle { stroke: var(--sky-soft); stroke-width: 5; }

/* title block and desk legend, drawn like the corner of an architect's sheet */
.bp-titleblock { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10px; border: 1.5px solid rgba(191, 224, 255, .5); font-family: var(--bp-mono); }
.bp-titleblock div { padding: 7px 10px; min-width: 0; }
.bp-titleblock div + div { border-left: 1px solid rgba(191, 224, 255, .3); }
.bp-titleblock span { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bp-dim); }
.bp-titleblock b { display: block; font-size: .8rem; font-weight: 600; color: var(--bp-wall); overflow-wrap: anywhere; }
.bp-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; padding: 0; font-family: var(--bp-mono); font-size: .78rem; color: var(--bp-dim); }
.bp-legend .lg { display: inline-block; width: 20px; height: 13px; border: 1.5px solid var(--bp-line); border-radius: 2px; margin-right: 7px; vertical-align: -2px; }
.bp-legend .lg.idle { border-color: var(--bp-warn); }
.bp-legend .lg.left { border-color: var(--bp-bad); background: linear-gradient(35deg, transparent 45%, var(--bp-bad) 46%, var(--bp-bad) 54%, transparent 55%); }
.bp-legend .lg.empty { border: 1.5px dashed var(--bp-bad); }

/* inspector's notes, handwritten on paper */
.bp-notes { margin-top: 16px; background: #fffdf5; border: 1px solid #efe4c6; border-radius: 14px; padding: 16px 22px 12px; box-shadow: var(--shadow); }
.bp-notes h3 { font-family: var(--bp-mono); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.bp-notes ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.bp-notes li { display: flex; gap: 12px; align-items: center; padding: 7px 6px; border-bottom: 1px dashed #e8dcb8; break-inside: avoid; border-radius: 6px; transition: background .15s; }
.bp-notes li.hl { background: #fff0bf; }
.bp-notes .num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bad); color: var(--bad); display: grid; place-items: center; font: 600 .8rem/1 var(--bp-mono); }
.bp-notes li.st-warn .num { border-color: var(--warn); color: var(--warn); }
.bp-notes .txt { flex: 1; font-family: var(--bp-hand); font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: #9b1c22; }
.bp-notes li.st-warn .txt { color: #8a5300; }
.bp-notes .see { flex: none; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.bp-clean { margin-top: 14px; font-family: var(--bp-hand); font-size: 1.5rem; color: var(--good); }

@keyframes bp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bp-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes bp-stamp { from { opacity: 0; transform: rotate(-5deg) scale(1.8); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
@keyframes bp-flow { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) {
  .blueprint *, .blueprint *::before { animation: none !important; transition: none !important; }
}
@media (max-width: 760px) {
  .bp-sheet { padding: 14px 12px; }
  .bp-stamp { position: static; display: inline-block; margin: 4px 0 16px 4px; }
  .bp-notes .txt { font-size: 1.2rem; }
  .bp-swipe { display: block; margin: 0 0 6px; font-family: var(--bp-mono); font-size: .72rem; color: var(--bp-dim); letter-spacing: .08em; }
  .bp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -12px; padding: 0 12px; }
  .bp-plan { min-width: 700px; }
  .bp-titleblock { grid-template-columns: 1fr 1fr; }
  .bp-titleblock div + div { border-left: 0; }
  .bp-titleblock div { border-top: 1px solid rgba(191, 224, 255, .3); }
  .bp-titleblock div:nth-child(-n+2) { border-top: 0; }
  .bp-titleblock div:nth-child(even) { border-left: 1px solid rgba(191, 224, 255, .3); }
  .bp-notes { padding: 14px 14px 10px; }
  .bp-notes ol { columns: 1; }
}

/* ---------- one-click fixes */
.fix-card { display: grid; gap: 18px; }
.fix-card h3 { margin-bottom: 4px; }
.fix-card p { margin: 0; color: var(--ink-2); }
.fix-steps { margin: 0; padding-left: 20px; color: var(--ink-2); }
.fix-steps li + li { margin-top: 6px; }
.fix-card .table th { width: 110px; }

/* ---------- responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .plans, .cats, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview { grid-template-columns: 1fr; justify-items: center; }
  .overview .kpis { width: 100%; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .nav .nav-form { display: none; }
  .plans, .cats, .grid-2, .grid-3, .grid-4, .changes { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .finding > summary { grid-template-columns: 26px minmax(0, 1fr); }
  .finding .f-tags { grid-column: 2; justify-content: flex-start; }
  .finding .f-body { padding-left: 16px; }
  .hero { padding: 40px 0 48px; }
  .section { padding-top: 52px; }
}

/* ---------- print (Save as PDF) */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .no-print, .demo-banner .btn { display: none !important; }
  .page-head { background: none; color: var(--ink); padding: 0 0 12px; border-bottom: 2px solid var(--ink); }
  .page-head h1, .kpi b { color: var(--ink); }
  .page-head .sub, .kpi span, .grade-text { color: var(--muted); }
  .kpi { border-color: var(--line); background: #fff; }
  .kpi.money b, .kpi.urgent b { color: var(--ink); }
  .on-dark .ring { color: var(--ink); }
  .finding, .cat, .card { box-shadow: none; break-inside: avoid; }
  .evidence { max-height: none; overflow: visible; }
  .cta-card { display: none; }
  .blueprint { break-inside: avoid; }
  .blueprint *, .blueprint *::before { animation: none !important; }
  .bp-sheet { --bp-bg: #fff; --bp-wall: #0a1733; --bp-line: #1b3366; --bp-dim: #5b6b84; --bp-bad: #c21f26; --bp-warn: #b36b00; --bp-ok: #0b7a4f;
    background: #fff; box-shadow: none; border: 1.5px solid #0a1733; }
  .bp-stamp { background: #fff; }
  .bp-room.st-fail .bp-room-name { fill: var(--bp-bad); }
  .bp-room.st-warn .bp-room-name { fill: var(--bp-warn); }
  .bp-titleblock, .bp-titleblock div + div { border-color: #0a1733; }
  .bp-notes { box-shadow: none; background: #fff; }
  a { color: var(--ink); }
}
.message h1 { font-size: 1.6rem; }
.findings + .note { margin-top: 12px; }

/* ---- connection health and problems */
.health { display: grid; gap: 10px; }
.health-item { border-left: 4px solid var(--na); padding: 8px 14px; background: var(--na-bg); border-radius: 0 8px 8px 0; }
.health-item p { margin: 0; }
.health-item p + p { margin-top: 4px; }
.health-item.good { border-left-color: var(--good); background: var(--good-bg); }
.health-item.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.health-item.bad { border-left-color: var(--bad); background: var(--bad-bg); }
.health-title { font-weight: 600; }
.wrap-anywhere { overflow-wrap: anywhere; max-width: 38ch; }

/* ---- Azure spend */
.cost-kpis { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cost-chart { margin: 0; position: relative; }
.chart-scroll { overflow-x: auto; }
.cost-chart svg { width: 100%; min-width: 560px; height: auto; display: block; }
.cost-note { margin-top: 16px; }
.cost-chart .bar { fill: var(--blue); }
.cost-chart .hit { fill: transparent; cursor: default; }
.cost-chart .day:hover .bar { fill: var(--navy-700); }
.cost-chart .grid { stroke: var(--line-2); stroke-width: 1; }
.cost-chart .baseline { stroke: var(--line); stroke-width: 1; }
.cost-chart .axis { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart-tip { position: fixed; z-index: 30; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px;
  padding: 6px 10px; border-radius: 8px; box-shadow: var(--shadow); white-space: nowrap; }
.two-col { display: grid; gap: 0 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cost-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cost-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cost-row b { font-variant-numeric: tabular-nums; }
.cost-bar { display: block; margin-top: 4px; }
.cost-bar .track { fill: var(--line-2); }
.cost-bar .fill { fill: var(--blue); }
.num-table td:last-child, .num-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.cost-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cost-summary p { margin: 0; }
.cost-big { font-size: 28px; }

/* ---- Tenvaultix console (team only): a working tool, so denser and plainer than the customer site */
body.console { background: #eef2f7; font-size: 15px; }
.console-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh;
  background: linear-gradient(to right, var(--navy-950) 232px, transparent 232px); }
.console-side { background: var(--navy-950); color: #c9d6ea; display: flex; flex-direction: column; gap: 24px; padding: 20px 14px; position: sticky; top: 0; height: 100vh; }
.console-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; padding: 0 8px; }
.console-brand:hover { text-decoration: none; }
.console-brand span { display: grid; line-height: 1.15; }
.console-brand small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); font-weight: 650; }
.console-nav { display: grid; gap: 2px; }
.console-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #c9d6ea; font-weight: 550; }
.console-nav a:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.console-nav a.on { background: #0c2a44; color: #fff; box-shadow: inset 3px 0 0 var(--sky); }
.console-nav svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.console-nav svg .cut { fill: var(--navy-950); }
.console-nav a.on svg .cut { fill: #0c2a44; }
.console-me { margin-top: auto; display: grid; gap: 4px; font-size: .82rem; padding: 0 8px; overflow-wrap: anywhere; }
.console-me a { color: #9db4d6; }
.console-main { padding: 24px 32px 48px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.console-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; }
.console-top h1 { font-size: 1.6rem; margin: 0; letter-spacing: -.01em; }
.console-crumb { margin: 0 0 2px; font-size: .8rem; color: var(--muted); }
.console .flash { margin: 0; }
.console p { margin-top: 0; }
.panel { background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line-2); background: #fafbfd; }
.panel-head h2 { font-size: .95rem; margin: 0; }
.panel-head a { font-size: .85rem; }
.pad { padding: 14px 16px; }
p.pad { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.stat span { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.stat b { font-size: 1.5rem; letter-spacing: -.02em; }
.stat small { color: var(--muted); font-size: .8rem; }
.stat.alert { border-color: #f6d9a6; background: var(--warn-bg); }
.console-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; align-items: start; }
.table.dense th, .table.dense td { padding: 8px 12px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.chip.tone-good { background: var(--good-bg); color: #0b7a4f; }
.chip.tone-warn { background: var(--warn-bg); color: #8f5400; }
.chip.tone-bad { background: var(--bad-bg); color: #b4232a; }
.chip.tone-info { background: var(--info-bg); color: #1d4fc4; }
.chip.tone-na { background: var(--na-bg); color: var(--ink-2); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; padding: 4px; }
.tabs a { padding: 6px 12px; border-radius: 7px; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.tabs a:hover { background: var(--line-2); text-decoration: none; }
.tabs a.on { background: var(--navy-900); color: #fff; }
.console input[type=text], .console input[type=email], .console input[type=number], .console input[type=date],
.console input[type=search], .console input[type=file], .console select, .console textarea {
  font: inherit; font-size: .95rem; padding: 9px 11px; border-radius: 8px; border: 1px solid #cfd8e5; background: #fff; color: var(--ink); width: 100%; }
.console textarea { resize: vertical; }
.console input:focus-visible, .console select:focus-visible, .console textarea:focus-visible { outline: 3px solid rgba(33,164,248,.35); outline-offset: 1px; border-color: var(--blue); }
.toolbar input[type=search] { flex: 1 1 240px; width: auto; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; }
.field { display: grid; gap: 5px; align-content: start; }
.field > span { font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.field small { color: var(--muted); font-size: .76rem; }
.field.wide { grid-column: 1 / -1; }
.check { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.check input { width: 18px; height: 18px; }
.form-actions { margin-top: 14px; }
.form-panel { padding: 18px 20px; }
.form-title { font-size: .95rem; margin: 18px 0 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line-2); }
.row-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.console .row-form select, .console .toolbar select { width: auto; min-width: 150px; padding: 6px 8px; font-size: .88rem; }
.console .row-form select { max-width: 210px; }
.nowrap { white-space: nowrap; }
.licence-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 650; letter-spacing: .02em; white-space: nowrap; }
.stock-pick { display: grid; gap: 10px; border-bottom: 1px solid var(--line-2); }
.stock-pick p { margin: 0; }
.stat-link { color: inherit; }
.stat-link:hover { text-decoration: none; border-color: var(--blue); }
.stat-link.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.plain-list { list-style: none; margin: 0; padding: 4px 16px 10px; }
.plain-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.plain-list li:last-child { border-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 8px 16px 12px 22px; }
.timeline li { padding: 6px 0 10px 16px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.timeline p { margin: 0 0 2px; }
.facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 12px; margin: 0; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.plan-editor { display: grid; gap: 12px; }
.plan-card.hidden-plan { border-style: dashed; }
.delete-plan { margin: -4px 0 4px; display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .console-shell { grid-template-columns: minmax(0, 1fr); background: none; }
  .console-side { min-width: 0; position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; }
  .console-nav { display: flex; overflow-x: auto; gap: 4px; width: 100%; order: 3; }
  .console-nav a { white-space: nowrap; }
  .console-me { margin: 0 0 0 auto; display: flex; gap: 14px; }
  .console-me span { display: none; }
  .console-main { padding: 16px; }
  .console-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---- console security */
.stop-bar { background: var(--bad); color: #fff; border-radius: 10px; padding: 12px 16px; }
.stop-bar a { color: #fff; text-decoration: underline; }
.stop-panel { border-color: #f5c2c4; }
.stop-panel .panel-head { background: var(--bad-bg); }
.check-list { list-style: none; margin: 0; padding: 6px 16px 12px; }
.check-list li { display: grid; gap: 2px; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line-2); position: relative; }
.check-list li:last-child { border-bottom: 0; }
.check-list li span { color: var(--muted); font-size: .88rem; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--na); }
.check-list li.good::before { background: var(--good); }
.check-list li.warn::before { background: var(--warn); }
.check-list li.bad::before { background: var(--bad); }
.check-list.manual li::before { border-radius: 2px; background: none; border: 2px solid var(--na); width: 8px; height: 8px; }
.table tr.row-alert td { background: var(--bad-bg); }
