/* =============================================================================
   ReviewLens — global stylesheet
   Editorial-minimal, warm-stone palette. Same theme as the Dubizzle dashboard.
   ============================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafaf9;
  color: #1c1917;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.font-serif { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; }
.font-mono  { font-family: 'JetBrains Mono', ui-monospace, monospace; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a29e; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -40px; left: 8px; background: #1c1917; color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 8px; }

/* ---- Layout containers --------------------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* =========================================================================
   HEADER
   ========================================================================= */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7e5e4;
}
.header-row {
  padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 6px;
  background: #1c1917; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.kicker {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: #78716c;
}
.brand-title { font-family: 'Fraunces', Georgia, serif; font-size: 18px; line-height: 1.1; color: #1c1917; }

.header-search {
  flex: 1; max-width: 480px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  background: #fff; border: 1px solid #e7e5e4;
  color: #78716c;
}
.header-search:focus-within { border-color: #1c1917; }
.header-search svg { color: #a8a29e; flex-shrink: 0; }
.header-search input {
  flex: 1; border: none; background: transparent; outline: none;
  font: inherit; color: #1c1917; min-width: 0;
}
.header-search input::placeholder { color: #a8a29e; }

.nav-toggle {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid #e7e5e4; background: #fff;
  display: none; align-items: center; justify-content: center;
}
@media (max-width: 767px) {
  .header-search { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Industry top nav */
.topnav { border-top: 1px solid #e7e5e4; }
.topnav-inner {
  display: flex; gap: 4px; overflow-x: auto;
  scrollbar-width: none;
}
.topnav-inner::-webkit-scrollbar { display: none; }
.topnav-link {
  display: inline-flex; align-items: center;
  padding: 12px 14px;
  font-size: 13px; font-weight: 500; color: #78716c;
  white-space: nowrap; flex-shrink: 0;
  transition: color 0.15s;
}
.topnav-link:hover { color: #1c1917; }

@media (max-width: 767px) {
  .topnav { display: none; }
  body.nav-open .topnav { display: block; }
  body.nav-open .topnav-inner { flex-direction: column; padding: 8px 0; }
}

/* =========================================================================
   BREADCRUMBS
   ========================================================================= */
.breadcrumbs { font-size: 13px; color: #78716c; background: #fafaf9; border-bottom: 1px solid #f5f5f4; }
.breadcrumbs ol { padding: 12px 0; display: flex; flex-wrap: wrap; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs a { color: #78716c; }
.breadcrumbs a:hover { color: #1c1917; }
.breadcrumbs span[aria-current] { color: #1c1917; }
.breadcrumbs span[aria-hidden] { margin: 0 8px; color: #d6d3d1; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: 56px 0 32px; border-bottom: 1px solid #f5f5f4; }
.hero-title { font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 0; color: #1c1917; }
@media (min-width: 768px) { .hero-title { font-size: 56px; } }
.hero-lede { margin-top: 16px; max-width: 42rem; font-size: 17px; color: #57534e; line-height: 1.65; }
.hero-search {
  margin-top: 28px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px; border-radius: 12px;
  background: #fff; border: 1px solid #e7e5e4;
  max-width: 600px;
}
.hero-search:focus-within { border-color: #1c1917; }
.hero-search input {
  flex: 1; border: none; background: transparent; outline: none;
  font: inherit; font-size: 16px; color: #1c1917; padding: 8px;
  min-width: 0;
}
.hero-search button {
  background: #1c1917; color: #fff;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 500;
}
.hero-search button:hover { background: #292524; }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 26px; letter-spacing: -0.01em; color: #1c1917; }
@media (min-width: 768px) { .section-head h2 { font-size: 30px; } }
.see-all { font-size: 14px; color: #78716c; }
.see-all:hover { color: #1c1917; }

.page-head { padding: 32px 0 16px; border-bottom: 1px solid #f5f5f4; }
.page-head h1 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; color: #1c1917; }
@media (min-width: 768px) { .page-head h1 { font-size: 44px; } }
.page-lede { margin-top: 12px; color: #57534e; max-width: 48rem; }

.subnav { background: #fafaf9; border-bottom: 1px solid #f5f5f4; }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  padding: 10px 14px; font-size: 13px; font-weight: 500;
  color: #78716c; white-space: nowrap; flex-shrink: 0; border-radius: 999px;
}
.subnav-link.active { background: #1c1917; color: #fff; }
.subnav-link:hover:not(.active) { color: #1c1917; }

/* =========================================================================
   GRIDS — industries, businesses
   ========================================================================= */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px)  { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ind-grid { grid-template-columns: repeat(5, 1fr); } }

.ind-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-radius: 10px;
  background: #fff; border: 1px solid #e7e5e4;
  transition: border-color 0.15s, transform 0.15s;
}
.ind-card:hover { border-color: #1c1917; transform: translateY(-1px); }
.ind-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: #f5f5f4; color: #44403c;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ind-name { font-weight: 500; font-size: 14px; line-height: 1.3; color: #1c1917; }
.ind-meta { font-size: 12px; color: #78716c; margin-top: 2px; }

.biz-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px)  { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .biz-grid { grid-template-columns: repeat(3, 1fr); } }

.biz-card {
  display: flex; flex-direction: column;
  padding: 20px; border-radius: 10px;
  background: #fff; border: 1px solid #e7e5e4;
  transition: border-color 0.15s, transform 0.15s;
  min-height: 200px;
}
.biz-card:hover { border-color: #1c1917; transform: translateY(-1px); }
.biz-card-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.biz-name { font-family: 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1.2; margin: 0 0 8px; color: #1c1917; }
.biz-tagline { font-size: 13px; color: #78716c; margin: 0 0 12px; line-height: 1.5; }
.biz-thesis { font-size: 14px; color: #44403c; margin: 0; line-height: 1.55; flex: 1; }
.biz-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid #f5f5f4;
}
.biz-score { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-variant-numeric: tabular-nums; }
.biz-score.score-good { color: #047857; }
.biz-score.score-warn { color: #d97706; }
.biz-score.score-med  { color: #ea580c; }
.biz-score.score-bad  { color: #be123c; }
.biz-score.score-na   { color: #a8a29e; font-size: 16px; }
.biz-date { font-size: 12px; color: #a8a29e; }

/* =========================================================================
   PILLS / VERDICT
   ========================================================================= */
.pill {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 9999px;
  border: 1px solid; font-size: 11px; font-weight: 500;
  letter-spacing: 0.025em;
}
.pill.good          { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.pill.bad           { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.pill.warn          { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.pill.neutral       { background: #f5f5f4; color: #44403c; border-color: #e7e5e4; }
.pill.verdict-good  { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.pill.verdict-mixed { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.pill.verdict-bad   { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.pill.verdict-na    { background: #f5f5f4; color: #78716c; border-color: #e7e5e4; }

/* =========================================================================
   FILTERS
   ========================================================================= */
.filters {
  margin: 0 0 24px; padding: 12px 16px;
  background: #fff; border: 1px solid #e7e5e4; border-radius: 10px;
}
.filters-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filters label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filter-label { font-size: 11px; color: #78716c; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.filters select, .filter-search, .filters input[type="search"], .filters input[type="text"] {
  padding: 8px 10px; border-radius: 6px;
  background: #fff; border: 1px solid #e7e5e4;
  font: inherit; color: #1c1917; min-height: 38px;
}
.filters select:focus, .filter-search:focus { outline: 2px solid #1c1917; outline-offset: -1px; border-color: #1c1917; }
.filter-search { flex: 1; min-width: 200px; }
.filter-count { margin-left: auto; font-size: 13px; color: #78716c; align-self: center; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-primary {
  background: #1c1917; color: #fff;
  padding: 9px 18px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  display: inline-block; text-decoration: none;
  border: 1px solid #1c1917;
}
.btn-primary:hover { background: #292524; }
.btn-secondary {
  background: #fff; color: #1c1917;
  padding: 9px 18px; border-radius: 8px;
  border: 1px solid #e7e5e4;
  font-weight: 500; font-size: 14px;
  display: inline-block; text-decoration: none;
  margin-left: 8px;
}
.btn-secondary:hover { border-color: #1c1917; }
.btn-danger {
  background: #fff; color: #be123c;
  padding: 9px 18px; border-radius: 8px;
  border: 1px solid #fecdd3;
  font-weight: 500; font-size: 14px;
  display: inline-block; text-decoration: none;
}
.btn-danger:hover { background: #fff1f2; border-color: #f43f5e; }

.empty {
  padding: 48px 24px; text-align: center;
  background: #fff; border: 1px solid #e7e5e4; border-radius: 10px;
  color: #78716c;
}

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; font-size: 14px; }
.pagination a { padding: 8px 14px; border-radius: 6px; background: #fff; border: 1px solid #e7e5e4; color: #1c1917; }
.pagination a:hover { border-color: #1c1917; }
.page-status { color: #78716c; }

/* =========================================================================
   BUSINESS HEAD (review.php)
   ========================================================================= */
.biz-head { padding: 32px 0 24px; border-bottom: 1px solid #f5f5f4; }
.biz-head-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.biz-title { font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; color: #1c1917; }
@media (min-width: 768px) { .biz-title { font-size: 48px; } }
.biz-head-tagline { color: #57534e; font-size: 17px; margin: 0; max-width: 48rem; }
.biz-head-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.biz-head-score { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-variant-numeric: tabular-nums; }
.biz-head-score.score-good { color: #047857; }
.biz-head-score.score-warn { color: #d97706; }
.biz-head-score.score-med  { color: #ea580c; }
.biz-head-score.score-bad  { color: #be123c; }
.biz-website { font-size: 14px; color: #78716c; text-decoration: underline; }
.biz-website:hover { color: #1c1917; }
.biz-updated { font-size: 12px; color: #a8a29e; }

.review-body { padding: 32px 0 64px; }

/* =========================================================================
   REVIEW REPORT (the dashboard inside review.php)
   ========================================================================= */
.report .tabs-wrap {
  border-bottom: 1px solid #e7e5e4;
  margin-bottom: 32px;
  position: sticky; top: 100px; z-index: 30;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 767px) { .report .tabs-wrap { top: 60px; } }
.report .tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.report .tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 12px;
  font-size: 13px; font-weight: 500;
  color: #78716c;
  white-space: nowrap; flex-shrink: 0;
  transition: color 0.2s;
}
.tab-btn:hover { color: #1c1917; }
.tab-btn.active { color: #1c1917; }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: 0; left: 8px; right: 8px;
  height: 2px; background: #1c1917; border-radius: 999px;
}
.tab-btn svg { flex-shrink: 0; }

.tab-panel { animation: fadeIn 0.3s ease-out; }
.tab-panel[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.stack > * + *    { margin-top: 16px; }
.stack-md > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 32px; }
.stack-xl > * + * { margin-top: 40px; }

.card { background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; }
.p-4 { padding: 16px; } .p-5 { padding: 20px; } .p-6 { padding: 24px; } .p-8 { padding: 32px; }

.report .section-title { margin-bottom: 24px; }
.report .section-title h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px; line-height: 1.1; letter-spacing: -0.02em;
  color: #1c1917; margin: 8px 0 0;
}
@media (min-width: 768px) { .report .section-title h2 { font-size: 36px; } }

.headline { font-family: 'Fraunces', Georgia, serif; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; color: #1c1917; margin: 8px 0 0; }
@media (min-width: 768px) { .headline { font-size: 44px; } }
.lede { margin-top: 24px; font-size: 17px; color: #44403c; line-height: 1.65; max-width: 48rem; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px)  { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
.stat-num { font-family: 'Fraunces', Georgia, serif; font-size: 30px; font-variant-numeric: tabular-nums; }
.stat-num.good { color: #047857; }
.stat-num.bad  { color: #be123c; }
.stat-num.neutral { color: #1c1917; }
.stat-label { font-size: 13px; font-weight: 500; color: #1c1917; margin-top: 4px; }
.stat-sub { font-size: 12px; color: #78716c; }

.quote-card { background: #1c1917; color: #f5f5f4; border-color: #1c1917; padding: 24px; }
.quote-card .kicker { color: #a8a29e; }
.quote-card p {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 17px; line-height: 1.65;
  color: #f5f5f4; margin: 12px 0 0;
}

.score-row { display: flex; align-items: center; gap: 12px; }
.score-num { font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-variant-numeric: tabular-nums; min-width: 3ch; }
.score-track { flex: 1; height: 6px; background: #e7e5e4; border-radius: 9999px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 9999px; transition: width 0.7s ease; }
.score-fill.good { background: #10b981; }
.score-fill.warn { background: #f59e0b; }
.score-fill.med  { background: #f97316; }
.score-fill.bad  { background: #f43f5e; }

.sev-dot { width: 6px; height: 6px; border-radius: 9999px; margin-top: 8px; flex-shrink: 0; }
.sev-dot.high { background: #f43f5e; }
.sev-dot.medium { background: #f59e0b; }

.report .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.report .chip {
  padding: 6px 12px; border-radius: 9999px;
  font-size: 13px; font-weight: 500;
  background: #fff; color: #44403c;
  border: 1px solid #e7e5e4;
  transition: border-color 0.2s, background 0.2s;
}
.report .chip:hover { border-color: #a8a29e; }
.report .chip.active { background: #1c1917; color: #fff; border-color: #1c1917; }

/* Rating row visibility for filtering */
.rating-row.is-hidden { display: none; }

.row {
  background: #fff; border: 1px solid #e7e5e4; border-radius: 8px;
  overflow: hidden; transition: border-color 0.2s;
  width: 100%; text-align: left; display: block;
}
.row:hover { border-color: #a8a29e; }
.row.open  { border-color: #d6d3d1; }
.row-inner { padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; }
.row-title-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-title { font-weight: 500; color: #1c1917; line-height: 1.4; }
.row-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.chev { transition: transform 0.2s; color: #a8a29e; }
.row.open .chev, .comp-card.open .chev { transform: rotate(180deg); }
.row-body {
  color: #57534e; font-size: 15px; line-height: 1.65;
  padding-right: 16px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.row.open .row-body { max-height: 800px; opacity: 1; margin-top: 8px; }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-btn {
  padding: 16px; border-radius: 8px;
  background: #fff; color: #44403c; border: 1px solid #e7e5e4;
  text-align: left; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cat-btn:hover { border-color: #a8a29e; }
.cat-btn.active { background: #1c1917; color: #fff; border-color: #1c1917; }
.cat-btn svg { color: #78716c; margin-bottom: 12px; }
.cat-btn.active svg { color: #fff; }
.cat-btn-title { font-size: 14px; font-weight: 500; line-height: 1.3; }
.cat-detail h3 { font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: #1c1917; margin: 12px 0; }
.cat-detail .body { color: #44403c; line-height: 1.65; }
.cat-detail[hidden] { display: none; }
.issues-list { margin-top: 12px; }
.issues-list li { display: flex; gap: 12px; font-size: 15px; color: #44403c; line-height: 1.65; padding: 6px 0; }
.issues-list li svg { color: #a8a29e; margin-top: 6px; flex-shrink: 0; }

.timeline-row { display: flex; gap: 16px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.timeline-dot { width: 10px; height: 10px; border-radius: 9999px; background: #a8a29e; margin-top: 8px; }
.timeline-dot.key { background: #f43f5e; box-shadow: 0 0 0 4px #fee2e2; }
.timeline-line { width: 1px; flex: 1; background: #e7e5e4; margin-top: 4px; }
.timeline-content { padding-bottom: 24px; flex: 1; }
.timeline-year { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #78716c; }
.timeline-label { font-weight: 500; color: #1c1917; }
.timeline-body { font-size: 14px; color: #57534e; line-height: 1.6; margin-top: 4px; }

.comp-card { background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
.comp-card.open { border-color: #a8a29e; }
.comp-header { width: 100%; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background 0.2s; text-align: left; }
.comp-header:hover { background: rgba(245,245,244,0.5); }
.comp-name { font-weight: 500; color: #1c1917; font-size: 18px; }
.comp-relation { font-size: 12px; color: #78716c; margin-top: 2px; }
.comp-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.comp-card.open .comp-body { max-height: 1500px; }
.comp-inner { padding: 20px; border-top: 1px solid #e7e5e4; }
.comp-cols { display: grid; gap: 20px; margin-bottom: 16px; }
@media (min-width: 768px) { .comp-cols { grid-template-columns: repeat(2, 1fr); } }
.comp-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; }
.comp-col-title.dub { color: #047857; }
.comp-col-title.them { color: #44403c; }
.comp-list li { display: flex; gap: 8px; font-size: 14px; color: #44403c; line-height: 1.6; padding: 3px 0; }
.comp-list li svg { margin-top: 5px; flex-shrink: 0; }
.comp-list.dub svg { color: #059669; }
.comp-list.them svg { color: #78716c; }
.comp-note { font-size: 14px; color: #57534e; line-height: 1.65; padding-top: 12px; border-top: 1px solid #f5f5f4; }

.verdict-bottom { background: #1c1917; color: #f5f5f4; border-color: #1c1917; padding: 32px; }
.verdict-bottom .kicker { color: #a8a29e; }
.verdict-bottom p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; line-height: 1.65;
  color: #f5f5f4; margin: 12px 0 0;
}
@media (min-width: 768px) { .verdict-bottom p { font-size: 20px; } }

/* Tinted backgrounds */
.bg-amber-tint   { background: rgba(254, 243, 199, 0.4); border-color: #fde68a; }
.bg-emerald-tint { background: rgba(209, 250, 229, 0.4); border-color: #a7f3d0; }
.bg-rose-tint    { background: rgba(255, 228, 230, 0.3); border-color: #fecdd3; }
.bg-stone-tint   { background: #f5f5f4; }

.num-marker { font-family: 'Fraunces', Georgia, serif; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.num-marker.amber   { color: #b45309; font-size: 18px; }
.num-marker.rose    { color: #be123c; font-size: 14px; margin-top: 2px; }
.num-marker.emerald { color: #047857; width: 24px; }

.num-card { display: flex; gap: 12px; padding: 16px; border-radius: 8px; border: 1px solid; }
.num-card p { margin: 0; font-size: 14px; line-height: 1.65; color: #292524; }

.info-row { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f5f5f4; }
.info-row svg { color: #a8a29e; margin-top: 2px; flex-shrink: 0; }
.info-row p { font-size: 12px; color: #78716c; line-height: 1.6; margin: 0; }

.row-meta { display: flex; gap: 16px; font-size: 12px; color: #78716c; margin-top: 8px; }
.min-200 { min-width: 200px; flex: 1; }
.w-md-64 { flex-shrink: 0; }
@media (min-width: 768px) { .w-md-64 { width: 256px; } }

.perspective-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.perspective-head svg { width: 16px; height: 16px; }
.perspective-head.pos svg { color: #059669; }
.perspective-head.neg svg { color: #e11d48; }
.perspective-head .kicker { color: #44403c; }

.gap-32 { gap: 32px; }
@media (min-width: 768px) { .grid.md-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid.md-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid { display: grid; gap: 12px; }

.text-15 { font-size: 15px; }
.text-14 { font-size: 14px; }
.text-13 { font-size: 13px; }
.text-12 { font-size: 12px; }
.leading-relaxed { line-height: 1.65; }
.text-stone-700 { color: #44403c; }
.text-stone-600 { color: #57534e; }
.text-stone-800 { color: #292524; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.source-label { letter-spacing: 0.05em; color: #78716c; }
.tip-head { color: #065f46; }
.red-flag-head { color: #be123c; display: flex; align-items: center; gap: 8px; }
.tip-item { padding: 6px 0; }

.ipo-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ipo-grid { grid-template-columns: repeat(3, 1fr); } }
.ipo-card { padding: 20px; }
.ipo-metric { font-size: 12px; color: #78716c; }
.ipo-value { font-family: 'Fraunces', Georgia, serif; font-size: 30px; color: #1c1917; font-variant-numeric: tabular-nums; margin-top: 4px; }
.ipo-note { font-size: 12px; color: #78716c; margin-top: 4px; }

.border-t { border-top: 1px solid #e7e5e4; }
.pt-5 { padding-top: 20px; }
.flex { display: flex; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-3 { margin-top: 12px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-foot { border-top: 1px solid #e7e5e4; margin-top: 64px; background: #fff; }
.foot-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  padding: 48px 0 32px;
}
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-about { margin-top: 12px; color: #57534e; font-size: 14px; max-width: 36rem; line-height: 1.65; }
.foot-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.foot-list a { color: #44403c; font-size: 14px; }
.foot-list a:hover { color: #1c1917; }
.foot-bottom {
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #78716c;
  border-top: 1px solid #f5f5f4;
}

/* =========================================================================
   ADMIN
   ========================================================================= */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 767px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-sidebar {
  background: #1c1917; color: #d6d3d1;
  padding: 20px 12px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
@media (max-width: 767px) { .admin-sidebar { position: static; height: auto; } }
.admin-brand { padding: 0 8px 20px; border-bottom: 1px solid #292524; margin-bottom: 16px; }
.admin-brand .brand-title { color: #fff; }
.admin-brand .kicker { color: #78716c; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px;
  font-size: 14px; color: #d6d3d1;
  transition: background 0.15s, color 0.15s;
}
.admin-nav a:hover { background: #292524; color: #fff; }
.admin-nav a.active { background: #44403c; color: #fff; }
.admin-nav a svg { flex-shrink: 0; opacity: 0.7; }
.admin-foot {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid #292524;
  font-size: 12px; color: #78716c;
}
.admin-foot a { color: #a8a29e; }

.admin-main { padding: 32px; max-width: 100%; overflow-x: auto; }
@media (max-width: 767px) { .admin-main { padding: 20px; } }

.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-head h1 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; margin: 0; color: #1c1917; }
.admin-head .meta { font-size: 13px; color: #78716c; }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; font-size: 14px; vertical-align: middle; }
.admin-table thead th { background: #fafaf9; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #78716c; border-bottom: 1px solid #e7e5e4; }
.admin-table tbody tr { border-top: 1px solid #f5f5f4; }
.admin-table tbody tr:hover { background: #fafaf9; }
.admin-table .right { text-align: right; }
.admin-table a { color: #1c1917; font-weight: 500; }

.admin-form { background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; padding: 24px; max-width: 720px; }
.admin-form .field { margin-bottom: 16px; }
.admin-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #1c1917; }
.admin-form .help { font-size: 12px; color: #78716c; margin-top: 4px; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=password], .admin-form input[type=url], .admin-form input[type=number], .admin-form select, .admin-form textarea {
  width: 100%; padding: 9px 11px; border-radius: 6px;
  background: #fff; border: 1px solid #e7e5e4;
  font: inherit; color: #1c1917; min-height: 38px;
}
.admin-form textarea { min-height: 100px; resize: vertical; font-family: inherit; }
.admin-form textarea.json { font-family: 'JetBrains Mono', monospace; font-size: 13px; min-height: 200px; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: 2px solid #1c1917; outline-offset: -1px; border-color: #1c1917; }
.admin-form .actions { display: flex; gap: 8px; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid #f5f5f4; flex-wrap: wrap; }
.admin-form .actions .spacer { flex: 1; }

.flash { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.flash.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash.error   { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.flash.info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.stat-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 32px; }
@media (min-width: 768px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; padding: 20px; }
.stat-card .num { font-family: 'Fraunces', Georgia, serif; font-size: 30px; color: #1c1917; }
.stat-card .lbl { font-size: 12px; color: #78716c; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* Login */
.login-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #fafaf9; padding: 24px;
}
.login-card {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid #e7e5e4; border-radius: 12px;
  padding: 32px;
}
.login-card h1 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; margin: 0 0 8px; color: #1c1917; }
.login-card .lede { color: #57534e; margin-bottom: 24px; font-size: 14px; }

/* Field grid */
.field-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .field-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 9999px;
  font-size: 11px; font-weight: 500;
  background: #f5f5f4; color: #44403c;
}
.badge.draft     { background: #f5f5f4; color: #44403c; }
.badge.published { background: #ecfdf5; color: #065f46; }
.badge.archived  { background: #fff1f2; color: #9f1239; }
