/* Portal-only companion to the TaxiApps Remembrance 2026 theme. */
html.remembrance-active {
  --remembrance-ink: #130d0f;
  --remembrance-ink-2: #201315;
  --remembrance-panel: #2a171a;
  --remembrance-red: #bd2637;
  --remembrance-coral: #ed5a4f;
  --remembrance-green: #82966a;
  --remembrance-text: #fff9f2;
  --remembrance-muted: #cfb9b2;
}

.remembrance-active body { padding-top: 56px; }
.remembrance-ribbon {
  position: fixed;
  z-index: 3000;
  inset: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 76px;
  color: #fff9f2;
  background: linear-gradient(90deg, #201315, #38181d 48%, #201315);
  border-bottom: 1px solid rgba(244, 214, 203, .2);
  box-shadow: 0 5px 24px rgba(0, 0, 0, .28);
  font: 800 14px/1 Inter, ui-sans-serif, -apple-system, system-ui, "Segoe UI", sans-serif;
  letter-spacing: 1.45px;
  text-align: center;
  text-transform: uppercase;
}
.remembrance-ribbon__divider { width: 1px; height: 14px; background: rgba(255, 249, 242, .28); }
.remembrance-ribbon__date { color: #d8c5bd; font-size: 10px; letter-spacing: 1.2px; }
.remembrance-poppy { position: absolute; top: 4px; left: 22px; width: 44px; height: 50px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.remembrance-poppy:last-child { right: 22px; left: auto; }
.remembrance-poppy svg { width: 100%; height: 100%; display: block; overflow: visible; }
.remembrance-poppy__stem { fill: #4f682d; }
.remembrance-poppy__leaf { fill: #708b42; }
.remembrance-poppy__petal { fill: #dc3038; stroke: #ef5b59; stroke-width: 1; }
.remembrance-poppy__centre { fill: #171113; }
.remembrance-poppy__centre-detail { fill: none; stroke: #3b3031; stroke-width: 1.5; stroke-dasharray: 1.6 1.2; }

/* Pulse Central portal. */
.remembrance-active:has(.shell, .auth) { --blue: #bd2637; --line: #eadbd8; background: #f8f2f0; }
.remembrance-active:has(.shell, .auth) body { background: #f8f2f0; }
.remembrance-active .shell { min-height: calc(100vh - 56px); }
.remembrance-active .sidebar { top: 56px; background: #201315; }
.remembrance-active .sidebar-bottom { border-color: #4a2a2f; }
.remembrance-active .nav-item.active { background: #7d2633; }
.remembrance-active .nav-item:hover { background: #381d22; }
.remembrance-active .topbar { border-color: #eadbd8; background: #fffaf7; }
.remembrance-active .auth { min-height: calc(100vh - 56px); background: radial-gradient(ellipse at 20% 0, #59252e 0, transparent 55%), #201315; }
.remembrance-active .primary { background: linear-gradient(120deg, #881c2b, #c92d3b 56%, #ed5a4f); }
.remembrance-active .primary:hover { background: #881c2b; }
.remembrance-active .live-dot { background: #82966a; }

/* DMS Split portal and dataset terms. */
.remembrance-active:has(.hero) { --ink: #2b171a; --muted: #775f5a; --paper: #f8f2f0; --card: #fffaf7; --line: #e7d7d2; --lime: #ed5a4f; --navy: #130d0f; }
.remembrance-active .hero { background: linear-gradient(135deg, #130d0f, #2a171a); }
.remembrance-active .hero::after { border-color: rgba(225, 62, 61, .12); }
.remembrance-active .privacy-note { background: #f0e4e0; }
.remembrance-active .hunt-strip { top: 56px; background: #201315; border-color: rgba(237, 90, 79, .24); }
.remembrance-active .hunt-track span { background: linear-gradient(90deg, #bd2637, #ed5a4f); }

/* Compare DMS editorial and comparison portal. */
.remembrance-active:has(.site-nav) { color: #2b171a; background: #f8f2f0; }
.remembrance-active:has(.site-nav) a,
.remembrance-active:has(.site-nav) .eyebrow,
.remembrance-active:has(.site-nav) .step { color: #a12132; }
.remembrance-active:has(.site-nav) .brand span { color: #bd2637; }
.remembrance-active:has(.site-nav) .panel,
.remembrance-active:has(.site-nav) .cost-card { background: #fffaf7; border-color: #e7d7d2; }
.remembrance-active:has(.site-nav) button,
.remembrance-active:has(.site-nav) .editorial .cta { background: linear-gradient(120deg, #881c2b, #c92d3b 56%, #ed5a4f); }
.remembrance-active:has(.site-nav) .results { background: #eee3df; border-color: #ddcbc5; }
.remembrance-active:has(.site-nav) .cost-card.reference { background: #38181d; }

/* Internal activity and Stripe display portals. */
.remembrance-active:has(#activity-layout) { background: #130d0f; }
.remembrance-active:has(#activity-layout) body { background: #130d0f; }
.remembrance-active:has(#activity-layout) body > header { top: 56px; background: #201315; border-color: #4b2a30; }
.remembrance-active:has(#activity-layout) #map-panel { top: auto; background: #2a171a; border-color: #573038; }
.remembrance-active:has(#activity-layout) .card,
.remembrance-active:has(#activity-layout) #finance-ticker { background: #2a171a; border-color: #573038; }
.remembrance-active:has(#activity-layout) .summary strong,
.remembrance-active:has(#activity-layout) .active,
.remembrance-active:has(#activity-layout) .map-heading span,
.remembrance-active:has(#activity-layout) .finance-item strong { color: #ed5a4f; }
.remembrance-active:has(#activity-layout) .active::before { background: #82966a; }

.remembrance-active:has(#period-filter) body { background: radial-gradient(circle at 60% -20%, #6d263655 0, transparent 36%), linear-gradient(145deg, #130d0f, #201315 58%, #130d0f); }
.remembrance-active:has(#period-filter) .topbar { background: rgba(32, 19, 21, .92); border-color: #4b2a30; }
.remembrance-active:has(#period-filter) main { height: calc(100vh - 190px); }
.remembrance-active:has(#period-filter) .kpi,
.remembrance-active:has(#period-filter) .panel { background: linear-gradient(145deg, #321c20, #251619); border-color: #573038; }
.remembrance-active:has(#period-filter) .kpi.primary { border-color: #9e3040; background: linear-gradient(140deg, #521f29, #2a171a); }
.remembrance-active:has(#period-filter) .eyebrow,
.remembrance-active:has(#period-filter) .panel-kicker,
.remembrance-active:has(#period-filter) .preview-pill { color: #ed776c; }
.remembrance-active:has(#period-filter) footer { background: #201315; border-color: #4b2a30; }

@media (max-width: 1100px) {
  .remembrance-active:has(#activity-layout) #map-panel { top: auto; }
}
@media (max-height: 900px) {
  .remembrance-active:has(#period-filter) main { height: calc(100vh - 170px); }
}
@media (max-width: 680px) {
  .remembrance-active body { padding-top: 48px; }
  .remembrance-ribbon { height: 48px; padding-inline: 52px; font-size: 11px; letter-spacing: 1.1px; }
  .remembrance-ribbon__date,
  .remembrance-ribbon__divider { display: none; }
  .remembrance-poppy { top: 4px; left: 10px; width: 36px; height: 40px; }
  .remembrance-poppy:last-child { right: 14px; left: auto; }
  .remembrance-active .shell { min-height: calc(100vh - 48px); }
  .remembrance-active .sidebar { top: 48px; }
  .remembrance-active .auth { min-height: calc(100vh - 48px); }
  .remembrance-active .hunt-strip { top: 48px; }
  .remembrance-active:has(#activity-layout) body > header { top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .remembrance-active .remembrance-poppy { transform: none; }
}
