/* =========================================================
   ALUNA ROADMAP — CORE STYLES
   Purpose-built for roadmap / tool (not marketing site)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0b0b0b;
  --panel: rgba(255,255,255,0.04);
  --panel-strong: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);

  --gold: #d4af7a;
  --gold-soft: rgba(212,175,122,0.35);

  --radius: 14px;
  --radius-sm: 10px;

  --max: 1080px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", Inter, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Layout ---------- */
.report-shell {
  min-height: 100vh;
}

.report-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    to bottom,
    rgba(11,11,11,0.75),
    rgba(11,11,11,0.55)
  );
  border-bottom: 1px solid var(--border);
}

.report-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* ---------- Brand ---------- */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup img {
  width: 28px;
  height: 28px;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.report-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-title {
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  font-size: 14px;
  opacity: 0.75;
}

.nav-links a:hover {
  opacity: 1;
}

/* ---------- Buttons ---------- */
.aluna-button {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.aluna-button:hover {
  background: var(--gold);
  color: #0b0b0b;
  box-shadow: 0 0 22px var(--gold-soft);
}

/* ---------- Main ---------- */
.report-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 18px 80px;
}

.section {
  margin-bottom: 40px;
}

/* ---------- Type ---------- */
.h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
}

.subhead {
  font-size: 15px;
  color: var(--muted);
}

.quote {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ---------- This Week ---------- */
.this-week {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel-strong);
  font-size: 13px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.card .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.card .big {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--panel-strong);
  font-size: 13px;
}


/* ---------- Expandables / tools ---------- */
.tool-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.tool-item .phase {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.tool-item .name {
  font-size: 16px;
  font-weight: 600;
}

.tool-item .desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.tool-item a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--gold);
}

/* =========================================================
   MOBILE NAV — Hamburger + full-screen drawer
   ========================================================= */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,11,11,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  flex-direction: column;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-drawer.is-open { display: flex; }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-drawer-header-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.45);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.nav-drawer a {
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0.8;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
  display: block;
}

.nav-drawer a:last-child { border-bottom: none; }

.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] {
  opacity: 1;
  color: var(--gold);
  background: rgba(212,175,122,0.04);
}

.nav-drawer .nav-drawer-back {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-drawer .nav-drawer-back::before { content: '←'; }

.nav-drawer .nav-drawer-back:hover { color: var(--gold); background: none; }

.nav-drawer .nav-drawer-cta {
  margin: 12px 20px;
  padding: 12px 16px;
  border: 1px solid var(--gold) !important;
  border-radius: 8px;
  color: var(--gold) !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  opacity: 1 !important;
  background: none;
}

.nav-drawer-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  flex-shrink: 0;
}

.nav-drawer-close:hover { color: #fff; }

/* =========================================================
   RESPONSIVE — Phone
   ========================================================= */

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }

  .report-header-inner { padding: 12px 16px; gap: 12px; }

  .report-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  .report-kicker { font-size: 10px; }
  .brand-lockup img { width: 22px; height: 22px; }

  .report-main { padding: 24px 14px 60px; }

  .h1 { font-size: 24px; }
  .h2 { font-size: 20px; }

  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }

  .rm-card__header { padding: 14px; gap: 10px; }
  .rm-card__title { font-size: 16px; }
  .rm-card__actions { gap: 8px; }
  .rm-details-btn { padding: 7px 9px; font-size: 11px; }
  .rm-card__body { padding: 0 14px 14px; }
  .rm-block { padding: 12px; }

  .rm-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  .rm-toolbar-spacer { display: none; }
  .rm-seeall { order: 3; }
  .rm-startpick { order: 4; }
  .rm-startpick__label { display: none; }
  .rm-startpick input[type="date"] { padding: 8px; font-size: 12px; }

  .execute-intro { font-size: 14px; }
  .aluna-footer { padding: 48px 16px 40px; }
}/* =========================================================
   Aluna Footer (brand signature)
   ========================================================= */

.aluna-footer {
    padding: 72px 18px 64px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.03), rgba(0,0,0,0) 55%);
  }
  
  .aluna-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
  }
  
  .aluna-footer-mark {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    opacity: 0.9;
  }
  
  .aluna-footer-mark img {
    width: 28px;
    height: 28px;
  }
  
  .aluna-footer-name {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
  }
  
  .aluna-footer-rule {
    height: 1px;
    width: min(720px, 92%);
    margin: 0 auto 18px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.14), rgba(255,255,255,0));
  }
  
  .aluna-footer-mantra {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
  }

/* =========================
   Aluna Roadmap — Task Cards
   ========================= */

.rm-cards {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.rm-card {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
}

.rm-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px;
  cursor: pointer;
  user-select: none;
}

.rm-card__header:focus {
  outline: 2px solid rgba(212,175,122,0.55);
  outline-offset: 2px;
  border-radius: 14px;
}

.rm-card__titleblock { min-width: 0; }
.rm-card__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.rm-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

.rm-pill--core {
  border-color: rgba(212,175,122,0.45);
  background: rgba(212,175,122,0.10);
}

.rm-pill--conditional {
  border-color: rgba(140, 165, 255, 0.45);
  background: rgba(140, 165, 255, 0.10);
}

.rm-meta { font-size: 12px; opacity: 0.78; }
.rm-dot { opacity: 0.35; }

.rm-card__date {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(212, 175, 122, 0.9); /* Aluna gold */
}

.rm-card__meta {
  opacity: 0.85;
  font-size: 12px;
}

.rm-card__title {
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: 0.1px;
}

.rm-card__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  opacity: 0.78;
}

.rm-time { opacity: 0.9; }
.rm-sep { opacity: 0.35; }
.rm-outcome { opacity: 0.85; }

.rm-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Details button */
.rm-details-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: inherit;
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

.rm-details-btn:hover {
  border-color: rgba(212,175,122,0.35);
  background: rgba(212,175,122,0.08);
}

/* Body */
.rm-card__body {
  padding: 0 16px 16px;
}

.rm-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .rm-grid { grid-template-columns: 1fr 1fr; }
  .rm-block--tool { grid-column: span 2; }
}

.rm-block {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 14px;
}

.rm-block h4 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.2px;
  opacity: 0.9;
  text-transform: uppercase;
}

.rm-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.9;
}

.rm-block ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.rm-block--note {
  border-color: rgba(212,175,122,0.22);
  background: rgba(212,175,122,0.06);
}

.rm-block--tool {
  border-color: rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
}

.rm-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,122,0.35);
}

.rm-link:hover {
  border-bottom-color: rgba(212,175,122,0.8);
}

/* Small helper text */
.rm-small {
  margin-top: 10px !important;
  font-size: 12.5px !important;
  opacity: 0.78 !important;
}

/* =========================
   Apple-style Switch (Done)
   ========================= */

.rm-switch {
  position: relative;
  width: 46px;
  height: 28px;
  display: inline-block;
}

.rm-switch__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.rm-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  transition: all 180ms ease;
}

.rm-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 16px rgba(0,0,0,0.30);
  transition: all 180ms ease;
}

.rm-switch__input:checked ~ .rm-switch__track {
  border-color: rgba(212,175,122,0.55);
  background: rgba(212,175,122,0.35);
}

.rm-switch__input:checked ~ .rm-switch__thumb {
  transform: translateX(18px);
  background: rgba(15, 15, 16, 0.92);
}

/* Completed styling */
.rm-card.is-done {
  opacity: 0.72;
}

.rm-card.is-done .rm-card__title {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255,255,255,0.35);
}

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


/* ---------- Plan toolbar ---------- */
.rm-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(18, 18, 20, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  margin: 14px 0 10px;
}

.rm-toolbar-spacer { flex: 1; }

.rm-navbtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.rm-navbtn:hover { background: rgba(255,255,255,0.06); transform: translateY(-1px); }
.rm-navbtn:active { transform: translateY(0); }

.rm-range { display: grid; gap: 2px; }
.rm-range-label { font-weight: 800; letter-spacing: 0.2px; }
.rm-range-sub { font-size: 12px; opacity: 0.75; }

.rm-seeall, .rm-startpick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.95;
  user-select: none;
}

.rm-startpick__label { opacity: 0.8; }

.rm-startpick input[type="date"] {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 10px 10px;
  font-size: 13px;
}

.rm-group {
  margin: 18px 0 22px;
}

.rm-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 10px;
}

.rm-group__title {
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.85;
}

.rm-group__count {
  font-size: 12px;
  opacity: 0.7;
}

.rm-empty {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  opacity: 0.9;
}

.rm-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,122,0.35);
}
.rm-link:hover { border-bottom-color: rgba(212,175,122,0.75); }


/* ---------- Card hierarchy + meta ---------- */
.rm-card__sub--meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.rm-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  opacity: 0.95;
}

.rm-ico {
  width: 16px;
  height: 16px;
  color: var(--gold);
  opacity: 0.9;
}

.rm-datepill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.rm-triggerpill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  opacity: 0.9;
  max-width: 52ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rm-donelabel {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.2px;
  color: var(--gold);
  margin-right: 6px;
  opacity: 0.9;
}

/* Completed state (clear feedback) */
.rm-card.is-done {
  border-color: rgba(212,175,122,0.35);
  box-shadow: 0 12px 34px rgba(0,0,0,0.25), 0 0 0 1px rgba(212,175,122,0.18) inset;
}

.rm-card.is-done .rm-card__title { opacity: 0.92; }

/* Lists slightly tighter, more “execute” */
.rm-list { margin: 0; padding-left: 18px; }
.rm-list li { margin: 8px 0; }

/* ---------- Expanded layout: What = full width, then two columns ---------- */
.rm-grid--card {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.rm-block--what { grid-column: 1 / -1; }
.rm-block--trigger { grid-column: 1 / -1; }

.rm-block--tool { grid-column: 2; }

@media (max-width: 860px) {
  .rm-grid--card { grid-template-columns: 1fr; }
  .rm-block--tool { grid-column: 1; }
}


/* ---------- Status pills ---------- */
.rm-statuspill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}
.rm-statuspill--now { border-color: rgba(212,175,122,0.30); background: rgba(212,175,122,0.06); }
.rm-statuspill--upcoming { border-color: rgba(255,255,255,0.14); }
.rm-statuspill--past { border-color: rgba(255,255,255,0.10); opacity: 0.75; }
.rm-statuspill--done { border-color: rgba(212,175,122,0.42); background: rgba(212,175,122,0.10); }


/* Tool block should read like an actionable surface */
.rm-block--wide {
  grid-column: 1 / -1;
}
.rm-block--wide .aluna-button {
  margin-top: 10px;
}


/* ---------- Task card surface ---------- */
.rm-card {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.rm-card__body {
  background: #17171a;
}

.rm-card:hover {
  border-color: rgba(212,175,122,0.25);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

/* Completed = brighter reward, but still premium */
.rm-card.is-done {
  border-color: rgba(212,175,122,0.55);
  background: rgba(212,175,122,0.05);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.45),
    0 0 0 1px rgba(212,175,122,0.22) inset;
}

.rm-card.is-done .rm-donelabel { opacity: 1; }

.rm-card.is-done .rm-switch__track {
  background: rgba(212,175,122,0.22);
  border-color: rgba(212,175,122,0.55);
}

input[type="date"]{appearance:auto;-webkit-appearance:auto;}


/* Execute page: status and phase window placement */
.rm-card__sub--meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.rm-statuswrap{ margin-left:auto; }

.rm-statuspill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.2px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.rm-statuspill--active{ color: rgba(212,175,122,0.95); }
.rm-statuspill--next{ color: rgba(255,255,255,0.85); }
.rm-statuspill--later{ color: rgba(255,255,255,0.65); }

.rm-detailsbar{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin: 2px 0 10px;
}
.rm-detailsbar__spacer{ flex:1; }

.rm-phasewindow{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}
.rm-phasewindow__label{
  font-size:12px;
  opacity:0.75;
}
.rm-phasewindow__value{
  font-size:13px;
  font-weight:800;
  letter-spacing:0.2px;
  color: rgba(212,175,122,0.92);
}

/* Tool link (replaces button) */
.rm-tool-link{
  color: var(--gold);
  font-weight:800;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.rm-tool-link:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Date picker: ensure clickability on macOS/Chrome */
.rm-startpick input[type="date"]{
  cursor:pointer;
  -webkit-appearance:auto;
  appearance:auto;
}


/* Execute page framing */
.execute-framing{
  margin: 18px 0 10px;
  max-width: 860px;
  padding: 16px 18px;
  border-left: 2px solid rgba(212,175,122,0.8);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  line-height: 1.45;
}
.execute-framing strong{
  display:block;
  font-size: 16px;
  margin-bottom: 6px;
}
.execute-helper{
  max-width: 860px;
  margin: 8px 0 18px;
  opacity: 0.78;
  font-size: 13px;
}

/* Status pill on the right (collapsed) */
.rm-card__sub--meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.rm-statuspill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.2px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.rm-statuspill--active{ color: rgba(212,175,122,0.95); }
.rm-statuspill--next{ color: rgba(255,255,255,0.85); }
.rm-statuspill--later{ color: rgba(255,255,255,0.65); }

/* Tool link (replaces button) */
.rm-tool-link{
  color: var(--gold);
  font-weight:800;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.rm-tool-link:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Date picker: ensure clickability on macOS/Chrome */
.rm-startpick input[type="date"]{
  cursor:pointer;
  -webkit-appearance:auto;
  appearance:auto;
}

/* Date picker icon (macOS/Chrome/Safari) */
.rm-startpick input[type="date"]::-webkit-calendar-picker-indicator{
  filter: invert(1);
  opacity: 0.9;
  cursor: pointer;
}

/* =========================================================
   ROADMAP PAGE — VISUAL MAP + PHASE SECTIONS
   (Orientation + confidence. Execute stays in plan.html)
   ========================================================= */

.rm-map {
  margin-top: 10px;
}

.rm-map__bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.rm-map__seg {
  position: relative;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 14px 14px 12px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  min-height: 72px;
}

.rm-map__seg:hover {
  border-color: rgba(212,175,122,0.35);
  background: rgba(212,175,122,0.06);
}

.rm-map__seg:focus-visible {
  outline: 2px solid rgba(212,175,122,0.55);
  outline-offset: 3px;
}

.rm-map__kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.rm-map__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.rm-map__tooltip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.55);
  padding: 10px 10px 9px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
  display: none;
}

.rm-map__seg:hover .rm-map__tooltip,
.rm-map__seg:focus-visible .rm-map__tooltip {
  display: block;
}

.rm-map__tipline {
  font-size: 12px;
  opacity: 0.92;
}

.rm-map__tipmeta {
  font-size: 12px;
  opacity: 0.78;
  margin-top: 4px;
}

.rm-phase {
  scroll-margin-top: 110px;
}

.rm-phase__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rm-phase__title {
  font-size: 18px;
  font-weight: 850;
  margin: 0;
}

.rm-phase__meta {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

.rm-phase__focus {
  margin-top: 6px;
  opacity: 0.9;
}

.rm-group {
  margin-top: 14px;
}

.rm-group h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.rm-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 920px) {
  .rm-cols {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.rm-list {
  margin: 0;
  padding-left: 18px;
}

.rm-list li {
  margin: 6px 0;
}

.rm-risk {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 14px 14px 12px;
}

.rm-risk + .rm-risk { margin-top: 10px; }

.rm-risk__title {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.rm-risk__row {
  margin-top: 8px;
  opacity: 0.9;
}

.rm-risk__label {
  font-weight: 700;
  opacity: 0.9;
}

.rm-disclosure {
  margin-top: 12px;
}

.rm-disclosure__btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: inherit;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.rm-disclosure__btn:hover {
  border-color: rgba(212,175,122,0.35);
  background: rgba(212,175,122,0.06);
}

.rm-disclosure__btn:focus-visible {
  outline: 2px solid rgba(212,175,122,0.55);
  outline-offset: 3px;
}

.rm-disclosure__panel {
  margin-top: 10px;
  padding-left: 4px;
}

.rm-back {
  margin-top: 14px;
}

.rm-back a {
  font-size: 13px;
  opacity: 0.85;
}

.rm-back a:hover {
  opacity: 1;
  color: rgba(212,175,122,0.95);
}

.rm-phase--active {
  animation: rmPulse 1.15s ease-out 1;
}

@keyframes rmPulse {
  0% { box-shadow: 0 0 0 rgba(212,175,122,0); border-color: rgba(255,255,255,0.12); }
  35% { box-shadow: 0 0 0 8px rgba(212,175,122,0.10); border-color: rgba(212,175,122,0.35); }
  100% { box-shadow: 0 0 0 rgba(212,175,122,0); border-color: rgba(255,255,255,0.12); }
}


/* Execute intro grouping (plan page) */
.execute-intro{
  max-width: 860px;
  margin: 12px 0 22px;
}
.execute-intro .execute-framing{ margin: 0 0 10px; }
.execute-intro .execute-helper{ margin: 8px 0 10px; }
.execute-intro .subhead{ margin: 0; }


/* Tools page: 3-up card grid using existing tool-item styling */
.tools-grid{ align-items: stretch; }
.tools-grid .tool-item{ margin: 0; height: 100%; display:flex; flex-direction:column; }
.tools-grid .tool-item .desc{ margin-top: 8px; }
.tools-grid .tool-item .tool-actions{ margin-top: auto; padding-top: 14px; }


/* Tools page refinements */
.page-tools .tool-item {
  padding: 18px 20px;
}

.page-tools .tool-item .phase {
  color: var(--gold);
  letter-spacing: 0.06em;
}

.page-tools .tool-item .desc {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.page-tools .tool-item .desc strong {
  color: var(--gold);
  font-weight: 700;
}

.page-tools .tool-item .name {
  margin-bottom: 10px;
}

/* =========================================================
   SHARED TEMPLATE CLASSES
   Used across all pages — change here, all portals update
   ========================================================= */

/* Typography */
.h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.page-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.page-intro .h2 {
  margin-bottom: 14px;
}

.page-intro p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Section label (gold uppercase) */
.section-label-gold {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 30px;
  font-weight: 600;
}

/* Two column grid */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.two-col-label {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 14px;
}

.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.arrow-list li {
  padding: 6px 0 6px 22px;
  position: relative;
}

.arrow-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Support page accordion */
.support-section {
  margin-bottom: 60px;
}

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 28px 0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  font-family: inherit;
}

.accordion-trigger:hover {
  color: var(--gold);
}

.accordion-icon {
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-item.open .accordion-content {
  max-height: 1400px;
  transition: max-height 0.6s ease-in;
}

.accordion-inner {
  padding-top: 20px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.accordion-inner .acc-label {
  font-weight: 600;
  color: var(--text);
  margin: 18px 0 8px;
  font-size: 14px;
}

.accordion-inner .acc-label:first-child {
  margin-top: 0;
}

.accordion-inner p {
  margin: 0 0 10px;
}

/* Closing / you've got this section */
.closing-section {
  text-align: center;
  max-width: 580px;
  margin: 60px auto;
  padding: 50px 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.closing-section .closing-headline {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.closing-section .closing-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 24px;
}

.closing-section .closing-cta {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* Checkpoint card */
.checkpoint-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(212,175,122,0.05);
  border: 1px solid rgba(212,175,122,0.2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.checkpoint-card .cp-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}

.checkpoint-card .cp-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.checkpoint-card .cp-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.checkpoint-card .cp-link {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all 0.2s;
}

.checkpoint-card .cp-link:hover {
  background: var(--gold);
  color: #0b0b0b;
}

/* =========================================================
   ROADMAP PORTAL SHELL  (rp- prefix, does not affect
   standalone pages which use report-* classes above)
   ========================================================= */

/* ── Missing utility ── */
.section-label-gold {
  font-size: 13px; font-weight: 500; color: var(--gold);
  letter-spacing: 0.04em; margin-bottom: 10px;
}

/* ── Keyframes (shared with ceremony) ── */
@keyframes rpFU { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes rpXL { from { width:0; } to { width:200px; } }

/* ── Shell layout ── */
body.rp-portal { overflow: hidden; height: 100vh; }

.rp-topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 54px;
  background: rgba(11,11,11,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px 0 18px;
}
.rp-topbar-brand  { display: flex; align-items: center; gap: 10px; }
.rp-topbar-logo   { height: 22px; opacity: 0.75; }
.rp-topbar-org    { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.rp-topbar-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  text-align: center; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.rp-topbar-right  { display: flex; align-items: center; gap: 10px; }
.rp-topbar-phase  { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); opacity: 0.85; }
.rp-sb-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  color: var(--muted); border-radius: 8px; padding: 5px 11px;
  cursor: pointer; font-size: 15px; font-family: inherit; line-height: 1;
}

.rp-shell { display: flex; height: 100vh; padding-top: 54px; }

/* ── Sidebar ── */
.rp-sidebar {
  width: 252px; min-width: 252px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--border);
  height: 100%; overflow-y: auto;
  display: flex; flex-direction: column;
  scrollbar-width: none; flex-shrink: 0;
}
.rp-sidebar::-webkit-scrollbar { display: none; }

.rp-sb-client {
  padding: 20px 16px; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.rp-sb-initials {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--panel-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.rp-sb-name  { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.2; }
.rp-sb-org   { font-size: 11px; color: var(--muted); margin-top: 1px; }

.rp-sb-sec { padding: 14px 0 10px; border-bottom: 1px solid var(--border); }
.rp-sb-sec:last-child { border-bottom: none; }

.rp-sb-lbl {
  font-size: 9px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dim);
  padding: 0 16px; margin-bottom: 8px;
}

.rp-sb-doc {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 16px; cursor: pointer; transition: background 0.15s; gap: 8px;
}
.rp-sb-doc:hover { background: var(--panel); }
.rp-sb-doc-name { font-size: 12px; color: var(--text); flex: 1; }

.rp-sb-nav {
  display: flex; align-items: center;
  padding: 7px 16px; cursor: pointer; transition: background 0.15s;
  font-size: 12px; color: var(--muted);
}
.rp-sb-nav:hover { background: var(--panel); color: var(--text); }
.rp-sb-nav.is-active { color: var(--text); background: var(--panel); }
.rp-sb-back { color: var(--dim); font-size: 11px; text-decoration: none; }
.rp-sb-back:hover { color: var(--muted); background: var(--panel); }

.rp-sb-aluna {
  margin-top: auto; padding: 16px; border-top: 1px solid var(--border);
}
.rp-sb-aluna-name {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim);
}

/* Shell pills (distinct from task card rm-pill) */
.rp-pill {
  font-size: 8px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 20px;
  white-space: nowrap; font-family: inherit; flex-shrink: 0;
}
.rp-pill--delivered { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-border); }
.rp-pill--active    { background: var(--gold); color: #0b0b0b; font-weight: 600; }
.rp-pill--complete  { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-border); }
.rp-pill--locked    { background: transparent; color: var(--dim); border: 1px solid var(--border); }

/* ── Main panel ── */
.rp-main {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  min-width: 0;
}

/* ── Phase rail (5 cards) ── */
.rp-rail {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.rp-pc {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 8px 10px; gap: 4px; text-align: center; min-height: 88px;
  border-right: 1px solid var(--border);
  border-top: none; border-bottom: 2px solid transparent; border-left: none;
  background: transparent; cursor: pointer;
  transition: background 0.2s; font-family: inherit; color: var(--text);
}
.rp-pc:last-child { border-right: none; }
.rp-pc.is-active   { border-bottom-color: var(--gold) !important; background: var(--panel); }
.rp-pc.is-complete { border-bottom-color: var(--gold-border) !important; }
.rp-pc.is-complete:hover, .rp-pc.is-active:hover { background: var(--panel-strong); }
.rp-pc.is-locked   { cursor: default; }
.rp-pc-moon  { font-size: 20px; line-height: 1; }
.rp-pc-name  { font-size: 11px; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.rp-pc-dates { font-size: 9px; color: var(--muted); margin-top: 1px; letter-spacing: 0.02em; }

/* ── Content sections ── */
.rp-section { flex: 1; }
.rp-section-inner { padding: 32px 48px 80px; }
.rp-loading { padding: 48px 32px; color: var(--muted); font-size: 14px; }

/* ── Execute section ── */
#rp-section-execute { padding: 0; display: flex; flex-direction: column; }
.rp-execute-inner   { padding: 16px 32px 80px; flex: 1; }

/* Phase complete banner */
.rp-phase-complete {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 0 32px 4px;
  padding: 16px 22px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  flex-shrink: 0;
}
.rp-pcb-label { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.rp-pcb-title { font-size: 14px; font-weight: 600; color: var(--text); }
.rp-pcb-btn {
  background: var(--gold); color: #0b0b0b;
  font-size: 12px; font-weight: 600; padding: 9px 18px;
  border: none; border-radius: 8px; cursor: pointer;
  font-family: inherit; white-space: nowrap; flex-shrink: 0;
  transition: background 0.18s;
}
.rp-pcb-btn:hover { background: #e0c08d; }
@media (max-width: 767px) {
  .rp-phase-complete { flex-direction: column; align-items: flex-start; margin: 0 16px 4px; }
}
.rp-execute-intro   { margin-bottom: 4px; }
.rp-execute-intro .subhead { font-size: 14px; }
.rp-execute-gold-label {
  font-size: 12px; font-weight: 500; color: var(--gold);
  letter-spacing: 0.04em; margin: 6px 0 6px;
}

/* ── Moon progress indicator ── */
.rp-moon-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 32px 4px; flex-shrink: 0;
}
.rp-moon-text { font-size: 12px; color: var(--muted); }

/* ── Overlays ── */
.rp-overlay {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 500; display: flex; align-items: center; justify-content: center;
  flex-direction: column; opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.rp-overlay.is-active { opacity: 1; pointer-events: all; }

/* ── Ceremony phase 1: outcomes ── */
.rp-c-content {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 520px; width: 100%; padding: 0 32px;
}
.rp-c-logo { height: 26px; opacity: 0; margin-bottom: 48px; animation: rpFU 0.6s ease forwards 0.3s; }

.rp-c-beat {
  width: 100%; opacity: 0; margin-bottom: 22px;
  border-left: 2px solid var(--gold-border); padding-left: 18px;
}
.rp-c-beat1 { animation: rpFU 0.5s ease forwards 0.7s; }
.rp-c-beat2 { animation: rpFU 0.5s ease forwards 1.5s; }
.rp-c-beat3 { animation: rpFU 0.5s ease forwards 2.3s; }

.rp-c-phase-lbl {
  display: block; font-size: 9px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-bottom: 5px;
}
.rp-c-outcome { font-size: 15px; color: var(--text); line-height: 1.6; margin: 0; }

.rp-c-hint {
  position: absolute; bottom: 40px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
  opacity: 0; animation: rpFU 0.4s ease forwards 4.0s;
}

/* ── Ceremony phase 2: activate reveal ── */
.rp-c-activate {
  display: flex; flex-direction: column; align-items: center;
  max-width: 520px; width: 100%; padding: 0 32px;
}
.rp-c-line { width: 0; height: 1px; background: var(--gold); margin: 0 auto 36px; animation: rpXL 0.6s ease forwards 0.3s; }
.rp-c-a-label { font-size: 15px; font-weight: 400; color: var(--gold); opacity: 0; letter-spacing: 0.04em; text-align: center; margin-bottom: 6px; animation: rpFU 0.5s ease forwards 1.0s; }
.rp-c-a-name  { font-size: 44px; font-weight: 700; color: var(--text); opacity: 0; letter-spacing: -0.5px; text-align: center; margin-bottom: 20px; animation: rpFU 0.5s ease forwards 1.3s; line-height: 1; }
.rp-c-a-q     { font-size: 17px; font-style: italic; color: var(--gold); opacity: 0; text-align: center; max-width: 400px; line-height: 1.5; animation: rpFU 0.5s ease forwards 1.8s; }
#rpCeremonyPhase2 .rp-c-hint { animation: rpFU 0.4s ease forwards 2.6s; }

/* ── Instructions overlay ── */
#rpInstructions { z-index: 510; }
.rp-inst-body {
  max-width: 520px; width: 100%; padding: 0 32px;
  display: flex; flex-direction: column;
}
.rp-inst-title {
  font-size: 28px; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; margin-bottom: 6px;
}
.rp-inst-sub {
  font-size: 15px; color: var(--gold); opacity: 0.75;
  margin-bottom: 28px; font-style: italic;
}
.rp-inst-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.rp-inst-body p {
  font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 14px;
}
.rp-inst-btn {
  margin-top: 10px; align-self: flex-start;
  background: var(--gold); color: #0b0b0b;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 11px 24px; border: none; border-radius: 8px;
  cursor: pointer; font-family: inherit; transition: background 0.18s;
}
.rp-inst-btn:hover { background: #e0c08d; }

/* ── Artifact overlay ── */
.rp-artifact-overlay {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 600; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.rp-artifact-overlay.is-active { opacity: 1; pointer-events: all; }
.rp-artifact-bar {
  height: 52px; min-height: 52px;
  background: rgba(11,11,11,0.97);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 20px; flex-shrink: 0;
}
.rp-close-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); border-radius: 8px;
  padding: 5px 14px; cursor: pointer; font-size: 13px;
  font-family: inherit; transition: all 0.15s; line-height: 1.4;
}
.rp-close-btn:hover { color: var(--text); border-color: var(--border-strong); }
.rp-artifact-overlay iframe { width: 100%; flex: 1; border: none; }

/* ── Mobile ── */
@media (max-width: 767px) {
  .rp-sidebar { display: none; }
  .rp-sidebar.is-open {
    display: flex;
    position: fixed; top: 54px; left: 0; bottom: 0;
    z-index: 150; width: 280px;
    box-shadow: 4px 0 24px rgba(0,0,0,0.5);
  }
  .rp-sb-toggle  { display: flex; }
  .rp-topbar-center { display: none; }
  .rp-topbar-phase  { display: none; }
  .rp-execute-inner { padding: 16px 16px 80px; }
  .rp-moon-wrap     { padding: 16px 16px 4px; }
  .rp-section-inner { padding: 24px 16px 80px; }
  .rp-rail { grid-template-columns: repeat(5, 1fr); }
  .rp-pc-dates { display: none; }
}
