/* ── Font Import ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800;900&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

/* ── Dark Ocean Palette ──────────────────────────────────────────────────── */
:root {
    --color-bg-ocean:        #06b6d4;
    --color-bg-ink:          #082f49;
    --color-bg-black:        #000000;
    --color-accent-fuchsia:  #e879f9;
    --color-cyan-primary:    #22d3ee;
    --color-cyan-muted:      #a5f3fc;
    --color-text-primary:    #ecfeff;
    --color-text-white:      #ffffff;
    --color-text-muted:      #cffafe;
    --color-positive:        #4ade80;
    --color-negative:        #f87171;
    --color-bias-neutral:    #eab308;
    --color-bias-bearish:    #ef4444;
}

/* ── Reset & Body ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg-ocean);
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* ── Ambient Hero Glow ───────────────────────────────────────────────────── */
.hero-glow {
    position: absolute;
    top: -100px; left: 10%;
    width: 500px; height: 300px;
    background: radial-gradient(ellipse at center, rgba(232, 121, 249, 0.4) 0%, rgba(34, 211, 238, 0.2) 40%, rgba(0, 0, 0, 0) 70%);
    filter: blur(40px);
    z-index: 0; pointer-events: none;
}

/* ── Hero Glass Overlay (frosted header wrapping nav + page title) ──────── */
.hero-glass-overlay {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 -2px 10px rgba(255, 255, 255, 0.05);
    position: relative; overflow: hidden;
    width: 100%; z-index: 10;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 40px 3rem;
    position: relative; z-index: 2;
}
.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: -1px; color: var(--color-text-white);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.hero-expansive {
    padding: 6rem 40px 4rem;
}
.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    color: var(--color-cyan-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}
.hero-grid-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 768px) {
    .hero-grid-split {
        grid-template-columns: 1fr;
    }
}

/* ── Hero High-Fidelity Polish Effects ──────────────────────────────────── */
.hero-wave-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; opacity: 0.05; pointer-events: none;
    display: flex; align-items: center; overflow: hidden;
}
.hero-wave-bg svg {
    width: 150%; height: auto; transform: translateX(-10%);
}
.hero-grid-floor {
    position: absolute; bottom: -30%; left: -50%; width: 200%; height: 80%;
    z-index: 1; pointer-events: none; opacity: 0.15;
    background-image: 
        linear-gradient(rgba(34, 211, 238, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(600px) rotateX(70deg);
    mask-image: radial-gradient(ellipse at top, transparent 20%, black 80%), linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 80%);
}
.title-with-pulse {
    display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem;
}
.title-with-pulse h1 {
    margin-bottom: 0 !important;
}
.live-pulse {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--color-accent-fuchsia);
    box-shadow: 0 0 10px var(--color-accent-fuchsia), 0 0 20px var(--color-cyan-primary);
    position: relative; flex-shrink: 0;
}
.live-pulse::after {
    content: ''; position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%; border: 1px solid var(--color-accent-fuchsia);
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; border-color: var(--color-cyan-primary); }
}

/* ── Performance page wide layout ──────────────────────────────────────── */
.perf-content {
    width: 100%; max-width: 1200px;
    padding: 2rem 40px 60px;
}

/* ── Deep Ink card (table container on performance / open positions) ────── */
.ink-card {
    background: var(--color-bg-ink);
    border-radius: 24px; padding: 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 50px rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

/* ── Scrollable table wrapper inside ink-card ───────────────────────────── */
.table-scroll-wrapper {
    width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}
.table-scroll-wrapper::-webkit-scrollbar { height: 8px; }
.table-scroll-wrapper::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 4px; }
.table-scroll-wrapper::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.3); border-radius: 4px; }
.table-scroll-wrapper::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, 0.6); }

/* ── Table cell type utilities ──────────────────────────────────────────── */
.td-strat   { font-size: 0.85rem; color: var(--color-cyan-muted); opacity: 0.8; font-weight: 400; }
.entry-exit { font-size: 0.95rem; font-weight: 400; color: rgba(255,255,255,0.8); }
.price      { font-family: monospace; font-size: 1.1rem; }

/* ── App Bars (Nav & Footer) ─────────────────────────────────────────────── */
.app-bar-top, .app-bar-bottom {
    position: relative; z-index: 10;
    width: 100%;
    background: var(--color-bg-black);
    display: flex; justify-content: center;
}
.app-bar-top {
    margin-bottom: 0;
}
.app-bar-bottom {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5); font-size: 0.85rem;
}
.app-bar-content {
    width: 100%; max-width: 1100px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px;
}
.app-bar-bottom .app-bar-content { justify-content: center; padding: 28px 40px; }

/* ── Nav Brand & Links ───────────────────────────────────────────────────── */
.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 900; font-size: 1.5rem; letter-spacing: -0.5px;
    color: var(--color-text-white); text-decoration: none;
}
.brand-italic { font-style: normal; }
.brand-dot    { color: var(--color-cyan-primary); }
.nav-links { display: flex; gap: 24px; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.nav-links a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
.nav-links a:hover  { color: var(--color-text-white); }
.nav-links a.active { color: var(--color-text-white); }
.nav-user { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.logout-link { text-decoration: none; color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.logout-link:hover { color: var(--color-text-white); }

/* ── Page Content Shell ──────────────────────────────────────────────────── */
.page-content {
    position: relative; z-index: 1;
    width: 100%; flex: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: 0 20px 60px 20px;
}
/* Non-dashboard pages (performance, FAQ) */
.full-content { width: 100%; max-width: 900px; padding: 40px 20px; }
.full-content h1 { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; text-transform: uppercase; color: var(--color-text-white); margin-bottom: 8px; }
.full-content h2 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--color-text-white); margin: 1.5rem 0 0.5rem; }
.full-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--color-text-primary); margin: 1rem 0 0.35rem; }
.page-caption { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 1.5rem 0; }

/* ── Editorial Header & Status Prism ─────────────────────────────────────── */
.market-bias-stoplight {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    padding: 40px 40px 24px 40px;
}

.market-regime-kicker {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--color-accent-fuchsia);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
}

.market-regime-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    color: var(--color-text-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.market-bias-card {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.35), 0 0 28px rgba(34, 211, 238, 0.1);
}

.market-bias {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(34, 211, 238, 0.05);
    min-width: 170px;
    gap: 0.4rem;
}

.market-bias-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-cyan-muted);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.market-bias-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.market-bias-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.25);
}

.market-bias-item.is-active {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-positive);
    text-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.market-bias-dot {
    border-radius: 50%;
    flex-shrink: 0;
}

.market-bias-dot--bullish {
    width: 6px;
    height: 6px;
    background: var(--color-positive);
}

.market-bias-item.is-active .market-bias-dot--bullish {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 8px var(--color-positive);
}

.market-bias-dot--neutral {
    width: 6px;
    height: 6px;
    background: rgba(234, 179, 8, 0.5);
}

.market-bias-dot--bearish {
    width: 6px;
    height: 6px;
    background: rgba(239, 68, 68, 0.5);
}

.advisor-briefing {
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    text-align: left;
    flex: 1;
}

.advisor-briefing-icon {
    font-size: 1.6rem;
    filter: saturate(0) brightness(1.5);
    line-height: 1;
}

.advisor-briefing-label {
    font-family: 'Outfit', sans-serif;
    color: var(--color-text-white);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.advisor-briefing-text {
    color: var(--color-cyan-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.editorial-header {
    position: relative; z-index: 1; width: 100%; max-width: 1100px;
    padding: 40px 40px 60px 40px;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.header-content { max-width: 700px; }
.meta-nav {
    display: flex; gap: 24px; font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; font-weight: 600; color: var(--color-cyan-muted); margin-bottom: 30px;
}
.status-badge { color: var(--color-text-muted); display: flex; align-items: center; gap: 8px; }
.primary-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem; font-weight: 900; letter-spacing: -1.5px; text-transform: uppercase;
    color: var(--color-text-white); line-height: 1.1; margin-bottom: 20px;
}
.primary-subtitle {
    font-size: 1.25rem; font-weight: 400; color: var(--color-text-primary); line-height: 1.6;
}
.run-ts { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 16px; }
.prism-container {
    position: relative; width: 100px; height: 100px;
    display: flex; justify-content: center; align-items: center; margin-top: 10px;
}
.status-prism {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-fuchsia) 0%, var(--color-cyan-primary) 100%);
    box-shadow: 0 10px 30px rgba(232, 121, 249, 0.4), inset 0 2px 10px rgba(255,255,255,0.3);
    position: relative; z-index: 2;
}
.prism-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 3;
}

/* ── Glass Panels ────────────────────────────────────────────────────────── */
.glass-panel {
    position: relative; z-index: 1; width: 100%; max-width: 1100px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(34, 211, 238, 0.1);
    margin-bottom: 40px; overflow: hidden;
}
.panel-secondary-header {
    padding: 40px 80px 20px 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.panel-secondary-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; text-transform: uppercase;
    color: var(--color-text-white); margin-bottom: 8px;
}
.panel-secondary-subtitle { font-size: 1.1rem; color: var(--color-text-muted); font-weight: 400; }

/* ── Edge-Lit Directive Rows ─────────────────────────────────────────────── */
.directives-section { padding: 0; display: flex; flex-direction: column; }
.grid-header-row {
    display: grid; grid-template-columns: 1fr 5fr 2fr; padding: 20px 80px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--color-cyan-muted); background: rgba(255, 255, 255, 0.03); gap: 20px;
}
.directive-row {
    display: grid; grid-template-columns: 1fr 5fr 2fr; padding: 40px 80px;
    align-items: center; position: relative; background: transparent;
    transition: background 0.4s ease, transform 0.4s ease; gap: 20px;
}
.directive-row::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, transparent 100%);
    transition: background 0.4s ease;
}
.directive-row:last-child::after { display: none; }
.directive-row:hover { background: rgba(255, 255, 255, 0.04); transform: translateY(-2px); }
.directive-row:hover::after {
    background: linear-gradient(90deg, transparent 0%, var(--color-cyan-primary) 20%, var(--color-cyan-primary) 80%, transparent 100%);
    height: 2px;
}
.col-id   { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -1px; color: var(--color-cyan-primary); }
.col-desc { font-size: 1.05rem; color: var(--color-text-primary); font-weight: 400; line-height: 1.6; padding-right: 40px; }
.col-action {
    font-size: 1.05rem; font-weight: 500; color: var(--color-text-primary);
    display: flex; align-items: center; gap: 12px; line-height: 1.4;
}
.action-highlight { color: var(--color-cyan-primary); font-weight: 600; }
.action-icon {
    display: flex; flex-shrink: 0; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(34, 211, 238, 0.1); color: var(--color-cyan-primary); font-size: 0.9rem;
    transition: all 0.3s ease; cursor: pointer;
    border: none; font-family: inherit;
}
.action-icon i {
    width: 14px; height: 14px; stroke-width: 2.5;
}
.directive-row:hover .action-icon {
    background: var(--color-cyan-primary); color: var(--color-bg-black); box-shadow: 0 6px 16px rgba(34, 211, 238, 0.4);
}
.beat-text { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 4px; }
.empty-state {
    padding: 60px 80px; text-align: center;
    font-size: 1rem; color: var(--color-text-muted); font-style: italic;
}

/* ── Performance page / Ticker Filter & Controls ──────────────────────────── */
.ticker-filter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ticker-filter-label { font-size: 0.8rem; color: var(--color-cyan-primary); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.ticker-filter-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 8px 36px 8px 16px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; font-size: 0.95rem; color: var(--color-text-white);
  background-color: rgba(255,255,255,0.1);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' 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 12px center; background-size: 16px;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s ease;
}
.ticker-filter-select option { background: var(--color-bg-black); color: var(--color-text-white); }
.ticker-filter-select:hover { border-color: rgba(255,255,255,0.4); }
.ticker-filter-select:focus { outline: none; border-color: var(--color-cyan-primary); }

/* ── Time window selector ─────────────────────────────────────────────────── */
.window-selector {
    display: flex; gap: 0.25rem; margin: 0 auto 24px auto; width: max-content;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 0.35rem; border-radius: 100px;
}
.window-selector input[type="radio"] { display: none; }
.window-selector label {
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}
.window-selector label:hover { color: var(--color-text-white); background: rgba(255,255,255,0.05); }
.window-selector input[type="radio"]:checked + label {
  background: var(--color-accent-fuchsia);
  color: #fafafa;
  box-shadow: 0 4px 15px rgba(232, 121, 249, 0.4);
}

/* ── Sortable Table Headers (Appends to .trade-table) ─────────────────────── */
.trade-table-container {
    overflow-x: auto; width: 100%; border-radius: 24px; margin-bottom: 30px;
    background: var(--color-bg-ink);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 50px rgba(34, 211, 238, 0.15);
    color: var(--color-text-muted);
}
.trade-table-container::-webkit-scrollbar { height: 8px; }
.trade-table-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 4px; }
.trade-table-container::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.3); border-radius: 4px; }
.trade-table-container::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, 0.6); }
.trade-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 0; min-width: 800px; }
.trade-table th[data-col] { cursor: pointer; user-select: none; white-space: nowrap; transition: background 0.2s; position: relative; padding-right: 24px; }
.trade-table th[data-col]:hover { background: rgba(255,255,255,0.04); }
.trade-table th.sort-active {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.16), rgba(232, 121, 249, 0.1));
    color: var(--color-text-white);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}
.trade-table td.sorted-col {
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), rgba(232, 121, 249, 0.04));
    box-shadow: inset 3px 0 0 rgba(34, 211, 238, 0.35);
}
.trade-table th[data-col]::after { 
    content: '↕'; 
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    opacity: 0.2; font-size: 0.8em; 
}
.trade-table th.sort-asc::after  { content: '▲'; opacity: 0.8; color: var(--color-accent-fuchsia); }
.trade-table th.sort-desc::after { content: '▼'; opacity: 0.8; color: var(--color-accent-fuchsia); }

@media (max-width: 768px) {
  .trade-table-container {
    overflow-x: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .trade-table, .trade-table tbody, .trade-table tr, .trade-table td {
    display: block;
    width: 100%;
  }
  .trade-table thead {
    display: none;
  }
  .trade-table tr {
    background: var(--color-bg-ink);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    padding: 16px;
    position: relative;
  }
  .trade-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }
    .trade-table td.sorted-col {
        background: linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(232, 121, 249, 0.08));
        border-radius: 10px;
        box-shadow: inset 4px 0 0 var(--color-accent-fuchsia), 0 0 0 1px rgba(232, 121, 249, 0.14);
    }
    .trade-table td.sorted-col::before {
        color: var(--color-text-white);
    }
  .trade-table td:last-child {
    border-bottom: none;
  }
  .trade-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--color-cyan-muted);
    margin-right: auto;
  }
  /* For Open Positions View Icon cell */
  .trade-table td[data-label="Action"] {
      justify-content: flex-end;
  }
}

/* ── FAQ cards ────────────────────────────────────────────────────────────── */
.faq-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-card:hover { background: rgba(0,0,0,0.6); transform: translateY(-2px); }
.faq-title { font-size: 1rem; font-weight: 700; color: var(--color-cyan-primary); margin-bottom: 0.35rem; }
.faq-body  { font-size: 0.92rem; color: rgba(255,255,255,0.7); line-height: 1.65; }
.faq-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 4px 4px 0;
  background: rgba(34, 211, 238, 0.15);
  color: var(--color-cyan-primary);
}

/* ── Signal Detail Modal ─────────────────────────────────────────────────── */
.signal-modal {
    max-width: min(850px, 95vw); width: 100%; margin: auto;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 24px;
    background: rgba(8, 47, 73, 0.95);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 0; box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 50px rgba(34, 211, 238, 0.1);
    color: var(--color-text-primary);
}
.signal-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-inner { padding: 40px; max-height: 85vh; overflow-y: auto; }
.modal-header {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px;
}
.modal-ticker { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 2px; color: var(--color-cyan-primary); }
.modal-ticker-name { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 400; letter-spacing: 0.01em; margin-bottom: 4px; }
.modal-meta   { font-size: 0.95rem; color: var(--color-text-muted); font-weight: 500; }
.modal-close {
    background: rgba(255,255,255,0.05); border: none; font-size: 1.5rem; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); transition: all 0.2s; line-height: 0; flex-shrink: 0;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--color-text-white); }
.modal-loading { color: var(--color-text-muted); font-size: 0.88rem; padding: 2rem; text-align: center; }
.modal-desc { font-size: 1rem; color: var(--color-text-primary); margin-bottom: 16px; line-height: 1.6; }
.info-box {
    background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.2);
    border-left: 4px solid var(--color-accent-fuchsia);
    border-radius: 10px; padding: 16px 20px; font-size: 0.95rem;
    color: var(--color-text-primary); margin-bottom: 24px; line-height: 1.6;
}
.warn-box {
    background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 10px; padding: 16px 20px; font-size: 0.95rem;
    color: var(--color-negative); margin-bottom: 24px; line-height: 1.6;
}
.chart-container {
    height: 420px; width: 100%; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1); background: var(--color-bg-ink); margin-bottom: 30px;
}
.section-title {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-cyan-muted); font-weight: 600; margin-bottom: 12px;
}
.trade-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 30px; }
.trade-table th {
    text-align: left; padding: 20px 24px; background: rgba(255,255,255,0.03);
    color: var(--color-cyan-muted); font-weight: 600; font-size: 0.85rem; letter-spacing: 1px;
    text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.trade-table td { padding: 20px 24px; border-bottom: 1px dashed rgba(255,255,255,0.1); color: var(--color-text-primary); }
.trade-table tbody tr { transition: background 0.2s ease; cursor: pointer; }
.trade-table tbody tr:hover { background: rgba(34, 211, 238, 0.04); }
.trade-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--color-cyan-primary); }
.trade-table tbody tr:hover .row-chevron { opacity: 1; transform: translateX(3px); }
.ret-pos { color: var(--color-positive); font-weight: 600; }
.ret-neg { color: var(--color-negative); font-weight: 600; }
.editorial-pos {
    display: inline-block; padding: 6px 12px; border-radius: 6px;
    font-weight: 800; font-family: 'Outfit', sans-serif;
    background: var(--color-accent-fuchsia); color: #fafafa;
    box-shadow: 0 4px 10px rgba(232, 121, 249, 0.3);
}
.negative-pill {
    display: inline-block; padding: 6px 12px; border-radius: 6px;
    font-weight: 800; font-family: 'Outfit', sans-serif;
    background: rgba(255,255,255,0.1); color: var(--color-negative);
}
.editorial-ticker { color: var(--color-cyan-primary); font-size: 1.5rem; font-weight: 800; }
.expander { border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.expander summary {
    padding: 16px 20px; background: rgba(255,255,255,0.05);
    font-weight: 600; cursor: pointer; color: var(--color-text-primary);
}
.expander-body {
    padding: 20px; font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.6;
    background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.05);
}
.metric-chips { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.chip {
    position: relative; overflow: hidden; z-index: 2;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 1.5rem; min-width: 140px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.08);
    border-color: rgba(34, 211, 238, 0.4);
}
.chip-watermark {
    position: absolute; right: -15px; bottom: -15px; width: 90px; height: 90px;
    opacity: 0.04; color: var(--color-text-white); transform: rotate(-15deg);
    pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease;
}
.chip:hover .chip-watermark {
    opacity: 0.08; color: var(--color-cyan-primary); transform: rotate(-5deg) scale(1.1);
}
.chip-label {
    font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-cyan-muted); margin-bottom: 0.5rem;
}
.chip-val   {
    font-family: 'Outfit', sans-serif; font-size: 2.75rem; font-weight: 800;
    color: var(--color-text-white); line-height: 1.1; letter-spacing: -1.5px;
}

/* ── Login page ───────────────────────────────────────────────────────────── */
.login-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; width: 100%;
}
.login-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2.5rem 2.75rem;
  width: 380px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 50px rgba(34, 211, 238, 0.1);
  text-align: center;
}
.login-brand { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--color-text-white); margin-bottom: 0.3rem; }
.login-sub   { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 2rem; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-white);
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.15s;
}
.btn-google:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.3); background: rgba(255,255,255,0.15); }
.btn-google img  { width: 20px; height: 20px; }

.login-error {
  color: var(--color-negative);
  font-size: 0.82rem;
  margin-top: 1rem;
  min-height: 1.2rem;
}

/* ── Loading indicator ────────────────────────────────────────────────────── */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }
.loading-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-top-color: var(--color-cyan-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 0.35rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-full {
  text-align: center;
  padding: 3rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ── Homepage — Hero Redesign ─────────────────────────────────────────────── */
.hero-command-center {
    width: 100%; position: relative;
    padding: 4rem 20px 5rem;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 80%, transparent 100%);
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}
.orb-massive {
    position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 800px;
    background: radial-gradient(circle, rgba(34,211,238,0.2) 0%, rgba(232,121,249,0.08) 35%, rgba(0,0,0,0) 65%);
    filter: blur(70px); z-index: 0; pointer-events: none;
}
.regime-display-vA1 {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.regime-pulse-ring {
    width: 110px; height: 110px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(34, 211, 238, 0.05);
    border: 2px solid var(--color-cyan-primary);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.4), inset 0 0 20px rgba(34, 211, 238, 0.2);
    margin-bottom: 2rem;
}
.regime-pulse-core {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan-primary), var(--color-accent-fuchsia));
    box-shadow: 0 0 25px var(--color-accent-fuchsia);
    animation: pulse-glow 3s infinite alternate;
}
@keyframes pulse-glow {
    0%   { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 10px var(--color-accent-fuchsia); }
    100% { transform: scale(1.05); opacity: 1;   box-shadow: 0 0 35px var(--color-cyan-primary); }
}
.regime-title-vA {
    font-family: 'Outfit', sans-serif;
    font-size: 5.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: -2px;
    margin: 0 0 8px;
    background: linear-gradient(to bottom, #ffffff, rgba(255,255,255,0.7));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.metric-row-floating {
    display: flex; gap: 1.5rem; justify-content: center;
    margin-top: 2rem; position: relative; z-index: 2; flex-wrap: wrap;
}

/* ── Homepage — Daily Directives section ──────────────────────────────────── */
.directives-header {
    width: 100%; max-width: 1100px;
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 1.5rem; margin-top: 3rem; padding: 0 40px;
}
.section-headline {
    font-family: 'Outfit', sans-serif; color: white;
    font-size: 2.2rem; font-weight: 800; margin: 0 0 0.4rem; letter-spacing: -0.5px;
}
.section-subheadline {
    color: var(--color-cyan-muted); font-size: 1.0rem; margin: 0; line-height: 1.6;
}
.directives-link {
    color: var(--color-cyan-primary); text-decoration: none;
    font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: color 0.3s;
}
.directives-link:hover { color: var(--color-text-white); }

.directives-grid {
    width: 100%; max-width: 1100px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem; margin-bottom: 0; padding: 0 40px;
}
.data-card-elevated {
    background: rgba(10, 25, 47, 0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-radius: 20px; padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative; z-index: 10; overflow: hidden;
}
.data-card-buy  { border: 1px solid rgba(34, 211, 238, 0.2); }
.data-card-sell { border: 1px solid rgba(232, 121, 249, 0.2); }

.card-panel-title {
    font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800;
    margin: 0 0 1rem; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 1rem;
}
.card-panel-title--buy  { color: var(--color-cyan-primary); }
.card-panel-title--sell { color: var(--color-accent-fuchsia); }

.home-signal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.home-signal-table th {
    text-align: left; padding: 10px 12px;
    color: var(--color-text-muted); text-transform: uppercase;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.home-signal-table td {
    padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.03);
    vertical-align: middle;
}
.home-signal-table tbody tr:last-child td { border-bottom: none; }
.home-signal-table tbody tr { cursor: pointer; transition: background 0.2s ease; }
.home-signal-table tbody tr:hover td { background: rgba(34, 211, 238, 0.04); }
.home-signal-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--color-cyan-primary); }
.home-signal-table .editorial-ticker { font-size: 1.3rem; }
.hst-strategy { display: block; color: white; font-weight: 600; font-size: 0.9rem; }
.hst-date     { display: block; color: var(--color-text-muted); font-size: 0.8rem; margin-top: 2px; }
.hst-price    { font-family: 'Outfit', sans-serif; font-weight: 800; color: white; font-size: 1.05rem; white-space: nowrap; }
.hst-action   { display: flex; align-items: center; gap: 8px; }
.row-chevron  { font-size: 1.2rem; color: var(--color-cyan-muted); opacity: 0.5; margin-left: auto; transition: opacity 0.2s, transform 0.2s; }
.home-signal-table tbody tr:hover .row-chevron { opacity: 1; transform: translateX(3px); }

.buy-badge {
    background: rgba(34, 211, 238, 0.1); color: var(--color-cyan-primary);
    padding: 5px 10px; border-radius: 100px; border: 1px solid rgba(34, 211, 238, 0.3);
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    font-family: 'Outfit', sans-serif; white-space: nowrap;
}
.sell-badge {
    background: rgba(232, 121, 249, 0.1); color: var(--color-accent-fuchsia);
    padding: 5px 10px; border-radius: 100px; border: 1px solid rgba(232, 121, 249, 0.3);
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    font-family: 'Outfit', sans-serif; white-space: nowrap;
}

/* ── Homepage — Full-bleed band utility ───────────────────────────────────── */
.home-full-bleed {
    width: calc(100% + 40px);
    margin-left: -20px;
    align-self: stretch;
}

/* ── Homepage — Mathematical Transparency banner ──────────────────────────── */
.bg-band-dark {
    background: var(--color-bg-black);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    position: relative;
    box-shadow: inset 0 20px 40px rgba(0,0,0,0.4);
    margin-top: 3rem;
}
.bg-band-dark::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(232, 121, 249, 0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.content-block {
    max-width: 1100px; margin: 0 auto; padding: 4rem 40px; position: relative; z-index: 10;
}
.v2-banner-split {
    display: grid; grid-template-columns: 1.2fr 1fr;
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.9) 0%, rgba(34, 211, 238, 0.05) 100%);
    border-radius: 30px; border: 1px solid rgba(34, 211, 238, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4); overflow: hidden;
}
.v2-banner-left  { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.v2-banner-right {
    padding: 4rem; background: rgba(0,0,0,0.3);
    border-left: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
    position: relative;
}
.v2-banner-right::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(232,121,249,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.v2-deep-dive-label {
    color: var(--color-cyan-primary); font-family: 'Outfit', sans-serif;
    font-weight: 800; font-size: 1rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 1rem;
}
.v2-banner-heading {
    font-family: 'Outfit', sans-serif; font-size: 3.2rem; color: white;
    margin: 0 0 1.5rem; line-height: 1.1; letter-spacing: -1px; font-weight: 800;
}
.v2-banner-body {
    color: var(--color-cyan-muted); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2.5rem;
}
.v2-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-fuchsia-glow {
    background: linear-gradient(135deg, var(--color-accent-fuchsia), #d946ef);
    color: #fafafa; padding: 14px 32px; border-radius: 100px;
    text-decoration: none; font-family: 'Outfit', sans-serif; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(232, 121, 249, 0.4), inset 0 -3px 0 rgba(0,0,0,0.1);
    display: inline-block; transition: all 0.3s; font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-fuchsia-glow:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(232, 121, 249, 0.6); filter: brightness(1.1); }
.btn-glass-cyan {
    background: rgba(34, 211, 238, 0.05); border: 1px solid var(--color-cyan-primary);
    color: white; padding: 14px 32px; border-radius: 100px;
    text-decoration: none; font-family: 'Outfit', sans-serif; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; transition: all 0.3s; font-size: 0.9rem; backdrop-filter: blur(8px);
}
.btn-glass-cyan:hover { background: rgba(34, 211, 238, 0.15); transform: translateY(-3px); color: white; }
.v2-banner-right-title {
    color: white; font-family: 'Outfit', sans-serif; font-size: 1.3rem;
    font-weight: 700; position: relative; z-index: 1;
}
.v2-stat-row {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 1rem;
    position: relative; z-index: 1;
}
.v2-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.v2-stat-lbl { color: var(--color-text-muted); font-size: 1.05rem; font-weight: 600; }
.v2-stat-val { color: white; font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; }
.v2-stat-positive { color: var(--color-positive); }

/* ── Homepage — System Guidelines FAQ ────────────────────────────────────── */
.bg-band-glass {
    background: rgba(10, 25, 47, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px dashed rgba(255,255,255,0.05); border-bottom: 1px dashed rgba(255,255,255,0.05);
    position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.bg-band-glass::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
}
.home-faq-header { text-align: center; margin-bottom: 3rem; }
.home-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
.faq-item { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.faq-q { color: white; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 0.75rem; line-height: 1.3; }
.faq-a { color: var(--color-cyan-muted); line-height: 1.7; font-size: 1rem; }
.faq-link { color: var(--color-cyan-primary); text-decoration: none; font-weight: 600; }
.faq-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .directives-grid  { grid-template-columns: 1fr; }
    .v2-banner-split  { grid-template-columns: 1fr; }
    .home-faq-grid    { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* homepage hero */
    .hero-command-center { padding: 2.5rem 20px 3.5rem; }
    .regime-title-vA { font-size: 3.5rem; letter-spacing: -1.5px; }
    .regime-pulse-ring { width: 80px; height: 80px; margin-bottom: 1.5rem; }
    .regime-pulse-core { width: 50px; height: 50px; }
    /* directives section */
    .directives-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 2rem; padding: 0 20px; }
    .directives-grid   { padding: 0 20px; }
    .home-signal-table th:nth-child(2), .home-signal-table td:nth-child(2) { display: none; }
    /* full-bleed sections */
    .home-full-bleed { width: calc(100% + 40px); margin-left: -20px; }
    .v2-banner-left, .v2-banner-right { padding: 2rem; }
    .v2-banner-heading { font-size: 2.2rem; }
    .content-block { padding: 2.5rem 20px; }
    /* legacy classes kept */
    .market-bias-stoplight { padding: 30px 20px 20px 20px; }
    .market-regime-kicker { letter-spacing: 3px; font-size: 0.95rem; }
    .market-regime-title { font-size: 2.25rem; margin-bottom: 16px; }
    .market-bias-card { flex-direction: column; max-width: 100%; }
    .market-bias {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.25rem 1.25rem;
    }
    .advisor-briefing {
        padding: 1.25rem;
        align-items: flex-start;
        gap: 0.9rem;
    }
    .advisor-briefing-text { font-size: 0.95rem; }
    .editorial-header { padding: 30px 20px; flex-direction: column-reverse; gap: 30px; }
    .primary-title { font-size: 2.25rem; }
    .grid-header-row { display: none; }
    .directive-row { grid-template-columns: 1fr; padding: 24px 20px; gap: 12px; }
    .col-desc { padding-right: 0; }
    .panel-secondary-header { padding: 30px 20px 20px 20px; }
    .app-bar-content { padding: 16px 20px; }
    .faq-grid { grid-template-columns: 1fr; }
    .full-content { padding: 24px 20px; }
    .empty-state { padding: 40px 20px; }
}
