:root {
  color-scheme: light;
  --navy: #17243a;
  --navy-soft: #23324a;
  --coral: #ff6b4a;
  --coral-ink: #c7432d;
  --sand: #f5f1e8;
  --surface: #fffbf5;
  --ink: #17202b;
  --muted: #667085;
  --blue: #dce8f4;
  --mint: #b9e4cf;
  --variant: #e9e4da;
  --rule: #ded8ce;
  --focus: #2b63c0;
  --shadow: 0 2px 8px rgb(23 36 58 / 7%);
  --shadow-raised: 0 14px 36px rgb(23 36 58 / 13%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sand);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--sand); }
body { min-width: 0; min-height: 100dvh; margin: 0; background: var(--sand); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
[hidden] { display: none !important; }

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

:where(button, input, textarea, a):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.app-shell, .detail-shell {
  min-width: 0;
  min-height: 100dvh;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.today-header {
  position: relative;
  border-radius: 0 0 32px 32px;
  background: var(--navy);
  color: #fff;
  padding: calc(22px + env(safe-area-inset-top)) 22px 24px;
}

.header-topline, .user-row, .detail-topbar, .lead-card-top, .lead-card-footer,
.status-row, .source-row, .contact-actions, .score-row, .section-title-row,
.lead-meta-row, .results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  color: var(--coral-ink);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .025em;
}
.today-header .brand { color: var(--coral); }
.today-header h1 {
  margin: 24px 0 0;
  font-size: clamp(38px, 10vw, 52px);
  line-height: 1;
  letter-spacing: -.035em;
}
.today-date { margin: 7px 0 0; color: rgb(255 255 255 / 76%); font-size: 18px; }
.sync-label { margin: 18px 0 0; color: rgb(255 255 255 / 82%); font-weight: 650; }
.user-row { margin-top: 8px; color: rgb(255 255 255 / 70%); font-size: 13px; }
.sync-button, .topbar-button, .text-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 750;
}
.sync-button {
  min-width: 96px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 999px;
  padding: 10px 17px;
}
.sync-button:hover:not(:disabled) { background: rgb(255 255 255 / 10%); }
.text-button { padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.today-header :where(button, a):focus-visible,
.detail-topbar :where(button, a):focus-visible {
  outline-color: #fff;
}

.main-content { width: min(760px, 100%); margin: 0 auto; padding: 18px 18px 30px; }
.toolbar { display: grid; gap: 12px; margin-bottom: 20px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 16px;
  padding: 0 14px;
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-box:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgb(43 99 192 / 15%); }
.search-icon { flex: none; color: var(--muted); font-size: 24px; transform: rotate(-20deg); }
.search-box input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  font-size: 16px;
}
.search-box input::placeholder { color: #727873; opacity: 1; }
.filter-row {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 3px 2px 5px;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #b9b1a7;
  background: rgb(255 251 245 / 46%);
  color: #4f5552;
  border-radius: 12px;
  padding: 9px 13px;
  font-weight: 750;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip-count {
  display: grid;
  min-width: 22px;
  min-height: 22px;
  place-content: center;
  border-radius: 999px;
  background: rgb(23 36 58 / 9%);
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1;
}
.filter-chip.active .chip-count { background: rgb(255 255 255 / 18%); }

.market-toolbar {
  display: grid;
  gap: 10px;
  margin: -2px 0 20px;
  border: 1px solid rgb(111 118 114 / 18%);
  border-radius: 18px;
  background: rgb(255 251 245 / 58%);
  padding: 14px;
}
.market-toolbar-label { min-width: 0; }
.market-toolbar-label > p:last-child { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.country-filter-row {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 3px 2px 5px;
  scrollbar-width: none;
}
.country-filter-row::-webkit-scrollbar { display: none; }
.country-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #c9c0b6;
  border-radius: 999px;
  background: var(--surface);
  color: #4f5552;
  padding: 8px 13px;
  font-weight: 750;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.country-chip:hover { border-color: var(--coral-ink); color: var(--coral-ink); }
.country-chip.active { border-color: #a93724; background: #ffddd5; color: #6e1f0e; }
.country-chip.active .chip-count { background: rgb(110 31 14 / 11%); }

.results-summary { align-items: flex-end; margin: 0 2px 13px; }
.results-summary h2 { margin: 3px 0 0; color: var(--navy); font-size: 24px; letter-spacing: -.02em; }
.results-summary > p { margin: 0 0 2px; color: var(--muted); font-size: 13px; text-align: right; }
.lead-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.lead-card {
  min-width: 0;
  border: 1px solid rgb(111 118 114 / 18%);
  border-radius: 23px;
  background: var(--surface);
  padding: 19px;
  box-shadow: var(--shadow);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}
.lead-card-button {
  width: 100%;
  height: 100%;
  min-height: 44px;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.lead-card-button:focus-visible { outline-offset: 8px; border-radius: 14px; }
.lead-card-copy { min-width: 0; flex: 1; }
.lead-card-top { align-items: flex-start; }
.lead-meta-row { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.eyebrow { margin: 0; color: var(--coral-ink); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.muted-eyebrow { color: var(--muted); }
.lead-card .muted-eyebrow { min-width: 0; flex: 1 1 170px; line-height: 1.35; }
.lead-card h2 {
  margin: 8px 0 3px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.018em;
  overflow-wrap: anywhere;
}
.opportunity {
  margin: 0;
  color: #535a56;
  font-size: 17px;
  line-height: 1.38;
}
.lead-card .opportunity {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.score-badge {
  flex: none;
  display: grid;
  place-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--navy);
  text-align: center;
}
.score-badge.high { background: var(--mint); }
.score-badge strong { font-size: 21px; line-height: 1; }
.score-badge small { font-size: 11px; opacity: .75; }
.platform-pill, .country-pill, .sector-pill, .confidence-pill, .status-pill, .freshness-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 750;
}
.platform-pill {
  align-items: flex-start;
  max-width: 100%;
  margin-top: 13px;
  background: var(--blue);
  color: var(--navy);
  padding: 8px 12px;
  font-size: 13px;
}
.platform-pill b { flex: none; color: var(--coral-ink); font-size: 10px; margin: 2px 8px 0 0; }
.platform-pill span {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.freshness-pill {
  flex: none;
  gap: 4px;
  background: #efeae2;
  color: #515754;
  padding: 5px 8px;
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.freshness-pill.new { background: #ffddd5; color: #792716; }
.freshness-pill.updated { background: var(--blue); color: #253c5c; }
.freshness-pill.active { background: #ece8e0; color: #555b57; }
.card-signal { margin-top: 16px; }
.card-signal > span { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.signal-preview {
  margin: 4px 0 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #333b36;
  line-height: 1.52;
}
.lead-card-footer { margin-top: auto; padding-top: 18px; }
.status-pill { gap: 7px; padding: 7px 12px; background: var(--blue); color: var(--navy); font-size: 13px; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-SAVED { background: var(--mint); color: #194a36; }
.status-REJECTED { background: #e8e4de; color: #56534f; }
.status-CONTACTED { background: #ffdbd2; color: #6e1f0e; }
.view-brief { color: var(--navy); font-weight: 800; white-space: nowrap; }
.empty-card { grid-column: 1 / -1; padding: 54px 30px; text-align: center; color: var(--muted); }
.empty-card h2 { color: var(--navy); }

.bottom-nav {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--rule);
  background: rgb(255 251 245 / 96%);
  backdrop-filter: blur(15px);
}
.nav-item {
  min-height: 54px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px;
  display: grid;
  place-items: center;
  gap: 4px;
  font-size: 13px;
}
.nav-item:hover { color: var(--navy); }
.nav-item.active { color: var(--navy); font-weight: 800; }
.nav-icon { font-size: 17px; }

.detail-shell { background: var(--sand); }
.detail-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: calc(66px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 20px 0;
  background: var(--navy);
  color: #fff;
}
.detail-topbar strong { font-size: 23px; letter-spacing: -.02em; }
.topbar-button { min-width: 72px; padding: 12px 0; }
.topbar-button:last-child { text-align: right; }
.detail-content {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 16px 18px 32px;
  display: grid;
  gap: 14px;
}
.detail-layout, .detail-primary, .detail-secondary { min-width: 0; display: grid; gap: 14px; align-content: start; }
.hero { min-width: 0; background: var(--navy); color: #fff; border-radius: 25px; padding: 22px; }
.hero .eyebrow { color: var(--coral); }
.hero h1 {
  margin: 10px 0 3px;
  max-width: 850px;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.hero .opportunity { max-width: 72ch; color: rgb(255 255 255 / 80%); font-size: 19px; }
.hero .score-badge { float: right; margin-left: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.country-pill { padding: 8px 13px; background: var(--coral); color: var(--navy); }
.sector-pill { padding: 8px 13px; background: rgb(255 255 255 / 13%); }
.detail-status { min-width: 0; padding: 2px; }
.detail-section {
  min-width: 0;
  border: 1px solid rgb(111 118 114 / 18%);
  border-radius: 21px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
}
.detail-section h2 { margin: 6px 0 15px; color: var(--navy); font-size: 24px; letter-spacing: -.018em; }
.detail-section p { max-width: 72ch; line-height: 1.55; overflow-wrap: anywhere; }
.signal-box, .contact-card { border-radius: 15px; padding: 15px; }
.signal-box { margin-top: 16px; background: var(--blue); }
.signal-box strong { color: var(--navy); }
.signal-box p { margin-bottom: 0; }
.confidence-pill { background: var(--blue); color: var(--navy); padding: 7px 12px; font-size: 12px; text-transform: uppercase; }
.role-list { list-style: none; margin: 0; padding: 0; }
.role-list li { position: relative; padding-left: 23px; margin: 11px 0; line-height: 1.45; }
.role-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral-ink); }
.contact-card { margin-top: 11px; background: rgb(233 228 218 / 58%); }
.contact-card h3 { margin: 0; color: var(--navy); overflow-wrap: anywhere; }
.contact-card .contact-title { margin: 3px 0; font-weight: 700; }
.contact-card .contact-meta, .state-meta { color: var(--muted); font-size: 13px; }
.contact-actions { justify-content: flex-start; flex-wrap: wrap; }
.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  padding: 9px 10px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:hover { background: rgb(23 36 58 / 7%); }
.outreach-block + .outreach-block { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 20px; }
.outreach-label { color: var(--muted); font-size: 13px; font-weight: 850; overflow-wrap: anywhere; }
.primary-button, .secondary-button {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.primary-button { border: 1px solid var(--navy); background: var(--navy); color: #fff; }
.primary-button:hover:not(:disabled) { background: var(--navy-soft); box-shadow: 0 6px 16px rgb(23 36 58 / 18%); }
.secondary-button { border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.secondary-button:hover:not(:disabled) { background: rgb(23 36 58 / 7%); }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.source-row { align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.source-row:last-child { border-bottom: 0; }
.source-row a {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgb(23 36 58 / 28%);
  text-underline-offset: 3px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.source-row a:hover { text-decoration-color: currentColor; }
.score-item { margin: 14px 0; }
.score-row { margin-bottom: 7px; }
.score-track { height: 9px; overflow: hidden; border-radius: 999px; background: var(--variant); }
.score-track span { display: block; height: 100%; border-radius: inherit; background: var(--coral-ink); }
.status-row { justify-content: flex-start; max-width: 100%; overflow-x: auto; padding: 3px 2px 5px; scrollbar-width: none; }
.status-row::-webkit-scrollbar { display: none; }
.status-button {
  flex: none;
  min-height: 44px;
  border: 1px solid #b9b1a7;
  border-radius: 11px;
  background: rgb(255 251 245 / 42%);
  color: #4f5552;
  padding: 9px 16px;
  font-weight: 750;
}
.status-button:hover { border-color: var(--navy); color: var(--navy); }
.status-button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.note-input {
  width: 100%;
  min-height: 144px;
  resize: vertical;
  border: 1px solid #7f8782;
  border-radius: 10px;
  background: #fffdf9;
  padding: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.note-input:focus-visible, .auth-card input:focus-visible { border-color: var(--focus); outline-offset: 1px; }
.state-meta { min-height: 20px; margin: 9px 0; }

.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--navy); }
.auth-card { width: min(460px, 100%); border-radius: 28px; background: var(--surface); padding: 30px; box-shadow: 0 24px 80px rgb(0 0 0 / 24%); }
.auth-card h1 { margin-bottom: 12px; color: var(--navy); font-size: 34px; line-height: 1.08; letter-spacing: -.025em; }
.auth-card > p { color: #545b57; line-height: 1.5; }
.auth-card form { display: grid; gap: 15px; margin-top: 25px; }
.auth-card label { display: grid; gap: 7px; color: var(--navy); font-weight: 700; }
.auth-card input { min-height: 46px; border: 1px solid #7f8782; border-radius: 10px; padding: 12px 13px; background: #fff; }
.form-error { min-height: 20px; margin: 0; color: #962b17; }
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 36px);
  border-radius: 16px;
  background: #343b38;
  color: #fff;
  padding: 13px 18px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 24%);
}
.loading-overlay { position: fixed; z-index: 110; inset: 0; display: grid; place-content: center; justify-items: center; background: rgb(23 36 58 / 76%); color: #fff; backdrop-filter: blur(4px); }
.spinner { width: 36px; height: 36px; border: 4px solid rgb(255 255 255 / 30%); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (hover: hover) and (pointer: fine) {
  .lead-card:hover { border-color: rgb(23 36 58 / 26%); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
}

@media (min-width: 760px) {
  .app-shell { padding-bottom: 112px; }
  .today-header {
    width: min(1180px, calc(100% - 40px));
    margin: 20px auto 0;
    border-radius: 32px;
    padding: 30px 34px 28px;
  }
  .today-header h1 { margin-top: 28px; font-size: clamp(46px, 6vw, 58px); }
  .main-content { width: min(1180px, 100%); padding: 28px 24px 44px; }
  .toolbar { margin-bottom: 25px; }
  .filter-row { justify-content: flex-start; }
  .market-toolbar { grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 18px; padding: 15px 17px; }
  .country-filter-row { flex-wrap: wrap; overflow: visible; }
  .results-summary { margin-bottom: 15px; }
  .lead-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .lead-card { padding: 22px; }
  .bottom-nav {
    right: auto;
    left: 50%;
    bottom: 20px;
    width: 330px;
    min-height: 64px;
    padding-bottom: 0;
    transform: translateX(-50%);
    border: 1px solid var(--rule);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgb(23 36 58 / 14%);
  }
  .detail-topbar { padding-inline: max(28px, calc((100vw - 1180px) / 2 + 24px)); }
  .detail-content { width: min(1180px, 100%); padding: 28px 24px 52px; gap: 18px; }
  .detail-layout, .detail-primary, .detail-secondary { gap: 18px; }
  .hero { padding: 29px 30px; }
  .hero h1 { font-size: clamp(38px, 5vw, 52px); }
  .detail-section { padding: 24px; }
  .detail-section h2 { font-size: 27px; }
}

@media (min-width: 920px) {
  .toolbar { grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); align-items: center; gap: 18px; }
  .filter-row { justify-content: flex-end; }
}

@media (min-width: 1040px) {
  .app-shell { padding-bottom: 52px; }
  .today-header, .main-content { width: min(1320px, calc(100% - 64px)); }
  .today-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    grid-template-rows: auto auto auto;
    column-gap: 48px;
  }
  .header-topline { grid-column: 1 / -1; grid-row: 1; }
  .today-header h1 { grid-column: 1; grid-row: 2; }
  .today-date { grid-column: 1; grid-row: 3; }
  .sync-label {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 28px 0 0;
    text-align: right;
  }
  .user-row {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 7px;
  }
  .main-content { padding-inline: 0; }
  .market-toolbar { grid-template-columns: 210px minmax(0, 1fr); }
  .bottom-nav {
    position: absolute;
    top: 32px;
    bottom: auto;
    width: 292px;
    min-height: 50px;
    border-color: rgb(255 255 255 / 24%);
    background: rgb(255 255 255 / 10%);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(10px);
  }
  .nav-item { min-height: 48px; color: rgb(255 255 255 / 72%); grid-auto-flow: column; place-content: center; gap: 8px; }
  .nav-item:hover, .nav-item.active { color: #fff; }
  .nav-item.active { background: rgb(255 255 255 / 12%); }
  .detail-topbar { padding-inline: max(32px, calc((100vw - 1280px) / 2 + 24px)); }
  .detail-content { width: min(1280px, calc(100% - 64px)); padding-inline: 0; }
  .detail-layout { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); gap: 22px; }
  .detail-primary, .detail-secondary { gap: 18px; }
  .detail-status { padding: 2px 4px 4px; }
  .signal-preview { -webkit-line-clamp: 4; }
}

@media (min-width: 1240px) {
  .lead-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .toolbar { grid-template-columns: minmax(340px, .75fr) minmax(0, 1.25fr); }
}

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

@media print {
  .detail-topbar, .bottom-nav, .toast { display: none !important; }
  .detail-content { width: 100%; }
  .detail-layout { display: block; }
  .detail-section { break-inside: avoid; margin-bottom: 14px; box-shadow: none; }
}
