:root {
  --bg: #f7f8f5;
  --ink: #18201b;
  --muted: #667065;
  --line: #dfe5dc;
  --panel: #ffffff;
  --accent: #26716b;
  --accent-strong: #174f4a;
  --gold: #c8902e;
  --red: #b6463d;
  --green: #2e7d4f;
  --blue: #3b6ea8;
  --shadow: 0 14px 42px rgba(24, 32, 27, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
}
button {
  border: 0;
  cursor: pointer;
}
.hidden { display: none !important; }
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.site-shell {
  min-height: 100vh;
  background: #fbfcfa;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 250, .94);
  backdrop-filter: blur(12px);
}
.site-links, .site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-links {
  justify-content: center;
  color: #435048;
  font-size: 14px;
}
.site-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
}
.site-actions .link-button {
  min-height: 40px;
}
.marketing-page {
  display: grid;
  gap: 0;
}
.marketing-page > section {
  width: min(1200px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 76px 0;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 76px);
}
.hero-copy h1, .page-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  max-width: 840px;
}
.hero-copy p, .page-hero p {
  color: #435048;
  font-size: 20px;
  line-height: 1.75;
  max-width: 760px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}
.hero-actions .link-button, .bottom-cta .link-button {
  min-height: 48px;
  padding: 0 20px;
}
.dashboard-mock {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.mock-head {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.mock-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mock-kpis div, .mock-list {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}
.mock-kpis strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}
.mock-chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f4f7f1);
}
.mock-chart span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--accent);
}
.mock-list p {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0;
  color: #435048;
}
.bad { color: var(--red) !important; }
.trust-strip, .feature-grid, .steps-grid, .pricing-grid, .audience-grid {
  display: grid;
  gap: 14px;
}
.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 26px !important;
}
.trust-strip article, .feature-grid article, .steps-grid article, .price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}
.trust-strip p, .feature-grid p, .steps-grid p, .price-card p, .cms-card p, .site-footer p {
  color: var(--muted);
  line-height: 1.65;
}
.split-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 48px;
}
.split-section h2, .marketing-section h2, .section-band h2, .safety-section h2, .bottom-cta h2 {
  margin: 8px 0 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}
.workflow-visual {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  background: #202722;
}
.workflow-visual span {
  display: block;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #435048;
  line-height: 1.65;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
}
.section-band, .safety-section, .bottom-cta {
  width: 100% !important;
  max-width: none !important;
  padding-left: max(18px, calc((100vw - 1200px) / 2)) !important;
  padding-right: max(18px, calc((100vw - 1200px) / 2)) !important;
  background: #eef4ea;
}
.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.compact-steps article {
  padding: 12px 14px;
}
.compact-steps span {
  margin-bottom: 6px;
  font-size: 16px;
}
.compact-steps strong {
  font-size: 15px;
}
.compact-steps p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.steps-grid span {
  display: block;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 12px;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.audience-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.audience-grid span {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  text-align: center;
}
.safety-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 32px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(38, 113, 107, .13);
}
.recommend-badge {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff2d6;
  color: #996800;
  font-size: 12px;
  font-weight: 900;
}
.plan-price strong {
  font-size: 42px;
}
.price-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: #435048;
}
.price-card .link-button {
  margin-top: auto;
  min-height: 44px;
}
.page-hero {
  padding-bottom: 42px !important;
}
.search-large {
  max-width: 620px;
  min-height: 50px;
  margin-top: 20px;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.category-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: #edf2ea;
}
.category-tabs button.active {
  color: #fff;
  background: var(--accent);
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-weight: 800;
}
.faq-item summary small {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.faq-item p {
  margin: 0;
  padding: 0 0 18px;
  color: #435048;
  line-height: 1.75;
}
.bottom-cta {
  text-align: center;
}
.bottom-cta .hero-actions {
  justify-content: center;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(8, auto);
  gap: 16px;
  align-items: start;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: #435048;
}
.checkout-box {
  max-width: 620px;
  display: grid;
  gap: 16px;
  padding: 32px !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.inline-check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
}
.inline-check input {
  width: auto;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}
.admin-view {
  display: none;
}
.admin-view.active {
  display: grid;
  gap: 18px;
}
.cms-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.quick-grid, .cms-list, .media-grid {
  display: grid;
  gap: 12px;
}
.quick-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cms-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cms-card p {
  margin: 6px 0 0;
}
.cms-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}
.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.media-grid div {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ops-card {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}
.ops-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.ops-card .pill {
  flex-shrink: 0;
}
.health-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.health-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}
.health-item strong {
  font-size: 24px;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  align-items: end;
  gap: 12px;
}
.admin-form .primary {
  min-width: 130px;
}
.admin-check {
  min-height: 42px;
  align-content: center;
}
.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-toolbar.single {
  grid-template-columns: minmax(260px, 1fr);
}
.mini-input, .mini-select {
  min-width: 150px;
  padding: 8px 9px;
  border-radius: 6px;
  font-size: 13px;
}
.mini-input {
  max-width: 220px;
  font-weight: 800;
}
.action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 220px;
}
.danger-action {
  color: var(--red);
  background: #fde9e6;
}
.ok-message {
  color: var(--green);
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 48px;
  padding: 54px clamp(24px, 6vw, 90px);
  background:
    linear-gradient(110deg, rgba(38,113,107,.12), rgba(200,144,46,.08)),
    url("data:image/svg+xml,%3Csvg width='900' height='520' viewBox='0 0 900 520' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='520' fill='%23f7f8f5'/%3E%3Cg fill='none' stroke='%2326716b' stroke-opacity='.17' stroke-width='2'%3E%3Cpath d='M52 422h796M84 354h730M126 286h662M172 218h570M220 150h474'/%3E%3Cpath d='M166 420c42-122 107-194 194-214 76-18 126 27 189-7 54-29 77-89 99-151' stroke='%23c8902e' stroke-opacity='.36' stroke-width='6'/%3E%3C/g%3E%3Cg fill='%23ffffff' stroke='%23dfe5dc'%3E%3Crect x='92' y='86' width='172' height='72' rx='8'/%3E%3Crect x='342' y='250' width='188' height='86' rx='8'/%3E%3Crect x='610' y='126' width='198' height='96' rx='8'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
}
.auth-copy h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .96;
}
.auth-copy p {
  max-width: 700px;
  color: #435048;
  font-size: 20px;
  line-height: 1.7;
}
.promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.promise-row span {
  padding: 9px 13px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
}
.auth-panel, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.auth-panel {
  padding: 28px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-button {
  width: 100%;
  min-height: auto;
  justify-content: flex-start;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
}
.brand-button:hover {
  background: #edf2ea;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.brand-lockup small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 8vh 22px 22px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 32, 27, .42);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: 84vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(24, 32, 27, .18);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 4px;
  background: #edf2ea;
  border-radius: 8px;
  margin: 24px 0;
}
.tabs button {
  padding: 10px;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
}
.tabs button.active {
  color: var(--ink);
  background: #fff;
}
.form-stack, .settings-grid {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}
input, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}
.primary, .ghost {
  border-radius: 7px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 700;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover { background: var(--accent-strong); }
.ghost {
  background: #edf2ea;
  color: var(--accent-strong);
}
.wide { width: 100%; }
.message { min-height: 22px; color: var(--red); }
.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
  background: #fff;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border-radius: 7px;
}
nav button.active, nav button:hover {
  background: #edf2ea;
  color: var(--accent-strong);
}
.sidebar .ghost {
  margin-top: auto;
}
.main {
  min-width: 0;
  padding: 26px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.topbar h2 { margin: 4px 0 0; font-size: 30px; }
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.view { display: none; }
.view.active { display: grid; gap: 18px; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
}
.kpi {
  min-height: 104px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.kpi small, .panel-head span, td small {
  color: var(--muted);
}
.kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
}
.panel {
  padding: 18px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
h3 { margin: 0; }
.chart {
  height: 260px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding-top: 20px;
}
.bar {
  flex: 1;
  min-width: 16px;
  display: grid;
  align-items: end;
  gap: 6px;
}
.bar span {
  display: block;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent), #8bb8a5);
}
.bar small {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  color: var(--muted);
}
.list {
  display: grid;
  gap: 10px;
}
.list-row, .alert-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}
.list-row strong, .alert-card strong { display: block; }
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pill {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #edf2ea;
  color: var(--accent-strong);
}
.pill.high { background: #fde9e6; color: var(--red); }
.pill.medium { background: #fff2d6; color: #996800; }
.pill.low { background: #e8f0fb; color: var(--blue); }
.small {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}
button:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
}
.guide-panel {
  box-shadow: none;
  padding: 14px;
}
.danger-zone {
  border-color: #f2c6c1;
  background: #fffafa;
}
.danger-zone p {
  color: var(--muted);
  line-height: 1.65;
}
.upload-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #fff;
}
.upload-band h3 {
  margin: 4px 0 8px;
}
.upload-band .eyebrow {
  color: rgba(255,255,255,.78);
}
.upload-band p { color: rgba(255,255,255,.78); }
.upload-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  align-items: end;
  gap: 10px;
}
.upload-picker label {
  color: rgba(255,255,255,.86);
}
.file-drop {
  display: flex;
  place-items: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px dashed rgba(255,255,255,.6);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.file-drop.light {
  min-height: 96px;
  color: var(--accent-strong);
  border-color: var(--line);
  background: #fbfcfa;
}
.file-drop.light small {
  color: var(--muted);
}
.file-drop input { display: none; }
.file-drop span { font-weight: 800; }
.file-drop small { display: none; }
.result-box:empty { display: none; }
.result-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.filters, .report-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px max-content;
  gap: 12px;
}
.report-tools {
  grid-template-columns: repeat(2, 180px) max-content;
  align-items: end;
}
.table-wrap {
  overflow: auto;
  padding: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}
th, td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
th {
  position: sticky;
  top: 0;
  background: #f3f6f1;
  color: #445048;
  font-size: 12px;
  text-transform: uppercase;
}
td input {
  min-width: 88px;
  padding: 8px;
}
.alert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.alert-card {
  display: grid;
}
.report {
  min-height: 420px;
  max-height: 620px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.65;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.settings-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.settings-grid button {
  align-self: end;
}
.shop-card-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  align-items: end;
  gap: 12px;
}
.shop-card-form .wide-field {
  grid-column: span 2;
}
.upload-inline {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.upload-result-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.rating-bars {
  display: grid;
  gap: 12px;
}
.rating-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}
.rating-row div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2ea;
}
.rating-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.keyword-cloud span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfa;
  font-weight: 800;
}
.keyword-cloud small {
  color: var(--muted);
}
.note-input {
  min-width: 190px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.detail-block {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}
.detail-block h4, .detail-section h4 {
  margin: 0 0 10px;
}
.detail-block p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
  color: var(--muted);
}
.detail-block p strong {
  text-align: right;
  color: var(--ink);
}
.detail-section {
  margin-top: 16px;
}

@media (max-width: 1050px) {
  .site-nav, .hero-section, .split-section, .safety-section, .auth-shell, .app, .admin-shell, .two-col, .upload-band, .admin-form, .admin-toolbar, .shop-card-form, .upload-inline {
    grid-template-columns: 1fr;
  }
  .site-nav {
    position: static;
    padding: 16px 18px;
  }
  .site-links, .site-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero-section {
    min-height: auto;
  }
  .trust-strip, .feature-grid, .pricing-grid, .steps-grid, .audience-grid, .cms-kpis, .quick-grid, .media-grid, .ops-grid, .health-strip, .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar {
    position: static;
    height: auto;
  }
  .kpi-grid, .alert-grid, .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .marketing-page > section {
    width: min(100vw - 28px, 1200px);
    padding: 48px 0;
  }
  .hero-copy h1, .page-hero h1 {
    font-size: 38px;
  }
  .hero-copy p, .page-hero p {
    font-size: 16px;
  }
  .dashboard-mock {
    min-width: 0;
  }
  .trust-strip, .feature-grid, .pricing-grid, .steps-grid, .audience-grid, .cms-kpis, .quick-grid, .media-grid, .ops-grid, .health-strip, .detail-grid {
    grid-template-columns: 1fr;
  }
  .section-head, .faq-item summary, .cms-card {
    align-items: stretch;
    flex-direction: column;
  }
  .cms-actions {
    flex-wrap: wrap;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .auth-shell, .main { padding: 18px; }
  .topbar, .top-actions { align-items: stretch; flex-direction: column; }
  .kpi-grid, .alert-grid, .settings-grid, .filters, .report-tools, .ops-grid, .health-strip, .shop-card-form, .upload-inline {
    grid-template-columns: 1fr;
  }
  .shop-card-form .wide-field {
    grid-column: auto;
  }
  .auth-copy h1 { font-size: 40px; }
  .auth-copy p { font-size: 16px; }
}
