/* GIO-26 V2.4 Golden Reference Mold Clone — S-05 AuditStamp (Emerald #047857 Theme) */
:root { --s05-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
html, body, h1, h2, h3, p, article, section {
  font-family: var(--s05-sans) !important; word-break: keep-all; overflow-wrap: break-word;
}
.topbar, .topbar *, .hero, .hero *, .version-pill, .pass-pill, .btn-ghost, .locale-btn,
.release-pill, .persona-pill, .btn-tool, .mode-tab, .sample-scenario-card, .btn-chip,
.bucket-badge, .audit-seal-badge, .dock-pass-badge, .dock-card-badge, .cat-tab,
.rule-catalog-card, .rule-catalog-id, .catalog-toggle-btn, button, input, select {
  font-family: var(--s05-sans) !important;
}

/* Section 1: 1:1 E-01 Top Navbar, Balanced Hero & 3-Card Trust Ribbon */
.topbar-inner { max-width: 1320px; padding: 10px 16px; flex-wrap: nowrap; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand-svg-mark { width: 28px; height: 28px; flex: 0 0 28px; color: #047857; }
.brand-title { font-weight: 800; letter-spacing: 0.04em; font-size: 0.92rem; }
.topbar .version-pill, .pass-pill {
  background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0;
  padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 0.78rem; white-space: nowrap;
}
.pass-pill { padding: 6px 12px; cursor: pointer; font-family: inherit; transition: filter 0.15s ease; }
.pass-pill:hover { filter: brightness(0.95); }
.pass-pill.pass-pill-active { background: #D1FAE5; color: #065F46; border-color: #34D399; }
.btn-ghost, .locale-btn {
  min-height: 38px; padding: 6px 12px; border-radius: 9px; font-weight: 600; white-space: nowrap;
  cursor: pointer; border: 1px solid var(--ui-border); font-size: 0.82rem;
  background: var(--ui-bg-surface); color: var(--ui-ink-primary); display: inline-flex; align-items: center; gap: 6px;
}
.container { max-width: 1320px; margin: 0 auto; padding: 20px 16px 32px; }
.hero { width: 100%; max-width: 100%; padding: 10px 0 12px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .release-pill {
  display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere;
  background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0;
  border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0;
}
.hero h1 { font-size: clamp(1.5rem, 2.55vw, 2.15rem); line-height: 1.24; margin: 12px 0 8px; max-width: 30ch; letter-spacing: -0.02em; text-wrap: balance; }
.hero > p { color: var(--ui-ink-subtle); max-width: 78ch; margin: 0 auto; font-size: 0.96rem; }
.persona-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 4px; }
.persona-pill {
  padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  background: var(--ui-bg-surface); border: 1px solid #A7F3D0; color: var(--ui-ink-primary);
}
.trust-ribbon-3col {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  width: 100%; max-width: 100%; margin: 14px 0 14px; box-sizing: border-box; text-align: left;
}
.trust-ribbon-3col > .trust-card {
  background: linear-gradient(180deg, #ECFDF5 0%, #F8FAFC 100%);
  border: 1px solid #A7F3D0; border-top: 3px solid #047857;
  border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px;
}
.trust-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.trust-icon-circle {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; background: #D1FAE5; color: #047857; flex: 0 0 36px;
}
.trust-solid-pill { background: #047857; color: #FFFFFF; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.trust-card-title { margin: 0; font-size: 0.96rem; font-weight: 800; color: #0F172A; line-height: 1.3; }
.trust-card-body { margin: 0; font-size: 0.84rem; color: #334155; line-height: 1.45; }

/* Section 2: 1-Line Inline Header 3-Step Safety Guide (0px Edge Alignment, 14px Gap) */
.onboarding-bar { width: 100%; max-width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: transparent; border-radius: 0; box-sizing: border-box; }
.safety-guide-box {
  width: 100%; max-width: 100%; margin: 0; box-sizing: border-box;
  background: var(--ui-bg-surface); border: 1px solid var(--ui-border);
  border-left: 4px solid #047857; border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(4, 120, 87, 0.05);
}
.safety-guide-summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 800; font-size: 0.92rem; color: var(--ui-ink-primary);
}
.safety-guide-summary::-webkit-details-marker { display: none; }
.guide-head-left { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.guide-essential-badge { background: #047857; color: #FFFFFF; padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; }
.guide-toggle-pill { padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.safety-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.guide-step { background: var(--ui-bg-canvas); border: 1px solid var(--ui-border); border-radius: 10px; padding: 12px; font-size: 0.84rem; }
.guide-step-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.guide-step-head strong { font-size: 0.86rem; font-weight: 800; color: var(--ui-ink-primary); line-height: 1.3; }
.step-num-pill { display: inline-flex; align-items: center; flex: 0 0 auto; background: #047857; color: #FFFFFF; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
.guide-step p { margin: 4px 0 0; font-size: 0.82rem; color: var(--ui-ink-subtle); line-height: 1.45; }

/* Section 3: Calibrated 1x3 Sample Grid, 2-Segment Mode Bar & Numbered STEP Cards */
.legacy-studio-head, .legacy-sample-stack, .legacy-view-tabs, #free-scan-counter-pill, #view-idle, .hero-metrics, .cert-header, #proof-stamp-box, #findings-list, #paywall-box { display: none !important; }
.sample-hero-bar { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.sample-hero-title { font-size: 0.8rem; font-weight: 800; color: #1E293B; }
.sample-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sample-scenario-card {
  background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 10px; padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 5px;
  cursor: pointer; text-align: left; color: #0F172A; transition: all 120ms ease;
}
.sample-scenario-card[data-sample="1"] { border-top: 3px solid #BE123C; }
.sample-scenario-card[data-sample="2"] { border-top: 3px solid #B45309; }
.sample-scenario-card[data-sample="3"] { border-top: 3px solid #047857; }
.sample-scenario-card:hover { border-color: #047857; }
.sample-scenario-card.active { border-color: #047857; box-shadow: 0 0 0 2px rgba(4, 120, 87, 0.2); background: #ECFDF5; }
.scenario-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 0.74rem; font-weight: 800; }
.scenario-sub { font-size: 0.72rem; color: #475569; line-height: 1.3; }
.btn-chip { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.btn-chip.chip-fail { background: #FFF1F2; color: #BE123C; }
.btn-chip.chip-warn { background: #FFFBEB; color: #B45309; }
.btn-chip.chip-pass { background: #ECFDF5; color: #047857; }

.s05-mode-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 12px; }
.s05-mode-tab {
  min-height: 40px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--ui-border);
  background: var(--ui-bg-canvas); color: var(--ui-ink-subtle); font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.s05-mode-tab.active { background: #047857; color: #FFFFFF; border-color: #047857; }
.studio-card { background: var(--ui-bg-canvas); border: 1px solid var(--ui-border); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.card-kicker { margin: 0 0 10px; font-size: 0.8rem; letter-spacing: 0.02em; color: #047857; font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.amity-file-row { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.amity-file-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 14px;
  border-radius: 9px; border: 1.5px solid #047857; background: var(--ui-bg-surface);
  color: #047857; font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.amity-file-btn:hover { background: #ECFDF5; }
.amity-check-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border: 1px solid var(--ui-border); border-radius: 10px; background: var(--ui-bg-surface); cursor: pointer;
}
.amity-check-row:has(input:checked) { border-color: #047857; background: #ECFDF5; }
.amity-checkbox {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px;
  border: 2px solid #94A3B8; border-radius: 5px; background: var(--ui-bg-surface); cursor: pointer;
  display: inline-grid; place-content: center; padding: 0; transition: all 120ms ease;
}
.amity-checkbox::before { content: ""; width: 10px; height: 10px; transform: scale(0); transition: transform 120ms ease; background: #FFFFFF; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.amity-checkbox:checked { background: #047857; border-color: #047857; }
.amity-checkbox:checked::before { transform: scale(1); }

/* Section 4: Always-Visible Right 7-Col Dossier & Left-Aligned 2-Row Toolbar */
#view-teaser { display: flex !important; flex-direction: column; gap: 12px; }
.dossier-toolbar-row1, .dossier-toolbar-row2 { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; align-items: center; }
.dossier-toolbar-row1 { margin-bottom: 8px; }
.dossier-toolbar-row2 { justify-content: flex-start; padding-bottom: 10px; border-bottom: 1px solid var(--ui-border); margin-bottom: 12px; }
.btn-tool {
  min-height: 36px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--ui-border);
  background: var(--ui-bg-canvas); color: var(--ui-ink-primary); font-size: 0.78rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-tool:hover { border-color: #047857; color: #047857; }
.score-banner { display: flex; align-items: center; gap: 16px; background: var(--ui-bg-canvas); border: 1px solid var(--ui-border); border-radius: 14px; padding: 14px; }
.score-ring {
  width: 76px; height: 76px; min-width: 76px; min-height: 76px; flex: 0 0 76px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; padding: 6px;
  border: 4.5px solid #CBD5E1; background: #F8FAFC; color: #64748B; transition: all 200ms ease;
}
.score-ring.score-danger { border-color: #BE123C; background: #FFF1F2; color: #BE123C; }
.score-ring.score-warn { border-color: #B45309; background: #FFFBEB; color: #B45309; }
.score-ring.score-pass { border-color: #047857; background: #ECFDF5; color: #047857; }
.score-num { font-size: 1.3rem; font-weight: 800; line-height: 1.05; }
.score-denom { font-size: 0.72rem; font-weight: 600; opacity: 0.78; line-height: 1.05; }
.score-meta { flex: 1; min-width: 0; }
.verdict-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.verdict-title-banner { font-size: 0.96rem; font-weight: 800; }
.verdict-danger { color: #BE123C; }
.verdict-warn { color: #B45309; }
.verdict-pass { color: #047857; }
.risk-pill { background: #F1F5F9; color: #475569; padding: 3px 9px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.risk-pill.score-danger { background: #BE123C; color: #FFFFFF; }
.risk-pill.score-warn { background: #B45309; color: #FFFFFF; }
.risk-pill.score-pass { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.score-bar-track { height: 6px; border-radius: 999px; background: #E2E8F0; overflow: hidden; margin: 8px 0; }
.score-bar-fill { height: 100%; width: 78%; background: #B45309; border-radius: 999px; transition: width 240ms ease, background 200ms ease; }
.score-bar-fill.score-danger { background: #BE123C; }
.score-bar-fill.score-warn { background: #B45309; }
.score-bar-fill.score-pass { background: #047857; }
.audit-seal-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; font-size: 0.74rem; font-weight: 800; }
.sealed-hash-box { margin-top: 6px; font-size: 0.76rem; color: var(--ui-ink-subtle); background: var(--ui-bg-surface); border: 1px solid var(--ui-border); border-radius: 8px; padding: 6px 8px; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.bucket-grid-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bucket-card { background: var(--ui-bg-canvas); border: 1px solid var(--ui-border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; transition: all 150ms ease; }
.bucket-card.bucket-danger { border: 2px solid #BE123C; border-left: 5px solid #BE123C; background: #FFF1F2; }
.bucket-card.bucket-warn { border: 2px solid #B45309; border-left: 5px solid #B45309; background: #FFFBEB; }
.bucket-card.bucket-clean { border-color: #A7F3D0; }
.bucket-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
.bucket-head h3 { margin: 0; font-size: 0.86rem; }
.bucket-badge { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 0.74rem; white-space: nowrap; }
.bucket-badge.alert-danger { background: #BE123C; color: #FFFFFF; border-color: #BE123C; }
.bucket-badge.alert-warn { background: #B45309; color: #FFFFFF; border-color: #B45309; }
.bucket-badge.alert-clean { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.bucket-desc { margin: 0; font-size: 0.78rem; color: var(--ui-ink-subtle); }
.bucket-symptom-summary { font-size: 0.76rem; font-weight: 600; color: #9F1239; background: rgba(255,255,255,0.8); border-radius: 7px; padding: 5px 8px; border: 1px solid #FECDD3; }
.bucket-card.bucket-warn .bucket-symptom-summary { color: #92400E; border-color: #FDE68A; }
.bucket-lock { font-size: 0.76rem; font-weight: 600; color: #047857; background: #ECFDF5; border: 1px dashed #A7F3D0; border-radius: 8px; padding: 6px 8px; }

.s05-paywall-card { background: #ECFDF5; border: 2px solid #047857; border-radius: 14px; padding: 16px; }
.s05-paywall-card h3 { margin: 0 0 6px; font-size: 1rem; color: var(--ui-ink-primary); }
.s05-paywall-sub { margin: 0 0 12px; font-size: 0.84rem; color: var(--ui-ink-subtle); }
.btn-cta-emerald { width: 100%; min-height: 44px; border: 0; border-radius: 10px; cursor: pointer; background: #047857; color: #FFFFFF; font-weight: 800; font-size: 0.88rem; }
.btn-cta-emerald:hover { background: #065F46; }
.dual-rail-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.btn-rail { min-height: 40px; padding: 6px 8px; border-radius: 9px; border: 1px solid #A7F3D0; background: #FFFFFF; color: #047857; font-weight: 700; font-size: 0.8rem; cursor: pointer; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-rail.primary { background: #047857; color: #FFFFFF; border-color: #047857; }
.jws-verify-card { background: var(--ui-bg-canvas); border: 1px solid var(--ui-border); border-radius: 12px; padding: 12px; font-size: 0.82rem; }
.jws-verify-card h3 { margin: 0 0 4px; font-size: 0.9rem; }

/* Section 5: 3-Col Modern White Card 31-Rule Catalog (1.jpg Golden Standard) */
.catalog-section-v24 { margin-top: 28px; }
.catalog-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.catalog-head h2 { margin: 0; font-size: 1.18rem; font-weight: 800; color: #0F172A; }
.catalog-search-input { width: min(320px, 100%); padding: 9px 14px; border: 1px solid #CBD5E1; border-radius: 10px; font-size: 0.86rem; background: #FFFFFF; color: #0F172A; }
.catalog-search-input:focus { outline: 2px solid #047857; border-color: #047857; }
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cat-tab { border-radius: 999px; padding: 7px 16px; font-size: 0.84rem; font-weight: 700; background: #FFFFFF; color: #334155; border: 1px solid #CBD5E1; cursor: pointer; transition: all 120ms ease; }
.cat-tab:hover { border-color: #047857; color: #047857; }
.cat-tab.active { background: #047857; color: #FFFFFF; border-color: #047857; }
.catalog-quick-guides-bar {
  background: #F8FAFC; border: 1px solid #E2E8F0; border-left: 3px solid #047857;
  border-radius: 12px; padding: 10px 14px; margin: 10px 0 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.catalog-quick-guides-bar .seo-guides-mesh { display: contents; }
.guide-bar-label { font-size: 0.82rem; font-weight: 800; color: #0F172A; margin-right: 4px; }
.guide-chip-link {
  background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 999px; padding: 5px 12px;
  font-size: 0.81rem; font-weight: 700; color: #0F172A; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; transition: all 0.15s ease;
}
.guide-chip-link:hover, .guide-chip-link.active { border-color: #047857; color: #047857; background: #ECFDF5; }
.catalog-section-v24 .rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rule-catalog-card {
  background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02); display: flex; flex-direction: column; gap: 6px;
}
.rule-catalog-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.rule-catalog-id { font-size: 0.78rem; font-weight: 700; color: #475569; }
.rule-catalog-cat { font-size: 0.76rem; font-weight: 700; color: #047857; white-space: nowrap; }
.rule-catalog-title { margin: 0; font-size: 0.92rem; font-weight: 800; color: #0F172A; line-height: 1.35; }
.catalog-expand-row { text-align: center; margin-top: 16px; }
.catalog-toggle-btn {
  border-radius: 999px; padding: 9px 22px; font-weight: 700; font-size: 0.86rem;
  background: #ECFDF5; color: #047857; border: 1.5px solid #047857; cursor: pointer;
}
.catalog-toggle-btn:hover { background: #D1FAE5; }

/* Section 6: Emerald 3-Column Family Ecosystem Dock & Clean Footer */
.amity-family-dock {
  background: linear-gradient(135deg, #ECFDF5 0%, #F8FAFC 100%);
  border: 1.5px solid #A7F3D0; border-left: 5px solid #047857;
  border-radius: 14px; padding: 18px 22px; margin: 28px 0 20px; box-shadow: 0 2px 10px rgba(4, 120, 87, 0.06);
}
.dock-top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.family-dock-header { font-size: 0.9rem; font-weight: 800; color: #0F172A; }
.dock-pass-badge { background: #047857; color: #FFFFFF; padding: 4px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; white-space: nowrap; }
.dock-pass-benefit-banner { background: rgba(255,255,255,0.88); border: 1px solid #A7F3D0; border-radius: 8px; padding: 8px 12px; margin: 8px 0 12px; font-size: 0.84rem; font-weight: 600; color: #065F46; line-height: 1.45; }
.unlock-cross-pass-note { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.85); border: 1px solid #A7F3D0; font-size: 0.78rem; font-weight: 600; color: #065F46; line-height: 1.45; }
.dock-grid-3col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.dock-drone-card { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 12px 14px; border-radius: 12px; text-decoration: none; background: #FFFFFF; border: 1.5px solid #CBD5E1; color: #0F172A; transition: border-color 120ms ease, transform 120ms ease; }
.dock-drone-card:hover { border-color: #047857; transform: translateY(-1px); }
.dock-drone-card.active { background: #047857; color: #FFFFFF; border: 1.5px solid #065F46; }
.dock-drone-card.upcoming { background: #F8FAFC; border: 1.5px dashed #CBD5E1; color: #475569; }
.dock-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.84rem; font-weight: 800; }
.dock-card-sub { font-size: 0.76rem; opacity: 0.86; }
.dock-card-badge { font-size: 0.7rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #ECFDF5; color: #047857; white-space: nowrap; }
.dock-drone-card.active .dock-card-badge { background: rgba(255,255,255,0.2); color: #FFFFFF; }
.dock-drone-card.upcoming .dock-card-badge { background: #E2E8F0; color: #475569; }
.footer .footer-links a { text-decoration: none; font-weight: 500; padding: 4px 8px; border-radius: 6px; }
.footer .footer-links a:hover { color: #047857; background: #ECFDF5; }

html[data-theme="dark"] .topbar .version-pill, html[data-theme="dark"] .pass-pill, html[data-theme="dark"] .hero .release-pill { background: rgba(16, 185, 129, 0.14); color: #6EE7B7; border-color: rgba(16, 185, 129, 0.35); }
html[data-theme="dark"] .persona-pill { background: rgba(15, 23, 42, 0.85); color: #E2E8F0; border-color: rgba(16, 185, 129, 0.35); }
@media (max-width: 1024px) { .nav-links { display: none !important; } }
@media (max-width: 1023px) { .catalog-section-v24 .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .topbar-inner { flex-wrap: wrap; gap: 8px; padding: 10px 14px; height: auto; } .topbar-right { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px; } .locale-popover { left: 0; right: auto; max-width: calc(100vw - 32px); } }
@media (max-width: 768px) { .trust-ribbon-3col, .safety-guide-grid, .dock-grid-3col, .sample-quick-grid, .bucket-grid-2x2, .dual-rail-row, .catalog-section-v24 .rules-grid { grid-template-columns: 1fr; } }
