/* ================================================================
AnabhiDev-RDM — Anabhi Dev Vibe Coding Journey Roadmap
CSS3 · Base Styles, Theming, Topbar & Hero Layout
Development · Anabhi Dev
Version   : 1.1
Generated : 10 September 2026, 21:35:00
================================================================ */

/* ── SOP v2.1 STARTER BLOCK & OVERFLOW LOCK ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ── HAUTE-COUTURE FILM GRAIN & NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.8;
}

[data-theme="light"] body::before {
  opacity: 0.4;
}

/* ── JOURNEY READING PROGRESS BAR (Luxury Top Accent) ── */
.journey-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent) 0%, #38BDF8 50%, var(--gold) 100%);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 4px var(--accent);
  z-index: 1001;
  pointer-events: none;
  transition: width 0.12s cubic-bezier(0.2, 0, 0, 1);
  transform: translateZ(0);
}

/* Accessible focus outline (SOP v2.1 Kategori 8) */
:focus-visible {
  outline: 2px solid var(--accent, #5be0df);
  outline-offset: 2px;
}

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

/* Reduced motion preference */
@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;
  }
}

/* Browser default button reset (Standar Coding v1.7 Bagian 11.2) */
button {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

/* SOP v2.1 Grid and Flex child overflow defense */
.grid-safe > *, .row > *, .flex > * {
  min-width: 0;
}
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom subtle scrollbar (SOP v2.1 Kategori 13) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border, #22374E);
  border-radius: 3px;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border, #22374E) transparent;
}

/* ── COLOR TOKENS & THEMING (SOP v2.1 Kategori 13) ── */
:root, [data-theme="light"] {
  --theme-name: 'light';
  --bg: #F4F6F9;
  --bg-subtle: #EAEEF3;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface2: #EDF1F5;
  --surface-hover: #E2E8F0;
  --border: #CBD5E1;
  --border-subtle: #E2E8F0;
  --line: #64748B;
  --ink: #0F172A;
  --ink-soft: #334155;
  --ink-muted: #64748B;
  --accent: #0D9488;
  --accent-light: #14B8A6;
  --accent-glow: rgba(13, 148, 136, 0.15);
  --gold: #92400E;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);

  /* Status Colors */
  --status-completed: #059669;
  --status-completed-bg: #ECFDF5;
  --status-inprogress: #0284C7;
  --status-inprogress-bg: #F0F9FF;
  --status-coding: #7C3AED;
  --status-coding-bg: #F5F3FF;
  --status-testing: #B45309;
  --status-testing-bg: #FFFBEB;
  --status-deployment: #2563EB;
  --status-deployment-bg: #EFF6FF;
  --status-concept: #4B5563;
  --status-concept-bg: #F3F4F6;
  --status-onhold: #DC2626;
  --status-onhold-bg: #FEF2F2;

  /* Categories (Light Mode) */
  --cat-personal: #0284C7;
  --cat-personal-bg: #E0F2FE;
  --cat-office: #92400E;
  --cat-office-bg: #FEF3C7;
  --cat-shared: #4F46E5;
  --cat-shared-bg: #EEF2FF;
}

[data-theme="dark"] {
  --theme-name: 'dark';
  --bg: #070D14;
  --bg-subtle: #0B1420;
  --surface: #0F1B2B;
  --surface-raised: #152438;
  --surface2: #1A2D44;
  --surface-hover: #223955;
  --border: #20354E;
  --border-subtle: #182A3E;
  --line: #294463;
  --ink: #F8FAFC;
  --ink-soft: #CBD5E1;
  --ink-muted: #849AB3;
  --accent: #5be0df;
  --accent-light: #7ef5f4;
  --accent-glow: rgba(91, 224, 223, 0.18);
  --gold: #E8C468;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);

  /* Status Colors (Dark) */
  --status-completed: #10B981;
  --status-completed-bg: rgba(16, 185, 129, 0.16);
  --status-inprogress: #38BDF8;
  --status-inprogress-bg: rgba(56, 189, 248, 0.16);
  --status-coding: #A78BFA;
  --status-coding-bg: rgba(167, 139, 250, 0.16);
  --status-testing: #FBBF24;
  --status-testing-bg: rgba(251, 191, 36, 0.16);
  --status-deployment: #60A5FA;
  --status-deployment-bg: rgba(96, 165, 250, 0.16);
  --status-concept: #94A3B8;
  --status-concept-bg: rgba(148, 163, 184, 0.16);
  --status-onhold: #F87171;
  --status-onhold-bg: rgba(248, 113, 113, 0.16);

  /* Categories (Dark Mode: Personal = Blue, Office = Gold, Shared = Indigo) */
  --cat-personal: #38BDF8;
  --cat-personal-bg: rgba(56, 189, 248, 0.16);
  --cat-office: #E8C468;
  --cat-office-bg: rgba(232, 196, 104, 0.16);
  --cat-shared: #818CF8;
  --cat-shared-bg: rgba(129, 140, 248, 0.16);
}

/* ── TOPBAR (Standar Coding v1.7 Bagian 11.1 & SOP v2.0 Kategori 14: Title Only, Tanpa Logo) ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hdr-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.hdr-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vibe-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 9999px;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Sync indicator */
.sync-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  padding: 0.3rem 0.6rem;
  background: var(--surface2);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-completed);
  box-shadow: 0 0 6px var(--status-completed);
}

.sync-dot.offline {
  background-color: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
}

/* Topbar Buttons */
.topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.topbar-btn:hover {
  background-color: var(--surface-hover);
  color: var(--ink);
  border-color: var(--accent);
}

.topbar-btn.icon-only {
  width: 34px;
  padding: 0;
}

.topbar-btn svg {
  width: 16px;
  height: 16px;
}

.topbar-btn.syncing svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── HERO SECTION (Blueprint B.4: 2-Column Luxury Dark Gradient) ── */
.hero-wrapper {
  background: linear-gradient(135deg, #050B12 0%, #0A1524 50%, #081C2E 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(91, 224, 223, 0.15);
  padding: 2.75rem clamp(1.25rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 224, 223, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  background: rgba(91, 224, 223, 0.12);
  border: 1px solid rgba(91, 224, 223, 0.35);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5be0df;
}

.hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #FFFFFF;
}

.title-accent {
  background: linear-gradient(90deg, #5be0df 0%, #E8C468 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-statement {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  line-height: 1.6;
}

/* Hero Stats Panel */
.hero-stats-panel {
  margin-top: 0.5rem;
  padding: 1.2rem;
  background: rgba(11, 27, 46, 0.65);
  border: 1px solid rgba(91, 224, 223, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.hero-stats-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-total-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.stat-total-count {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5be0df;
}

.stats-badges-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: all 0.2s ease;
  cursor: pointer;
}

.stat-pill:hover {
  background: rgba(91, 224, 223, 0.18);
  border-color: #5be0df;
  color: #FFFFFF;
}

.stat-pill.active {
  background: rgba(91, 224, 223, 0.28);
  border-color: #5be0df;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(91, 224, 223, 0.35);
}

.stat-pill .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.stat-pill[data-status="Completed"] { color: #34D399; }
.stat-pill[data-status="In Progress"] { color: #38BDF8; }
.stat-pill[data-status="Coding"] { color: #C084FC; }
.stat-pill[data-status="Testing"] { color: #FBBF24; }
.stat-pill[data-status="Deployment"] { color: #60A5FA; }
.stat-pill[data-status="Still Concept"] { color: #94A3B8; }
.stat-pill[data-status="On Hold"] { color: #F87171; }

.stat-pill .badge-count {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Right Column: Official Brand Card (Blueprint B.4) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-frame {
  width: 100%;
  max-width: 320px;
  padding: 2rem 1.5rem;
  background: rgba(11, 27, 46, 0.6);
  border: 1px solid rgba(91, 224, 223, 0.25);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-card-frame:hover {
  transform: translateY(-3px);
  border-color: #5be0df;
}

.hero-logo-link {
  display: block;
  width: 100%;
  background: transparent !important;
}

.hero-logo-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(91, 224, 223, 0.2));
}

.hero-card-caption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ── CONTROLS BAR (Search, Filters, Reset) ── */
.controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 4.5rem);
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.search-box-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--ink-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 38px;
  padding: 0 2.4rem 0 2.4rem;
  font-size: 0.85rem;
  color: var(--ink);
  background-color: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background-color: var(--surface);
}

.search-clear-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 2;
}

.search-clear-btn.show {
  opacity: 1;
  visibility: visible;
}

.search-clear-btn:hover {
  background-color: var(--surface-hover);
  color: var(--ink);
  border-color: var(--accent);
}

.search-kbd-hint {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink-muted);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.search-clear-btn.show ~ .search-kbd-hint,
.search-box-wrap:focus-within .search-kbd-hint {
  opacity: 0;
}

@media (max-width: 640px) {
  .search-kbd-hint {
    display: none;
  }
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.filter-select {
  height: 38px;
  padding: 0 2rem 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background-color: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg2+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23849AB3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: all 0.2s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
}

.reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 38px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  background-color: transparent;
  border: 1px dashed var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.reset-btn:hover {
  color: var(--ink);
  border-color: var(--accent);
  background-color: var(--surface2);
}

/* ── EXPORT DROPDOWN ── */
.export-dropdown-wrap {
  position: relative;
  display: inline-flex;
}

.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 38px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.export-btn:hover,
.export-btn[aria-expanded="true"] {
  color: var(--ink);
  border-color: var(--accent);
  background-color: var(--surface-hover);
}

.export-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 195px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg), 0 12px 24px rgba(0, 0, 0, 0.35);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.export-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.export-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.export-menu-item:hover,
.export-menu-item:focus-visible {
  background-color: var(--surface2);
  color: var(--accent);
  outline: none;
}

.export-menu-item svg {
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.export-menu-item:hover svg {
  color: var(--accent);
}

.results-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* ── APP FOOTER ── */
.app-footer {
  padding: 2.5rem clamp(1.25rem, 5vw, 4.5rem);
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-credit {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ── RESPONSIVE RULES ── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-card-frame {
    max-width: 280px;
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .topbar {
    padding: 0.65rem 1rem;
  }
  .hdr-title {
    font-size: 0.95rem;
  }
  .vibe-badge {
    display: none;
  }
  .sync-text {
    display: none;
  }
  .sync-indicator {
    padding: 0.4rem;
  }
  .hero-wrapper {
    padding: 2rem 1.25rem;
  }
  .controls-bar {
    padding: 1rem 1.25rem;
  }
  .search-box-wrap {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .filter-group {
    width: 100%;
    justify-content: flex-start;
  }
  .filter-select {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 130px;
  }
  .reset-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .results-counter {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .topbar-btn {
    min-height: 40px;
    padding: 0 0.65rem;
  }
  .topbar-btn.icon-only {
    width: 40px;
    height: 40px;
  }
  .topbar-right {
    gap: 0.45rem;
  }
}

/* ── TOAST NOTIFICATION SYSTEM ── */
.app-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-raised);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.app-toast.error {
  border-color: var(--status-onhold);
  color: var(--status-onhold);
}

/* ── FLOATING BACK TO TOP BUTTON ── */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 16px var(--accent-glow);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .back-to-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
  }
  .back-to-top-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ── PRINT DOCUMENT HEADER (Hidden on Screen) ── */
.print-doc-header {
  display: none;
}

/* ── PRINT MEDIA OPTIMIZATIONS ── */
@media print {
  .topbar,
  .controls-bar,
  .hero-wrapper,
  .back-to-top-btn,
  .snake-svg-overlay,
  .modal-backdrop,
  .journey-progress-bar,
  .card-quick-copy-btn {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #0F172A !important;
  }

  .print-doc-header {
    display: block !important;
    padding: 1.5rem 0 1rem;
    border-bottom: 2px solid #0F172A;
    margin-bottom: 1.5rem;
  }

  .print-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
  }

  .print-doc-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A !important;
    margin: 0;
  }

  .print-doc-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    border: 1px solid #CBD5E1;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
  }

  .print-doc-desc {
    font-size: 0.9rem;
    color: #334155 !important;
    margin-bottom: 0.5rem;
  }

  .print-doc-meta {
    font-size: 0.8rem;
    color: #64748B !important;
  }

  .roadmap-container {
    padding: 0 !important;
  }

  .roadmap-snake {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .roadmap-node-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
  }

  .card-title {
    color: #0F172A !important;
  }

  /* Distinct Print Accents */
  .card-cat-office {
    border-top: 3px solid #B45309 !important;
  }

  .card-cat-personal {
    border-top: 3px solid #0284C7 !important;
  }

  .card-cat-shared {
    border-top: 3px solid #6366F1 !important;
  }
}


