:root {
  --background: #f7f6f2;
  --surface: #ffffff;
  --text: #202622;
  --muted: #626a66;
  --line: #dde2de;
  --trust: #315f56;
  --trust-soft: #e7f1ee;
  --accent: #e46c46;
  --warning-soft: #fff0e8;
  --success: #2d7253;
  --danger: #a43f32;
  --ink: var(--text);
  --paper: var(--background);
  --soft: #eff1ee;
  --orange: var(--accent);
  --orange-soft: var(--warning-soft);
  --green: var(--success);
  --green-soft: var(--trust-soft);
  --red: var(--danger);
  --shadow: 0 18px 44px rgba(32, 38, 34, .13);
  --radius-sm: 8px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.material-symbols-rounded {
  display: inline-block;
  direction: ltr;
  font-family: "Material Symbols Rounded";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -80px; min-height: 44px; padding: 10px 14px; display: flex; align-items: center; border-radius: var(--radius-sm); background: var(--text); color: white; }
.skip-link:focus { top: 12px; }
.section-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-kicker, .eyebrow { margin: 0 0 10px; color: var(--trust); font-size: 13px; font-weight: 700; letter-spacing: .02em; }

/* Header and navigation */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(221,226,222,.92); background: rgba(247,246,242,.94); backdrop-filter: blur(14px); }
.header-inner { width: min(1180px, calc(100% - 48px)); height: 68px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo, .footer-logo { min-width: 44px; min-height: 44px; padding: 8px 4px; display: inline-flex; align-items: center; border: 0; background: none; font: 800 28px/1 "Manrope", sans-serif; letter-spacing: -.08em; }
.logo span, .footer-logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav button, .footer-links button, .footer-links a { min-height: 44px; padding: 10px 13px; display: inline-flex; align-items: center; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav button:hover, .main-nav button[aria-current="page"], .footer-links :is(button,a):hover { background: var(--trust-soft); color: var(--trust); }

/* Home */
.hero-shell { padding-block: 76px 48px; display: grid; grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 620px; margin: 0; font-size: clamp(44px, 5vw, 54px); line-height: 1.18; letter-spacing: -.055em; font-weight: 700; }
.hero-copy h1 strong { color: var(--trust); font-weight: 700; }
.hero-sub { max-width: 580px; margin: 22px 0 0; color: var(--muted); font-size: 17px; word-break: keep-all; }
.search-stage { position: relative; min-width: 0; }
.search-box { min-width: 0; min-height: 64px; padding: 8px 9px 8px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #b9c3bd; border-radius: var(--radius-md); background: var(--surface); }
.search-box:focus-within { border-color: var(--trust); box-shadow: 0 0 0 3px rgba(49,95,86,.12); }
.search-box input { width: 100%; min-width: 0; min-height: 44px; flex: 1; border: 0; background: transparent; font-size: 16px; }
.search-box input::placeholder { color: #858d89; }
.search-submit { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: var(--trust); color: white; font: 700 19px "Manrope"; }
.search-submit:hover { background: #244e46; }
.search-submit .material-symbols-rounded { font-size: 22px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.quick-search { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.quick-search > span { margin-right: 4px; font-weight: 600; }
.quick-search button { min-height: 44px; padding: 8px 9px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--trust); }
.quick-search button:hover { background: var(--trust-soft); }
.link-scan-status { min-height: 44px; margin-top: 10px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.link-scan-status .link-scan-icon { flex: 0 0 auto; color: var(--accent); font-size: 18px; animation: icon-spin .9s linear infinite; }
.search-suggest { position: absolute; z-index: 30; top: 72px; left: 0; right: 0; overflow: hidden; border: 1px solid #c8cfca; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow); }
.suggest-item { width: 100%; min-height: 58px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover, .suggest-item[aria-selected="true"] { background: var(--trust-soft); }
.suggest-item small { color: var(--muted); }
.suggest-item .suggest-arrow { flex: 0 0 auto; color: var(--muted); font-size: 20px; }
.home-category-grid { grid-column: 1 / -1; margin-top: 18px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.home-category { min-width: 0; min-height: 62px; padding: 10px 8px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.72); color: var(--text); font-size: 13px; font-weight: 600; }
.home-category:hover { border-color: var(--trust); background: var(--surface); color: var(--trust); }
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip .section-wrap { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-strip article { min-width: 0; padding: 24px 28px; border-right: 1px solid var(--line); }
.trust-strip article:first-of-type { padding-left: 0; }
.trust-strip article:last-child { padding-right: 0; border-right: 0; }
.trust-strip b { color: var(--trust); font-size: 15px; }
.trust-strip p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.signal-section { padding-block: 72px 100px; }
.section-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; font-size: 28px; line-height: 1.35; letter-spacing: -.035em; }
.text-button { min-height: 44px; padding: 9px 10px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--trust); font-weight: 700; }
.text-button:hover { background: var(--trust-soft); }
.target-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 40px; }
.home-trend-item { min-width: 0; min-height: 88px; padding: 16px 0; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 12px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.home-trend-item:hover .home-trend-copy b { color: var(--trust); text-decoration: underline; text-underline-offset: 4px; }
.home-trend-rank { align-self: start; color: var(--accent); font: 700 14px "Manrope"; }
.home-trend-copy { min-width: 0; }
.home-trend-copy b, .home-trend-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-trend-copy b { font-size: 15px; }
.home-trend-copy small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.home-trend-metric { text-align: right; }
.home-trend-metric b { display: block; color: var(--trust); font: 700 14px "Manrope"; }
.home-trend-metric small { color: var(--muted); font-size: 11px; }

/* Loading and shared states */
.skeleton-grid > *, .skeleton-card { min-height: 88px; border-radius: var(--radius-sm); background: linear-gradient(100deg,#e8ebe8 20%,#f3f4f2 40%,#e8ebe8 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton-card { min-height: 148px; }
.loading-list { display: grid; gap: 12px; }
.empty-state { padding: 72px 24px; border: 1px dashed #bdc6c0; border-radius: var(--radius-md); background: rgba(255,255,255,.5); text-align: center; }
.empty-state h2 { margin: 0 0 8px; font-size: 22px; }
.empty-state p { max-width: 560px; margin: 0 auto; color: var(--muted); }
.empty-actions { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.primary-button, .secondary-button, .destructive-button { min-height: 48px; padding: 11px 18px; border-radius: var(--radius-sm); font-weight: 700; }
.primary-button { border: 1px solid var(--trust); background: var(--trust); color: white; }
.primary-button:hover { background: #244e46; }
.secondary-button { border: 1px solid #bcc5bf; background: var(--surface); color: var(--text); }
.secondary-button:hover { border-color: var(--trust); color: var(--trust); }
.destructive-button { border: 1px solid var(--danger); background: var(--surface); color: var(--danger); }

/* Search and explore */
.inner-page { min-height: 70vh; padding: 56px 0 110px; }
.search-box.compact { max-width: 780px; min-height: 58px; }
.search-box.compact button { min-width: 64px; min-height: 44px; padding: 9px 14px; border: 0; border-radius: var(--radius-sm); background: var(--trust); color: white; font-weight: 700; }
.results-heading { margin: 56px 0 22px; padding-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.results-heading h1 { margin: 0; font-size: 38px; line-height: 1.25; letter-spacing: -.045em; }
.results-heading > p { margin: 0; color: var(--muted); }
.search-analysis { margin: 0 0 18px; padding: 15px 17px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--warning-soft); color: var(--muted); font-size: 14px; }
.search-analysis b { color: var(--text); }
.filter-panel { margin-bottom: 24px; padding: 18px; display: grid; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.filter-group { min-width: 0; display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 12px; align-items: start; }
.filter-group > b { padding-top: 9px; color: var(--muted); font-size: 13px; }
.filter-options { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-options button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; }
.filter-options button[aria-pressed="true"] { border-color: var(--trust); background: var(--trust-soft); color: var(--trust); font-weight: 700; }
.filter-options button[aria-pressed="true"]::before { content: "✓"; margin-right: 5px; }
.filter-hint { min-height: 40px; display: flex; align-items: center; color: var(--muted); font-size: 13px; }
.sort-control { display: inline-flex; align-items: center; gap: 8px; }
.sort-control select { min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.results-list { display: grid; gap: 12px; }
.result-card { width: 100%; min-width: 0; padding: 22px; display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.65fr); gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); text-align: left; }
.result-card:hover { border-color: var(--trust); }
.result-copy { min-width: 0; }
.category-label { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: var(--trust-soft); color: var(--trust); font-size: 12px; font-weight: 700; }
.result-copy h2 { display: -webkit-box; overflow: hidden; margin: 8px 0 4px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.result-copy .brand { margin: 0; color: var(--muted); font-size: 13px; }
.result-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.flaw-tag { padding: 5px 8px; border-radius: 999px; background: #f1f2ef; color: #515955; font-size: 12px; }
.result-summary { min-width: 0; display: grid; gap: 7px; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.result-summary b { color: var(--text); }
.low-sample { color: #8a5a42; font-size: 12px; }
.page-intro { max-width: 760px; margin-bottom: 42px; }
.page-intro h1 { margin: 0; font-size: clamp(36px,4vw,48px); line-height: 1.25; letter-spacing: -.055em; }
.page-intro > p:last-child { max-width: 65ch; margin-top: 18px; color: var(--muted); }

/* Detail */
.detail-hero { border-bottom: 1px solid var(--line); }
.detail-hero-inner { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 20px 0 32px; }
.back-button { min-height: 44px; padding: 8px 4px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.back-button:hover { background: var(--trust-soft); color: var(--trust); }
.detail-title-row { margin-top: 26px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.detail-title { min-width: 0; }
.detail-title h1 { margin: 9px 0 5px; font-size: 40px; line-height: 1.25; letter-spacing: -.05em; }
.detail-title p { max-width: 65ch; margin: 0; color: var(--muted); }
.detail-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.detail-content-wrap { width: min(900px, calc(100% - 48px)); margin: auto; padding: 34px 0 100px; }
.repeated-summary { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.content-heading { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.content-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.content-heading span { color: var(--muted); font-size: 13px; }
.top-flaws { display: grid; gap: 10px; }
.top-flaw { min-width: 0; display: grid; grid-template-columns: minmax(90px,150px) minmax(80px,1fr) 42px; align-items: center; gap: 14px; font-size: 14px; }
.top-flaw-track { height: 9px; overflow: hidden; border-radius: 999px; background: #edf0ed; }
.top-flaw-track span { display: block; height: 100%; border-radius: inherit; background: var(--trust); }
.top-flaw b { text-align: right; font: 700 12px "Manrope"; }
.sample-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.sample-note.caution { padding: 11px 13px; border-radius: var(--radius-sm); background: var(--warning-soft); color: #714a39; }
.stat-summary { margin: 18px 0 30px; display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); }
.stat-summary p { margin: 0; padding: 16px 18px; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.stat-summary p:first-child { padding-left: 0; }
.stat-summary p:last-child { padding-right: 0; border-right: 0; }
.stat-summary b { display: block; margin-bottom: 3px; color: var(--text); font-size: 15px; }
.experience-toolbar { margin: 34px 0 14px; display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.experience-toolbar h2 { margin: 0; font-size: 24px; }
.experience-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.experience-filters button { min-height: 44px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; }
.experience-filters button[aria-pressed="true"] { border-color: var(--trust); background: var(--trust-soft); color: var(--trust); font-weight: 700; }
.review-list { display: grid; gap: 14px; }
.review-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.review-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--muted); font-size: 12px; }
.badge { display: inline-flex; min-height: 28px; padding: 4px 8px; align-items: center; border-radius: 999px; background: #f0f2ef; color: #56605b; font-size: 12px; font-weight: 700; }
.badge.evidence { background: var(--trust-soft); color: var(--trust); }
.badge.improvement { background: #e8f4ec; color: var(--success); }
.review-card h3 { margin: 14px 0 8px; font-size: 18px; }
.review-body { max-width: 65ch; margin: 0; color: #3c4540; line-height: 1.75; white-space: pre-line; }
.review-extra { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.evidence-explainer { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.review-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.review-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.helpful-button, .report-button { min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 13px; }
.helpful-button:hover { border-color: var(--trust); color: var(--trust); }
.report-button:hover { border-color: var(--danger); color: var(--danger); }
.review-intent { color: var(--muted); font-size: 13px; font-weight: 600; }
.company-response { margin: 14px 0 0; padding: 18px; border: 1px solid #b9cfc5; border-radius: var(--radius-sm); background: #f3f8f5; }
.company-response-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.company-response-head > * { min-width: 0; overflow-wrap: anywhere; }
.company-response-head b { color: var(--trust); }
.company-response-head span { color: var(--muted); font-size: 12px; }
.company-response p { margin: 10px 0 0; color: #3f4d46; }
.detail-guidance { margin-top: 34px; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); }
.detail-guidance h2 { margin: 0 0 7px; font-size: 17px; }
.detail-guidance p { margin: 0; color: var(--muted); font-size: 13px; }
.mobile-detail-cta { display: none; }

/* Principles */
.principle-cards { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle-cards article { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-cards b { color: var(--accent); font: 700 13px "Manrope"; }
.principle-cards h2 { margin: 24px 0 7px; font-size: 20px; }
.principle-cards p { margin: 0; color: var(--muted); }
.policy-notes { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.policy-notes article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.policy-notes h2 { margin: 0 0 6px; font-size: 18px; }
.policy-notes p { margin: 0; color: var(--muted); }
.prohibited-box { margin-top: 32px; padding: 26px; border-radius: var(--radius-md); background: #eceeea; }
.prohibited-box h2 { margin: 0 0 14px; font-size: 20px; }
.prohibited-list { display: flex; flex-wrap: wrap; gap: 7px; }
.prohibited-list span { padding: 7px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #edf0ec; }
.footer-inner { width: min(1180px, calc(100% - 48px)); min-height: 230px; margin: auto; padding: 42px 0 28px; display: grid; grid-template-columns: 1fr auto; align-items: start; }
.footer-inner > div:first-child p { margin: 14px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 4px; align-items: center; }
.copyright { grid-column: 1/-1; align-self: end; margin: 0; color: var(--muted); font: 500 12px "Manrope"; }
.mobile-nav { display: none; }

/* Dialogs and forms */
.modal { width: min(720px, calc(100% - 32px)); max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-md); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(24,31,27,.5); backdrop-filter: blur(3px); }
.modal form { width: 100%; max-height: calc(100dvh - 32px); padding: 28px; overflow-x: clip; overflow-y: auto; overscroll-behavior: contain; }
.small-modal, .report-modal { width: min(580px, calc(100% - 32px)); }
.modal-head { margin-bottom: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal-head h2 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.close-button { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 24px; line-height: 1; }
.dialog-description { max-width: 65ch; margin: 0 0 18px; color: var(--muted); }
.anonymous-note { padding: 14px 16px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--warning-soft); }
.anonymous-note p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.form-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-section > h3 { margin: 0 0 14px; font-size: 16px; }
.readonly-target { padding: 13px 14px; display: flex; justify-content: space-between; gap: 20px; border-radius: var(--radius-sm); background: var(--trust-soft); }
.readonly-target > * { min-width: 0; }
.readonly-target span { color: var(--muted); font-size: 13px; }
.readonly-target strong { overflow-wrap: anywhere; text-align: right; }
.field { min-width: 0; display: block; margin-top: 16px; }
.field > span, .choice-field legend, .severity-field legend { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; font-style: normal; }
.field i, .choice-field i, .severity-field i { margin-left: 3px; color: var(--accent); font-size: 11px; font-style: normal; }
.field small { color: var(--muted); font-style: normal; font-weight: 400; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; max-width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #c9d0cb; border-radius: var(--radius-sm); background: white; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--trust); box-shadow: 0 0 0 3px rgba(49,95,86,.11); }
.field > small { display: block; margin-top: 4px; }
.field > small:not(.field-error) { text-align: right; }
.field-error { min-height: 0; color: var(--danger) !important; font-size: 12px; }
.field-error:not(:empty) { margin-top: 5px; }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-row { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-field, .severity-field { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.field-hint { margin: -3px 0 9px; color: var(--muted); font-size: 12px; }
.choice-field > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-field label, .severity-options label { min-width: 0; position: relative; cursor: pointer; }
.choice-field input, .severity-options input { position: absolute; width: auto !important; height: auto; opacity: 0; }
.choice-field label span { min-height: 48px; padding: 11px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; font-size: 13px; }
.severity-options { min-width: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.severity-options span { min-width: 0; min-height: 70px; padding: 7px 3px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; }
.severity-options b { font: 700 15px "Manrope"; }
.severity-options small { color: inherit; font-size: 10px; line-height: 1.25; }
.choice-field input:checked + span, .severity-options input:checked + span { border-color: var(--trust); background: var(--trust); color: white; }
.choice-field input:focus-visible + span, .severity-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.file-field { padding: 14px; border: 1px dashed #aeb8b2; border-radius: var(--radius-sm); }
.file-field input { min-height: 44px !important; padding: 8px !important; border: 0 !important; }
.file-field p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.agree-check { min-width: 0; min-height: 44px; margin-top: 18px; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; cursor: pointer; }
.agree-check input { width: 20px !important; height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--trust); }
.agree-check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.modal-actions { margin-top: 24px; display: grid; grid-template-columns: minmax(112px,.4fr) minmax(0,1fr); gap: 8px; }
.form-message { min-height: 0; margin-top: 12px; font-size: 13px; font-weight: 600; }
.form-message.error { padding: 10px 12px; border-radius: var(--radius-sm); background: #fae8e5; color: var(--danger); }
.form-message.success { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--trust-soft); color: var(--success); }
.form-recovery { margin-top: 8px; }
.toast { position: fixed; z-index: 400; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: var(--radius-sm); background: var(--text); color: white; box-shadow: var(--shadow); transform: translate(-50%,24px); opacity: 0; transition: transform .2s,opacity .2s; pointer-events: none; }
.toast.show { transform: translate(-50%,0); opacity: 1; }
.toast[data-type="error"] { background: var(--danger); }

@keyframes shimmer { to { background-position-x: -200%; } }
@keyframes pulse { to { transform: scale(1.55); opacity: .45; } }
@keyframes icon-spin { to { transform: rotate(1turn); } }

@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr; gap: 32px; padding-top: 54px; }
  .hero-copy { max-width: 720px; }
  .search-stage { max-width: 720px; }
  .home-category-grid { margin-top: 0; }
  .trust-strip article { padding: 20px; }
  .result-card { grid-template-columns: 1fr; gap: 16px; }
  .result-summary { padding: 14px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .stat-summary { grid-template-columns: 1fr; }
  .stat-summary p, .stat-summary p:first-child, .stat-summary p:last-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-summary p:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  body.public-site { padding-bottom: calc(64px + env(safe-area-inset-bottom)); font-size: 15px; }
  .section-wrap, .header-inner, .detail-hero-inner, .detail-content-wrap, .footer-inner { width: calc(100% - 32px); }
  .header-inner { height: 60px; }
  .logo { font-size: 25px; }
  .main-nav { display: none; }
  .hero-shell { padding-block: 38px 32px; gap: 26px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-sub { margin-top: 14px; font-size: 15px; }
  .search-box { min-height: 58px; padding-left: 14px; }
  .search-box input { font-size: 14px; }
  .search-submit { width: 44px; height: 44px; }
  .search-suggest { position: static; margin-top: 8px; }
  .quick-search { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .quick-search::-webkit-scrollbar { display: none; }
  .quick-search > * { flex: 0 0 auto; }
  .home-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
  .home-category { min-height: 56px; padding-inline: 4px; font-size: 11px; }
  .trust-strip .section-wrap { grid-template-columns: 1fr; }
  .trust-strip article, .trust-strip article:first-of-type, .trust-strip article:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip article:last-child { border-bottom: 0; }
  .signal-section { padding-block: 54px 70px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 23px; }
  .target-grid { grid-template-columns: 1fr; }
  .home-trend-item { min-height: 82px; }
  .inner-page { padding: 34px 0 78px; }
  .results-heading { margin-top: 38px; align-items: start; }
  .results-heading h1 { font-size: 29px; }
  .results-heading > p { padding-top: 6px; font-size: 13px; white-space: nowrap; }
  .filter-panel { padding: 14px; }
  .filter-group { grid-template-columns: 1fr; gap: 6px; }
  .filter-group > b { padding-top: 0; }
  .filter-options { flex-wrap: nowrap; overflow-x: auto; padding: 2px; scrollbar-width: none; }
  .filter-options::-webkit-scrollbar { display: none; }
  .filter-options button { flex: 0 0 auto; min-height: 44px; }
  .result-card { padding: 17px; }
  .result-copy h2 { font-size: 19px; }
  .page-intro { margin-bottom: 30px; }
  .page-intro h1 { font-size: 30px; }
  .detail-hero-inner { padding-bottom: 24px; }
  .detail-title-row { margin-top: 16px; align-items: stretch; flex-direction: column; }
  .detail-title h1 { font-size: 29px; }
  .detail-actions { width: 100%; }
  .detail-actions button { flex: 1; }
  .detail-actions [data-open-review] { display: none; }
  .detail-content-wrap { padding-top: 22px; }
  .repeated-summary { padding: 17px; }
  .content-heading { align-items: start; }
  .content-heading h2, .experience-toolbar h2 { font-size: 21px; }
  .top-flaw { grid-template-columns: minmax(75px,105px) minmax(60px,1fr) 34px; gap: 8px; font-size: 13px; }
  .experience-toolbar { align-items: stretch; flex-direction: column; }
  .experience-filters { flex-wrap: nowrap; overflow-x: auto; padding: 2px; scrollbar-width: none; }
  .experience-filters::-webkit-scrollbar { display: none; }
  .experience-filters button { min-height: 44px; flex: 0 0 auto; }
  .review-card { padding: 17px; }
  .review-footer { align-items: flex-start; flex-direction: column; }
  .review-buttons { width: 100%; }
  .review-buttons button { flex: 1; }
  .detail-guidance { grid-template-columns: 1fr; gap: 18px; }
  .mobile-detail-cta { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom)); display: block; }
  .mobile-detail-cta button { width: 100%; box-shadow: 0 8px 28px rgba(32,38,34,.2); }
  .principle-cards, .policy-notes { grid-template-columns: 1fr; }
  .principle-cards article { padding: 22px; }
  .site-footer { margin-bottom: 0; }
  .footer-inner { min-height: 230px; padding-block: 32px 24px; grid-template-columns: 1fr; gap: 20px; }
  .footer-links { flex-wrap: wrap; }
  .mobile-nav { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding: 4px 10px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
  .mobile-nav button { min-width: 0; min-height: 52px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
  .mobile-nav button[aria-current="page"] { background: var(--trust-soft); color: var(--trust); }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .modal form { height: 100dvh; max-height: 100dvh; padding: 0 16px 108px; }
  .modal-head { position: sticky; z-index: 4; top: 0; margin: 0 -16px 14px; padding: 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
  .modal-head .section-kicker { margin-bottom: 3px; }
  .modal-head h2 { font-size: 23px; }
  .dialog-description { margin-top: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .severity-options { gap: 4px; }
  .severity-options span { min-height: 76px; padding-inline: 1px; }
  .severity-options small { font-size: 9px; }
  .modal-actions { position: sticky; z-index: 4; bottom: 0; margin: 24px -16px -108px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); grid-template-columns: 96px minmax(0,1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.98); }
}

@media (max-width: 360px) {
  .hero-copy h1 { font-size: 30px; }
  .home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .results-heading { flex-direction: column; gap: 8px; }
  .top-flaw { grid-template-columns: 86px minmax(52px,1fr) 30px; }
  .severity-options small { font-size: 8px; }
}

/* Restored home design from the pre-v20 release. Other views keep the current system. */
body.home-active {
  --ink: #171715;
  --paper: #f6f3ed;
  --surface: #fffefa;
  --line: #dcd8cf;
  --orange: #e96332;
  --accent: #e96332;
  --shadow: 0 24px 60px rgba(30,26,18,.12);
  padding-bottom: 0;
  background: #18191c;
  color: #f7f7f4;
}
body.home-active .site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid #2c2d31; background: #18191c; backdrop-filter: none; }
body.home-active .header-inner { width: min(1040px, calc(100% - 40px)); height: 76px; }
body.home-active .logo { padding: 0; color: #f7f7f4; }
body.home-active .main-nav, body.home-active .mobile-nav { display: none; }
body.home-active #main { scroll-margin-top: 76px; }
body.home-active .site-footer { margin-bottom: 0; border-top-color: #303136; background: #18191c; }
body.home-active .footer-inner { width: min(1040px, calc(100% - 40px)); min-height: 190px; }
body.home-active .footer-inner > div:first-child p { color: #98958e; }
body.home-active .footer-links button, body.home-active .footer-links a { color: #bbb8b1; }
body.home-active .copyright { color: #6f6d68; }

#homeView { min-height: 760px; background: #18191c; color: #f7f7f4; }
#homeView .hero-shell { min-height: auto; padding: 92px 24px 62px; display: block; position: relative; overflow: visible; }
#homeView .hero-shell::after { display: none; }
#homeView .hero-copy { max-width: none; text-align: center; }
#homeView .hero-copy h1 { display: block; max-width: none; margin: 0; font-size: clamp(29px,3.1vw,39px); line-height: 1.3; letter-spacing: -.045em; font-weight: 700; }
#homeView .hero-question { white-space: nowrap; }
#homeView .hero-answer { margin: 8px 0 0; color: #a9aaaf; font-size: 17px; font-weight: 500; }
#homeView .hero-answer strong { color: #f7f7f4; font-weight: 800; border-bottom: 3px solid var(--orange); }
.rotating-word { position: relative; height: 1.25em; display: inline-block; overflow: hidden; vertical-align: -.16em; line-height: 1.25; transition: width .48s cubic-bezier(.22,.8,.22,1); }
.rotating-word > span { position: absolute; left: 0; top: 0; height: 100%; display: block; line-height: inherit; white-space: nowrap; transition: transform .48s cubic-bezier(.22,.8,.22,1),opacity .36s ease; }
.rotating-word .rotating-word-current { transform: translateY(0); opacity: 1; }
.rotating-word .rotating-word-next { transform: translateY(120%); opacity: 0; }
.rotating-word.switching .rotating-word-current { transform: translateY(-120%); opacity: 0; }
.rotating-word.switching .rotating-word-next { transform: translateY(0); opacity: 1; }
#homeView #rotatingSubject { vertical-align: -.17em; }

#homeView .search-stage { width: min(760px,100%); max-width: none; margin: 42px auto 0; position: relative; z-index: 3; }
#homeView .search-box { min-height: 58px; padding: 7px 9px 7px 20px; gap: 13px; position: relative; overflow: hidden; border: 1px solid #45464c; border-radius: 999px; background: #202125; box-shadow: none; }
#homeView .search-box:focus-within { border-color: #777980; box-shadow: none; }
#homeView .search-box input { min-height: 40px; color: #f7f7f4; font-size: 15px; }
#homeView .search-box input:focus-visible { outline: 0; }
.search-scope { flex: 0 0 auto; color: #f0f0ed; font-size: 13px; font-weight: 700; }
.search-divider { width: 1px; height: 22px; flex: 0 0 auto; background: #3b3c41; }
.search-input-wrap { min-width: 0; height: 40px; position: relative; flex: 1; display: flex; align-items: center; }
.search-input-wrap input { position: relative; z-index: 1; width: 100%; }
.search-placeholder { position: absolute; z-index: 0; left: 0; top: 50%; display: block; transform: translateY(-50%); color: #777980; font-size: 15px; line-height: 22px; pointer-events: none; transition: opacity .16s ease; white-space: nowrap; }
.search-input-wrap.has-value .search-placeholder { opacity: 0; }
#rotatingSearchKind { height: 22px; margin-right: 0; vertical-align: bottom; color: #8e8f95; line-height: 22px; }
#homeView .search-submit { width: 40px; height: 40px; border-radius: 50%; background: #f4f4f1; color: #17181b; font: 700 18px "Manrope"; }
#homeView .search-submit:hover { background: var(--orange); color: white; }
#homeView .search-submit .material-symbols-rounded { font-size: 21px; }
#homeView .quick-search { margin: 13px 4px 0; justify-content: flex-start; flex-wrap: nowrap; color: #777980; white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
#homeView .quick-search::-webkit-scrollbar { display: none; }
#homeView .quick-search > span { flex: 0 0 auto; }
#homeView .quick-search button { min-height: 28px; flex: 0 0 auto; padding: 2px 4px; border: 0; border-radius: 0; color: #b6b7bb; background: transparent; }
#homeView .quick-search button:hover { color: white; background: transparent; }
#homeView .link-scan-status { min-height: 32px; margin-top: 18px; color: #a9aaaf; font-size: 12px; }
#homeView .link-scan-status .link-scan-icon { color: var(--orange); font-size: 17px; }
#homeView .search-suggest { top: 66px; width: calc(100% - 10px); border: 1px solid #3d3e43; border-radius: 12px; overflow: hidden; background: #242529; color: white; box-shadow: var(--shadow); }
#homeView .suggest-item { border-bottom-color: #36373c; color: white; }
#homeView .suggest-item:hover, #homeView .suggest-item:focus, #homeView .suggest-item[aria-selected="true"] { background: #303136; }

#homeView .home-category-grid { grid-column: auto; margin-top: 44px; display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; }
#homeView .home-category { min-width: 0; min-height: 0; padding: 0; display: block; border: 0; border-radius: 0; background: transparent; color: #d7d8da; text-align: center; }
#homeView .home-category > span { width: 50px; height: 50px; margin: 0 auto 9px; display: grid; place-items: center; border-radius: 14px; background: #25262b; color: var(--orange); font-size: 24px; transition: background .18s; }
#homeView .home-category b { display: block; overflow: hidden; color: #d5d6d9; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
#homeView .home-category:hover { background: transparent; color: inherit; }
#homeView .home-category:hover > span { background: #303136; }

#homeView .signal-section { width: min(900px,calc(100% - 40px)); padding: 62px 0 96px; }
#homeView .section-heading { margin-bottom: 19px; }
#homeView .section-heading h2 { color: #f7f7f4; font-size: 22px; letter-spacing: -.035em; }
#homeView .section-heading h2 .signal-icon { margin-right: 7px; color: #ff6f61; font-size: 20px; vertical-align: -3px; }
#homeView .target-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 42px; }
#homeView .home-trend-item { min-height: 85px; padding: 16px 0; grid-template-columns: 28px minmax(0,1fr) auto; gap: 12px; border-bottom: 1px solid #303136; color: #f5f5f2; }
#homeView .home-trend-item:hover .home-trend-copy b { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
#homeView .home-trend-rank { align-self: start; padding-top: 1px; color: #f5f5f2; font: 700 15px "Manrope"; }
#homeView .home-trend-copy b { color: #f5f5f2; font-size: 14px; }
#homeView .home-trend-copy small { margin-top: 4px; color: #84858a; font-size: 11px; }
#homeView .home-trend-metric b { color: #e8a186; font: 700 14px "Manrope"; }
#homeView .home-trend-metric small { color: #6f7075; font-size: 9px; }
#homeView .skeleton-grid > * { min-height: 85px; height: 85px; border-bottom: 1px solid #303136; border-radius: 0; background: linear-gradient(100deg,#222328 20%,#2a2b30 40%,#222328 60%); background-size: 200% 100%; }
#homeView .empty-state { border-color: #3d3e43; background: #202125; color: #f7f7f4; }
#homeView .empty-state p { color: #a9aaaf; }

@media (max-width: 640px) {
  body.home-active { padding-bottom: 0; }
  body.home-active .header-inner { width: calc(100% - 30px); height: 64px; }
  body.home-active .mobile-nav { display: none; }
  body.home-active #main { scroll-margin-top: 64px; }
  #homeView .hero-shell { padding: 66px 15px 38px; }
  #homeView .hero-copy h1 { font-size: 30px; }
  #homeView .hero-answer { font-size: 15px; }
  #homeView .search-stage { margin-top: 34px; }
  #homeView .search-box { min-height: 54px; padding-left: 16px; }
  #homeView .search-box input { font-size: 13px; }
  #homeView .search-submit { width: 38px; height: 38px; }
  #homeView .search-suggest { position: absolute; margin-top: 0; }
  #homeView .home-category-grid { margin-top: 34px; grid-template-columns: repeat(4,1fr); gap: 22px 6px; }
  #homeView .home-category > span { width: 46px; height: 46px; }
  #homeView .signal-section { width: calc(100% - 30px); padding: 50px 0 72px; }
  #homeView .target-grid { grid-template-columns: 1fr; }
  #homeView .home-trend-item { min-height: 78px; }
  body.home-active .footer-inner { min-height: 165px; }
}

@media (max-width: 360px) {
  #homeView .search-box { padding-left: 13px; gap: 8px; }
  #homeView .search-scope { font-size: 12px; }
  #homeView .search-placeholder { font-size: 12px; }
}

/* Public dark system. Scoped so the operator console keeps its own palette. */
body.public-site:not(.home-active) {
  --background: #18191c;
  --surface: #202125;
  --text: #f5f5f2;
  --muted: #96979c;
  --line: #33343a;
  --trust: #e96332;
  --trust-soft: #302520;
  --accent: #e96332;
  --warning-soft: #302520;
  --success: #78b08f;
  --danger: #e07769;
  --ink: #f5f5f2;
  --paper: #18191c;
  --soft: #25262b;
  --orange: #e96332;
  --orange-soft: #302520;
  --green: #78b08f;
  --green-soft: #223129;
  --red: #e07769;
  --shadow: 0 24px 60px rgba(0,0,0,.34);
  background: #18191c;
  color: #f5f5f2;
  color-scheme: dark;
}
body.public-site:not(.home-active) ::selection { background: #e96332; color: #17181b; }
body.public-site:not(.home-active) .site-header { position: sticky; z-index: 100; top: 0; border-bottom-color: #2c2d31; background: rgba(24,25,28,.97); backdrop-filter: blur(14px); }
body.public-site:not(.home-active) .header-inner { width: min(1040px, calc(100% - 40px)); height: 76px; }
body.public-site:not(.home-active) #main { scroll-margin-top: 76px; }
body.public-site:not(.home-active) .logo { color: #f7f7f4; }
body.public-site:not(.home-active) .main-nav button { color: #9d9ea3; }
body.public-site:not(.home-active) .main-nav button:hover,
body.public-site:not(.home-active) .main-nav button[aria-current="page"] { background: #25262b; color: #f7f7f4; }
body.public-site:not(.home-active) main,
body.public-site:not(.home-active) .inner-page { background: #18191c; }
body.public-site:not(.home-active) .section-wrap { width: min(1040px, calc(100% - 40px)); }
body.public-site:not(.home-active) .inner-page { min-height: calc(100dvh - 76px); padding: 50px 0 96px; }

body.public-site:not(.home-active) .primary-button { border-color: #f4f4f1; background: #f4f4f1; color: #17181b; }
body.public-site:not(.home-active) .primary-button:hover { border-color: #e96332; background: #e96332; color: #17181b; }
body.public-site:not(.home-active) .secondary-button { border-color: #45464c; background: transparent; color: #e4e4e1; }
body.public-site:not(.home-active) .secondary-button:hover { border-color: #e96332; color: #f7f7f4; }
body.public-site:not(.home-active) .text-button { color: #b7b8bc; }
body.public-site:not(.home-active) .text-button:hover { background: #25262b; color: #f7f7f4; }

body.public-site:not(.home-active) .search-box.compact { max-width: 760px; min-height: 58px; padding: 7px 8px 7px 20px; border-color: #45464c; border-radius: 999px; background: #202125; }
body.public-site:not(.home-active) .search-box.compact:focus-within { border-color: #777980; box-shadow: none; }
body.public-site:not(.home-active) .search-box.compact input { color: #f7f7f4; }
body.public-site:not(.home-active) .search-box.compact input::placeholder { color: #777980; }
body.public-site:not(.home-active) .search-box.compact button { width: 42px; min-width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 50%; background: #f4f4f1; color: #17181b; }
body.public-site:not(.home-active) .search-box.compact button:hover { background: #e96332; color: #17181b; }
body.public-site:not(.home-active) .search-box.compact button .material-symbols-rounded { font-size: 21px; }
body.public-site:not(.home-active) .results-heading { margin: 46px 0 18px; padding-bottom: 18px; border-bottom-color: #303136; }
body.public-site:not(.home-active) .results-heading h1 { color: #f7f7f4; font-size: 36px; }
body.public-site:not(.home-active) .results-heading > p { color: #85868b; }
body.public-site:not(.home-active) .search-analysis { margin-bottom: 18px; padding: 13px 0 13px 15px; display: flex; justify-content: space-between; gap: 16px; border-left-color: #e96332; border-radius: 0; background: transparent; color: #85868b; }
body.public-site:not(.home-active) .search-analysis > * { min-width: 0; overflow-wrap: anywhere; }
body.public-site:not(.home-active) .search-analysis b { color: #f5f5f2; }
body.public-site:not(.home-active) .search-analysis span { color: #85868b; }
body.public-site:not(.home-active) .filter-panel { margin-bottom: 12px; padding: 20px 0; gap: 13px; border: 0; border-block: 1px solid #303136; border-radius: 0; background: transparent; }
body.public-site:not(.home-active) .filter-group > b { color: #85868b; }
body.public-site:not(.home-active) .filter-options button { border-color: #3a3b40; background: transparent; color: #999a9f; }
body.public-site:not(.home-active) .filter-options button:hover { border-color: #62636a; color: #f4f4f1; }
body.public-site:not(.home-active) .filter-options button[aria-pressed="true"] { border-color: #e96332; background: #302520; color: #f3b29a; }
body.public-site:not(.home-active) .filter-options button[aria-pressed="true"]::before { content: none; }
body.public-site:not(.home-active) .sort-control select { border-color: #3a3b40; background: #202125; color: #d9d9d6; }
body.public-site:not(.home-active) .results-list { gap: 0; }
body.public-site:not(.home-active) .result-card { padding: 24px 0; gap: 30px; border: 0; border-bottom: 1px solid #303136; border-radius: 0; background: transparent; color: #f5f5f2; }
body.public-site:not(.home-active) .result-card:hover { border-bottom-color: #62636a; }
body.public-site:not(.home-active) .category-label { background: #302520; color: #ee956f; }
body.public-site:not(.home-active) .result-copy h2 { color: #f7f7f4; }
body.public-site:not(.home-active) .result-copy .brand { color: #85868b; }
body.public-site:not(.home-active) .flaw-tag { background: #25262b; color: #a9aaaf; }
body.public-site:not(.home-active) .result-summary { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-left: 24px; border-left-color: #303136; color: #929398; font-size: 11px; }
body.public-site:not(.home-active) .result-summary > span { min-width: 0; display: grid; gap: 2px; }
body.public-site:not(.home-active) .result-summary b { color: #e8a186; font: 700 18px "Manrope"; }
body.public-site:not(.home-active) .page-intro { margin-bottom: 28px; }
body.public-site:not(.home-active) .page-intro h1 { color: #f7f7f4; font-size: 38px; }

body.public-site:not(.home-active) .detail-hero { border-bottom-color: #303136; background: #18191c; color: #f7f7f4; }
body.public-site:not(.home-active) .detail-hero-inner { width: min(1040px, calc(100% - 40px)); padding: 18px 0 32px; }
body.public-site:not(.home-active) .back-button { color: #8e8f94; }
body.public-site:not(.home-active) .back-button:hover { background: #25262b; color: #f7f7f4; }
body.public-site:not(.home-active) .detail-title h1 { color: #f7f7f4; }
body.public-site:not(.home-active) .detail-title p { color: #8f9095; }
body.public-site:not(.home-active) .detail-actions .secondary-button { border-color: #45464c; background: transparent; color: #d7d7d4; }
body.public-site:not(.home-active) .detail-content-wrap { width: min(900px, calc(100% - 40px)); padding: 34px 0 96px; }
body.public-site:not(.home-active) .repeated-summary { padding: 24px 0; border: 0; border-block: 1px solid #303136; border-radius: 0; background: transparent; }
body.public-site:not(.home-active) .content-heading h2,
body.public-site:not(.home-active) .experience-toolbar h2 { color: #f7f7f4; }
body.public-site:not(.home-active) .content-heading span { color: #85868b; }
body.public-site:not(.home-active) .top-flaw-track { background: #2b2c31; }
body.public-site:not(.home-active) .top-flaw-track span { background: #e96332; }
body.public-site:not(.home-active) .sample-note.caution { background: #302520; color: #e8a186; }
body.public-site:not(.home-active) .stat-summary { border-block-color: #303136; }
body.public-site:not(.home-active) .stat-summary p { border-right-color: #303136; color: #8f9095; }
body.public-site:not(.home-active) .stat-summary b { margin-bottom: 2px; color: #f5f5f2; font: 700 18px "Manrope"; }
body.public-site:not(.home-active) .stat-summary p span { display: block; color: #85868b; font-size: 12px; }
body.public-site:not(.home-active) .experience-filters button { border-color: #3a3b40; background: transparent; color: #999a9f; }
body.public-site:not(.home-active) .experience-filters button[aria-pressed="true"] { border-color: #e96332; background: #302520; color: #f3b29a; }
body.public-site:not(.home-active) .review-card { border-color: #33343a; background: #1d1e22; }
body.public-site:not(.home-active) .review-meta { color: #85868b; }
body.public-site:not(.home-active) .badge { background: #28292e; color: #a9aaaf; }
body.public-site:not(.home-active) .badge.evidence { background: #302520; color: #efad91; }
body.public-site:not(.home-active) .badge.improvement { background: #223129; color: #78b08f; }
body.public-site:not(.home-active) .review-card h3 { color: #f5f5f2; }
body.public-site:not(.home-active) .review-body { color: #d6d6d3; }
body.public-site:not(.home-active) .review-extra { border-top-color: #303136; color: #999a9f; }
body.public-site:not(.home-active) .helpful-button,
body.public-site:not(.home-active) .report-button { border-color: #3a3b40; color: #999a9f; }
body.public-site:not(.home-active) .review-intent { color: #a2a3a8; }
body.public-site:not(.home-active) .company-response { padding: 17px 18px; border-color: #4a3932; border-left: 3px solid #e96332; background: #25211f; }
body.public-site:not(.home-active) .company-response-head b { color: #efad91; }
body.public-site:not(.home-active) .company-response-head span { color: #8f9095; }
body.public-site:not(.home-active) .company-response p { color: #d4d4d1; }

body.public-site:not(.home-active) .principle-cards { grid-template-columns: repeat(3,1fr); border-color: #303136; }
body.public-site:not(.home-active) .principle-cards article { min-height: 170px; padding: 24px; border-color: #303136; }
body.public-site:not(.home-active) .principle-cards h2 { margin: 0 0 8px; color: #f7f7f4; font-size: 19px; }
body.public-site:not(.home-active) .principle-cards p { color: #909196; font-size: 14px; }
body.public-site:not(.home-active) .prohibited-box { margin-top: 30px; padding: 24px; border: 1px solid #303136; border-radius: 10px; background: #1d1e22; }
body.public-site:not(.home-active) .prohibited-box h2 { color: #f5f5f2; }
body.public-site:not(.home-active) .prohibited-list span { background: #28292e; color: #a6a7ac; }

body.public-site:not(.home-active) .empty-state { border-color: #3a3b40; background: #1d1e22; color: #f5f5f2; }
body.public-site:not(.home-active) .empty-state p { color: #8f9095; }
body.public-site:not(.home-active) .skeleton-grid > *,
body.public-site:not(.home-active) .skeleton-card { background: linear-gradient(100deg,#222328 20%,#2b2c31 40%,#222328 60%); background-size: 200% 100%; }
body.public-site:not(.home-active) .site-footer { border-top-color: #303136; background: #18191c; }
body.public-site:not(.home-active) .footer-inner { width: min(1040px, calc(100% - 40px)); min-height: 170px; }
body.public-site:not(.home-active) .footer-logo { color: #f7f7f4; }
body.public-site:not(.home-active) .footer-links button,
body.public-site:not(.home-active) .footer-links a { color: #9a9b9f; }
body.public-site:not(.home-active) .footer-links button:hover,
body.public-site:not(.home-active) .footer-links a:hover { background: #25262b; color: #f7f7f4; }
body.public-site:not(.home-active) .copyright { color: #67686d; }

body.public-site .modal { --surface: #202125; --text: #f5f5f2; --muted: #96979c; --line: #38393f; --trust: #e96332; --trust-soft: #302520; --accent: #e96332; --warning-soft: #302520; --success: #78b08f; --danger: #e07769; border: 1px solid #38393f; background: #202125; color: #f5f5f2; color-scheme: dark; }
body.public-site .modal::backdrop { background: rgba(8,8,9,.76); backdrop-filter: blur(4px); }
body.public-site .modal-head h2 { color: #f7f7f4; }
body.public-site .close-button { border-color: #414248; background: transparent; color: #d8d8d5; }
body.public-site .close-button:hover { border-color: #e96332; color: white; }
body.public-site .dialog-description { color: #a0a1a6; }
body.public-site .anonymous-note { border-left-color: #e96332; background: #302520; }
body.public-site .anonymous-note p { color: #b7a39a; }
body.public-site .form-section { border-top-color: #38393f; }
body.public-site .readonly-target { background: #28292e; }
body.public-site .readonly-target span { color: #929398; }
body.public-site .field input:not([type="radio"]):not([type="checkbox"]),
body.public-site .field select,
body.public-site .field textarea { border-color: #48494f; background: #18191c; color: #f4f4f1; }
body.public-site .field input::placeholder,
body.public-site .field textarea::placeholder { color: #727378; }
body.public-site .field input:focus,
body.public-site .field select:focus,
body.public-site .field textarea:focus { border-color: #e96332; box-shadow: 0 0 0 3px rgba(233,99,50,.13); }
body.public-site .choice-field label span,
body.public-site .severity-options span { border-color: #48494f; background: #1b1c20; }
body.public-site .choice-field input:checked + span,
body.public-site .severity-options input:checked + span { border-color: #e96332; background: #e96332; color: #17181b; }
body.public-site .file-field { border-color: #48494f; }
body.public-site .agree-check { color: #b0b1b5; }
body.public-site .agree-check input { accent-color: #e96332; }
body.public-site .modal .primary-button { border-color: #f4f4f1; background: #f4f4f1; color: #17181b; }
body.public-site .modal .primary-button:hover { border-color: #e96332; background: #e96332; color: #17181b; }
body.public-site .modal .secondary-button { border-color: #48494f; background: transparent; color: #d8d8d5; }
body.public-site .modal .text-button { color: #efad91; }
body.public-site .form-message.error { background: #3a2424; color: #f09a8f; }
body.public-site .form-message.success { background: #223129; color: #8bc49f; }
body.public-site .toast { background: #f4f4f1; color: #17181b; }
body.public-site .toast[data-type="error"] { background: #b84e43; color: white; }

@media (max-width: 900px) {
  body.public-site:not(.home-active) .result-summary { padding: 15px 0 0; border-top-color: #303136; border-left: 0; }
  body.public-site:not(.home-active) .principle-cards { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  body.public-site:not(.home-active) .header-inner { width: calc(100% - 30px); height: 64px; }
  body.public-site:not(.home-active) #main { scroll-margin-top: 64px; }
  body.public-site:not(.home-active) .section-wrap,
  body.public-site:not(.home-active) .detail-hero-inner,
  body.public-site:not(.home-active) .detail-content-wrap,
  body.public-site:not(.home-active) .footer-inner { width: calc(100% - 30px); }
  body.public-site:not(.home-active) .inner-page { min-height: calc(100dvh - 64px); padding: 34px 0 78px; }
  body.public-site:not(.home-active) .search-box.compact { padding-left: 16px; }
  body.public-site:not(.home-active) .results-heading { margin-top: 38px; }
  body.public-site:not(.home-active) .results-heading h1 { font-size: 29px; }
  body.public-site:not(.home-active) .filter-panel { padding: 16px 0; }
  body.public-site:not(.home-active) .result-card { padding: 20px 0; }
  body.public-site:not(.home-active) .result-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.public-site:not(.home-active) .page-intro { margin-bottom: 22px; }
  body.public-site:not(.home-active) .page-intro h1 { font-size: 30px; }
  body.public-site:not(.home-active) .detail-hero-inner { padding-bottom: 24px; }
  body.public-site:not(.home-active) .detail-content-wrap { padding-top: 22px; }
  body.public-site:not(.home-active) .repeated-summary { padding: 20px 0; }
  body.public-site:not(.home-active) .review-card { padding: 17px; }
  body.public-site:not(.home-active) .principle-cards { grid-template-columns: 1fr; }
  body.public-site:not(.home-active) .principle-cards article { min-height: 0; padding: 20px 0; border-right: 0; }
  body.public-site:not(.home-active) .prohibited-box { padding: 20px; }
  body.public-site:not(.home-active) .mobile-nav { border-top-color: #303136; background: rgba(24,25,28,.97); backdrop-filter: blur(14px); }
  body.public-site:not(.home-active) .mobile-nav button { color: #8e8f94; }
  body.public-site:not(.home-active) .mobile-nav button[aria-current="page"] { background: #302520; color: #efad91; }
  body.public-site .modal-head { border-bottom-color: #38393f; background: rgba(32,33,37,.98); }
  body.public-site .modal-actions { border-top-color: #38393f; background: rgba(32,33,37,.98); }
  body.public-site[data-current-route="detail"] .toast { bottom: calc(136px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
