:root {
  --bg: #14161a;
  --bg-raised: #1a1d22;
  --bg-sunken: #101215;
  --line: #262b31;
  --line-strong: #3a4048;
  --text: #e9e7e2;
  --muted: #9aa1a9;
  --faint: #6b727a;
  --accent: #3fbf6f;
  --accent-ink: #0d130f;
  --accent-soft: rgba(63, 191, 111, 0.12);
  --crit: #e5534b;
  --high: #dd8a3d;
  --med: #c9b04a;
  --low: #8a9199;
  --info: #6b727a;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, "Courier New", monospace;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(22px, 2.8vw, 32px); }
h3 { font-size: 16.5px; }
code, pre, .mono { font-family: var(--font-mono); }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.small { font-size: 12.8px; }
.right { text-align: right; }
.mt { margin-top: 14px; }
.inline { display: inline; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.05em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 22px; height: 22px; display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.2c4.4 0 7.9 5.8 7.9 5.8s-3.5 5.8-7.9 5.8-7.9-5.8-7.9-5.8 3.5-5.8 7.9-5.8z' fill='none' stroke='%233fbf6f' stroke-opacity='0.35' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='2.3' fill='none' stroke='%233fbf6f' stroke-opacity='0.35' stroke-width='1.5'/%3E%3Cpath fill-rule='evenodd' d='M12 3.6 18.4 19.8 15.2 19.8 14 16.3 10 16.3 8.8 19.8 5.6 19.8Z M10.8 13.7 13.2 13.7 12 10.3Z' fill='%233fbf6f'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-small { font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius); font-size: 14.5px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: #4ccd7c; color: var(--accent-ink); }
.btn-quiet { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-quiet:hover { border-color: var(--muted); color: var(--text); }
.btn-link { padding: 10px 2px; color: var(--muted); }
.btn-link:hover { color: var(--text); }
.btn-danger { border-color: rgba(229, 83, 75, 0.5); color: var(--crit); background: transparent; }
.btn-danger:hover { border-color: var(--crit); background: rgba(229, 83, 75, 0.08); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.stamp {
  display: inline-block; font-size: 12px; font-weight: 500; line-height: 1.5;
  padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 4px;
  color: var(--muted); white-space: nowrap;
}
.stamp-critical { color: var(--crit); border-color: rgba(229, 83, 75, 0.45); background: rgba(229, 83, 75, 0.08); }
.stamp-high { color: var(--high); border-color: rgba(221, 138, 61, 0.45); background: rgba(221, 138, 61, 0.08); }
.stamp-medium { color: var(--med); border-color: rgba(201, 176, 74, 0.4); background: rgba(201, 176, 74, 0.08); }
.stamp-low { color: var(--low); }
.stamp-info { color: var(--info); }
.stamp-ok { color: var(--accent); border-color: rgba(63, 191, 111, 0.45); background: var(--accent-soft); }
.stamp-muted { color: var(--faint); }

.site-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(20, 22, 26, 0.92); backdrop-filter: blur(8px); z-index: 20; }
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 20px; }
.site-nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.head-actions { display: flex; align-items: center; gap: 10px; }

.hero { padding: 96px 0 76px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 18%, var(--accent-soft), transparent 70%),
    radial-gradient(500px 320px at 12% 85%, var(--accent-soft), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-grid { position: relative; }
.stats-band { border-top: 1px solid var(--line); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-item { display: flex; flex-direction: column; gap: 4px; }
.stats-value { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); }
.stats-label { font-size: 13px; color: var(--muted); max-width: 32ch; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.why-item { border-top: 2px solid var(--line-strong); padding-top: 16px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { max-width: 36ch; margin-top: 10px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--text); }
.foot-title { font-size: 12.5px; color: var(--faint); margin-bottom: 2px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.lead { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 18px 0 26px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hero-note { color: var(--faint); font-size: 13px; max-width: 44ch; }

.report-sheet { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-raised); overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sheet-title { font-weight: 600; font-size: 14.5px; }
.sheet-meta { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.sheet-row { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: start; padding: 13px 18px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(5px); transition: opacity 0.45s ease, transform 0.45s ease; }
.report-sheet.revealed .sheet-row { opacity: 1; transform: none; }
.report-sheet.revealed .sheet-row:nth-child(2) { transition-delay: 0.05s; }
.report-sheet.revealed .sheet-row:nth-child(3) { transition-delay: 0.18s; }
.report-sheet.revealed .sheet-row:nth-child(4) { transition-delay: 0.31s; }
.report-sheet.revealed .sheet-row:nth-child(5) { transition-delay: 0.44s; }
.row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-title { font-size: 14.5px; }
.row-path { font-family: var(--font-mono); font-size: 12.3px; color: var(--muted); overflow-wrap: anywhere; }
.sheet-foot { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 12.5px; color: var(--faint); }

.section { border-top: 1px solid var(--line); padding: 68px 0; }
.section-lead { color: var(--muted); max-width: 62ch; margin: 12px 0 30px; }

.checks-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.checks-table th { text-align: left; font-weight: 500; font-size: 12.8px; color: var(--faint); padding: 0 14px 10px 0; border-bottom: 1px solid var(--line-strong); }
.checks-table td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.checks-table td:first-child { white-space: nowrap; font-weight: 500; }
.checks-table td:nth-child(2) { color: var(--muted); }
.checks-table th:last-child, .checks-table td:last-child { padding-right: 0; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.steps li { border-top: 2px solid var(--line-strong); padding-top: 16px; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 36ch; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.plan { padding: 26px 24px; border: 1px solid var(--line-strong); border-radius: 10px; position: relative; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.plan:hover { border-color: var(--accent); transform: translateY(-4px) scale(1.015); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45); z-index: 1; }
.plan-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--bg); border: 1px solid var(--accent); color: var(--accent); font-size: 11.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.plan-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.plan-actions .btn { width: 100%; }
.plan-details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.plan-details ul { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.plan-details li { padding-left: 14px; position: relative; }
.plan-details li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border: 1px solid var(--accent); border-radius: 2px; }

.faq { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; color: var(--faint); font-family: var(--font-mono); font-size: 17px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 18px; max-width: 74ch; font-size: 14.5px; }

.site-foot { border-top: 1px solid var(--line); padding: 34px 0 26px; margin-top: 20px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--muted); }
.foot-note { color: var(--faint); font-size: 12.5px; margin-top: 20px; }

.topbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 56px; }
.topnav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.topnav a.active { color: var(--text); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.app-main { padding-top: 28px; padding-bottom: 60px; max-width: 1040px; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(22px, 3vw, 30px); }
.page-head .muted { margin-top: 4px; font-size: 14px; }

.panel { border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; margin-bottom: 18px; }
.panel-title { font-size: 16px; margin-bottom: 12px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.panel-row .panel-title { margin-bottom: 0; }

.row-form { display: flex; gap: 10px; flex-wrap: wrap; }
.row-form input[type="text"] { flex: 1; min-width: 220px; }
input[type="text"], input[type="password"], input[type="email"], textarea, select {
  background: var(--bg-sunken); border: 1px solid var(--line-strong); border-radius: 8px;
  color: var(--text); padding: 11px 14px; font-size: 15px; font-family: inherit; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-sunken) inset;
  transition: background-color 9999s ease-out;
}
select { cursor: pointer; }
label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
label input { margin-top: 5px; }
.stack { display: grid; gap: 6px; }
.form-error { color: var(--crit); font-size: 14px; margin: 10px 0; }

.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.data th { text-align: left; font-weight: 500; font-size: 12.6px; color: var(--faint); padding: 4px 12px 9px 0; border-bottom: 1px solid var(--line-strong); }
.data td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data tr:last-child td { border-bottom: none; }
.data td a:hover { color: var(--accent); }

.scan-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.progress-live { height: 2px; background: var(--line); margin-top: 14px; overflow: hidden; border-radius: 2px; }
.progress-live i { display: block; height: 100%; width: 30%; background: var(--accent); animation: slide 1.5s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(380%); } }

.st-queued { color: var(--faint); }
.st-running { color: var(--accent); border-color: rgba(63, 191, 111, 0.45); background: var(--accent-soft); }
.st-done { color: var(--accent); }
.st-failed { color: var(--crit); border-color: rgba(229, 83, 75, 0.45); }
.st-cancelled { color: var(--faint); }

.counts { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.findings { border-top: 1px solid var(--line-strong); }
.finding { border-bottom: 1px solid var(--line); }
.finding summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: baseline; padding: 13px 4px; }
.finding summary::-webkit-details-marker { display: none; }
.finding-title { font-weight: 500; }
.finding-loc { font-size: 12.5px; color: var(--faint); text-align: right; overflow-wrap: anywhere; max-width: 46ch; }
.finding-body { padding: 4px 4px 16px 104px; }
.finding-body p { font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.finding-body code { background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: 12.5px; overflow-wrap: anywhere; }

.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 16px 0 20px; }
.verify-grid h3 { margin-bottom: 6px; }
.verify-grid code { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.token { background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; margin-top: 8px; overflow-wrap: anywhere; white-space: pre-wrap; }

.auth-wrap { min-height: 84vh; display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; }
.auth-card { width: 100%; max-width: 380px; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.auth-card h1 { font-size: 22px; margin: 18px 0 16px; }
.auth-card .btn { width: 100%; }

.print-page { background: #ffffff; color: #17181a; max-width: 820px; margin: 0 auto; padding: 44px 36px 60px; min-height: 100vh; }
.print-head { display: flex; justify-content: space-between; gap: 24px; border-bottom: 2px solid #17181a; padding-bottom: 16px; margin-bottom: 18px; }
.print-brand { font-weight: 600; margin-bottom: 6px; }
.print-head h1 { font-size: 22px; }
.print-meta p { font-size: 13px; color: #444; }
.print-counts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.print-page .stamp { border-width: 1px; }
.print-section { font-size: 16px; margin: 26px 0 10px; }
.print-finding { border-top: 1px solid #d6d6d6; padding: 12px 0; }
.print-finding h3 { font-size: 15px; margin-bottom: 4px; }
.print-finding p { font-size: 13.5px; color: #333; margin-bottom: 4px; }
.print-finding .mono { font-size: 12.5px; color: #555; }
.print-note { margin-top: 34px; padding-top: 12px; border-top: 1px solid #d6d6d6; font-size: 12px; color: #666; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .finding summary { grid-template-columns: 86px 1fr; }
  .finding-loc { grid-column: 2; text-align: left; }
  .finding-body { padding-left: 4px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner { height: auto; padding: 8px 0; flex-wrap: wrap; }
  .topnav { flex-wrap: wrap; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet-row { opacity: 1; transform: none; transition: none; }
  .progress-live i { animation: none; width: 60%; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.auth-sep { text-align: center; color: var(--faint); font-size: 13px; margin: 14px 0; }
.btn-wide { width: 100%; }
.auth-foot { margin-top: 16px; }
.legal-page { max-width: 760px; padding-top: 44px; padding-bottom: 80px; }
.legal-page h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.legal-page h2 { font-size: 19px; margin: 30px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.legal-page ul { margin: 0 0 12px 20px; }
.legal-page a { color: var(--accent); }
.plan .btn { margin-top: 0; width: 100%; }

.form-ok { color: var(--accent); font-size: 14px; margin: 10px 0; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--bg-raised); }
.stat-value { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.stat-clean { color: var(--accent); }
.stat-label { font-size: 12.5px; color: var(--faint); }
.stat-stamps { display: flex; gap: 6px; flex-wrap: wrap; min-height: 26px; align-items: center; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.kv td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv tr:last-child td { border-bottom: none; }
.danger-zone { border-color: rgba(229, 83, 75, 0.35); }
.docs-block .panel-title { margin-bottom: 14px; }
.docs-list { margin: 0 0 6px 20px; color: var(--muted); font-size: 14.5px; }
.docs-list li { margin-bottom: 8px; }
.docs-list code { font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.topnav a.active { color: var(--accent); }
.nav-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; text-align: center; font-weight: 600; }
.mod-card { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; background: var(--bg-raised); }
.mod-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.mod-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.mod-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mod-form input[type="text"] { width: 240px; }
.moderation-history { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 6px; }
.moderation-row { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.moderation-row:last-child { border-bottom: none; }
input[type="file"] { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
input[type="file"]::file-selector-button { background: var(--bg-raised); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius); padding: 6px 12px; margin-right: 10px; cursor: pointer; font-family: inherit; }
input[type="file"]::file-selector-button:hover { border-color: var(--muted); }

.captcha-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.captcha-img { border-radius: 6px; border: 1px solid var(--line); display: block; }
.prefs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.prefs a { color: var(--faint); padding: 2px 4px; border-radius: 4px; }
.prefs a.on { color: var(--accent); }
.prefs a:hover { color: var(--text); }
.prefs-sep { width: 1px; height: 14px; background: var(--line-strong); margin: 0 4px; }
.foot-prefs { margin-top: 4px; }
.foot-stack { display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.foot-col a { display: block; padding: 3px 0; }
.foot-title { display: block; margin-bottom: 6px; }
#bg3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.summary-card { border: 1px solid var(--line-strong); border-radius: 8px; padding: 14px 16px; margin: 6px 0 16px; background: var(--bg-raised); }
.summary-card p { margin-bottom: 8px; }
.summary-list { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.summary-list li { display: flex; gap: 10px; align-items: baseline; }
.admin-forms { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.admin-forms .mod-form input[type="text"] { width: 200px; }
.table-scroll { overflow-x: auto; }
.print-summary { font-size: 13.5px; color: #333; margin-bottom: 10px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.18s ease both; }
::view-transition-new(root) { animation: vtIn 0.26s ease both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }
.app-main, .auth-wrap, .legal-page { animation: pageIn 0.3s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.topnav a { transition: color 0.18s ease; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .app-main, .auth-wrap, .legal-page { animation: none; }
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .stats-grid { gap: 16px; }
  .stats-value { font-size: 24px; }
  .head-actions .prefs { display: none; }
  .auth-card { padding: 22px; }
  .table-scroll table { min-width: 560px; }
  .mod-form input[type="text"] { width: 100%; }
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

.report-sheet { position: relative; }
.sheet-row:nth-child(2) { border-left: 2px solid var(--crit); }
.sheet-row:nth-child(3) { border-left: 2px solid var(--high); }
.sheet-row:nth-child(4) { border-left: 2px solid var(--med); }
.sheet-row:nth-child(5) { border-left: 2px solid var(--low); }
.report-sheet::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; pointer-events: none;
}
.report-sheet.revealed::after { animation: sheetScan 2.2s ease-out 0.7s 1; }
@keyframes sheetScan {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 0.75; }
  100% { opacity: 0; transform: translateY(340px); }
}

@media print {
  .topbar, .site-head, .site-foot, .btn { display: none !important; }
  body { background: #fff; }
}

::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2c323a; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
.checks-table tbody tr { transition: background 0.15s; }
.checks-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.btn:active { transform: translateY(1px); }
h1 { letter-spacing: -0.025em; }
