    :root {
      --sh-void: #030304;
      --sh-obsidian: #08080a;
      --sh-onyx: #0f0f12;
      --sh-carbon: #151518;
      --sh-graphite: #1a1a1f;
      --sh-slate: #242429;
      --sh-primary: #8b5cf6;
      --sh-primary-light: #a78bfa;
      --sh-primary-dark: #7c3aed;
      --sh-primary-glow: rgba(139, 92, 246, 0.15);
      --sh-primary-border: rgba(139, 92, 246, 0.35);
      --sh-gold: #f59e0b;
      --sh-gold-light: #fbbf24;
      --sh-gold-dark: #d97706;
      --sh-gold-glow: rgba(245, 158, 11, 0.12);
      --sh-gold-border: rgba(245, 158, 11, 0.3);
      --sh-cyan: #06b6d4;
      --sh-cyan-light: #22d3ee;
      --sh-cyan-dark: #0891b2;
      --sh-cyan-glow: rgba(6, 182, 212, 0.12);
      --sh-red: #ef4444;
      --sh-red-glow: rgba(239, 68, 68, 0.12);
      --sh-green: #10b981;
      --sh-green-light: #34d399;
      --sh-green-glow: rgba(16, 185, 129, 0.12);
      --sh-gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #f59e0b 100%);
      --sh-gradient-primary: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
      --sh-gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
      --sh-gradient-cyan: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
      --sh-white: #fafafa;
      --sh-gray-100: #f4f4f5;
      --sh-gray-200: #e4e4e7;
      --sh-gray-300: #d4d4d8;
      --sh-gray-400: #c0c0cc;
      --sh-gray-500: #a0a0ae;
      --sh-gray-600: #74747f;
      --sh-gray-700: #3f3f46;
      --font-display: 'Outfit', sans-serif;
      --font-body: 'Space Grotesk', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
      --space-5: 20px; --space-6: 24px; --space-7: 28px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
      --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 20px; --radius-2xl: 24px; --radius-full: 9999px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
      --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
      --shadow-glow-primary: 0 0 40px rgba(139, 92, 246, 0.25);
      --shadow-glow-gold: 0 0 40px rgba(245, 158, 11, 0.2);
      --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.2);

      --text-2xs: 0.5rem;
      --text-xs: 0.65rem;
      --text-sm: 0.8rem;
      --text-base: 0.95rem;
      --text-lg: 1.125rem;
      --text-xl: 1.35rem;
      --text-2xl: 1.75rem;
      --text-3xl: 2.25rem;
      --leading-tight: 1.15;
      --leading-normal: 1.5;
      --leading-relaxed: 1.7;
      --tracking-tight: -0.03em;
      --tracking-normal: 0;
      --tracking-wide: 0.06em;
      --tracking-mono: 0.1em;
      --text-primary: #fafafa;
      --text-secondary: #b4b4c0;
      --text-tertiary: #9494a0;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
      --duration-fast: 0.15s;
      --duration-normal: 0.25s;
      --duration-slow: 0.4s;
      --shadow-depth-1: 0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
      --shadow-depth-2: 0 4px 12px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
      --shadow-depth-3: 0 12px 40px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.35);
    }
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--sh-void);
      color: var(--sh-white);
      min-height: 100vh;
      line-height: 1.65;
      overflow-x: hidden;
    }
    p { line-height: var(--leading-relaxed); margin-bottom: var(--space-3); }
    p:last-child { margin-bottom: 0; }
    body::before {
      content: '';
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 85% 10%, rgba(6, 182, 212, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 90%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 50% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
      pointer-events: none; z-index: -1;
    }
    body::after {
      content: '';
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none; z-index: -1;
    }
    .sh-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
    .sh-icon svg { width: 100%; height: 100%; }
    .sh-icon-sm { width: 18px; height: 18px; }
    .sh-icon-lg { width: 32px; height: 32px; }
    .sh-icon-xl { width: 48px; height: 48px; }
    h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: var(--leading-tight); }
    h1 { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.04em; }
    h2 { font-size: var(--text-2xl); letter-spacing: -0.032em; }
    h3 { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.025em; }
    .sh-label {
      font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
      letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--sh-gray-500);
    }
    .sh-label-primary { color: var(--sh-primary-light); }
    .sh-label-gold { color: var(--sh-gold); }
    .sh-label-cyan { color: var(--sh-cyan); }
    a { color: var(--sh-primary-light); text-decoration: none; transition: color 0.2s ease; }
    a:hover { color: var(--sh-white); }
    .sh-link {
      position: relative;
      color: var(--sh-primary-light);
      text-decoration: none;
      font-weight: 500;
    }
    .sh-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--sh-gradient-primary);
      border-radius: 1px;
      transition: width 0.3s var(--ease-out-expo);
    }
    .sh-link:hover::after { width: 100%; }
    .sh-link:hover { color: var(--sh-white); }
    .sh-back {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 16px; border-radius: var(--radius-full);
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
      font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
      color: var(--sh-gray-500); transition: all 0.2s;
    }
    .sh-back:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--sh-white); }
    .sh-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
    .container {
      max-width: 480px; margin: 0 auto; padding: var(--space-4);
      padding-top: max(var(--space-4), env(safe-area-inset-top));
    }
    @media (min-width: 768px) {
      .container { max-width: 600px; padding: var(--space-6); }
    }
    @media (min-width: 1024px) {
      .container { max-width: 720px; padding: var(--space-8); }
    }
    @media (min-width: 768px) {
      .sh-card { padding: var(--space-8); border-radius: var(--radius-2xl); }
      .sh-btn { padding: var(--space-4) var(--space-7); font-size: 0.95rem; }
      .sh-input { font-size: 0.95rem; padding: 14px 18px; }
    }
    .sh-card {
      background: linear-gradient(145deg, rgba(15, 15, 18, 0.92) 0%, rgba(8, 8, 10, 0.96) 100%);
      backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: var(--radius-xl); padding: var(--space-7);
      position: relative; overflow: hidden;
      box-shadow: 0 2px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
      transition: border-color var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-slow) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo);
    }
    .sh-card:hover {
      border-color: rgba(255, 255, 255, 0.14);
      box-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 0 50px rgba(139, 92, 246, 0.08), inset 0 1px 0 rgba(255,255,255,0.06);
    }
    .sh-card-interactive {
      cursor: pointer;
    }
    .sh-card-interactive:hover {
      transform: translateY(-4px);
      border-color: rgba(139, 92, 246, 0.25);
      box-shadow: var(--shadow-depth-3), 0 0 40px rgba(139, 92, 246, 0.1);
    }
    .sh-card-interactive:active {
      transform: translateY(-1px) scale(0.98);
      transition-duration: var(--duration-fast);
    }
    .sh-card-entrance {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    }
    .sh-card-entrance.sh-card-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .sh-card::before {
      content: ''; position: absolute; top: 0; left: var(--space-6); right: var(--space-6); height: 1px;
      background: linear-gradient(90deg, transparent, rgba(245,158,11,0.15), rgba(139,92,246,0.12), rgba(6,182,212,0.15), transparent);
      opacity: 0.5; transition: opacity var(--duration-normal) ease;
    }
    .sh-card:hover::before { opacity: 1; }
    .sh-card-gold::before { background: linear-gradient(90deg, transparent, var(--sh-gold-border), transparent); }
    .sh-card-cyan::before { background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent); }
    .sh-card-gold:hover { border-color: rgba(245, 158, 11, 0.15); }
    .sh-card-cyan:hover { border-color: rgba(6, 182, 212, 0.15); }
    .sh-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
      padding: var(--space-4) var(--space-6); border-radius: var(--radius-lg);
      font-family: var(--font-body); font-weight: 600; font-size: 0.875rem;
      letter-spacing: 0.02em; cursor: pointer; transition: all var(--duration-normal) var(--ease-out-expo);
      border: none; position: relative; overflow: hidden; text-decoration: none;
      -webkit-tap-highlight-color: transparent; user-select: none;
    }
    .sh-btn:active { transform: scale(0.97); transition-duration: var(--duration-fast); }
    .sh-btn-primary { background: var(--sh-gradient-primary); color: var(--sh-white); box-shadow: var(--shadow-glow-primary); }
    .sh-btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4), 0 15px 30px rgba(0,0,0,0.3); }
    .sh-btn-primary:active { transform: translateY(0) scale(0.96); }
    .sh-btn-hero {
      background: var(--sh-gradient-hero); color: var(--sh-white);
      box-shadow: 0 0 40px rgba(139, 92, 246, 0.25), 0 0 60px rgba(6, 182, 212, 0.1), 0 0 80px rgba(245,158,11,0.06);
    }
    .sh-btn-hero::before {
      content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
      animation: shimmer 3s infinite;
    }
    @keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
    .sh-btn-hero:hover { transform: translateY(-3px) scale(1.01); }
    .sh-btn-hero:active { transform: translateY(0) scale(0.97); }
    .sh-btn-ghost {
      background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--sh-gray-400);
    }
    .sh-btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--sh-primary-border); color: var(--sh-white); }
    .sh-btn-ghost:active { background: rgba(255, 255, 255, 0.08); }
    .sh-btn-block { display: flex; width: 100%; }
    .sh-btn-lg { padding: var(--space-5) var(--space-8); font-size: 0.95rem; border-radius: var(--radius-xl); }
    .sh-input {
      background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md); color: var(--sh-white); padding: var(--space-4);
      font-family: var(--font-body); font-size: 1rem; width: 100%;
      transition: border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease, background var(--duration-normal) ease;
    }
    .sh-input:focus { outline: none; border-color: var(--sh-primary); box-shadow: 0 0 0 4px var(--sh-primary-glow), 0 0 30px rgba(139,92,246,0.15); background: rgba(0,0,0,0.45); }
    .sh-input::placeholder { color: var(--sh-gray-600); transition: color var(--duration-fast) ease; }
    .sh-input:focus::placeholder { color: var(--sh-gray-700); }
    textarea.sh-input { resize: vertical; min-height: 80px; }
    .sh-progress { background: rgba(255, 255, 255, 0.05); border-radius: var(--radius-full); height: 6px; overflow: hidden; }
    .sh-progress-fill { height: 100%; border-radius: var(--radius-full); transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
    .sh-progress-primary { background: var(--sh-gradient-primary); box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }
    .sh-progress-gold { background: var(--sh-gradient-gold); box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
    .sh-progress-cyan { background: var(--sh-gradient-cyan); box-shadow: 0 0 15px rgba(6, 182, 212, 0.5); }
    .sh-progress-green { background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%); box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }
    .sh-badge {
      display: inline-flex; align-items: center; gap: var(--space-1);
      padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
      font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
    }
    .sh-badge-primary { background: var(--sh-primary-glow); border: 1px solid var(--sh-primary-border); color: var(--sh-primary-light); }
    .sh-badge-gold { background: var(--sh-gold-glow); border: 1px solid var(--sh-gold-border); color: var(--sh-gold); }
    .sh-badge-cyan { background: var(--sh-cyan-glow); border: 1px solid rgba(6, 182, 212, 0.3); color: var(--sh-cyan); }
    .sh-badge-green { background: var(--sh-green-glow); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--sh-green); }
    .sh-badge-red { background: var(--sh-red-glow); border: 1px solid rgba(239, 68, 68, 0.3); color: var(--sh-red); }
    .sh-brand { display: flex; align-items: center; gap: var(--space-2); }
    .sh-brand-mark {
      width: 32px; height: 32px; background: var(--sh-gradient-hero);
      border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
      font-family: var(--font-display); font-weight: 900; font-size: 1.1rem;
      color: var(--sh-white); box-shadow: var(--shadow-glow-primary);
    }
    .sh-brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
    .sh-brand-text span { background: var(--sh-gradient-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .pillar-icon {
      width: 44px; height: 44px; border-radius: var(--radius-md);
      display: flex; align-items: center; justify-content: center; position: relative;
    }
    .pillar-icon svg { width: 24px; height: 24px; }
    .pillar-icon.spirit { background: var(--sh-primary-glow); border: 1px solid var(--sh-primary-border); }
    .pillar-icon.spirit svg { stroke: var(--sh-primary-light); fill: none; }
    .pillar-icon.wealth { background: var(--sh-gold-glow); border: 1px solid var(--sh-gold-border); }
    .pillar-icon.wealth svg { stroke: var(--sh-gold); fill: none; }
    .pillar-icon.body { background: var(--sh-cyan-glow); border: 1px solid rgba(6, 182, 212, 0.3); }
    .pillar-icon.body svg { stroke: var(--sh-cyan); fill: none; }
    .pillar-icon.mind { background: var(--sh-green-glow); border: 1px solid rgba(16, 185, 129, 0.3); }
    .pillar-icon.mind svg { stroke: var(--sh-green); fill: none; }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes skeletonShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
    @keyframes scoreRingIn { from { stroke-dashoffset: var(--ring-circumference, 565); } }
    @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px var(--sh-primary-glow); } 50% { box-shadow: 0 0 40px var(--sh-primary-glow), 0 0 60px var(--sh-primary-glow); } }
    @keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.2); } }
    .animate-fade-in { animation: fadeInUp 0.45s var(--ease-out-expo) forwards; opacity: 0; }
    .animate-fade-only { animation: fadeIn 0.35s ease forwards; opacity: 0; }
    .stagger-1 { animation-delay: 0.04s; }
    .stagger-2 { animation-delay: 0.08s; }
    .stagger-3 { animation-delay: 0.12s; }
    .stagger-4 { animation-delay: 0.16s; }
    .stagger-5 { animation-delay: 0.2s; }
    .stagger-6 { animation-delay: 0.24s; }
    .stagger-7 { animation-delay: 0.28s; }
    .stagger-8 { animation-delay: 0.32s; }
    .text-gradient { background: var(--sh-gradient-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .text-primary { color: var(--sh-primary-light); }
    .text-gold { color: var(--sh-gold); }
    .text-cyan { color: var(--sh-cyan); }
    .text-green { color: var(--sh-green); }
    .text-muted { color: var(--sh-gray-500); }
    .text-center { text-align: center; }
    .text-mono { font-family: var(--font-mono); }
    .mt-2 { margin-top: var(--space-4); }
    .mt-3 { margin-top: var(--space-6); }
    .mb-2 { margin-bottom: var(--space-4); }
    .mb-3 { margin-bottom: var(--space-6); }
    .mb-4 { margin-bottom: var(--space-8); }
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.25); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.5); }
    ::selection { background: rgba(139, 92, 246, 0.3); color: var(--sh-white); }
    ::-moz-selection { background: rgba(139, 92, 246, 0.3); color: var(--sh-white); }
    :focus-visible {
      outline: 2px solid rgba(139, 92, 246, 0.6);
      outline-offset: 3px;
      border-radius: var(--radius-sm);
    }
    .sh-flash {
      padding: var(--space-4); border-radius: var(--radius-md); margin-bottom: var(--space-4);
      font-size: 0.85rem; display: flex; align-items: center; gap: var(--space-3);
      animation: slideDown 0.3s var(--ease-out-expo) forwards;
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    }
    .sh-flash-success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16, 185, 129, 0.25); color: var(--sh-green); }
    .sh-flash-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239, 68, 68, 0.25); color: var(--sh-red); }
    .sh-flash-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); color: var(--sh-gold); }
    .sh-flash-info { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.25); color: var(--sh-primary-light); }
    .sh-skeleton {
      background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
      background-size: 200% 100%;
      animation: skeletonShimmer 1.5s infinite linear;
      border-radius: var(--radius-md);
    }
    .sh-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
      margin: var(--space-6) 0;
      border: none;
    }
    .sh-divider-subtle {
      height: 1px;
      background: rgba(255,255,255,0.04);
      margin: var(--space-4) 0;
    }
    .depth-1 { box-shadow: var(--shadow-depth-1); }
    .depth-2 { box-shadow: var(--shadow-depth-2); }
    .depth-3 { box-shadow: var(--shadow-depth-3); }
    .surface-raised {
      background: linear-gradient(145deg, rgba(20,20,24,0.95) 0%, rgba(15,15,18,0.98) 100%);
      border: 1px solid rgba(255,255,255,0.05);
    }
    .surface-inset {
      background: rgba(0,0,0,0.2);
      border: 1px solid rgba(255,255,255,0.03);
      border-radius: var(--radius-md);
    }
    .sh-glass {
      background: rgba(12, 12, 15, 0.65);
      backdrop-filter: blur(32px) saturate(1.2);
      -webkit-backdrop-filter: blur(32px) saturate(1.2);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }
    @keyframes sh-shake {
      0%, 100% { transform: translateX(0); }
      15%       { transform: translateX(-6px); }
      30%       { transform: translateX(5px); }
      45%       { transform: translateX(-4px); }
      60%       { transform: translateX(3px); }
      75%       { transform: translateX(-2px); }
      90%       { transform: translateX(1px); }
    }
    .sh-shake { animation: sh-shake 0.5s var(--ease-out-expo) both; }
    .sh-ripple-host { position: relative; overflow: hidden; }
    .sh-ripple-wave {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.18);
      transform: scale(0);
      animation: sh-ripple-expand 0.55s var(--ease-out-expo) forwards;
      pointer-events: none;
    }
    @keyframes sh-ripple-expand {
      to { transform: scale(4); opacity: 0; }
    }
    /* ── Cross-document view transitions ── */
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: none; }
    ::view-transition-new(root) {
      animation: navFadeIn 0.16s var(--ease-out-expo) both;
    }
    @keyframes navFadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
    .bottom-nav {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
      padding: var(--space-2) var(--space-4);
      padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
      background: linear-gradient(to top, var(--sh-void) 0%, var(--sh-void) 60%, transparent 100%);
    }
    .bottom-nav-inner {
      max-width: 480px; margin: 0 auto;
      background: linear-gradient(145deg, rgba(15, 15, 18, 0.96) 0%, rgba(8, 8, 10, 0.98) 100%);
      backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-top: 1px solid rgba(245, 158, 11, 0.08);
      border-radius: var(--radius-2xl); display: flex; justify-content: space-around;
      padding: var(--space-3) var(--space-2);
      box-shadow: 0 -4px 30px rgba(0,0,0,0.4), 0 -1px 0 rgba(245,158,11,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
    }
    .nav-item {
      text-decoration: none; text-align: center;
      padding: 6px 10px 4px;
      border-radius: var(--radius-lg); transition: all 0.2s ease;
      min-width: 44px;
      display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
      -webkit-tap-highlight-color: transparent;
      position: relative;
    }
    .nav-item:hover { background: rgba(255, 255, 255, 0.04); }
    .nav-item:active { transform: scale(0.92); }
    .nav-item.active {
      background: var(--sh-primary-glow);
      border: 1px solid rgba(139,92,246,0.15);
    }
    .nav-item.active::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 50%;
      transform: translateX(-50%);
      width: 16px;
      height: 2px;
      background: var(--sh-primary-light);
      border-radius: 1px;
      box-shadow: 0 0 6px rgba(139,92,246,0.3);
    }
    .nav-icon { width: 22px; height: 22px; margin: 0 auto 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .nav-icon svg { width: 18px; height: 18px; stroke: var(--sh-gray-500); fill: none; transition: stroke 0.2s; stroke-width: 1.8; }
    .nav-item.active .nav-icon svg { stroke: var(--sh-primary-light); filter: drop-shadow(0 0 4px rgba(139,92,246,0.3)); }
    .nav-label {
      font-family: var(--font-mono); font-size: 0.48rem; font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase; color: var(--sh-gray-500);
      transition: color 0.2s; line-height: 1; white-space: nowrap;
    }
    .nav-item.active .nav-label { color: var(--sh-primary-light); }
    .nav-item.active .nav-icon svg {
      animation: navGlowPulse 3s ease-in-out infinite;
    }
    @keyframes navGlowPulse {
      0%, 100% { filter: drop-shadow(0 0 4px rgba(139,92,246,0.3)); }
      50% { filter: drop-shadow(0 0 10px rgba(139,92,246,0.5)) drop-shadow(0 0 20px rgba(139,92,246,0.15)); }
    }
    .nav-dot-zone {
      height: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .nav-dot {
      display: block;
      width: 4px; height: 4px;
      border-radius: 50%;
      transition: all 0.3s ease;
    }
    .nav-dot-done {
      background: #10b981;
      box-shadow: 0 0 6px rgba(16,185,129,0.5);
    }
    .nav-dot-partial {
      background: #f59e0b;
      box-shadow: 0 0 6px rgba(245,158,11,0.4);
      animation: dotPulse 2s ease-in-out infinite;
    }
    .nav-dot-empty {
      background: transparent;
    }
    @keyframes dotPulse {
      0%, 100% { opacity: 0.6; }
      50% { opacity: 1; }
    }
    @media (min-width: 768px) {
      .bottom-nav-inner { max-width: 600px; }
      .nav-item { padding: 8px 14px 6px; }
      .nav-icon { width: 24px; height: 24px; }
      .nav-icon svg { width: 20px; height: 20px; }
      .nav-label { font-size: 0.54rem; }
    }
    @media (min-width: 1024px) {
      .bottom-nav-inner { max-width: 720px; }
      .nav-item { padding: 10px 18px 8px; }
      .nav-icon { width: 26px; height: 26px; }
      .nav-icon svg { width: 22px; height: 22px; }
      .nav-label { font-size: 0.58rem; letter-spacing: 0.08em; }
    }
    .sh-toggle {
      position: relative; display: inline-flex; align-items: center; gap: var(--space-3); cursor: pointer;
    }
    .sh-toggle input { display: none; }
    .sh-toggle-track {
      width: 44px; height: 24px; background: var(--sh-slate); border-radius: var(--radius-full);
      position: relative; transition: background 0.3s;
    }
    .sh-toggle-track::after {
      content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
      background: var(--sh-gray-400); border-radius: 50%; transition: all 0.3s;
    }
    .sh-toggle input:checked + .sh-toggle-track { background: var(--sh-primary); }
    .sh-toggle input:checked + .sh-toggle-track::after { left: 22px; background: var(--sh-white); }
    .sh-toggle-label {
      font-family: var(--font-body); font-size: 0.85rem; color: var(--sh-gray-400);
    }
    .sh-toggle input:checked ~ .sh-toggle-label { color: var(--sh-white); }
    .sh-number-input {
      display: flex; align-items: center; gap: var(--space-2);
    }
    .sh-number-input button {
      width: 36px; height: 36px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.03); color: var(--sh-white); font-size: 1.2rem;
      cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
    }
    .sh-number-input button:hover { background: var(--sh-primary-glow); border-color: var(--sh-primary-border); }
    .sh-number-input input {
      width: 60px; text-align: center; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-md); color: var(--sh-white); padding: var(--space-2);
      font-family: var(--font-mono); font-size: 0.9rem;
    }
    .sh-number-input input:focus { outline: none; border-color: var(--sh-primary); }
    .field-group { margin-bottom: var(--space-5); }
    .field-label {
      font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-gray-500);
      margin-bottom: var(--space-2); display: block;
    }
    .top-menu {
      position: fixed;
      top: 12px;
      right: 12px;
      z-index: 1000;
    }
    .top-menu-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px 6px 8px;
      border-radius: var(--radius-full);
      background: rgba(139,92,246,0.08);
      border: 1px solid rgba(139,92,246,0.2);
      cursor: pointer;
      transition: all 0.25s;
      box-shadow: 0 0 12px rgba(0,0,0,0.15);
    }
    .top-menu-btn:hover {
      background: rgba(139,92,246,0.14);
      border-color: rgba(139,92,246,0.4);
      box-shadow: 0 0 20px rgba(139,92,246,0.1);
    }
    .top-menu-btn svg {
      width: 16px;
      height: 16px;
      stroke: #a78bfa;
      fill: none;
      transition: transform 0.4s ease;
    }
    .top-menu-btn:hover svg { transform: rotate(60deg); }
    .top-menu-btn-label {
      font-family: var(--font-mono);
      font-size: 0.55rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #a78bfa;
      font-weight: 700;
    }
    .top-menu-dropdown {
      display: none;
      position: absolute;
      top: 50px;
      right: 0;
      min-width: 200px;
      background: rgba(10,10,14,0.97);
      border: 1px solid rgba(139,92,246,0.2);
      border-radius: var(--radius-xl);
      padding: var(--space-2);
      box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04), 0 0 20px rgba(0,0,0,0.3);
      backdrop-filter: blur(20px);
    }
    .top-menu-dropdown.open { display: block; animation: menuFadeIn 0.15s ease; }
    @keyframes menuFadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
    .top-menu-item {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      padding: 10px var(--space-4);
      border-radius: var(--radius-md);
      text-decoration: none;
      color: var(--sh-gray-400);
      font-family: var(--font-mono);
      font-size: 0.65rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      transition: all 0.15s;
    }
    .top-menu-item:hover { background: rgba(139,92,246,0.08); color: #c4b5fd; }
    .top-menu-item svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
    .top-menu-divider { height: 1px; background: rgba(255,255,255,0.06); margin: var(--space-1) 0; }
    .top-menu-header {
      padding: 8px var(--space-4) 6px;
      font-family: var(--font-mono);
      font-size: 0.5rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--sh-gray-600);
    }

    /* ── Global back button ── */
    .sh-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      margin-bottom: var(--space-5);
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius-full);
      font-family: var(--font-mono);
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-tertiary);
      text-decoration: none;
      transition: all 0.2s;
      cursor: pointer;
    }
    .sh-back svg {
      width: 14px; height: 14px;
      stroke: currentColor; fill: none;
      flex-shrink: 0;
      transition: transform 0.2s;
    }
    .sh-back:hover {
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.12);
      color: var(--text-secondary);
    }
    .sh-back:hover svg { transform: translateX(-3px); }
    .sh-back:active { transform: scale(0.97); }
    .sh-skeleton {
      background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
      background-size: 200% 100%;
      animation: sh-shimmer 1.5s infinite;
    }
    @keyframes sh-shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }
    .sh-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
      margin: var(--space-6) 0;
    }
    .depth-1 { box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
    .depth-2 { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
    .depth-3 { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
    
    .sh-flash {
      animation: sh-flash-in 0.5s var(--ease-out-expo) forwards;
    }
    @keyframes sh-flash-in {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    body.strict-mode {
      --sh-void: #050305;
      --sh-onyx: #0d0008;
      --sh-card-bg: rgba(20, 0, 10, 0.7);
    }
    body.strict-mode .sh-card {
      border-color: rgba(239, 68, 68, 0.15) !important;
      background: rgba(20, 0, 10, 0.65);
    }
    body.strict-mode .sh-card:hover {
      border-color: rgba(239, 68, 68, 0.28) !important;
      box-shadow: 0 8px 30px rgba(239, 68, 68, 0.1);
    }
    body.strict-mode .bottom-nav {
      background: rgba(10, 0, 5, 0.98);
      border-top-color: rgba(239, 68, 68, 0.2);
    }
    body.strict-mode .nav-item.active svg,
    body.strict-mode .nav-item.active .nav-label {
      color: #ef4444;
    }
    body.strict-mode .nav-item.active::before {
      background: rgba(239, 68, 68, 0.12);
      border-color: rgba(239, 68, 68, 0.2);
    }
    .strict-lockdown-banner {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px 18px;
      margin-bottom: var(--space-5);
      background: rgba(239, 68, 68, 0.07);
      border: 1px solid rgba(239, 68, 68, 0.3);
      border-left: 4px solid #ef4444;
      border-radius: var(--radius-lg);
      animation: strictBannerIn 0.4s var(--ease-out-expo) both;
    }
    @keyframes strictBannerIn {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .strict-lockdown-banner .strict-pulse {
      width: 8px; height: 8px; border-radius: 50%;
      background: #ef4444; flex-shrink: 0; margin-top: 6px;
      box-shadow: 0 0 8px #ef4444;
      animation: strictDot 1.2s ease-in-out infinite;
    }
    @keyframes strictDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
    .command-brief-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--radius-xl);
      margin-bottom: var(--space-5);
      overflow: hidden;
    }
    .command-brief-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      cursor: pointer;
      user-select: none;
    }
    .command-brief-header:hover { background: rgba(255,255,255,0.02); }
    .command-brief-body { padding: 0 18px 16px; }
    .brief-insight {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .brief-insight:last-child { border-bottom: none; }
    .brief-insight-icon {
      width: 32px; height: 32px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .momentum-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--radius-xl);
      padding: 20px 18px;
      margin-bottom: var(--space-5);
    }
    .momentum-pillar-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .momentum-pillar-label {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--sh-gray-500);
      width: 52px;
      flex-shrink: 0;
    }
    .momentum-bar-track {
      flex: 1;
      height: 4px;
      background: rgba(255,255,255,0.06);
      border-radius: 99px;
      overflow: hidden;
    }
    .momentum-bar-fill {
      height: 100%;
      border-radius: 99px;
      transform-origin: left;
      transform: scaleX(0);
      transition: transform 0.8s var(--ease-out-expo);
    }
    .momentum-score-num {
      font-family: var(--font-display);
      font-size: 3rem;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -0.03em;
      background: linear-gradient(135deg, #a78bfa, #06b6d4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    body.strict-mode .momentum-score-num {
      background: linear-gradient(135deg, #ef4444, #f97316);
      -webkit-background-clip: text;
      background-clip: text;
    }
    #__repl_badge, [id^="replit-badge"], .replit-badge,
    [class*="replit"], iframe[src*="replit"],
    div[style*="z-index: 2147483647"],
    div[style*="z-index:2147483647"] { display: none !important; visibility: hidden !important; pointer-events: none !important; }
    @keyframes bfsOrb1 { 0%,100% { opacity:0.5; transform:translate(-50%,-50%) scale(1); } 50% { opacity:0.8; transform:translate(-50%,-50%) scale(1.15); } }
    @keyframes bfsOrb2 { 0%,100% { opacity:0.4; transform:scale(1); } 50% { opacity:0.7; transform:scale(1.1); } }
    @media (prefers-reduced-motion: reduce) {
      @keyframes bfsOrb1 { 0%,100% { opacity:0.5; } }
      @keyframes bfsOrb2 { 0%,100% { opacity:0.4; } }
    }
    .stabilize-fab {
      position: fixed;
      bottom: 88px;
      right: 16px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--sh-primary), var(--sh-cyan));
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      box-shadow: 0 4px 20px rgba(139,92,246,0.35);
      z-index: 99;
      border: none;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .stabilize-fab:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 28px rgba(139,92,246,0.5);
    }
    .stabilize-fab:active {
      transform: scale(0.95);
    }
    .rescue-option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 14px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
      color: inherit;
    }
    .rescue-option:hover {
      background: rgba(255,255,255,0.06);
      border-color: rgba(139,92,246,0.2);
    }
    .rescue-option svg { flex-shrink: 0; margin-top: 2px; }
    .rescue-option-title {
      font-family: var(--font-display);
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--sh-white);
      margin-bottom: 2px;
    }
    .rescue-option-sub {
      font-size: 0.7rem;
      color: var(--sh-gray-500);
      line-height: 1.4;
    }
