:root {
  color-scheme: light;
  --background: #f5f6f8;
  --card-bg: #ffffff;
  --panel-bg: #eef1f4;
  --text-primary: #121826;
  --text-secondary: #4b5565;
  --text-muted: #667085;
  --border-color: #d9dee7;
  --border-strong: #c4ccd8;
  --primary-color: #27364a;
  --primary-hover: #1b2534;
  --primary-soft: #edf1f6;
  --secondary-color: #c95d4f;
  --secondary-soft: #fff3f1;
  --accent-color: #c95d4f;
  --accent-soft: #fff3f1;
  --success: #2f6f73;
  --success-soft: #eef7f4;
  --warning: #9b6b16;
  --warning-soft: #fff6df;
  --error: #b5473c;
  --error-soft: #fff1ef;
  --shadow: 0 12px 28px rgba(18, 24, 38, 0.05);
  --shadow-sm: 0 6px 16px rgba(18, 24, 38, 0.045);
  --focus-ring: 0 0 0 3px rgba(39, 54, 74, 0.14);
  --button-glow: none;
  --border-radius: 8px;
  --radius: var(--border-radius);
  --control-radius: var(--border-radius);
  --bg: var(--background);
  --ink: var(--text-primary);
  --ink-2: var(--text-secondary);
  --muted: var(--text-muted);
  --soft: var(--panel-bg);
  --surface: var(--card-bg);
  --surface-alt: var(--panel-bg);
  --line: var(--border-color);
  --line-strong: var(--border-strong);
  --brand: var(--primary-color);
  --brand-dark: var(--primary-hover);
  --brand-soft: var(--primary-soft);
  --secondary: var(--secondary-color);
  --accent: var(--accent-color);
  --accent-blue: var(--primary-hover);
  --red: var(--error);
  --amber: var(--warning);
  --atelier-lime: var(--primary-soft);
  --atelier-mist: var(--panel-bg);
  --atelier-sage: var(--text-muted);
  --atelier-forest: var(--primary-color);
  --atelier-deep: var(--text-primary);
  --paper: var(--background);
  --sky: #f2f4f7;
  --clay: var(--secondary-soft);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --display: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* 2026-07-10 completion pass: conversion, ads, accessibility and mobile safety. */
.ad-slot.is-unfilled,
.ad-slot.is-unavailable {
  display: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ad-slot.is-filled {
  min-height: 120px;
  border-style: solid;
}

.ask-form > label {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.question-evidence-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.question-evidence-list p {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.question-evidence-list span {
  color: var(--muted);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.report-actions .primary-btn {
  margin-left: auto;
}

.mobile-more-grid {
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recent-report-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.recent-report-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  color: var(--ink);
}

.recent-report-list small {
  color: var(--muted);
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 22, 18, 0.58);
}

.lead-dialog {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(8, 32, 25, 0.24);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.lead-form .span-2 {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.lead-form .consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 600;
}

.lead-form .consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.local-evidence-control {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.evidence-link-btn {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.evidence-link-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.local-evidence-links {
  display: grid;
  gap: 6px;
  min-width: 190px;
  max-width: 260px;
}

.local-evidence-links[hidden] {
  display: none;
}

.local-evidence-links a,
.local-evidence-links > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.local-evidence-links a span,
.local-evidence-links > span {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.product-source-status .diagnostic-grid {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .quick-prompts,
  .filter-row,
  .local-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding-bottom: 5px;
  }

  .quick-prompts > *,
  .filter-row > *,
  .local-filter-row > * {
    flex: 0 0 auto;
  }

  .lead-form,
  .question-evidence-list p {
    grid-template-columns: 1fr;
  }

  .lead-dialog {
    padding: 18px;
  }

  .report-actions .primary-btn {
    width: 100%;
    margin-left: 0;
  }

  .mobile-bottom-cta {
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  body:has(input:focus) .mobile-bottom-cta,
  body:has(textarea:focus) .mobile-bottom-cta,
  body:has(select:focus) .mobile-bottom-cta {
    display: none;
  }

  .footer,
  main,
  .layout,
  .home-search-result-wrap {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }
}

@media print {
  .topbar,
  .mobile-bottom-cta,
  .footer,
  .report-actions,
  .ad-slot,
  .dialog-backdrop,
  .menu-action-strip {
    display: none !important;
  }

  body,
  .shell,
  .surface {
    background: #fff !important;
    box-shadow: none !important;
  }
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
  background: #fff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
}

.announce {
  min-height: 32px;
  display: none;
  place-items: center;
  background: var(--surface);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(21, 35, 34, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  font-family: var(--display);
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface) url("./assets/tteulsite-icon.svg?v=20260710a") center / cover no-repeat;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 19px 0 17px;
  border-radius: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--brand);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.primary-btn,
.ghost-btn,
.icon-btn {
  position: relative;
  overflow: hidden;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  white-space: nowrap;
  font-weight: 800;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.primary-btn {
  padding: 0 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}

.primary-btn:hover {
  background: var(--brand-dark);
  box-shadow: none;
}

.primary-btn.is-loading,
.ghost-btn.is-loading,
.icon-btn.is-loading {
  cursor: progress;
  opacity: 0.9;
}

.primary-btn.is-loading::before,
.ghost-btn.is-loading::before,
.icon-btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: tteul-spin 780ms linear infinite;
}

.interaction-feedback {
  position: sticky;
  top: 56px;
  z-index: 29;
  display: none;
  gap: 8px;
  max-width: 100vw;
  overflow-x: clip;
  padding: 10px 24px 0;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.interaction-feedback:not(:empty) {
  display: grid;
}

.interaction-feedback div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  color: var(--ink);
  font-size: 13px;
}

.interaction-feedback strong {
  font-weight: 900;
}

.interaction-feedback span {
  color: var(--muted);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.interaction-feedback i {
  position: relative;
  display: block;
  max-width: 1120px;
  width: 100%;
  height: 3px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-bg);
}

.interaction-feedback i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  border-radius: inherit;
  background: var(--secondary);
  animation: tteul-progress 1.15s ease-in-out infinite;
}

.top-actions .primary-btn {
  background: var(--brand);
}

.top-actions .primary-btn:hover {
  background: var(--brand-dark);
}

.search-card .primary-btn,
.lead-form .primary-btn,
.utility-form .primary-btn {
  background: var(--brand);
}

.search-card .primary-btn:hover,
.lead-form .primary-btn:hover,
.utility-form .primary-btn:hover {
  background: var(--brand-dark);
}

.primary-btn.large,
.ghost-btn.large {
  min-height: 48px;
  padding: 0 18px;
}

.ghost-btn {
  padding: 0 14px;
  background: var(--surface);
  border-color: var(--line);
}

.ghost-btn:hover,
.icon-btn:hover {
  border-color: var(--brand);
  box-shadow: none;
}

.icon-btn {
  position: relative;
  width: 40px;
  padding: 0;
  background: var(--surface);
  border-color: var(--line);
}

.badge {
  position: absolute;
  top: -8px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 18px;
  background: var(--amber);
  color: #fff;
  font-size: 11px;
}

.hero {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 88px 0 56px;
  display: block;
  text-align: center;
}

.hero-copy {
  max-width: 896px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--secondary);
  vertical-align: 1px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 auto 24px;
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.subcopy {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.65;
}

.search-workbench {
  display: grid;
  gap: 16px;
  margin: 48px auto 0;
  width: min(896px, 100%);
  text-align: left;
}

.search-card {
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.search-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.home-atelier {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 58px 24px 54px;
  border-bottom: 1px solid rgba(21, 35, 34, 0.1);
  background: var(--bg);
  text-align: left;
}

.home-hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  align-items: start;
}

.home-hero-grid.has-result {
  width: min(896px, 100%);
  grid-template-columns: 1fr;
}

.home-atelier .hero-copy {
  max-width: none;
  margin: 0;
  display: grid;
  align-content: center;
  padding: 14px 0;
}

.home-atelier .eyebrow {
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-family: var(--mono);
  letter-spacing: 0;
}

.report-status-strip {
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.report-status-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.report-status-chip.primary {
  border-color: var(--line-strong);
  background: var(--brand-soft);
}

.report-status-chip em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.report-status-chip b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.home-atelier h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  word-break: keep-all;
}

.home-atelier .subcopy {
  max-width: 690px;
  margin: 0 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.68;
  word-break: keep-all;
}

.home-atelier .search-workbench {
  width: 100%;
  margin-top: 30px;
}

.home-atelier .search-card {
  gap: 14px;
  padding: 20px;
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.home-atelier .search-card > div:first-child {
  display: none;
}

.home-atelier .search-card:hover {
  transform: none;
  box-shadow: none;
}

.home-atelier .segmented {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
}

.home-atelier .segmented button {
  border-radius: 6px;
}

.home-atelier .segmented button.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.home-atelier input {
  border-color: var(--line-strong);
  background: var(--surface);
}

.home-atelier .primary-btn {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.home-atelier .primary-btn:hover {
  background: var(--brand-dark);
  box-shadow: none;
}

.home-atelier .search-assist-panel {
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.home-atelier .assist-row {
  padding: 7px 8px;
  border-radius: 6px;
}

.home-atelier .assist-row em {
  color: var(--atelier-forest);
}

.home-atelier .microcopy,
.home-atelier .data-limit.compact {
  text-align: left;
}

.home-atelier .microcopy {
  color: var(--ink);
}

.home-atelier .data-limit.compact {
  max-width: 720px;
  color: var(--muted);
}

.report-shortcut-list {
  max-width: 720px;
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.list-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.report-shortcut-row {
  transition: border-color 160ms ease, background 160ms ease;
}

.report-shortcut-row:hover {
  border-color: var(--line-strong);
  background: var(--brand-soft);
}

.shortcut-icon {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
}

.list-col-grow {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.list-col-grow strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.list-col-grow em {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-radar-panel {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.radar-beam-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
}

.beam-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.radar-topline,
.radar-list-head,
.radar-row,
.radar-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.radar-topline {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.radar-topline b {
  padding: 5px 8px;
  border: 1px solid rgba(52, 74, 116, 0.18);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 10px;
}

.radar-main-metric {
  display: grid;
  gap: 4px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.radar-main-metric strong {
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 54px;
  line-height: 0.95;
}

.radar-main-metric span,
.radar-metrics em,
.radar-row span {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.radar-metrics {
  align-items: stretch;
}

.radar-metrics span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.radar-metrics span:last-child {
  padding-right: 0;
  border-right: 0;
}

.radar-metrics b,
.radar-row em {
  color: var(--ink);
  font-family: var(--mono);
  font-style: normal;
  font-weight: 900;
}

.radar-list {
  display: grid;
  gap: 8px;
}

.radar-list-head {
  color: var(--muted);
  font-size: 12px;
}

.radar-list-head a {
  color: var(--brand-dark);
  font-weight: 900;
}

.radar-row {
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease, padding 160ms ease;
}

.radar-row:hover {
  padding-right: 8px;
  padding-left: 8px;
  transform: translateX(2px);
  background: var(--primary-soft);
}

.radar-row strong {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-empty {
  color: var(--muted);
  font-size: 13px;
}

.market-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 720px;
  margin: 24px 0 0;
}

.market-signal-strip span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.market-signal-strip em {
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.market-signal-strip b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
}

.market-signal-strip small {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.45;
}

.home-search-result-wrap {
  width: min(1120px, 100%);
  margin: 18px auto 0;
  text-align: left;
}

.search-card h2 {
  font-size: 18px;
  line-height: 1.2;
}

.primary-search {
  margin-bottom: 0;
}

.data-limit {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
}

.data-limit.compact {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a3a3a3;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.data-limit strong {
  font-weight: 900;
}

.ad-slot {
  width: min(1120px, calc(100vw - 32px));
  min-height: 280px;
  display: grid;
  place-items: center;
  margin: 34px auto 40px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

.ad-slot.compact {
  width: auto;
  min-height: 120px;
  margin: 14px 0 0;
}

.ad-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.ad-placeholder {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.coupang-partner-banner {
  width: min(1180px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 18px auto 42px;
  padding: 18px 22px 18px 28px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.coupang-partner-copy {
  display: grid;
  gap: 9px;
  max-width: 650px;
}

.coupang-partner-label {
  color: #e6521f;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.coupang-partner-copy strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.coupang-partner-copy p,
.coupang-partner-copy small {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.coupang-partner-copy small {
  font-size: 11px;
}

.coupang-partner-copy a {
  width: fit-content;
  margin-top: 3px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e6521f;
  color: #fff;
  font-weight: 800;
}

.coupang-partner-copy a:hover {
  background: #c94013;
}

.coupang-partner-frame {
  display: block;
  width: 120px;
  height: 240px;
  flex: 0 0 120px;
  border: 0;
}

@media (max-width: 680px) {
  .coupang-partner-banner {
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .coupang-partner-copy strong {
    font-size: 18px;
  }

  .coupang-partner-frame {
    transform: scale(.86);
    transform-origin: top right;
    margin-right: -17px;
    margin-bottom: -34px;
  }
}

.diagnostic-box {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.diagnostic-box > div:first-child {
  display: grid;
  gap: 5px;
}

.diagnostic-box strong {
  font-weight: 900;
}

.diagnostic-box span,
.diagnostic-box li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.diagnostic-box.result {
  background: var(--surface);
}

.diagnostic-box.loading {
  grid-template-columns: minmax(0, 1fr) auto;
}

.diagnostic-box.loading .progress-steps {
  grid-column: 1 / -1;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.progress-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--ink-2);
  font-weight: 800;
}

.progress-steps span.active {
  border-color: rgba(9, 153, 101, 0.35);
  background: var(--green-soft);
  color: var(--green-dark);
}

.progress-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: currentColor;
  font-size: 12px;
}

.diagnostic-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.diagnostic-title em {
  min-width: 54px;
  padding: 9px 10px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-family: var(--mono);
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.diagnostic-primary-metric {
  display: grid;
  gap: 2px;
  min-width: 94px;
}

.diagnostic-primary-metric.dataset {
  min-width: 150px;
  background: var(--brand);
}

.diagnostic-primary-metric b {
  color: #fff;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
}

.diagnostic-primary-metric span {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.diagnostic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diagnostic-target-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.diagnostic-target-panel span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #fff;
}

.diagnostic-target-panel em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.diagnostic-target-panel b {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

.suggested-target-list {
  display: grid;
  gap: 8px;
}

.suggested-target-list button {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.suggested-target-list button:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.suggested-target-list strong,
.suggested-target-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.suggested-target-list strong {
  font-weight: 900;
}

.suggested-target-list span {
  color: var(--muted);
  font-size: 12px;
}

.confidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.confidence-badge::before,
.assist-status::before,
.tracking-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.confidence-badge.high {
  background: var(--success-soft);
  color: var(--success);
}

.confidence-badge.medium {
  background: var(--warning-soft);
  color: var(--warning);
}

.confidence-badge.low,
.confidence-badge.warn {
  background: var(--error-soft);
  color: var(--error);
}

.confidence-badge.limit {
  background: var(--surface-alt);
  color: var(--brand-dark);
}

.confidence-badge.neutral {
  background: var(--surface-alt);
  color: var(--muted);
}

.diagnostic-note {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.diagnostic-note.warn {
  border-color: rgba(242, 125, 115, 0.36);
  background: var(--secondary-soft);
  color: #8f3b35;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.diagnostic-grid span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.diagnostic-grid b {
  color: var(--ink);
  font-family: var(--mono);
}

.diagnostic-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.diagnostic-section {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.diagnostic-section-head {
  display: grid;
  gap: 4px;
}

.diagnostic-section-head span {
  color: var(--muted);
  font-size: 13px;
}

.report-disclosure {
  display: block;
  margin-top: 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.report-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.report-disclosure summary::-webkit-details-marker {
  display: none;
}

.report-disclosure summary span {
  display: grid;
  gap: 3px;
}

.report-disclosure summary strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.report-disclosure summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.report-disclosure summary::after {
  content: "펼치기";
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-bg);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.report-disclosure[open] summary {
  border-bottom: 1px solid var(--line);
}

.report-disclosure[open] summary::after {
  content: "접기";
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.report-disclosure-body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.report-disclosure-body > .diagnostic-section:first-child,
.report-disclosure-body > .marketer-context:first-child,
.report-disclosure-body > .action-panel:first-child,
.report-disclosure-body > .tracking-status:first-child {
  padding-top: 0;
  border-top: 0;
}

.search-context-disclosure,
.citemap-context-disclosure {
  margin-bottom: 18px;
}

.explain-group {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.explain-group b {
  font-size: 13px;
}

.db-panel {
  border-top-color: rgba(52, 74, 116, 0.24);
}

.db-panel .diagnostic-section-head strong {
  color: var(--success);
}

.diagnostic-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.diagnostic-mini-grid span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.diagnostic-mini-grid b {
  color: var(--ink);
  font-family: var(--mono);
}

.diagnostic-mini-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.diagnostic-page-list {
  display: grid;
  gap: 8px;
}

.diagnostic-page-row {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.diagnostic-page-row a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.diagnostic-page-row span {
  color: var(--ink);
  font-weight: 800;
}

.diagnostic-page-row em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
}

.sitewide-scan-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px minmax(280px, 0.85fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(31, 122, 89, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 122, 89, 0.08), rgba(196, 92, 74, 0.05)),
    #fff;
}

.sitewide-scan-summary > div:first-child {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.sitewide-scan-summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.sitewide-scan-summary span,
.sitewide-scan-summary em {
  color: var(--ink-2);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.sitewide-score {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(25, 58, 66, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.sitewide-score b {
  color: #1f7a59;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.sitewide-score em {
  color: var(--muted);
  font-weight: 900;
}

.sitewide-scan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sitewide-scan-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(25, 58, 66, 0.1);
  border-radius: 8px;
  background: #fff;
}

.sitewide-scan-grid b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}

.diagnostic-errors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.diagnostic-errors span {
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow-wrap: anywhere;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
}

.active-discovery-panel {
  border-top-color: rgba(191, 94, 72, 0.24);
}

.active-discovery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}

.active-discovery-hero div {
  display: grid;
  gap: 6px;
}

.active-discovery-hero em,
.active-discovery-grid article > strong {
  color: var(--accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.active-discovery-hero strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.active-discovery-hero p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.active-term-list {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-term-list span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
}

.active-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.active-source-grid span {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.active-source-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.active-source-grid b {
  color: var(--ink);
  font-family: var(--mono);
}

.active-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.active-discovery-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.active-document-list {
  display: grid;
  gap: 8px;
}

.active-document-list a {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: inherit;
}

.active-document-list a:hover {
  border-color: rgba(52, 74, 116, 0.32);
}

.active-document-list em {
  color: var(--brand);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.active-document-list b {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.active-document-list span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.diagnostic-action-cards {
  display: grid;
  gap: 9px;
}

.diagnostic-action-cards div {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.diagnostic-action-cards div:hover,
.action-list li:hover,
.diagnostic-mini-grid span:hover,
.market-signal-strip span:hover {
  border-color: rgba(52, 74, 116, 0.3);
  box-shadow: none;
}

.diagnostic-action-cards strong {
  color: var(--ink);
}

.diagnostic-action-cards em,
.action-list em {
  width: fit-content;
  padding: 3px 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.diagnostic-action-cards p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.diagnostic-action-cards span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.deep-analysis-panel {
  border-top-color: rgba(52, 74, 116, 0.24);
}

.deep-analysis-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
}

.deep-analysis-summary em,
.deep-finding-list em,
.deep-next-actions em {
  width: fit-content;
  padding: 3px 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.deep-activity-proxy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
}

.deep-activity-proxy div {
  display: grid;
  gap: 6px;
}

.deep-activity-proxy em {
  width: fit-content;
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.deep-activity-proxy strong {
  color: var(--ink);
  font-size: 18px;
}

.deep-activity-proxy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.deep-activity-proxy ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deep-activity-proxy li {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.35;
}

.deep-analysis-summary p,
.deep-platform-profile p,
.deep-finding-list p,
.deep-next-actions p,
.deep-strategy-brief p,
.deep-priority-pages p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.deep-platform-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}

.deep-platform-profile > div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.deep-platform-profile em {
  width: fit-content;
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.deep-platform-profile strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.deep-platform-profile ul {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deep-platform-profile li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-alt);
}

.deep-platform-profile li b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.deep-platform-profile li span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.deep-platform-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deep-platform-tags span {
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.deep-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.deep-pillar-grid span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.deep-pillar-grid b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 22px;
}

.deep-pillar-grid em,
.deep-pillar-grid small {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.deep-pillar-grid em {
  color: var(--ink-2);
  font-weight: 900;
}

.deep-finding-list,
.deep-next-actions,
.deep-playbook-list,
.deep-strategy-brief {
  display: grid;
  gap: 9px;
}

.deep-finding-list article,
.deep-next-actions div,
.deep-playbook-list article,
.deep-strategy-grid article,
.deep-priority-pages article,
.deep-measurement {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.deep-finding-list article.good {
  border-color: var(--line);
  border-left-color: var(--brand);
  background: var(--surface);
}

.deep-finding-list article.bad {
  border-color: var(--line);
  border-left-color: var(--red);
  background: var(--surface);
}

.deep-finding-list article.warn {
  border-color: var(--line);
  border-left-color: var(--amber);
  background: var(--surface);
}

.deep-finding-list strong,
.deep-next-actions strong,
.deep-playbook-list strong,
.deep-strategy-grid strong,
.deep-priority-pages strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.deep-finding-list span,
.deep-next-actions span,
.deep-playbook-list span,
.deep-strategy-grid span,
.deep-priority-pages span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.deep-playbook-list article {
  border-left-color: var(--brand);
}

.deep-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.deep-strategy-grid article {
  border-left-color: var(--accent);
}

.deep-priority-pages {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.deep-priority-pages > b,
.deep-measurement > b {
  color: var(--ink);
}

.deep-priority-pages article {
  padding: 12px;
  border-left-color: var(--brand);
}

.deep-measurement {
  border-left-color: var(--line-strong);
}

.deep-playbook-list em {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.deep-playbook-list p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.deep-playbook-list small {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.deep-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.deep-opportunity-grid > div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.deep-opportunity-grid b {
  color: var(--ink);
}

.deep-opportunity-grid p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.deep-opportunity-grid span {
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 800;
}

.deep-evidence-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.deep-evidence-box summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.deep-evidence-box > div {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.deep-evidence-box b {
  color: var(--ink);
  font-size: 13px;
}

.deep-evidence-box span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.deep-evidence-box a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.deep-evidence-box em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.engine-dots.compact {
  gap: 8px;
}

.diagnostic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.loader-dot {
  width: 18px;
  height: 18px;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
  justify-self: end;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.command-preview {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(52, 74, 116, 0.28);
  border-radius: var(--radius);
  background: var(--brand-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.preview-top,
.preview-score,
.preview-grid a,
.preview-bars div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-top {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #a7b5ad;
  font-family: var(--mono);
  font-size: 12px;
}

.preview-score {
  align-items: baseline;
  padding: 22px 0;
}

.preview-score span,
.preview-score em {
  color: #a7b5ad;
  font-style: normal;
  font-size: 13px;
}

.preview-score strong {
  font-family: var(--mono);
  font-size: 58px;
  color: #fff;
}

.preview-grid {
  display: grid;
  gap: 8px;
}

.preview-grid a {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.preview-grid strong {
  color: #71e1af;
}

.preview-bars {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.preview-bars div {
  color: #a7b5ad;
  font-size: 12px;
}

.preview-bars i {
  position: relative;
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.preview-bars b {
  display: block;
  height: 100%;
  background: #71e1af;
}

.stat-band {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat-band div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.stat-band div:last-child {
  border-right: 0;
}

.stat-band span {
  display: block;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 900;
}

.stat-band p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.layout {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.page-hero {
  padding-top: 28px;
  margin-bottom: 28px;
}

.page-hero h1 {
  max-width: 920px;
  overflow-wrap: anywhere;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head.compact {
  align-items: start;
  margin-bottom: 16px;
}

.surface {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-grid,
.analysis-grid,
.dashboard-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 24px;
}

.feature {
  min-height: 132px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.feature-ai::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.feature-ai::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.feature-peer::before,
.feature-peer::after {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.feature-peer::before {
  transform: translate(-6px, -5px);
}

.feature-peer::after {
  transform: translate(6px, 5px);
}

.feature-engine::before {
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.feature-engine::after {
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.feature-action::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.feature-action::after {
  width: 11px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.feature-copy {
  display: grid;
  gap: 6px;
}

.feature strong {
  font-family: var(--display);
  font-size: 18px;
}

.feature .feature-copy > span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-copy span,
.muted,
.form-note {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 30px;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  font-weight: 700;
}

.lead-form,
.score-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lead-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

textarea {
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
}

.success {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.index-toolbar,
.filter-row,
.quick-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.index-toolbar {
  margin-bottom: 14px;
  box-shadow: none;
}

.index-toolbar button,
.filter-row button,
.quick-prompts button,
.segmented button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 800;
}

.index-toolbar button.active,
.filter-row button.active,
.segmented button.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.ranking-type-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.ranking-type-tabs button {
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.ranking-type-tabs button span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ranking-type-tabs button strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.ranking-type-tabs button.active {
  border-color: var(--brand);
  background: #101b1a;
  color: #f7fffb;
  box-shadow: 0 16px 34px rgba(8, 27, 24, 0.14);
}

.ranking-type-tabs button.active span {
  color: #6ee7c1;
}

.local-ranking-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.local-ranking-summary article {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fffc;
}

.local-ranking-summary strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.local-ranking-summary span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.local-filter-stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 14px;
}

.local-filter-group {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.local-filter-group > span {
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.local-filter-row {
  padding-bottom: 2px;
}

.local-filter-row button small {
  margin-left: 5px;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  opacity: 0.74;
}

.local-filter-row button.new::after {
  content: "NEW";
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(66, 179, 139, 0.14);
  color: var(--brand);
  font-size: 10px;
  font-weight: 900;
}

.local-filter-row button.new.active::after {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.local-ranking-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 14px 0;
}

.local-ranking-search input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.local-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.local-highlight-grid article {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fffc 0%, #fff 100%);
}

.local-highlight-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.local-highlight-grid strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.local-highlight-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.local-ranking-table .local-entity-link {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
}

.local-entity-link small {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(66, 179, 139, 0.13);
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.local-split-score {
  display: inline-grid;
  gap: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.local-split-score b::before {
  content: "공개 ";
  color: var(--muted);
  font-size: 11px;
}

.local-split-score em {
  color: var(--brand);
  font-style: normal;
}

.local-split-score em::before {
  content: "Naver ";
  color: var(--muted);
  font-size: 11px;
}

.local-evidence-badges {
  display: flex;
  max-width: 190px;
  flex-wrap: wrap;
  gap: 4px;
}

.local-evidence-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(66, 179, 139, 0.22);
  border-radius: 999px;
  background: rgba(66, 179, 139, 0.09);
  color: #14614f;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.local-evidence-badges span[class^="quality-"] {
  border-color: rgba(15, 23, 42, 0.16);
  color: #0f172a;
}

.local-evidence-badges .quality-ranked {
  background: #83f7cf;
}

.local-evidence-badges .quality-verified,
.local-evidence-badges .quality-observed {
  background: #bfdbfe;
}

.local-evidence-badges .quality-candidate,
.local-evidence-badges .quality-seed,
.local-evidence-badges .quality-collecting {
  background: #fde68a;
}

.local-methodology-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.local-methodology-stack details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.local-methodology-stack summary {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  cursor: pointer;
}

.local-methodology-stack summary::-webkit-details-marker {
  display: none;
}

.local-methodology-stack summary span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.local-methodology-stack summary strong {
  color: var(--ink);
  font-size: 15px;
}

.local-methodology-stack details > p,
.local-methodology-stack details > .local-candidate-list,
.local-methodology-stack details > .local-coverage-grid {
  margin: 0;
  padding: 0 16px 16px;
}

.local-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.local-coverage-grid > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.local-coverage-grid span,
.local-candidate-list span {
  display: inline-grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fffc;
}

.local-coverage-grid b,
.local-candidate-list strong {
  color: var(--ink);
  font-size: 13px;
}

.local-coverage-grid em,
.local-candidate-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.local-candidate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.example-searches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.example-searches a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #fff;
  color: var(--ink);
}

.example-searches strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.example-searches span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.search-assist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.search-assist-panel {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.assist-head,
.assist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.assist-head {
  margin-bottom: 8px;
}

.assist-head strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.assist-head a,
.assist-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.assist-list {
  display: grid;
  gap: 6px;
}

.assist-row {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(240, 242, 245, 0.76);
  color: var(--ink);
}

.assist-row span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.assist-row b {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.assist-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assist-status {
  flex: 0 1 auto;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.assist-status.high {
  background: var(--success-soft);
  color: var(--success);
}

.assist-status.limit {
  background: var(--surface-alt);
  color: var(--brand-dark);
}

.assist-status.medium {
  background: var(--warning-soft);
  color: var(--warning);
}

.assist-status.warn {
  background: var(--error-soft);
  color: var(--error);
}

.assist-status.strong {
  background: var(--success-soft);
  color: var(--success);
}

.assist-status.amber {
  background: var(--warning-soft);
  color: var(--warning);
}

.assist-status.blue {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.assist-row em {
  flex: 0 0 auto;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.assist-empty {
  display: block;
  padding: 12px 9px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.aeo-guide {
  margin-top: 18px;
  margin-bottom: 14px;
}

.aeo-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.aeo-guide-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.aeo-guide-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.aeo-guide-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.korea-channel-section {
  margin: 18px 0 14px;
}

.channel-lens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.channel-lens-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(49, 95, 84, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.channel-lens-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.channel-lens-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.channel-lens-card span {
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.korea-channel-section.is-platform .channel-lens-card:first-child {
  border-color: rgba(184, 98, 59, 0.28);
  background: var(--secondary-soft);
}

.community-analysis-section,
.viral-toolbox {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.community-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-tabs a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 900;
}

.community-tabs a.active,
.community-tabs a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.community-focus-grid,
.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.community-focus-grid article,
.toolbox-grid article,
.community-hotline {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.community-focus-card {
  border-left: 4px solid var(--brand) !important;
}

.community-focus-grid strong,
.toolbox-grid strong,
.community-hotline strong {
  color: var(--ink);
  font-size: 18px;
}

.community-focus-grid p,
.toolbox-grid p,
.community-hotline span {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.community-focus-grid article > span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.community-hotline {
  grid-template-columns: minmax(160px, 0.35fr) 1fr;
  align-items: center;
  border-left: 4px solid var(--accent);
}

.toolbox-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.toolbox-grid pre {
  min-height: 132px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.span-2 {
  grid-column: span 2;
}

.freshness {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.metric-line,
.mini-list a,
.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.metric-line {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tag-list,
.keyword-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span,
.keyword-block a {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.analysis-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.report-panel {
  margin-bottom: 14px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.report-grid div,
.data-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.report-grid strong,
.data-list strong {
  display: block;
  margin-bottom: 8px;
}

.report-grid p,
.data-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.data-list {
  display: grid;
  gap: 8px;
}

.data-list span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list a,
.mini-row {
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mini-list strong,
.mini-row strong {
  color: var(--brand);
  font-family: var(--mono);
}

.bar-stack {
  display: grid;
  gap: 12px;
}

.bar-stack div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.bar-stack i {
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--soft);
}

.bar-stack b {
  display: block;
  height: 100%;
  background: var(--brand);
}

.faq {
  margin-top: 14px;
}

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.search-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) max-content;
  gap: 10px;
  margin-bottom: 14px;
}

.microcopy {
  margin: 14px 0 0;
  color: var(--brand-dark);
  font-weight: 900;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-result {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.marketer-verdict {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.home-atelier.has-query .marketer-verdict {
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
}

.marketer-verdict.strong {
  border-color: rgba(52, 74, 116, 0.28);
  background: var(--surface);
}

.marketer-verdict.amber {
  border-color: rgba(181, 107, 0, 0.28);
  background: var(--surface);
}

.marketer-verdict.blue {
  border-color: rgba(52, 74, 116, 0.2);
  background: var(--surface-alt);
}

.universe-footprint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.universe-footprint.strong {
  border-color: rgba(34, 113, 96, 0.28);
}

.universe-footprint.amber {
  border-color: rgba(181, 107, 0, 0.28);
}

.universe-footprint.blue,
.universe-footprint.muted-footprint {
  border-color: rgba(52, 74, 116, 0.18);
  background: var(--surface-alt);
}

.universe-footprint h3 {
  margin: 5px 0 7px;
  font-size: clamp(22px, 2.2vw, 30px);
  word-break: break-word;
}

.universe-footprint p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.universe-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.universe-proof-grid span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.universe-proof-grid b {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.universe-proof-grid em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.data-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.domain-intelligence {
  margin-bottom: 14px;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.intelligence-grid article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.intelligence-grid span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.intelligence-grid strong {
  min-height: 44px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  word-break: keep-all;
}

.intelligence-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.verdict-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.verdict-copy h2 {
  max-width: 780px;
  font-size: clamp(26px, 3vw, 40px);
}

.home-atelier.has-query .verdict-copy {
  gap: 7px;
}

.home-atelier.has-query .verdict-copy h2 {
  max-width: 700px;
  font-size: clamp(22px, 2.35vw, 32px);
  line-height: 1.18;
}

.verdict-copy p:not(.eyebrow) {
  color: var(--ink-2);
  line-height: 1.65;
}

.verdict-target {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.verdict-target strong {
  color: var(--ink);
  font-weight: 900;
}

.home-atelier.has-query .verdict-copy p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.55;
}

.verdict-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.verdict-scorecard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.verdict-scorecard span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.home-atelier.has-query .verdict-scorecard span {
  min-height: 68px;
  padding: 10px;
}

.verdict-scorecard b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 20px;
}

.verdict-scorecard b.text-value {
  font-family: var(--font);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.25;
}

.verdict-scorecard em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.search-result.vertical {
  display: grid;
}

.practical-report-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.home-atelier.has-query .practical-report-panel {
  gap: 10px;
  margin-bottom: 12px;
}

.report-summary-card {
  align-items: stretch;
}

.report-primary-actions {
  min-width: min(360px, 100%);
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.report-primary-actions > em {
  color: var(--secondary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.report-primary-actions .tteul-list {
  border: 0;
}

.report-primary-actions .tteul-list-row {
  padding: 10px 0;
  border-color: rgba(21, 35, 34, 0.1);
}

.compact-report-card {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.9fr) minmax(0, 1.15fr);
}

.practical-report-panel article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.practical-report-panel > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.home-atelier.has-query .practical-report-panel article,
.home-atelier.has-query .practical-report-panel > div {
  padding: 13px;
}

.practical-report-panel em {
  color: var(--secondary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.practical-report-panel strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 900;
}

.practical-report-panel p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.inline-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.inline-domain-list a {
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 900;
}

.mini-action-stack {
  display: grid;
  gap: 7px;
}

.mini-action-stack span {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.mini-action-stack b {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
}

.keyword-intel-result {
  display: grid;
  gap: 18px;
  align-items: stretch;
  justify-content: stretch;
}

.keyword-intel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.keyword-intel-head h3 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.08;
}

.keyword-intel-result > .keyword-intel-head,
.keyword-intel-result > .state-panel,
.keyword-intel-result > .keyword-story-flow,
.keyword-intel-result > .report-disclosure {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

.keyword-intel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 14px;
}

.keyword-intel-layout.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.keyword-story-flow {
  display: grid;
  gap: 14px;
}

.keyword-story-flow .keyword-related-sites {
  grid-row: auto;
}

.keyword-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.keyword-related-sites {
  grid-row: span 2;
}

.keyword-panel > strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.keyword-site-list,
.keyword-topic-list,
.keyword-community-list,
.keyword-question-list {
  display: grid;
  gap: 9px;
}

.keyword-site-list a {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.keyword-site-list a > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.keyword-site-list b,
.keyword-community-list b,
.keyword-topic-list b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 900;
}

.keyword-site-list em,
.keyword-topic-list em,
.keyword-community-list span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.keyword-site-list a > strong {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 18px;
}

.keyword-question-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-question-list li {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-2);
  line-height: 1.5;
}

.keyword-topic-list span,
.keyword-community-list a {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.keyword-depth-panel {
  display: grid;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(25, 58, 66, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%);
  box-shadow: 0 18px 46px rgba(22, 39, 44, 0.07);
}

.keyword-depth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.keyword-depth-stats article {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
}

.keyword-depth-stats span {
  color: var(--secondary);
  font-size: 10px;
  font-weight: 900;
}

.keyword-depth-stats strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.05;
}

.keyword-depth-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.keyword-decision-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(31, 122, 89, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 122, 89, 0.12), rgba(196, 92, 74, 0.08)),
    #fff;
}

.keyword-decision-brief h4 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.keyword-decision-brief p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.keyword-decision-brief ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-decision-brief li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid rgba(25, 58, 66, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.keyword-decision-brief b {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
}

.keyword-decision-brief li span {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.keyword-exec-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.keyword-exec-stat-strip article {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(25, 58, 66, 0.1);
  border-radius: 8px;
  background: #fff;
}

.keyword-exec-stat-strip span {
  color: #1f7a59;
  font-size: 10px;
  font-weight: 900;
}

.keyword-exec-stat-strip strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.05;
}

.keyword-exec-stat-strip p {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.keyword-evidence-disclosure,
.keyword-story-disclosure {
  margin-top: 0;
  border-color: rgba(25, 58, 66, 0.11);
  background: #fff;
}

.keyword-evidence-disclosure summary,
.keyword-story-disclosure summary {
  min-height: 52px;
  padding: 12px 14px;
}

.keyword-evidence-disclosure .report-disclosure-body {
  gap: 12px;
}

.keyword-depth-table-wrap {
  display: grid;
  gap: 10px;
}

.keyword-depth-table-wrap.compact .diagnostic-section-head span {
  color: var(--ink-2);
}

.keyword-depth-table {
  overflow: hidden;
  border: 1px solid rgba(25, 58, 66, 0.12);
  border-radius: 8px;
  background: #fff;
}

.keyword-depth-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(170px, 1.25fr) 72px 68px 82px minmax(160px, 1.05fr);
  align-items: stretch;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.keyword-depth-row:first-child {
  border-top: 0;
}

.keyword-depth-row > * {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 11px 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.35;
}

.keyword-depth-row > *:first-child {
  border-left: 0;
}

.keyword-depth-head {
  background: #edf7f4;
}

.keyword-depth-head span {
  color: var(--ink);
  font-weight: 900;
}

.keyword-depth-row strong {
  color: var(--brand-dark);
  font-family: var(--mono);
}

.keyword-depth-row b {
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.keyword-depth-row em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.keyword-depth-row .up {
  color: #1f7a59;
  font-weight: 900;
}

.keyword-depth-row .down {
  color: #b33a32;
  font-weight: 900;
}

.keyword-depth-row .neutral {
  color: var(--muted);
  font-weight: 900;
}

.keyword-engine-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-content: center;
}

.keyword-engine-badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--engine-color, var(--brand)) 16%, #fff);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.keyword-engine-empty {
  color: var(--muted);
  font-size: 11px;
}

.data-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.data-insight-grid article,
.data-insight-grid a {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
}

.data-insight-grid a:hover {
  border-color: rgba(9, 153, 101, 0.35);
  transform: translateY(-1px);
}

.data-insight-grid strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.data-insight-grid p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.rich-result {
  align-items: flex-start;
  padding: 22px;
}

.result-main,
.result-side {
  min-width: 0;
}

.result-main {
  flex: 1 1 auto;
}

.result-main h3 {
  font-size: 28px;
}

.result-side {
  width: min(320px, 100%);
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.result-side a:not(.primary-btn):not(.ghost-btn) {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.result-metrics span {
  display: grid;
  gap: 2px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.result-metrics strong {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 22px;
}

.result-metrics em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.citation-impact-panel {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background:
    linear-gradient(135deg, rgba(16, 32, 39, 0.98), rgba(21, 94, 83, 0.94)),
    var(--surface);
  color: #f7fffb;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.18);
}

.citation-impact-head,
.citation-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.citation-impact-head h2 {
  margin: 4px 0;
  color: #fff;
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: 0;
}

.citation-impact-head span,
.citation-impact-panel .eyebrow {
  color: rgba(236, 253, 245, 0.72);
}

.citation-impact-panel .ghost-btn {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.citation-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.citation-hero-metrics article {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: space-between;
}

.citation-hero-metrics span,
.citation-engine-list > strong,
.citation-keyword-list > strong {
  color: rgba(236, 253, 245, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.citation-hero-metrics strong {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.citation-hero-metrics .rank strong {
  color: #5ee6bc;
}

.citation-hero-metrics em {
  color: rgba(236, 253, 245, 0.72);
  font-style: normal;
  font-size: 13px;
}

.citation-split {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.citation-engine-list,
.citation-keyword-list {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.citation-engine-list {
  display: grid;
  gap: 12px;
}

.citation-engine-list div {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  gap: 10px;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}

.citation-engine-list div em {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: #5ee6bc;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.citation-engine-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.citation-engine-list i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.citation-engine-list b {
  color: #fff;
  font-size: 18px;
}

.citation-keyword-list ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.citation-keyword-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  color: #fff;
}

.citation-keyword-list li span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(94, 230, 188, 0.16);
  color: #7ef7cf;
  font-size: 12px;
  font-weight: 900;
}

.citation-keyword-list li b {
  font-size: 15px;
}

.engine-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.engine-dots span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
}

.engine-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.engine-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.engine-answer-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.engine-answer-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.engine-answer-card summary {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.engine-answer-card summary::-webkit-details-marker {
  display: none;
}

.engine-answer-card summary i {
  grid-row: span 2;
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.engine-answer-card summary b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.engine-answer-card summary span {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.engine-answer-card summary small {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.engine-answer-card[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.engine-answer-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.engine-answer-list article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.engine-answer-list em {
  color: var(--brand);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.engine-answer-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.engine-answer-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.55;
}

.engine-answer-list span,
.context-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.engine-answer-list a {
  width: fit-content;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.marketer-context,
.action-panel,
.tracking-status {
  margin-bottom: 18px;
}

.context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.context-grid > div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.context-grid strong,
.action-list strong {
  font-weight: 900;
}

.action-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-list div,
.action-list li {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.action-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.action-list li > div {
  display: grid;
  padding: 0;
  border: 0;
  background: transparent;
}

.action-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.trust-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tracking-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tracking-status p:not(.eyebrow) {
  color: var(--ink-2);
}

.tracking-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tracking-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: min(260px, 100%);
}

.tracking-pill {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  overflow-wrap: anywhere;
  font-weight: 900;
}

.filter-row {
  margin-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.domain-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.domain-link span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11px;
}

.mono,
.score {
  font-family: var(--mono);
  font-weight: 900;
}

.score {
  color: var(--brand);
}

.up,
.down {
  font-family: var(--mono);
  font-style: normal;
  font-weight: 900;
}

.up {
  color: var(--brand);
}

.down {
  color: var(--red);
}

.star {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #a7aca8;
  font-size: 18px;
}

.star.active {
  color: var(--amber);
  background: #fff6df;
}

.mobile-list {
  display: none;
}

.mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-row a {
  display: grid;
}

.mobile-row span {
  color: var(--muted);
  font-size: 13px;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}

.pagination button {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
}

.pagination button.active {
  background: var(--ink);
  color: #fff;
}

.score-card span {
  color: var(--muted);
  font-weight: 800;
}

.score-card strong {
  font-family: var(--mono);
  font-size: 72px;
  line-height: 1;
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.score-breakdown span {
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.score-breakdown b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
}

.score-breakdown em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.gap-form,
.ask-form,
.audit-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.ask-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.audit-form {
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.7fr) auto;
}

.product-audit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-audit-form input,
.product-audit-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.product-audit-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.product-compare-table div {
  grid-template-columns: 0.7fr 1.2fr 1.2fr;
}

.gap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gap-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.gap-grid span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.gap-grid strong,
.gap-grid em {
  display: block;
}

.gap-grid em {
  color: var(--brand);
  font-family: var(--mono);
  font-style: normal;
  font-weight: 900;
}

.gap-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.recommendation {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #e9d39b;
  border-radius: var(--radius);
  background: #fff8e8;
}

.recommendation p {
  margin: 6px 0 0;
  color: #745114;
}

.grade {
  width: 76px;
  height: 76px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fbe8e4;
  color: var(--red);
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 900;
}

.action-list {
  display: grid;
  gap: 8px;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 8px;
}

.favorite-panel {
  position: fixed;
  top: 110px;
  right: 22px;
  z-index: 40;
  width: min(380px, calc(100vw - 32px));
}

.empty {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.section {
  margin-top: 14px;
}

.footer {
  width: min(1220px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer strong {
  color: var(--ink);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}

.footer nav a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer nav a:hover {
  color: var(--ink);
}

.policy-page {
  width: min(760px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.policy-page h1 {
  margin-top: 34px;
  font-size: 44px;
}

.policy-page h2 {
  margin-top: 28px;
  font-size: 24px;
}

.policy-page p {
  color: var(--muted);
}

.policy-page.seo-page {
  width: min(880px, calc(100vw - 32px));
}

.policy-page.seo-page .lead {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.75;
}

.policy-page.seo-page ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-2);
  line-height: 1.7;
}

.policy-page.seo-page details {
  margin: 10px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.policy-page.seo-page summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.policy-page.seo-page a {
  color: var(--accent-blue);
  font-weight: 800;
}

.seo-related,
.glossary-grid,
.seo-static-content nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seo-related {
  margin-top: 34px;
}

.seo-related a,
.glossary-grid a,
.seo-static-content nav a {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.glossary-grid a {
  display: grid;
  gap: 6px;
}

.glossary-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.seo-static-content {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto 64px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tteulsite-js .seo-static-content {
  display: none;
}

.seo-static-content h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

.seo-static-content p {
  max-width: 840px;
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.seo-static-content ol,
.seo-static-list {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--ink-2);
  line-height: 1.7;
}

.seo-static-list li {
  margin-bottom: 6px;
}

.seo-static-table {
  width: 100%;
  margin: 18px 0 28px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 14px;
}

.seo-static-table caption {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

.seo-static-table th,
.seo-static-table td {
  padding: 12px 10px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.seo-static-table th {
  background: var(--surface-2);
  font-weight: 900;
  text-align: left;
}

@keyframes beam-flow {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -80% 0;
  }
}

@media (max-width: 1080px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .page-hero.two-col,
  .split-section {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .menu-wrap {
    height: 260px;
  }

  .home-atelier h1 {
    font-size: 52px;
  }

  .command-preview {
    max-width: 560px;
  }

  .feature-grid,
  .analysis-grid,
  .dashboard-grid,
  .aeo-guide-grid,
  .channel-lens-grid,
  .community-focus-grid,
  .toolbox-grid,
  .intelligence-grid,
  .deep-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .announce {
    padding: 8px 14px;
    text-align: center;
  }

  .hero,
  .layout,
  .stat-band,
  .footer {
    width: min(100vw - 24px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .home-atelier {
    padding: 34px 12px 38px;
  }

  .home-atelier h1 {
    font-size: 42px;
    line-height: 1;
  }

  .home-atelier .subcopy {
    font-size: 16px;
  }

  .report-shortcut-list {
    max-width: none;
  }

  .list-col-grow em {
    white-space: normal;
  }

  .home-atelier .search-card,
  .home-radar-panel {
    padding: 14px;
  }

  .market-signal-strip {
    grid-template-columns: 1fr;
  }

  .radar-main-metric strong {
    font-size: 42px;
  }

  .radar-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .radar-metrics span {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .radar-metrics span:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .stat-band,
  .feature-grid,
  .example-searches,
  .search-assist-grid,
  .aeo-guide-grid,
  .channel-lens-grid,
  .community-focus-grid,
  .toolbox-grid,
  .intelligence-grid,
  .deep-pillar-grid,
  .deep-strategy-grid,
  .deep-opportunity-grid,
  .active-discovery-hero,
  .active-source-grid,
  .active-discovery-grid,
  .seo-related,
  .glossary-grid,
  .seo-static-content nav,
  .analysis-grid,
  .dashboard-grid,
  .report-grid,
  .gap-grid {
    grid-template-columns: 1fr;
  }

  .deep-activity-proxy,
  .deep-platform-profile,
  .community-hotline {
    grid-template-columns: 1fr;
  }

  .stat-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-band div:last-child {
    border-bottom: 0;
  }

  .span-2 {
    grid-column: span 1;
  }

  .search-strip,
  .gap-form,
  .ask-form,
  .audit-form,
  .product-audit-form {
    grid-template-columns: 1fr;
  }

  .search-card {
    padding: 14px;
  }

  .rich-result {
    display: grid;
  }

  .keyword-intel-head,
  .keyword-intel-layout {
    grid-template-columns: 1fr;
  }

  .keyword-intel-head {
    display: grid;
  }

  .practical-report-panel,
  .data-insight-grid {
    grid-template-columns: 1fr;
  }

  .keyword-depth-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .keyword-decision-brief {
    grid-template-columns: 1fr;
  }

  .keyword-depth-row {
    grid-template-columns: 1fr;
  }

  .keyword-depth-row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .keyword-depth-row > *:first-child {
    border-top: 0;
  }

  .keyword-related-sites {
    grid-row: auto;
  }

  .keyword-site-list a {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .keyword-site-list a > strong {
    grid-column: 2;
  }

  .marketer-verdict,
  .universe-footprint,
  .context-grid {
    grid-template-columns: 1fr;
  }

  .verdict-scorecard {
    grid-template-columns: 1fr 1fr;
  }

  .universe-proof-grid,
  .data-proof {
    grid-template-columns: 1fr 1fr;
  }

  .tracking-status {
    display: grid;
  }

  .tracking-stack {
    justify-items: start;
    min-width: 0;
  }

  .result-side {
    width: 100%;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .score-breakdown {
    grid-template-columns: 1fr;
  }

  .diagnostic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-target-panel {
    grid-template-columns: 1fr;
  }

  .diagnostic-mini-grid {
    grid-template-columns: 1fr;
  }

  .sitewide-scan-summary {
    grid-template-columns: 1fr;
  }

  .sitewide-score {
    min-height: 88px;
  }

  .sitewide-scan-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-section {
    gap: 10px;
  }

  .diagnostic-page-row {
    padding: 10px;
  }

  .diagnostic-foot,
  .diagnostic-title {
    display: grid;
  }

  .top-actions .primary-btn {
    display: none;
  }

  .table-wrap {
    display: none;
  }

  .mobile-list {
    display: block;
  }

  .bar-stack div {
    grid-template-columns: 98px minmax(0, 1fr) 42px;
  }

  .footer {
    display: grid;
  }
}

/* Tteulsite report design system v2: restrained, client-ready, non-AI-slick. */
.topbar {
  height: 60px;
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(18, 24, 38, 0.02);
}

.brand-mark {
  box-shadow: none;
}

.nav a {
  color: #697586;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.primary-btn {
  border-radius: 8px;
  background: var(--brand);
  box-shadow: none;
}

.primary-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.ghost-btn,
.icon-btn {
  border-radius: 8px;
  background: #fff;
}

.hero {
  padding-top: 72px;
}

.home-atelier {
  padding: 38px 24px 42px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.home-hero-grid {
  width: min(1160px, 100%);
  gap: 28px;
}

.home-atelier h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

.home-atelier .subcopy {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.68;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--sans);
  letter-spacing: 0.04em;
}

.home-atelier .eyebrow {
  color: var(--accent);
  font-family: var(--sans);
  letter-spacing: 0.04em;
}

.hero .eyebrow::before {
  background: var(--accent);
}

.search-card,
.surface,
.home-radar-panel,
.search-assist-panel,
.marketer-verdict,
.action-panel,
.marketer-context,
.tracking-status,
.universe-footprint,
.korea-channel-section,
.community-analysis-section,
.viral-toolbox,
.aeo-guide,
.diagnostic-box,
.diagnostic-action-cards div,
.deep-analysis-summary,
.deep-platform-profile,
.deep-activity-proxy,
.deep-finding-list article,
.deep-next-actions div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.surface:hover,
.search-assist-panel:hover,
.channel-lens-card:hover,
.community-focus-grid article:hover,
.toolbox-grid article:hover,
.feature-card:hover,
.report-shortcut-row:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.04);
}

.home-atelier .search-card {
  padding: 18px;
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 16px 36px rgba(18, 24, 38, 0.06);
}

.search-strip input,
.gap-form input,
.ask-form input,
.audit-form input,
.search-strip select,
.audit-form select {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.search-strip input:focus,
.gap-form input:focus,
.ask-form input:focus,
.audit-form input:focus,
.search-strip select:focus,
.audit-form select:focus {
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
  outline: none;
}

.segmented {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
}

.segmented button {
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.segmented button.active {
  background: var(--brand);
  color: #fff;
}

.report-status-strip,
.market-signal-strip {
  max-width: 760px;
}

.report-status-chip,
.market-signal-strip span,
.radar-mini-list a,
.assist-row,
.context-grid > div,
.verdict-scorecard span,
.tracking-pill,
.deep-pillar-grid span,
.diagnostic-grid span,
.diagnostic-target-panel span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-status-chip.primary,
.market-signal-strip span:first-child,
.radar-main-metric {
  border-color: var(--line-strong);
  background: var(--primary-soft);
}

.market-signal-strip span,
.search-assist-panel,
.home-radar-panel {
  padding: 16px;
}

.assist-head strong,
.section-head h2,
.home-radar-panel h2,
.channel-lens-card strong,
.action-list strong,
.diagnostic-action-cards strong {
  color: var(--ink);
}

.assist-head span,
.assist-head a,
.channel-lens-card p,
.action-list p,
.trust-copy,
.microcopy,
.muted {
  color: var(--muted);
}

.assist-status,
.confidence-badge,
.verdict-badge,
.tracking-pill {
  min-height: 26px;
  border-radius: 999px;
  font-weight: 900;
}

.assist-status.strong,
.confidence-badge.high,
.tracking-pill.saved {
  background: var(--success-soft);
  color: var(--success);
}

.assist-status.amber,
.confidence-badge.medium {
  background: var(--warning-soft);
  color: var(--warning);
}

.assist-status.blue,
.confidence-badge.limit,
.confidence-badge.neutral {
  background: var(--primary-soft);
  color: var(--brand);
}

.confidence-badge.low,
.confidence-badge.warn,
.diagnostic-note.warn,
.marketer-verdict.parked {
  background: var(--error-soft);
  color: var(--error);
}

.marketer-verdict {
  border-left: 4px solid var(--brand);
}

.marketer-verdict.strong {
  border-left-color: var(--success);
}

.marketer-verdict.blue,
.marketer-verdict.weak,
.marketer-verdict.unobserved {
  border-left-color: var(--brand);
}

.marketer-verdict.warn,
.marketer-verdict.parked {
  border-left-color: var(--error);
}

.verdict-scorecard span b,
.diagnostic-grid b,
.deep-pillar-grid b,
.radar-main-metric strong,
.score-card strong,
.stat-band span {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.action-list.tteul-list {
  gap: 10px;
}

.tteul-list-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tteul-list-row > span {
  background: var(--brand);
  color: #fff;
}

.action-list em,
.diagnostic-action-cards em,
.deep-analysis-summary em,
.deep-finding-list em,
.deep-next-actions em,
.deep-strategy-grid em {
  color: var(--accent);
  letter-spacing: 0.02em;
}

.diagnostic-action-cards div,
.deep-analysis-summary,
.deep-activity-proxy,
.deep-finding-list article,
.deep-next-actions div,
.deep-strategy-grid article,
.deep-priority-pages article,
.deep-measurement {
  border-left-color: var(--accent);
}

.korea-channel-section {
  padding: 24px;
}

.channel-lens-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.channel-lens-card span {
  color: var(--accent);
  font-weight: 900;
}

.data-list div,
.stat-band div,
.score-card,
.feature-card,
.report-shortcut-row {
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
}

.ads-slot,
.ad-card {
  min-height: 250px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #f9fafb;
}

.state-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.state-panel strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.state-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.state-panel .primary-btn,
.state-panel .ghost-btn {
  margin-top: 12px;
}

.state-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.state-panel.high .state-icon {
  background: var(--success-soft);
  color: var(--success);
}

.state-panel.warn {
  border-color: rgba(155, 107, 22, 0.3);
  background: #fffaf0;
}

.state-panel.warn .state-icon {
  background: var(--warning-soft);
  color: var(--warning);
}

.state-panel.limit .state-icon {
  background: var(--primary-soft);
  color: var(--brand);
}

.platform-status-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.platform-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.platform-status-panel strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.platform-status-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.platform-status-panel em {
  display: block;
  margin-top: 8px;
  color: var(--secondary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.learning-readiness {
  display: grid;
  gap: 16px;
}

.readiness-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.readiness-list span {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.readiness-list span:last-child {
  border-right: 0;
}

.readiness-list b,
.readiness-list em {
  display: block;
}

.readiness-list b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.readiness-list em {
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
}

.readiness-list span.done {
  background: #fbfdfd;
}

.readiness-list span.done em {
  color: var(--success);
}

.mobile-bottom-cta {
  display: none;
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 58px;
    padding: 0 12px;
    gap: 12px;
  }

  .nav {
    gap: 12px;
    overflow-x: auto;
  }

  .home-atelier {
    padding: 28px 12px 34px;
  }

  .home-atelier h1 {
    font-size: 29px;
    line-height: 1.16;
  }

  .home-atelier .search-card {
    padding: 12px;
  }

  .report-status-strip,
  .market-signal-strip {
    max-width: none;
  }
}

/* Product Design / Stitch pass: report-first density and restrained surfaces. */
body {
  background: #f5f6f8;
}

body.dialog-open {
  overflow: hidden;
}

.topbar {
  height: 64px;
  padding: 0 28px;
}

.brand {
  font-size: 19px;
  font-weight: 900;
}

.nav {
  gap: 20px;
}

.nav a {
  padding: 22px 0 20px;
  font-size: 14px;
  letter-spacing: 0;
}

.hero.home-atelier {
  padding: 28px 24px 32px;
  border-bottom: 1px solid var(--line);
  background: #f5f6f8 !important;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: start;
  gap: 16px;
}

.home-hero-grid.has-result {
  grid-template-columns: minmax(0, 1fr);
}

.home-atelier .hero-copy {
  gap: 16px;
}

.home-atelier h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.home-atelier .subcopy {
  max-width: 740px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.home-atelier .eyebrow,
.eyebrow {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero .eyebrow::before {
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.home-atelier .search-workbench {
  margin-top: 2px;
}

.home-atelier .search-card {
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.home-atelier .search-card > div:first-child h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.home-atelier .search-card > div:first-child .muted {
  max-width: 760px;
  margin-top: 6px;
  font-size: 13px;
}

.search-strip.primary-search {
  gap: 10px;
  align-items: stretch;
}

.home-atelier .segmented {
  min-height: 46px;
  padding: 3px;
}

.home-atelier .segmented button {
  min-width: 72px;
  padding: 0 12px;
  font-size: 14px;
}

.home-atelier input,
.search-strip input,
.search-strip select {
  min-height: 46px;
  font-size: 15px;
}

.home-atelier .primary-btn,
.search-strip .primary-btn {
  min-height: 46px;
  padding: 0 18px;
  background: var(--secondary);
}

.home-atelier .primary-btn:hover,
.search-strip .primary-btn:hover {
  background: #a5483e;
}

.market-signal-strip,
.report-status-strip {
  max-width: none;
}

.market-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.market-signal-strip span {
  min-height: 96px;
  padding: 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.market-signal-strip span:last-child {
  border-right: 0;
}

.market-signal-strip span:first-child {
  border-color: var(--line);
  background: #fff;
}

.market-signal-strip em {
  color: var(--muted);
}

.market-signal-strip b {
  color: var(--ink);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.market-signal-strip small {
  color: var(--muted);
  line-height: 1.45;
}

.home-radar-panel {
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.radar-main-metric {
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.radar-beam-map {
  display: none;
}

.radar-row,
.assist-row,
.mini-row,
.report-shortcut-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.radar-row:last-child,
.mini-row:last-child,
.report-shortcut-row:last-child {
  border-bottom: 0;
}

.report-shortcut-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-shortcut-row {
  min-height: 62px;
  padding: 14px 16px;
}

.shortcut-icon {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.surface,
.marketer-verdict,
.action-panel,
.marketer-context,
.tracking-status,
.korea-channel-section,
.aeo-guide,
.diagnostic-box {
  box-shadow: none;
}

.marketer-verdict {
  border-left-width: 0;
}

.verdict-scorecard {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.verdict-scorecard span {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.verdict-scorecard span:nth-child(3n) {
  border-right: 0;
}

.tteul-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tteul-list-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.tteul-list-row:last-child {
  border-bottom: 0;
}

.tteul-list-row > span {
  background: var(--primary-soft);
  color: var(--brand);
}

.korea-channel-section {
  border-color: var(--line);
}

.channel-lens-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.channel-lens-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.channel-lens-card:last-child {
  border-right: 0;
}

.channel-lens-card span {
  color: var(--secondary);
}

@media (max-width: 900px) {
  .home-hero-grid,
  .home-hero-grid.has-result {
    grid-template-columns: 1fr;
  }

  .market-signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-signal-strip span:nth-child(2n) {
    border-right: 0;
  }

  .market-signal-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .channel-lens-grid {
    display: block;
  }

  .channel-lens-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .channel-lens-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 58px;
  }

  .hero.home-atelier {
    padding: 22px 12px 28px;
  }

  .home-atelier h1 {
    font-size: 27px;
    line-height: 1.18;
  }

  .search-strip.primary-search {
    grid-template-columns: 1fr;
  }

  .home-atelier .segmented {
    width: 100%;
  }

  .market-signal-strip {
    grid-template-columns: 1fr;
  }

  .market-signal-strip span {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .market-signal-strip span:last-child {
    border-bottom: 0;
  }

  .verdict-scorecard span:nth-child(n) {
    border-right: 0;
  }

  .state-panel,
  .platform-status-panel {
    padding: 14px;
  }

  .readiness-list {
    grid-template-columns: 1fr;
  }

  .readiness-list span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .readiness-list span:last-child {
    border-bottom: 0;
  }

  .report-summary-card,
  .compact-report-card,
  .keyword-intel-layout.compact {
    grid-template-columns: 1fr;
  }

  .report-primary-actions {
    min-width: 0;
    padding: 14px;
  }

  .progress-steps {
    grid-template-columns: 1fr;
  }

  .keyword-story-flow {
    gap: 10px;
  }

  .keyword-depth-panel {
    padding: 14px;
  }

  .keyword-depth-stats {
    grid-template-columns: 1fr;
  }

  .keyword-decision-brief,
  .keyword-exec-stat-strip {
    grid-template-columns: 1fr;
  }

  .keyword-decision-brief li {
    grid-template-columns: 1fr;
  }

  .keyword-depth-table {
    overflow-x: auto;
  }

  .keyword-depth-row {
    min-width: 760px;
  }

  .keyword-panel {
    padding: 14px;
  }

  .mobile-bottom-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(18, 24, 38, 0.14);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-cta a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-bottom-cta a.active {
    background: var(--primary-soft);
    color: var(--brand);
  }

  .mobile-bottom-cta .mobile-bottom-primary {
    background: var(--brand);
    color: #fff;
  }

  .footer {
    padding-bottom: 84px;
  }

  main,
  .layout,
  .home-search-result-wrap {
    padding-bottom: 84px;
  }
}

/* PandaRank-inspired home redesign: bright marketing-tool first impression. */
:root {
  --bg: #f4fbf8;
  --background: #f4fbf8;
  --bg-soft: #eef8f4;
  --surface-soft: #f8fcfa;
  --border-soft: #edf4f1;
  --green: #27c987;
  --green-dark: #079965;
  --green-soft: #dff7ed;
  --mint: #c9f1e2;
  --blue-soft: #dff0f7;
  --yellow-soft: #fff1c7;
  --orange-soft: #ffe7d6;
  --shadow-soft: 0 18px 50px rgba(20, 40, 30, 0.08);
  --shadow-card: 0 8px 24px rgba(20, 40, 30, 0.06);
}

.hero.home-atelier {
  min-height: 720px;
  padding: 96px 24px 72px;
  background:
    radial-gradient(circle at 16% 36%, rgba(39, 201, 135, 0.11), transparent 32%),
    radial-gradient(circle at 84% 48%, rgba(255, 226, 180, 0.2), transparent 30%),
    var(--bg) !important;
}

.home-hero-grid.panda-home {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 28px;
}

.home-hero-grid.panda-home.has-result {
  grid-template-columns: minmax(0, 1fr);
}

.hero.home-atelier.has-query {
  min-height: auto;
  padding-top: 70px;
}

.home-hero-grid.panda-home .hero-copy {
  grid-column: 1 / -1;
  max-width: 900px;
  justify-self: center;
  padding: 0;
  text-align: center;
}

.home-hero-grid.panda-home .hero-copy .eyebrow {
  justify-content: center;
}

.home-hero-grid.panda-home h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.home-hero-grid.panda-home .subcopy {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.65;
}

.hero-main-panel {
  min-width: 0;
  width: min(1040px, 100%);
  justify-self: center;
}

.home-hero-grid.panda-home .search-workbench {
  margin: 0;
}

.home-hero-grid.panda-home .search-card {
  padding: 26px;
  border-color: var(--border-soft);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.home-hero-grid.panda-home .search-card > div:first-child {
  display: none;
}

.home-hero-grid.panda-home .search-strip.primary-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
}

.home-hero-grid.panda-home .segmented {
  order: 2;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-soft);
}

.home-hero-grid.panda-home .segmented button {
  border-radius: 999px;
}

.home-hero-grid.panda-home .segmented button.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home-hero-grid.panda-home input {
  order: 1;
  flex: 1 1 auto;
  min-width: 180px;
  min-height: 52px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-hero-grid.panda-home .primary-btn {
  order: 3;
  width: auto;
  min-width: 168px;
  height: 58px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.16);
}

.home-hero-grid.panda-home .primary-btn::after {
  content: none;
}

.home-hero-grid.panda-home .search-assist-grid {
  margin-top: 18px;
}

.hero-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-quick-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-feature-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
}

.hero-feature-item {
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--text-primary);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.hero-feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.hero-feature-item:nth-child(2n) .hero-feature-icon {
  background: var(--blue-soft);
  color: var(--brand);
}

.hero-feature-item:nth-child(3n) .hero-feature-icon {
  background: var(--yellow-soft);
  color: var(--warning);
}

.hero-feature-item:hover {
  transform: translateY(-2px);
}

.hero-promo-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.promo-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.hero-promo-card h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-promo-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.promo-mini-report {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.promo-mini-report span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.promo-mini-report b {
  color: var(--brand);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.promo-mini-report em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.hero-promo-card small {
  margin-top: 14px;
  color: var(--text-soft);
  font-weight: 900;
}

@media (max-width: 980px) {
  .local-ranking-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid.panda-home,
  .home-hero-grid.panda-home.has-result {
    grid-template-columns: 1fr;
  }

  .hero-promo-card {
    min-height: 220px;
  }

  .hero-feature-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero.home-atelier {
    min-height: auto;
    padding: 58px 18px 44px;
  }

  .home-hero-grid.panda-home h1 {
    font-size: 34px;
  }

  .home-hero-grid.panda-home .subcopy {
    font-size: 16px;
  }

  .home-hero-grid.panda-home .search-card {
    padding: 16px;
    border-radius: 24px;
  }

  .home-hero-grid.panda-home .search-strip.primary-search {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 10px;
  }

  .home-hero-grid.panda-home .segmented,
  .home-hero-grid.panda-home input,
  .home-hero-grid.panda-home .primary-btn {
    order: initial;
    width: 100%;
  }

  .home-hero-grid.panda-home .primary-btn {
    border-radius: 16px;
    color: #fff;
    font-size: 15px;
  }

  .home-hero-grid.panda-home .primary-btn::after {
    display: none;
  }

  .hero-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final typography and brand polish for the PandaRank-style home. */
.topbar {
  height: 60px;
  padding: 0 22px;
  gap: 26px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 254, 251, 0.92);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  backdrop-filter: blur(14px);
}

.brand {
  gap: 10px;
  color: #111827;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #fff url("./assets/tteulsite-icon.svg?v=20260710a") center / cover no-repeat;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.brand-word {
  display: inline-block;
  transform: translateY(-0.5px);
}

.nav {
  gap: 24px;
}

.nav a {
  position: relative;
  padding: 21px 0 19px;
  color: #637083;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none !important;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: #d56a56;
  transition: left 160ms ease, right 160ms ease;
}

.nav a:hover,
.nav a.active {
  color: #111827;
}

.nav a:hover::after,
.nav a.active::after {
  left: 0;
  right: 0;
}

.top-actions .primary-btn {
  min-height: 38px;
  padding: 0 17px;
  border-radius: 9px;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.top-actions .primary-btn:hover {
  background: #111827;
}

.home-hero-grid.panda-home .hero-copy {
  max-width: 980px;
}

.home-hero-grid.panda-home .hero-copy .eyebrow {
  margin-bottom: 4px;
  color: #5f6f7e;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-hero-grid.panda-home h1 {
  max-width: 980px;
  color: #111827;
  font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 70px);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-hero-grid.panda-home h1 span,
.home-hero-grid.panda-home .subcopy span {
  display: block;
}

.home-hero-grid.panda-home .subcopy {
  max-width: 780px;
  margin-top: 22px;
  color: #52616f;
  font-size: 18px;
  line-height: 1.78;
  letter-spacing: 0;
  text-wrap: balance;
}

.evidence-command-center,
.product-suite-section,
.method-snapshot-section {
  width: 100%;
  margin: 0 0 34px;
}

.evidence-command-center {
  padding: 34px 0 6px;
}

.evidence-command-center .section-head,
.product-suite-section .section-head {
  align-items: end;
  margin-bottom: 18px;
}

.evidence-command-center .section-head h2,
.product-suite-section .section-head h2,
.method-snapshot-copy h2 {
  max-width: 860px;
  letter-spacing: 0;
  text-wrap: balance;
}

.evidence-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.evidence-metric-card {
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.evidence-metric-card span {
  color: #5f6f7e;
  font-size: 12px;
  font-weight: 900;
}

.evidence-metric-card strong {
  color: #111827;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.evidence-metric-card p {
  margin: auto 0 0;
  color: #52616f;
  font-size: 13px;
  line-height: 1.58;
}

.product-suite-section {
  padding: 24px 0 4px;
}

.product-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-suite-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 252, 250, 0.94)),
    #fff;
  color: #111827;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.product-suite-card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 201, 135, 0.34);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.product-suite-card em {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f7f0;
  color: #08734f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.product-suite-card strong {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
}

.product-suite-card p {
  margin: 0;
  color: #52616f;
  font-size: 14px;
  line-height: 1.65;
}

.product-suite-card span {
  margin-top: auto;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.method-snapshot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #122018;
  color: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.method-snapshot-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.method-snapshot-copy .eyebrow {
  color: #9ef0c9;
}

.method-snapshot-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.18;
}

.method-snapshot-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

.method-snapshot-copy .primary-btn {
  width: fit-content;
  margin-top: auto;
  background: #fff;
  color: #122018;
}

.method-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.method-step-list article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.method-step-list strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.method-step-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.62;
}

.methodology-metrics {
  margin: 0 0 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .evidence-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-suite-grid,
  .method-snapshot-section {
    grid-template-columns: 1fr;
  }

  .method-step-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 14px;
    padding: 0 14px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    background-size: 23px 23px;
  }

  .nav {
    gap: 18px;
    overflow-x: auto;
  }

  .nav a {
    padding: 20px 0 18px;
    font-size: 13px;
  }

  .home-hero-grid.panda-home h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .home-hero-grid.panda-home .subcopy {
    font-size: 16px;
    line-height: 1.68;
  }

  .home-hero-grid.panda-home .subcopy span {
    display: inline;
  }

  .evidence-command-center,
  .product-suite-section,
  .method-snapshot-section {
    margin-bottom: 24px;
  }

  .evidence-metric-grid,
  .product-suite-grid,
  .methodology-metrics {
    grid-template-columns: 1fr;
  }

  .evidence-metric-card,
  .product-suite-card {
    min-height: 0;
    padding: 18px;
  }

  .evidence-metric-card strong {
    font-size: 28px;
  }

  .method-snapshot-section {
    padding: 20px;
  }

  .method-snapshot-copy h2 {
    font-size: 26px;
  }
}

@keyframes tteul-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tteul-progress {
  0% {
    transform: translateX(-110%);
  }

  55% {
    transform: translateX(105%);
  }

  100% {
    transform: translateX(260%);
  }
}

@media (max-width: 720px) {
  .interaction-feedback {
    top: 56px;
    padding: 9px 16px 0;
  }

  .interaction-feedback div {
    display: grid;
    gap: 2px;
  }

  .report-disclosure summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-disclosure summary::after {
    align-self: flex-start;
  }

  .report-disclosure-body {
    padding: 14px;
  }
}

.hero.home-atelier.has-query {
  min-height: auto;
  padding-top: 30px;
  padding-bottom: 40px;
}

.home-hero-grid.panda-home.has-result {
  gap: 16px;
}

.home-hero-grid.panda-home.has-result .hero-copy,
.home-hero-grid.panda-home.has-result .hero-quick-tags,
.home-hero-grid.panda-home.has-result .hero-feature-strip {
  display: none;
}

.home-hero-grid.panda-home.has-result .search-card {
  padding: 14px;
  border-radius: 20px;
}

.home-hero-grid.panda-home.has-result .search-strip.primary-search {
  min-height: 52px;
}

/* Compact result view: keep functions, reduce the mobile spread. */
@media (max-width: 720px) {
  .topbar {
    height: 62px;
    min-height: 62px;
    flex-wrap: nowrap;
    padding: 0 14px;
  }

  .topbar .nav {
    display: none;
  }

  .top-actions .primary-btn {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    background-size: 27px 27px;
  }

  .hero.home-atelier.has-query {
    padding: 14px 10px 96px;
  }

  .home-hero-grid.panda-home.has-result {
    gap: 10px;
  }

  .home-hero-grid.panda-home.has-result .search-card {
    padding: 10px;
    border-radius: 16px;
  }

  .home-hero-grid.panda-home.has-result .search-strip.primary-search {
    min-height: 0;
    gap: 8px;
  }

  .home-atelier.has-query .segmented {
    min-height: 38px;
  }

  .home-atelier.has-query .segmented button {
    min-height: 32px;
    font-size: 13px;
  }

  .home-atelier.has-query input,
  .home-atelier.has-query .primary-btn {
    min-height: 44px;
    font-size: 14px;
  }

  .home-atelier.has-query .search-card .primary-btn::before,
  .home-atelier.has-query .search-card .primary-btn::after {
    display: none;
    content: none;
  }

  .home-atelier.has-query .marketer-verdict {
    gap: 16px;
    margin-top: 10px;
    padding: 18px 16px;
  }

  .home-atelier.has-query .verdict-badge {
    font-size: 12px;
  }

  .home-atelier.has-query .verdict-copy h2 {
    font-size: 24px;
    line-height: 1.22;
  }

  .home-atelier.has-query .verdict-copy > p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .home-atelier.has-query .marketer-verdict .context-hint {
    display: none;
  }

  .home-atelier.has-query .verdict-scorecard span {
    min-height: 64px;
    padding: 10px 12px;
  }

  .home-atelier.has-query .verdict-scorecard b {
    font-size: 22px;
  }

  .home-atelier.has-query .practical-report-panel {
    gap: 10px;
    margin-top: 10px;
    padding: 14px;
  }

  .home-atelier.has-query .practical-report-panel article {
    padding: 12px;
  }

  .home-atelier.has-query .mini-action-stack {
    gap: 8px;
  }

  .home-atelier.has-query .mini-action-stack span {
    padding: 10px 12px;
  }

  .home-atelier.has-query .report-disclosure {
    margin-top: 10px;
  }
}

/* 2026-07-06: Figma concept 02 applied to the public home/search surface. */
.brand {
  min-width: 162px;
}

.brand-logo {
  display: block;
  width: 152px;
  height: auto;
  object-fit: contain;
}

.brand-logo-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 52, 204, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.brand-text-lockup {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  color: #111827;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-subtitle {
  color: #5d6f83;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.hero.home-atelier {
  padding-top: 86px;
  background: var(--bg) !important;
}

.home-hero-grid.panda-home {
  width: min(1230px, 100%);
  grid-template-columns: minmax(0, 790px) minmax(300px, 360px);
  align-items: center;
  justify-content: center;
  gap: 40px 46px;
}

.home-hero-grid.panda-home .hero-copy {
  grid-column: 1;
  justify-self: start;
  max-width: 790px;
  text-align: left;
}

.home-hero-grid.panda-home .hero-copy .eyebrow {
  justify-content: flex-start;
  color: #c95d4f;
}

.home-hero-grid.panda-home h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(46px, 4.9vw, 64px);
  line-height: 1.1;
  text-wrap: balance;
}

.home-hero-grid.panda-home .subcopy {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.hero-main-panel {
  grid-column: 1;
  justify-self: start;
  width: min(820px, 100%);
}

.home-hero-grid.panda-home .search-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(18, 24, 38, 0.08);
}

.home-hero-grid.panda-home .search-strip.primary-search {
  border-radius: 8px;
}

.home-hero-grid.panda-home .segmented,
.home-hero-grid.panda-home .segmented button,
.home-hero-grid.panda-home .primary-btn {
  border-radius: 8px;
}

.home-trust-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 36px;
  border-radius: 8px;
  background: #121826;
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 24, 38, 0.16);
}

.home-trust-panel > span {
  color: #d7dde6;
  font-size: 13px;
  font-weight: 900;
}

.home-trust-panel > strong {
  display: inline-block;
  color: #fff;
  font-family: var(--display);
  font-size: 86px;
  line-height: 0.95;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.home-trust-panel > em {
  margin-top: -12px;
  color: #aeb8c7;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
}

.home-trust-panel p {
  margin: 0 0 10px;
  color: #d7dde6;
  font-size: 16px;
  line-height: 1.65;
}

.home-trust-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-trust-panel b {
  color: #fff;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.home-trust-panel small {
  color: #aeb8c7;
  font-size: 12px;
  font-weight: 800;
}

.self-audit-card .verdict-badge {
  background: #eef7f4;
  color: #1f6f63;
}

.self-audit-card .report-primary-actions {
  gap: 6px;
  padding: 14px;
}

.self-audit-card .report-primary-actions .tteul-list-row {
  padding: 8px 0;
}

.self-audit-card .report-primary-actions p {
  display: none;
}

.self-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.self-proof-strip span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
}

.self-proof-strip b {
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1;
}

.self-proof-strip em {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.self-score-board .result-metrics span {
  min-height: 120px;
}

.self-score-board .result-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .home-hero-grid.panda-home {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-grid.panda-home .hero-copy,
  .hero-main-panel {
    justify-self: center;
    text-align: center;
  }

  .home-hero-grid.panda-home .hero-copy .eyebrow {
    justify-content: center;
  }

  .home-hero-grid.panda-home .subcopy {
    margin-right: auto;
    margin-left: auto;
  }

  .home-trust-panel {
    grid-column: 1;
    grid-row: auto;
    width: min(560px, 100%);
    justify-self: center;
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .brand {
    min-width: 136px;
  }

  .brand-logo {
    width: 136px;
  }

  .brand-logo-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 7px;
  }

  .hero.home-atelier {
    padding-top: 40px;
  }

  .home-hero-grid.panda-home h1 {
    font-size: 38px;
    line-height: 1.14;
  }

  .home-hero-grid.panda-home .subcopy {
    font-size: 16px;
    line-height: 1.65;
  }

  .home-trust-panel {
    padding: 24px;
  }

  .home-trust-panel > strong {
    font-size: 64px;
  }

  .self-score-board .result-metrics span {
    min-height: 96px;
  }

  .self-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026-07-06: denser data, calmer reading. */
.evidence-command-center .section-head,
.product-suite-section .section-head,
.category-coverage-section .section-head,
.competitor-advantage-section .section-head,
.analysis-lens-section .section-head,
.analysis-depth-section .section-head {
  margin-bottom: 18px;
}

.evidence-metric-card p,
.product-suite-card p,
.category-pill-grid em,
.analysis-lens-grid span,
.competitor-matrix em,
.depth-metric-grid p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-coverage-section,
.competitor-advantage-section,
.analysis-depth-section {
  padding: 24px;
  border-radius: 8px;
}

.category-pill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.category-pill-grid a {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.category-pill-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.category-pill-grid span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.category-pill-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.competitor-matrix {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.competitor-matrix article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.competitor-matrix span {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.competitor-matrix strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.competitor-matrix em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.analysis-lens-section {
  padding: 0;
}

.analysis-lens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.analysis-lens-grid article {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.analysis-lens-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.analysis-lens-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.analysis-depth-section {
  display: grid;
  gap: 18px;
}

.depth-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.depth-metric-grid article {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.depth-metric-grid span {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
}

.depth-metric-grid strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1;
}

.depth-metric-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.depth-comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.depth-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.45fr) minmax(0, 1.65fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.depth-row:first-child {
  border-top: 0;
}

.depth-row > * {
  min-width: 0;
  padding: 13px 14px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.depth-row > *:first-child {
  border-left: 0;
}

.depth-head {
  background: #f6f0e8;
}

.depth-head span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.depth-row strong {
  color: var(--brand-dark);
}

.depth-row span {
  color: var(--muted-strong);
}

.home-playbook-fold {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.home-playbook-fold summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
}

.home-playbook-fold summary::-webkit-details-marker {
  display: none;
}

.home-playbook-fold summary span {
  display: grid;
  gap: 4px;
}

.home-playbook-fold summary strong {
  color: var(--ink);
  font-size: 18px;
}

.home-playbook-fold summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.home-playbook-body {
  display: grid;
  gap: 18px;
  padding: 0 22px 22px;
}

.home-simplified-layout {
  gap: 18px;
  margin-top: -18px;
}

.home-proof-fold {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.home-proof-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.home-proof-fold summary::-webkit-details-marker {
  display: none;
}

.home-proof-fold summary span {
  display: grid;
  gap: 4px;
}

.home-proof-fold summary strong {
  color: #102027;
  font-size: 1.08rem;
}

.home-proof-fold summary em {
  color: #687b7b;
  font-style: normal;
  font-size: 0.92rem;
}

.home-proof-fold summary::after {
  content: "펼치기";
  flex: 0 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  color: #0f766e;
  font-weight: 800;
  font-size: 0.84rem;
  background: rgba(20, 184, 166, 0.08);
}

.home-proof-fold[open] summary {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.home-proof-fold[open] summary::after {
  content: "접기";
}

.home-proof-body {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.home-trust-panel.compact-outcome {
  align-content: start;
}

.home-trust-panel.compact-outcome > strong {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.home-trust-panel.compact-outcome div {
  align-items: center;
}

.home-trust-panel.compact-outcome b {
  min-width: 28px;
}

.feature-grid .feature-copy span {
  font-size: 13px;
  line-height: 1.45;
}

/* Keep the citation snapshot readable even when shared surface styles are loaded later. */
.citation-impact-panel.surface {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 12% 8%, rgba(126, 247, 207, 0.18), transparent 34%),
    linear-gradient(135deg, #091417 0%, #123d37 58%, #176b5a 100%);
  color: #f7fffb;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.citation-impact-panel.surface,
.citation-impact-panel.surface h2,
.citation-impact-panel.surface strong,
.citation-impact-panel.surface b,
.citation-impact-panel.surface li {
  color: #f7fffb;
}

.citation-impact-panel.surface .eyebrow,
.citation-impact-panel.surface .citation-impact-head span,
.citation-impact-panel.surface .citation-hero-metrics span,
.citation-impact-panel.surface .citation-hero-metrics em,
.citation-impact-panel.surface .citation-engine-list > strong,
.citation-impact-panel.surface .citation-keyword-list > strong {
  color: rgba(236, 253, 245, 0.78);
}

.citation-impact-panel.surface .citation-hero-metrics article,
.citation-impact-panel.surface .citation-engine-list,
.citation-impact-panel.surface .citation-keyword-list {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
}

.citation-impact-panel.surface .citation-hero-metrics .rank strong {
  color: #67f7c6;
}

.citation-impact-panel.surface .citation-keyword-list li span {
  background: rgba(126, 247, 207, 0.18);
  color: #9bffd9;
}

.citation-impact-panel.surface .ghost-btn {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 2026-07-06: make the home page feel like a strong AI search command center. */
.hero.home-atelier {
  min-height: auto;
  padding: 72px 24px 54px;
  background:
    radial-gradient(circle at 82% 26%, rgba(94, 230, 188, 0.18), transparent 30%),
    linear-gradient(180deg, #07100f 0%, #0a1714 100%) !important;
}

.home-hero-grid.panda-home {
  width: min(1220px, 100%);
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr);
  align-items: start;
  gap: 26px 56px;
}

.home-hero-grid.panda-home .hero-copy {
  grid-column: auto;
  max-width: none;
  justify-self: stretch;
  text-align: left;
}

.home-hero-grid.panda-home .hero-copy .eyebrow {
  justify-content: flex-start;
  color: #5ee6bc;
}

.home-hero-grid.panda-home .hero-copy .eyebrow::before {
  background: #5ee6bc;
}

.home-hero-grid.panda-home h1 {
  max-width: 760px;
  margin: 0;
  color: #f7fffb;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

.home-hero-grid.panda-home .subcopy {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(236, 253, 245, 0.68);
  font-size: 18px;
  line-height: 1.55;
}

.home-rank-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-rank-metrics article {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-rank-metrics article:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-rank-metrics strong {
  color: #5ee6bc;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-rank-metrics span {
  color: #f7fffb;
  font-size: 13px;
  font-weight: 900;
}

.home-rank-metrics em {
  color: rgba(236, 253, 245, 0.55);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.home-action-rail {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.home-action-rail a {
  display: grid;
  gap: 9px;
  min-height: 104px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7fffb;
}

.home-action-rail a.active {
  background: #51aa84;
  color: #06110f;
}

.home-action-rail span {
  color: rgba(236, 253, 245, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-action-rail a.active span {
  color: rgba(6, 17, 15, 0.72);
}

.home-action-rail strong {
  color: inherit;
  font-size: 18px;
  line-height: 1.28;
}

.home-action-rail em {
  color: rgba(236, 253, 245, 0.58);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.home-action-rail a.active em {
  color: rgba(6, 17, 15, 0.72);
}

.hero-main-panel {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
}

.home-hero-grid.panda-home .search-card {
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.home-hero-grid.panda-home .search-strip.primary-search {
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(5, 14, 12, 0.88);
}

.home-hero-grid.panda-home input {
  color: #f7fffb;
}

.home-hero-grid.panda-home input::placeholder {
  color: rgba(236, 253, 245, 0.48);
}

.home-hero-grid.panda-home .segmented {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.home-hero-grid.panda-home .segmented button {
  border-radius: 6px;
  color: rgba(236, 253, 245, 0.66);
}

.home-hero-grid.panda-home .segmented button:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(236, 253, 245, 0.74);
}

.home-hero-grid.panda-home .segmented button.active {
  background: #5ee6bc;
  color: #07100f;
  box-shadow: none;
}

.home-hero-grid.panda-home .primary-btn {
  border-radius: 8px;
  background: #f7fffb;
  color: #07100f;
  box-shadow: none;
}

.hero-quick-tags a {
  border-color: rgba(7, 16, 15, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #334155;
}

.home-live-proof-section {
  margin-top: -1px;
  padding: 0 24px 72px;
  background: #07100f;
}

.home-live-proof-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.home-ranking-preview {
  grid-row: span 2;
}

.home-live-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #f7fffb;
}

.home-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-preview-head.compact {
  padding-bottom: 18px;
}

.home-preview-head .eyebrow {
  margin-bottom: 6px;
  color: #5ee6bc;
}

.home-preview-head h2 {
  margin: 0;
  color: #f7fffb;
  font-size: 22px;
  line-height: 1.25;
}

.home-preview-head a,
.home-preview-head > span {
  flex: 0 0 auto;
  color: rgba(236, 253, 245, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.home-preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-preview-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(236, 253, 245, 0.68);
  font-weight: 900;
}

.home-preview-tabs a.active {
  background: #51aa84;
  color: #06110f;
}

.home-preview-table {
  display: grid;
}

.home-preview-row {
  display: grid;
  grid-template-columns: 54px minmax(220px, 1fr) 110px 100px 150px;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #f7fffb;
}

.home-preview-row:last-child {
  border-bottom: 0;
}

.home-preview-row.head {
  min-height: 44px;
  color: rgba(236, 253, 245, 0.52);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-preview-row > span {
  color: #b7d4cf;
  font-size: 18px;
  font-weight: 900;
}

.home-preview-row strong {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f7fffb;
  font-size: 16px;
}

.home-preview-row strong i {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #51aa84;
  color: #06110f;
  font-style: normal;
  font-weight: 900;
}

.home-preview-row b {
  color: #5ee6bc;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.home-preview-row em {
  color: #c6d8d4;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.home-preview-row small {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(236, 253, 245, 0.7);
  font-size: 12px;
}

.home-preview-row small span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.38;
}

.home-preview-row small span.active {
  opacity: 1;
}

.home-preview-row small i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.home-recent-list {
  display: grid;
  padding: 8px;
}

.home-recent-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  grid-template-areas:
    "num domain score"
    "num badge score";
  align-items: center;
  gap: 3px 10px;
  min-height: 66px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #f7fffb;
}

.home-recent-list a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.home-recent-list span {
  grid-area: num;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(94, 230, 188, 0.14);
  color: #5ee6bc;
  font-size: 13px;
  font-weight: 900;
}

.home-recent-list strong {
  grid-area: domain;
  min-width: 0;
  overflow: hidden;
  color: #f7fffb;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-recent-list em {
  grid-area: badge;
  width: fit-content;
  color: rgba(236, 253, 245, 0.58);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.home-recent-list b {
  grid-area: score;
  color: #5ee6bc;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.home-local-list {
  display: grid;
  padding: 8px;
}

.home-local-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  grid-template-areas:
    "num name score"
    "num meta score";
  align-items: center;
  gap: 3px 10px;
  min-height: 66px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #f7fffb;
}

.home-local-list a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.home-local-list span {
  grid-area: num;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(94, 230, 188, 0.14);
  color: #5ee6bc;
  font-size: 13px;
  font-weight: 900;
}

.home-local-list strong {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  color: #f7fffb;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-local-list em {
  grid-area: meta;
  width: fit-content;
  color: rgba(236, 253, 245, 0.58);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.home-local-list b {
  grid-area: score;
  color: #5ee6bc;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.home-local-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #f7fffb;
}

.home-local-empty strong {
  color: #5ee6bc;
  font-size: 16px;
}

.home-local-empty p {
  margin: 0;
  color: rgba(236, 253, 245, 0.62);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .local-filter-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .local-filter-group > span {
    padding-top: 0;
  }

  .local-highlight-grid,
  .local-coverage-grid {
    grid-template-columns: 1fr;
  }

  .hero.home-atelier {
    min-height: auto;
    background:
      linear-gradient(180deg, #07100f 0%, #0a1714 100%) !important;
  }

  .home-hero-grid.panda-home,
  .home-hero-grid.panda-home.has-result {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-rank-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .home-rank-metrics article:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .home-live-proof-inner {
    grid-template-columns: 1fr;
  }

  .home-ranking-preview {
    grid-row: auto;
  }

  .home-preview-row {
    grid-template-columns: 44px minmax(180px, 1fr) 88px 78px;
  }

  .home-preview-row.head span:last-child,
  .home-preview-row small {
    display: none;
  }
}

@media (max-width: 560px) {
  .ranking-type-tabs,
  .local-ranking-summary,
  .local-ranking-search,
  .local-methodology-stack summary {
    grid-template-columns: 1fr;
  }

  .ranking-type-tabs button {
    min-height: 64px;
  }

  .local-ranking-summary {
    gap: 8px;
  }

  .local-ranking-summary article {
    min-height: 68px;
  }

  .local-highlight-grid strong {
    font-size: 20px;
  }

  .hero.home-atelier {
    padding: 34px 18px 118px;
  }

  .home-hero-grid.panda-home,
  .home-hero-grid.panda-home.has-result {
    gap: 16px;
  }

  .home-hero-grid.panda-home h1 {
    font-size: 34px;
  }

  .home-hero-grid.panda-home .subcopy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .home-rank-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
    margin-top: 16px;
    padding-top: 14px;
  }

  .home-rank-metrics article {
    padding: 0 10px 12px 0;
    border-left: 0;
    border-bottom: 0;
  }

  .home-rank-metrics strong {
    font-size: 25px;
  }

  .home-rank-metrics em {
    display: none;
  }

  .home-hero-grid.panda-home .hero-copy {
    order: 1;
  }

  .hero-main-panel {
    order: 2;
  }

  .home-action-rail {
    order: 3;
    padding-top: 0;
  }

  .home-action-rail a {
    min-height: auto;
    padding: 16px;
  }

  .home-hero-grid.panda-home .search-card {
    padding: 10px;
  }

  .home-hero-grid.panda-home input {
    min-height: 44px;
    font-size: 14px;
  }

  .home-hero-grid.panda-home .primary-btn {
    height: 50px;
    min-height: 50px;
  }

  .home-live-proof-section {
    padding: 0 18px 52px;
  }

  .home-preview-head {
    align-items: flex-start;
    padding: 18px 16px 14px;
  }

  .home-preview-head h2 {
    font-size: 19px;
  }

  .home-preview-tabs {
    gap: 6px;
    padding: 12px 14px;
  }

  .home-preview-tabs a {
    min-height: 30px;
    padding: 0 9px;
    font-size: 12px;
  }

  .home-preview-row {
    grid-template-columns: 34px minmax(0, 1fr) 68px;
    gap: 10px;
    min-height: 60px;
    padding: 0 14px;
  }

  .home-preview-row.head {
    display: none;
  }

  .home-preview-row em {
    display: none;
  }

  .home-preview-row > span {
    font-size: 15px;
  }

  .home-preview-row strong {
    gap: 9px;
    font-size: 14px;
  }

  .home-preview-row strong i {
    width: 24px;
    height: 24px;
  }

  .home-preview-row b {
    font-size: 17px;
  }

  .home-recent-list a {
    min-height: 58px;
  }
}

@media (max-width: 1180px) {
  .category-pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .competitor-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .depth-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .analysis-lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .depth-row {
    grid-template-columns: 1fr;
  }

  .depth-row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .depth-row > *:first-child {
    border-top: 0;
  }
}

@media (max-width: 720px) {
  .category-pill-grid,
  .competitor-matrix,
  .analysis-lens-grid,
  .depth-metric-grid {
    grid-template-columns: 1fr;
  }

  .category-coverage-section,
  .competitor-advantage-section,
  .analysis-depth-section {
    padding: 18px;
  }
}

/* 2026-07-06: Main-led menu unification pass from Figma/Product Design board. */
.layout > .page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 56px;
  background:
    radial-gradient(circle at 86% 12%, rgba(85, 241, 199, 0.16), transparent 34%),
    linear-gradient(135deg, #06100f 0%, #0b1b17 100%) !important;
  border: 1px solid rgba(85, 241, 199, 0.16) !important;
  box-shadow: 0 28px 80px rgba(2, 11, 9, 0.26);
  color: #f4fffa;
}

.layout > .page-hero::before {
  content: "";
  position: absolute;
  inset: auto 30px 24px auto;
  width: 210px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #55f1c7 0%, rgba(85, 241, 199, 0.1) 100%);
  opacity: 0.7;
}

.layout > .page-hero .eyebrow {
  color: #55f1c7;
}

.layout > .page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  color: #f4fffa;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.layout > .page-hero .subcopy,
.layout > .page-hero p:not(.eyebrow),
.layout > .page-hero .form-note {
  color: #a9c5bc;
}

.layout > .page-hero.two-col {
  align-items: stretch;
}

.layout > .page-hero .lead-form,
.layout > .page-hero .score-card {
  background: rgba(13, 27, 24, 0.92);
  border: 1px solid rgba(85, 241, 199, 0.16);
  box-shadow: none;
}

.layout > .page-hero .lead-form label,
.layout > .page-hero .score-card span {
  color: #55f1c7;
}

.layout > .page-hero .lead-form select {
  background: #06100f;
  border-color: rgba(85, 241, 199, 0.22);
  color: #f4fffa;
}

.menu-action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -16px 0 24px;
}

.menu-action-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgba(85, 241, 199, 0.16);
  border-radius: 8px;
  background: #0d1b18;
  color: #f4fffa;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.menu-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 241, 199, 0.38);
  background: #10221e;
}

.menu-action-card span {
  display: inline-grid;
  place-items: center;
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(85, 241, 199, 0.16);
  color: #55f1c7;
  font-weight: 900;
}

.menu-action-card em {
  align-self: end;
  color: #55f1c7;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-action-card strong {
  color: #f4fffa;
  font-size: 1.02rem;
  line-height: 1.35;
}

.rank-cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.dashboard-grid > *,
.product-check-report > * {
  min-width: 0;
  max-width: 100%;
}

.product-check-report .muted,
.product-check-report .context-hint {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-check-report .product-compare-table {
  max-width: 100%;
  overflow-x: auto;
}

@media (min-width: 721px) and (max-width: 1080px) {
  .topbar {
    position: static;
    height: auto;
    min-height: 60px;
    padding: 12px 22px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .topbar .nav {
    order: 3;
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    background: inherit;
  }

  .topbar .nav a {
    padding: 10px 0 8px;
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .layout > .page-hero {
    padding: 30px 24px;
  }

  .layout > .page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .layout > .page-hero::before {
    width: 150px;
    right: 24px;
    bottom: 18px;
  }

  .menu-action-strip {
    grid-template-columns: 1fr;
    margin-top: -8px;
  }

  .menu-action-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 720px) {
  .mobile-bottom-cta {
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  body:has(input:focus) .mobile-bottom-cta,
  body:has(textarea:focus) .mobile-bottom-cta,
  body:has(select:focus) .mobile-bottom-cta {
    display: none;
  }

  .footer,
  main,
  .layout,
  .home-search-result-wrap {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }
}
