/* AUTO-GENERATED by tools/extract_edgy_pages.py — do not edit by hand. */
/* Combined <style> blocks from edgy_platform_complete.html, namespaced */
/* under body.edgy-page so they don't leak into BI chrome.            */

body.edgy-page {
  --navy: #0E2841;
  --navy-mid: #156082;
  --navy-light: #1a7ab5;
  --gold: #E97132;
  --gold-light: #FFC000;
  --gold-pale: #fff4e0;
  --teal: #156082;
  --teal-light: #0F9ED5;
  --teal-pale: #e3f4fc;
  --cream: #faf8f4;
  --white: #ffffff;
  --text: #0E2841;
  --text-mid: #3a4f66;
  --text-muted: #6b7f96;
  --border: #e2d9cc;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(15,30,53,0.10);
  --shadow-lg: 0 8px 40px rgba(15,30,53,0.16);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --grad-navy: linear-gradient(135deg, var(--navy) 0%, #0a1e36 100%);
  --grad-navy-flat: linear-gradient(90deg, var(--navy), #0a1e36);
  --grad-teal: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  --grad-teal-flat: linear-gradient(90deg, var(--teal), var(--teal-light));
  --brand-zoom: #0B5CFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body.edgy-page { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); font-size: 15px; line-height: 1.65; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; }

/* ── NAV (top-level navbar only; scoped so it doesn't hit tenant sidebar / samples sidebar) ── */
body > nav {
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px; position: sticky; top: 0; z-index: 100;
}
.nav-logo { font-family: 'Sora', sans-serif; color: var(--gold-light); font-size: 22px; letter-spacing: -0.5px; }
.nav-logo span { color: #fff; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 400; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a .ext-mark { font-size: 0.85em; margin-left: 4px; opacity: 0.55; transition: opacity .2s; display: inline-block; }
.nav-links a:hover .ext-mark { opacity: 1; }
.nav-ctas { display: flex; gap: 12px; align-items: center; }
.btn-ghost { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 7px 18px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-gold { background: var(--gold); border: none; color: var(--navy); padding: 8px 20px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.btn-gold:hover { background: var(--gold-light); }

/* ── PAGES ── */
/* The original Edgy SPA used `.page { display: none }` + `.page.active { display: block }`
   to show only the currently-routed page. These pages are now standalone static HTML
   (extracted via tools/extract_edgy_pages.py); no router exists to add `.active`, so
   the display-toggle rules were removed — leaving them in place hid every sample-page
   and product-page body site-wide (root cause of AUDIT-04 PARTIAL). The `.page` class
   is now a plain block-level wrapper; no CSS needed. */

/* ══ LANDING ══ */
#page-landing .hero-inner { min-height: calc(100vh - 64px); }
.hero {
  background: url('REFERENCE/hero-bg.jpeg') center/cover no-repeat;
  padding: 0; position: relative; overflow: hidden;
}
.hero-inner {
  display: flex; min-height: 540px;
  position: relative;
}
.hero-left {
  flex: 1 1 100%; padding: 60px 48px 40px;
  position: relative;
}
.hero-left::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,4,2,0.50) 0%, rgba(8,4,2,0.22) 50%, transparent 78%);
}
.hero-left > * { position: relative; z-index: 1; }
.hero-right {
  position: absolute; top: 16px; right: 16px;
  display: flex; flex-direction: column;
  align-items: flex-end; z-index: 10;
  background: none;
}
.hero-sidebar-img { width: 80px; max-width: 80px; height: auto; border-radius: 4px; box-shadow: 0 3px 10px rgba(0,0,0,0.6); }
.hero-badge {
  display: inline-block; background: rgba(255,192,0,0.18); border: 1px solid rgba(255,192,0,0.45);
  color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 { font-size: 48px; color: #fff; line-height: 1.12; max-width: 520px; margin-bottom: 16px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-left p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 480px; margin-bottom: 28px; font-weight: 300; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-products { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; font-size: 15pt; }
.hero-product-card {
  background: rgba(22,24,28,0.62);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px; padding: 16px 14px; cursor: pointer;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.28);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  min-height: 180px;
}
.hero-product-card:hover {
  background: rgba(22,24,28,0.78);
  border-color: rgba(255,192,0,0.55);
  box-shadow: 0 8px 32px rgba(0,0,0,0.42);
  transform: translateY(-2px);
}
.hero-product-name { font-size: 1em; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.hero-product-desc { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.92); line-height: 1.55; margin-bottom: 8px; }
.hero-product-link { font-size: 1em; color: var(--gold-light); font-weight: 600; }
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; }
  .hero-right { display: none; }
  .hero-products { grid-template-columns: repeat(2,1fr); }
}
.btn-primary { background: var(--gold); color: var(--navy); border: none; padding: 14px 32px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-white { background: none; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 13px 28px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; cursor: pointer; transition: border-color .2s; }
.btn-outline-white:hover { border-color: #fff; }

.trust-bar {
  background: var(--navy-mid); padding: 18px 40px; display: flex; gap: 40px;
  justify-content: center; align-items: center; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-item { color: rgba(255,255,255,0.55); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.trust-icon { width: 20px; height: 20px; background: rgba(200,153,58,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 11px; }

.section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: 36px; color: var(--navy); margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 580px; }
.section-title--sm { font-size: 28px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 48px; }
.step-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; position: relative; transition: box-shadow .2s, transform .2s;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num { font-family: 'Sora', sans-serif; font-size: 36px; color: var(--gold); opacity: 0.5; line-height: 1; margin-bottom: 12px; }
.step-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
/* ── Tiered product groups ── */
.product-group { margin-bottom: 48px; }
.product-group-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.product-group-icon { font-size: 28px; line-height: 1; }
.product-group-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.product-group-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.products-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.products-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .products-2, .products-3 { grid-template-columns: 1fr; } }
.tier-badge { display: inline-block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.tier-1 { background: #e8f5e9; color: #2e7d32; }
.tier-2 { background: #e3f2fd; color: #1565c0; }
.tier-3 { background: #f3e5f5; color: #6a1b9a; }
.tier-sa-1 { background: rgba(200,153,58,0.12); color: var(--gold); }
.tier-sa-2 { background: rgba(200,153,58,0.28); color: #8a6010; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .2s, transform .2s; cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-header { padding: 28px 28px 20px; }
.product-tag { display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.tag-strategic { background: rgba(200,153,58,0.12); color: var(--gold); }
.tag-pulse { background: var(--teal-pale); color: var(--teal); }
.tag-full { background: #ede9f5; color: #6146a8; }
.product-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.product-footer { padding: 16px 28px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 14px; font-weight: 500; color: var(--text-mid); }
.btn-sm { background: var(--navy); color: #fff; border: none; padding: 8px 20px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .2s; }
.btn-sm:hover { background: var(--navy-light); }

/* Book section */
.book-section { background: var(--navy); padding: 80px 40px; }
.book-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.book-cover {
  background: linear-gradient(145deg, var(--navy-light), #0a1a2e);
  border: 1px solid rgba(200,153,58,0.3); border-radius: 8px; aspect-ratio: 3/4;
  max-width: 260px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 32px; text-align: center;
  box-shadow: 12px 16px 40px rgba(0,0,0,0.4);
}
.book-cover-title { font-family: 'Sora', sans-serif; font-size: 22px; color: #fff; margin-bottom: 12px; }
.book-cover-sub { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.book-cover-author { font-size: 13px; color: var(--gold-light); }
.book-accent { width: 40px; height: 3px; background: var(--gold); margin: 16px auto; }
.book-text h2 { font-size: 36px; color: #fff; margin-bottom: 18px; }
.book-text p { color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 20px; line-height: 1.75; }

/* ══ SIGNUP ══ */
.form-page { min-height: 100vh; background: var(--cream); padding: 60px 20px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; max-width: 540px; margin: 0 auto; box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; color: var(--navy); margin-bottom: 6px; }
.form-card .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.form-step-bar { display: flex; gap: 6px; margin-bottom: 32px; }
.step-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .3s; }
.step-dot.done { background: var(--teal); }
.step-dot.active { background: var(--gold); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-mid); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21,96,130,0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.btn-full { width: 100%; padding: 13px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; border: none; margin-top: 8px; transition: background .2s; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }

/* ══ PAYMENT ══ */
.payment-summary { background: var(--gold-pale); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.payment-summary h4 { font-family: 'Sora', sans-serif; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.payment-summary .amount { font-size: 28px; font-weight: 600; color: var(--navy); }
.payment-summary .amount span { font-size: 14px; color: var(--text-muted); }
.card-icons { display: flex; gap: 8px; margin-bottom: 20px; }
.card-icon { background: var(--cream); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 500; color: var(--text-mid); }

/* ══ TENANT DASHBOARD ══ */
.tenant-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.sidebar { background: var(--navy); padding: 28px 0; }
.sidebar-section { margin-bottom: 28px; }
.sidebar-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); padding: 0 20px; margin-bottom: 8px; }
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; color: rgba(255,255,255,0.6); font-size: 14px; cursor: pointer; transition: background .15s, color .15s;
}
.sidebar-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sidebar-item.active { background: rgba(233,113,50,0.18); color: var(--gold-light); font-weight: 600; }
.sidebar-icon { width: 18px; height: 18px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.main-content { background: #f3f1ed; padding: 36px 40px; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.dash-header h2 { font-size: 28px; color: var(--navy); }
.dash-header p { color: var(--text-muted); font-size: 14px; }
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.metric-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.metric-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.metric-value { font-size: 26px; font-weight: 600; color: var(--navy); }
.metric-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.panel h3 { font-family: 'Sora', sans-serif; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.panel .panel-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.report-available { display: flex; align-items: center; gap: 16px; background: rgba(27,124,124,0.07); border: 1px solid rgba(27,124,124,0.2); border-radius: 8px; padding: 16px 20px; margin-bottom: 16px; }
.report-icon { width: 40px; height: 40px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.report-info h4 { font-size: 14px; font-weight: 500; color: var(--navy); }
.report-info p { font-size: 12px; color: var(--text-muted); }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-teal { background: var(--teal); color: #fff; border: none; padding: 9px 20px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }
.btn-outline { background: none; border: 1px solid var(--border); color: var(--text-mid); padding: 9px 20px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; transition: border-color .2s; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.zoom-banner { background: var(--grad-navy-flat); border-radius: 10px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.zoom-icon { width: 36px; height: 36px; background: var(--brand-zoom); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; font-weight: 700; }
.zoom-text h4 { font-size: 14px; color: #fff; }
.zoom-text p { font-size: 12px; color: rgba(255,255,255,0.55); }
.btn-zoom { background: var(--brand-zoom); color: #fff; border: none; padding: 8px 18px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; margin-left: auto; white-space: nowrap; }

/* Survey panel */
.survey-status { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.status-pill { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.status-ready { background: #e8f5e9; color: #2e7d32; }
.status-live { background: #fff3e0; color: #e65100; }
.status-off { background: #fce4ec; color: #c62828; }
.status-done { background: var(--teal-pale); color: var(--teal); }
.survey-progress { background: var(--border); border-radius: 4px; height: 6px; margin-bottom: 20px; overflow: hidden; }
.survey-bar { height: 100%; width: 100%; background: var(--teal); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out-expo); }
.participants-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.participants-table th { text-align: left; padding: 8px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.participants-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.participants-table tr:last-child td { border-bottom: none; }

/* Analytics panel */
.analytics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.analytic-card { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.analytic-card .a-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.score-bar-wrap { background: var(--border); border-radius: 4px; height: 8px; overflow: hidden; margin-bottom: 6px; }
.score-bar { height: 100%; border-radius: 4px; }
.bar-blue { background: #3b82f6; }
.bar-teal { background: var(--teal); }
.bar-gold { background: var(--gold); }
.bar-coral { background: #e8593c; }
.analytic-score { font-size: 18px; font-weight: 600; color: var(--navy); }
.analytic-delta { font-size: 12px; margin-left: 8px; }
.delta-up { color: #2e7d32; }
.delta-down { color: #c62828; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .book-inner { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .tenant-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .sidebar {
    position: fixed; top: 64px; left: 0; bottom: 0;
    width: 240px; z-index: 105; overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s var(--ease-out-expo);
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .sidebar-toggle {
    display: inline-flex !important;
    position: fixed; top: 76px; left: 12px; z-index: 110;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    background: var(--navy); color: var(--gold-light);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
    font-size: 20px; cursor: pointer;
  }
  .sidebar-toggle.is-open { left: 252px; }
  .sidebar-backdrop {
    position: fixed; inset: 64px 0 0 0;
    background: rgba(14,40,65,0.5); z-index: 100;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
  }
  .sidebar-backdrop.open { opacity: 1; pointer-events: auto; }
  .main-content { padding: 64px 20px 36px; }
}
.sidebar-toggle { display: none; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger { background: none; border: none; padding: 0; font-family: inherit; color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 400; text-decoration: none; cursor: pointer; transition: color .2s; }
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--gold-light); }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: var(--navy); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 8px 0; min-width: 230px; box-shadow: 0 8px 32px rgba(0,0,0,0.35); z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; color: rgba(255,255,255,0.75); font-size: 13px; text-decoration: none; transition: color .15s, background .15s; }
.nav-dropdown-menu a:hover { color: var(--gold-light); background: rgba(255,255,255,0.05); }

/* ── PRODUCT DETAIL PAGES ── */
.product-page-header {
  background: url('../reference/hero-bg.jpeg') center 30%/cover no-repeat;
  padding: 72px 40px 56px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 7fr 3fr; align-items: center; gap: 40px;
  min-height: 360px;
}
.product-page-header::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,24,42,0.62);
  z-index: 0; pointer-events: none;
}
.product-page-header > * { position: relative; z-index: 1; }
.product-page-header-content { text-align: left; min-width: 0; }
.product-page-header h1 { font-size: 52px; color: #fff; margin-bottom: 12px; letter-spacing: -1px; }
.product-page-header p { color: rgba(255,255,255,0.72); font-size: 18px; margin: 0 0 32px 0; font-weight: 300; line-height: 1.6; }
.product-sample-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; }
.product-back { display: inline-block; font-size: 13px; color: rgba(255,255,255,0.85); text-decoration: none; border: 1.5px solid rgba(255,255,255,0.42); padding: 9px 22px; border-radius: 6px; transition: color .2s, border-color .2s; }
.product-back:hover { color: var(--gold-light); border-color: rgba(255,192,0,0.65); }
.product-sample-thumb { max-height: 260px; max-width: 100%; width: auto; height: auto; border-radius: 4px; border: 1.5px solid rgba(255,255,255,0.3); object-fit: cover; object-position: top; transition: border-color .2s, transform .2s; }
.product-sample-thumb:hover { border-color: rgba(255,192,0,0.55); transform: scale(1.02); }
/* Anchor wrapping the sample thumbnail: display:contents keeps the <img> as the
   flex item so its height:80% sizing stays relative to the header, not the link. */
.product-sample-thumb-link { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.product-facts { background: var(--white); border-bottom: 1px solid var(--border); }
.product-facts-inner { display: grid; padding: 32px 40px; max-width: 1100px; margin: 0 auto; }
.pf-4 { grid-template-columns: repeat(4,1fr); }
.pf-3 { grid-template-columns: repeat(3,1fr); }
.product-fact { text-align: center; padding: 14px 16px; border-right: 1px solid var(--border); }
.product-fact:last-child { border-right: none; }
.pf-label { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.pf-value { font-size: 14px; color: var(--text); line-height: 1.5; }
.pf-big { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 3px; }
.product-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.deliverable-list { list-style: none; padding: 0; margin: 0 0 20px; }
.deliverable-item { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.deliverable-item:last-child { border-bottom: none; }
.d-arrow { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.d-text { font-size: 14px; color: var(--text-mid); line-height: 1.5; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--teal-pale); color: var(--navy-mid); font-size: 12px; padding: 4px 12px; border-radius: 20px; font-weight: 500; }
.outputs-table { width: 100%; border-collapse: collapse; }
.outputs-table th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; background: var(--navy); color: #fff; }
.outputs-table th:first-child { border-radius: 6px 0 0 0; width: 38%; }
.outputs-table th:last-child { border-radius: 0 6px 0 0; }
.outputs-table td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: top; }
.outputs-table tr:last-child td { border-bottom: none; }
.outputs-table tr:nth-child(even) td { background: var(--cream); }
.out-name { font-weight: 600; color: var(--navy); }
.out-desc { color: var(--text-mid); }
.pairing-note { margin-top: 18px; padding: 14px 16px; background: var(--gold-pale); border-radius: 8px; border: 1px solid rgba(233,113,50,0.22); }
.pn-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.pn-text { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.pricing-grid { display: grid; gap: 18px; margin-top: 28px; }
.pg-2 { grid-template-columns: repeat(2,1fr); }
.pg-3 { grid-template-columns: repeat(3,1fr); }
.pricing-card { border: 1px solid #F4B06A; border-radius: 12px; padding: 24px; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pricing-card.featured { border: 2px solid #EF9A3D; }
.pricing-card:hover { border-color: #E87D17; box-shadow: 0 8px 24px rgba(232,125,23,.18); transform: translateY(-2px); }
.pricing-badge { position: absolute; top: -11px; left: 20px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 10px; letter-spacing: 1px; text-transform: uppercase; }
.pc-label { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.pc-amount { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pc-desc { font-size: 14px; color: var(--text-mid); margin-bottom: 20px; line-height: 1.5; }
.zoom-addon { margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; background: #fffdf5; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.za-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.za-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.za-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.za-price { font-size: 22px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.page-cta { background: var(--navy); text-align: center; padding: 60px 20px; }
.page-cta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.page-cta p { color: rgba(255,255,255,0.55); margin-bottom: 28px; font-size: 16px; }
.step-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.step-table th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; background: var(--navy); color: #fff; }
.step-table th:first-child { border-radius: 6px 0 0 0; width: 42%; }
.step-table th:last-child { border-radius: 0 6px 0 0; }
.step-table td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: top; }
.step-table tr:last-child td { border-bottom: none; }
.step-table tr:nth-child(even) td { background: var(--cream); }
.st-name { font-weight: 600; color: var(--navy); }
.st-reveal { color: var(--text-mid); }
@media (max-width: 900px) {
  .product-page-header { grid-template-columns: 1fr; gap: 28px; }
  .product-sample-thumb { max-height: 220px; }
  .product-two-col { grid-template-columns: 1fr; }
  .pf-4, .pf-3 { grid-template-columns: repeat(2,1fr); }
  .pg-2, .pg-3 { grid-template-columns: 1fr; }
}

/* ── Callouts (replaces side-stripe pattern) ── */
.callout { margin: 14px 0; padding: 18px 22px; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 1px 4px rgba(15,30,53,0.06); }
.callout-amber { background: var(--gold-pale); border-color: rgba(233,113,50,0.25); }
.callout-teal  { background: var(--teal-pale); border-color: rgba(21,96,130,0.18); }
.callout-navy  { background: rgba(14,40,65,0.04); border-color: rgba(14,40,65,0.15); }
.callout-label { font-size: 11px; font-weight: 700; letter-spacing: 0.125em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.callout-body  { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ── Dashboard banner (replaces 6+ inline gradients) ── */
.dash-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; padding: 14px 20px; background: var(--grad-navy-flat); color: #fff; border-radius: 10px; }
.dash-banner--teal { background: var(--grad-teal-flat); }
.dash-banner--navy { background: var(--grad-navy-flat); }
.dash-banner .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 2px; }

/* ── Sidebar bottom glossary (in tenant sidebar) ── */
.sidebar-glossary { display: flex; align-items: center; gap: 8px; text-decoration: none; color: rgba(255,255,255,0.7); font-size: 13px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 10px; transition: color .2s; }
.sidebar-glossary:hover { color: var(--gold-light); }

/* ── Hero product cards: keyboard + focus ── */
.hero-product-card { font-family: inherit; text-align: left; }
.hero-product-card:focus-visible, .sidebar-item:focus-visible, .nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--gold-light); outline-offset: 2px;
}

/* ── Touch targets on coarse pointers ── */
@media (pointer: coarse) {
  .btn-teal, .btn-outline, .btn-ghost, .btn-zoom { min-height: 44px; padding-top: 12px; padding-bottom: 12px; }
  .sidebar-item { padding-top: 12px; padding-bottom: 12px; }
  .nav-links a, .nav-dropdown-trigger { padding: 10px 4px; }
}


/* ── Auth-aware top nav CTAs ── */
.nav-cta-public, .nav-cta-auth { display: flex; gap: 12px; align-items: center; }
.nav-cta-auth[hidden], .nav-cta-public[hidden] { display: none; }
.btn-gold-outline {
  background: transparent; border: 1px solid var(--gold); color: var(--gold-light);
  padding: 7px 18px; border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.nav-user-name { color: rgba(255,255,255,0.85); font-size: 13px; padding: 0 6px; }

/* ── Samples layout (sample report pages with persistent left nav) ── */
.samples-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.samples-sidebar {
  background: var(--navy); padding: 28px 0;
  display: flex; flex-direction: column;
}
.samples-sidebar-header { padding: 0 20px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 16px; }
.samples-sidebar-header .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.125em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 6px;
}
.samples-sidebar-header .sub { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.samples-nav { display: flex; flex-direction: column; padding: 0 0 16px; flex: 1; }
.samples-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: none; border: none; text-align: left;
  font-family: inherit; font-size: 14px;
  color: rgba(255,255,255,0.6); cursor: pointer;
  transition: background .15s, color .15s;
}
.samples-nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.samples-nav-item.active { background: rgba(233,113,50,0.18); color: var(--gold-light); font-weight: 600; }
.samples-nav-item:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.samples-nav-item .sidebar-icon { width: 18px; text-align: center; font-size: 14px; }
.samples-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.samples-return {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7); font-size: 13px; text-decoration: none;
  transition: color .2s;
}
.samples-return:hover { color: var(--gold-light); }
.samples-main { background: var(--cream); min-width: 0; }
.samples-toggle {
  display: none;
  position: fixed; top: 76px; left: 12px; z-index: 110;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold-light);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
  font-size: 20px; cursor: pointer;
}
@media (max-width: 768px) {
  .samples-layout { grid-template-columns: 1fr; }
  .samples-sidebar {
    position: fixed; top: 64px; left: 0; bottom: 0;
    width: 240px; z-index: 105; overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s var(--ease-out-expo);
  }
  .samples-sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .samples-toggle { display: inline-flex; }
  .samples-toggle.is-open { left: 252px; }
  .samples-main { padding-top: 12px; }
}


/* ── Admin panel mount points (replaces iframes) ── */
.panel-mount { background: #f5f5f5; min-height: calc(100vh - 64px - 60px); }
.panel-mount-loading { display: flex; align-items: center; justify-content: center; padding: 60px 24px; color: var(--text-muted); font-size: 14px; gap: 10px; }
.panel-mount-loading::before {
  content: ''; width: 14px; height: 14px;
  border: 2px solid var(--border); border-top-color: var(--teal);
  border-radius: 50%; animation: panel-spin 1s linear infinite;
}
@keyframes panel-spin { to { transform: rotate(360deg); } }

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



/* ── style block ── */


.sample-report-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.sample-report-label {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 16px;
  text-align: center;
}
/* Pulse + Comprehensive sample wraps: drop the orange-stripe background
   while keeping the gold dashed frame and padding. */
#pulse-sample-report-wrap,
#comp-sample-report-wrap {
  background: #ffffff;
}
/* Center the docx-styled iframe ONLY on the public sample pages.
   The same .sample-report-wrap is also used inside the tenant report
   tabs (tab-scan / tab-analysis / tab-pulse-report / tab-comp-report);
   those parents are not matched here, so previews there stay full-width. */
#page-samplescan .sample-report-wrap iframe,
#page-sampleanalysis .sample-report-wrap iframe,
#page-samplepulse .sample-report-wrap iframe,
#page-samplecomp .sample-report-wrap iframe {
  display: block;
  max-width: 1024px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 6px 24px rgba(14, 40, 65, 0.14);
  border-radius: 8px;
}
.sample-report-doc { font-family: Georgia, serif; color: var(--text); line-height: 1.75; max-width: 100%; background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 32px 40px; }
.sr-h1 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; border-bottom: 2px solid var(--teal); padding-bottom: 6px; }
.sr-h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 20px 0 8px; }
.sr-h3 { font-size: 14px; font-weight: 700; color: var(--teal); margin: 14px 0 5px; text-transform: uppercase; letter-spacing: .04em; }
.sr-body { font-size: 13.5px; color: var(--text-mid); margin: 0 0 10px; text-align: justify; }
.sr-bold-label { font-size: 14px; font-weight: 700; color: var(--navy); margin: 16px 0 4px; }
.sr-footer { font-size: 11px; color: var(--text-muted); margin: 24px 0 4px; font-style: italic; border-top: 1px solid var(--border); padding-top: 10px; }
.sr-spacer { height: 4px; }

/* ── SAMPLE REPORT PILL NAV ──
   Cross-links the four standalone sample pages (exoscan / exoanalysis /
   orgscan / organalysis) and provides a "back to all samples" link.
   Pills are real <a> links (each sample is its own page/URL); the current
   page's pill carries .active + aria-current="page". */
.sample-pillbar {
  max-width: 900px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 14px 20px;
  flex-wrap: wrap;
}
.sample-pillbar-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  text-decoration: none; white-space: nowrap;
  transition: color .15s;
}
.sample-pillbar-back:hover { color: var(--teal); }
.sample-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sample-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); color: var(--text-mid);
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.sample-pill:hover { border-color: var(--teal); color: var(--teal); }
.sample-pill:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.sample-pill.active {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 4px 14px rgba(15,30,53,0.16);
  cursor: default;
}
.sample-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; opacity: .55; }
.sample-pill.active .dot { opacity: 1; }
.sample-pill .tier { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; opacity: .5; }
.sample-pill.active .tier { opacity: .8; }
@media (max-width: 600px) {
  .sample-pillbar { margin-top: 18px; padding: 0 16px; gap: 12px; }
}

/* ── SAMPLE-PAGE HERO ──
   The four sample pages reuse .product-page-header but have no second-column
   thumbnail, so the auto-placed <h1> was squeezed into the narrow 3fr grid
   column and wrapped to a different number of lines per title length
   ("…ExoScan" → fewer lines than "…ExoAnalysis"), leaving the heroes at
   different heights (412px vs 498px). Stacking the content full-width gives
   every sample hero a one-line title and therefore an identical height.
   Scoped to the --sample modifier so products/ heroes (which keep the
   thumbnail column) are unaffected. */
.product-page-header.product-page-header--sample {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Compact, uniform sample hero — 230px, i.e. half the previous 460px band.
     The base rule's gap:40 (for the grid) and large child margins were the
     real height bloat once this became a flex column, so we zero the gap and
     trim margins below; the content then sits under the 230px floor and all
     four pages render exactly 230px. The 52px title is preserved. */
  gap: 0;
  min-height: 230px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.product-page-header--sample > * { max-width: 880px; }
.product-page-header--sample .hero-badge { margin-bottom: 12px; }
.product-page-header--sample h1 { margin-bottom: 8px; }
.product-page-header--sample p { margin-bottom: 0; }

