/* Extracted from pages/dashboard.html */
/* Sidebar + main */
.dash-layout { display: grid; grid-template-columns: 210px 1fr; min-height: calc(100vh - 52px); }
.dash-sidebar { border-right: 2px solid var(--border); padding: 1.25rem 0; position: sticky; top: 52px; height: calc(100vh - 52px); overflow-y: auto; }
.dash-sidebar-section { padding: 0 0 0.75rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.dash-sidebar-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); padding: 0 1.25rem; margin-bottom: 0.4rem; display: block; }
.dash-nav-link { display: block; padding: 0.45rem 1.25rem; font-size: 0.82rem; color: var(--text-dim); text-decoration: none; cursor: pointer; border-left: 2px solid transparent; transition: color 0.12s, border-color 0.12s, background 0.12s; }
.dash-nav-link:hover { color: var(--text); background: var(--surface); }
.dash-nav-link.active { color: var(--text); border-left-color: var(--text); background: var(--surface); }
.dash-admin-badge { font-size: 0.6rem; background: var(--surface-2); color: var(--text-faint); padding: 0.1rem 0.3rem; border: 1px solid var(--border); margin-left: 0.3rem; }

.dash-main { padding: 2rem; max-width: 900px; }
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-section > h2 { font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }

/* Rank identity bar */
.rank-bar { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem; border: 2px solid var(--border); margin-bottom: 1.5rem; flex-wrap: wrap; }
.rank-badge { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; }
.rank-badge .rank-tier { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-faint); display: block; margin-bottom: 0.1rem; }
.rank-streak { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faint); }
.rank-streak strong { color: var(--text); }
.rank-connect { margin-left: auto; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--border); margin-bottom: 1.5rem; }
.stats-cell { padding: 1.1rem; border-right: 2px solid var(--border); text-align: center; }
.stats-cell:last-child { border-right: none; }
.stats-num { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; display: block; letter-spacing: -0.03em; }
.stats-lbl { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }

/* Accuracy bar */
.acc-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem; border: 2px solid var(--border); }
.acc-num { font-family: var(--font-display); font-weight: 900; font-size: 2.5rem; letter-spacing: -0.04em; color: var(--text); min-width: 90px; }
.acc-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 0.4rem; }
.acc-bar-wrap { flex: 1; height: 6px; background: var(--surface-2); }
.acc-bar-fill { height: 100%; background: var(--text); transition: width 0.8s ease; }
.acc-sub { font-size: 0.78rem; color: var(--text-dim); }

/* Weekly challenge */
.challenge-box { border: 2px solid var(--border); padding: 1.25rem; margin-bottom: 1.5rem; }
.challenge-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.75rem; }
.challenge-title { font-weight: 700; font-size: 0.95rem; }
.challenge-days { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
.challenge-desc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; line-height: 1.5; }
.challenge-progress { display: flex; align-items: center; gap: 0.75rem; }
.progress-track { flex: 1; height: 4px; background: var(--surface-2); }
.progress-fill { height: 100%; background: var(--text); transition: width 0.5s; }
.progress-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); white-space: nowrap; }
.challenge-prize { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
.challenge-prize strong { color: var(--text); }

/* Recent activity */
.activity-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 1rem; align-items: center; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; font-family: var(--font-mono); font-size: 0.8rem; transition: border-left-color 0.2s; }
.activity-row:last-child { border-bottom: none; }
.activity-row:has(.chip-critical) { border-left-color: #ff4444; }
.activity-row:has(.chip-high) { border-left-color: #ff8833; }
.activity-row:has(.chip-moderate) { border-left-color: #ccaa00; }
.activity-row:has(.chip-low) { border-left-color: #3ddc84; }
.activity-name { font-weight: 700; }
.score-chip { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 2px; }
.chip-critical { background: rgba(204,0,0,0.12); color: #ff4444; border: 1px solid rgba(204,0,0,0.25); }
.chip-high     { background: rgba(255,100,0,0.1); color: #ff8833; border: 1px solid rgba(255,100,0,0.2); }
.chip-moderate { background: rgba(255,220,0,0.08); color: #ccaa00; border: 1px solid rgba(255,220,0,0.15); }
.chip-low      { background: rgba(61,220,132,0.08); color: #3ddc84; border: 1px solid rgba(61,220,132,0.15); }
.status-chip { font-size: 0.68rem; color: var(--text-faint); font-family: var(--font-mono); }
.status-chip.validated { color: #3ddc84; }
.status-chip.pending { color: #ffaa33; }
.activity-time { color: var(--text-faint); font-size: 0.72rem; }

/* Badge grid */
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--border); margin-bottom: 1.5rem; }
.badge-cell { padding: 1.1rem; border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.badge-cell:nth-child(3n) { border-right: none; }
.badge-cell:nth-last-child(-n+3) { border-bottom: none; }
.badge-cell.earned { background: var(--surface); }
.badge-icon-css { width: 28px; height: 28px; margin-bottom: 0.5rem; position: relative; opacity: 0.2; }
.badge-cell.earned .badge-icon-css { opacity: 1; }
/* Individual badge shapes */
.badge-icon-css.bi-ring { border: 3px solid var(--text-dim); border-radius: 50%; }
.badge-icon-css.bi-diamond { width: 20px; height: 20px; border: 3px solid #ccaa00; transform: rotate(45deg); margin-left: 4px; }
.badge-icon-css.bi-diamond-empty { width: 20px; height: 20px; border: 2px dashed var(--text-dim); transform: rotate(45deg); margin-left: 4px; }
.badge-icon-css.bi-eye { border: 3px solid var(--text-dim); border-radius: 50%; }
.badge-icon-css.bi-eye::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; background: var(--text-dim); border-radius: 50%; transform: translate(-50%, -50%); }
.badge-icon-css.bi-vortex { border: 3px solid #cc0000; border-radius: 50%; background: radial-gradient(circle, #cc0000 30%, transparent 70%); }
.badge-cell.earned .bi-vortex { animation: vortex-pulse 2s ease-in-out infinite; }
@keyframes vortex-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0); } 50% { box-shadow: 0 0 8px 3px rgba(204,0,0,0.4); } }
.badge-icon-css.bi-crown { width: 24px; height: 18px; border: 3px solid #ccaa00; border-radius: 0; margin-top: 5px; position: relative; }
.badge-icon-css.bi-crown::after { content: ''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; background: #ccaa00; border-radius: 50%; transform: translate(-50%, -50%); }
.badge-icon-css.bi-half { border: 3px solid var(--text-dim); border-radius: 50%; background: linear-gradient(90deg, var(--text-dim) 50%, transparent 50%); }
.badge-icon-css.bi-three-quarter { border: 3px solid var(--text-dim); border-radius: 50%; background: conic-gradient(var(--text-dim) 0deg 270deg, transparent 270deg); }
.badge-icon-css.bi-full { border: 3px solid var(--text); border-radius: 50%; background: var(--text); }
.badge-name { font-weight: 700; font-size: 0.82rem; color: var(--text-faint); margin-bottom: 0.2rem; }
.badge-cell.earned .badge-name { color: var(--text); }
.badge-desc { font-size: 0.72rem; color: var(--text-faint); line-height: 1.4; }

/* Scores table */
.score-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; margin-bottom: 1.5rem; }
.score-table th { background: var(--surface); border-bottom: 2px solid var(--border); padding: 0.55rem 0.6rem; text-align: left; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.score-table td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--border); }
.score-table tr:hover td { background: var(--surface); }

/* Earnings section */
.earnings-model { border: 2px solid var(--border); padding: 1.25rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }
.earnings-model strong { color: var(--text); }
.withdraw-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 2px solid var(--border); margin-bottom: 1.5rem; }
.withdraw-amount { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; }
.withdraw-sub { font-size: 0.72rem; color: var(--text-faint); margin-top: 0.1rem; }

/* API sections (keep from before) */
.api-key-row { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; align-items: center; border: 2px solid var(--border); padding: 1rem; margin-bottom: 1rem; }
.api-key-val { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim); word-break: break-all; }
.endpoint { border: 2px solid var(--border); margin-bottom: 1rem; }
.endpoint-header { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.endpoint-method { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.45rem; border: 1px solid var(--border); }
.endpoint-method.get { border-color: #3a3a1a; color: #aaaa55; }
.endpoint-method.post { border-color: #1a3a1a; color: #55aa55; }
.endpoint-path { font-family: var(--font-mono); font-size: 0.88rem; }
.endpoint-desc { font-size: 0.8rem; color: var(--text-dim); margin-left: auto; }
.endpoint-body { padding: 1rem; }
.endpoint-body p { font-size: 0.83rem; color: var(--text-dim); margin-bottom: 0.75rem; }
.code-block { background: var(--surface-2); border: 1px solid var(--border); padding: 1rem; font-family: var(--font-mono); font-size: 0.76rem; overflow-x: auto; white-space: pre; line-height: 1.5; margin: 0.75rem 0; }
.auth-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; margin-bottom: 1.5rem; padding: 0.75rem 1rem; border: 1px solid var(--border); }
.auth-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); flex-shrink: 0; }
.auth-dot.ok { background: #44aa44; }
.playground { border: 2px solid var(--border); margin-top: 1.5rem; }
.playground-header { padding: 0.75rem 1rem; border-bottom: 2px solid var(--border); background: var(--surface-2); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.playground-body { padding: 1rem; }
.playground-output { background: var(--bg); border: 1px solid var(--border); padding: 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; min-height: 80px; white-space: pre-wrap; color: var(--text-dim); }
.auth-gate { max-width: 480px; }

/* Red Team usage meters */
.usage-meter { margin-bottom: 1.25rem; }
.usage-meter-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.35rem; }
.usage-meter-name { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.usage-meter-count { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text); }
.usage-meter-bar { height: 6px; background: var(--surface-2); width: 100%; }
.usage-meter-fill { height: 100%; background: var(--text); transition: width 0.5s ease; }
.usage-meter-fill.warn { background: #ffaa33; }
.usage-meter-fill.critical { background: #ff3344; }

/* Red Team attack taxonomy pills */
.rt-attack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--border); margin-bottom: 1.5rem; }
.rt-attack-cell { padding: 0.85rem; border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); cursor: pointer; transition: background 0.12s; }
.rt-attack-cell:nth-child(4n) { border-right: none; }
.rt-attack-cell:nth-last-child(-n+4) { border-bottom: none; }
.rt-attack-cell:hover { background: var(--surface); }
.rt-attack-id { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; color: #ff3344; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.rt-attack-name { font-weight: 700; font-size: 0.82rem; margin-bottom: 0.2rem; }
.rt-attack-desc { font-size: 0.72rem; color: var(--text-dim); line-height: 1.35; }
.rt-attack-tag { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-faint); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* Red Team attack history */
.rt-history-row { display: grid; grid-template-columns: 1fr 70px 50px 50px 50px 60px auto; gap: 0.5rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.78rem; }
.rt-history-row:last-child { border-bottom: none; }
.rt-history-row.header { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); padding-bottom: 0.6rem; border-bottom: 2px solid var(--border); }
.rt-snippet { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Drift score badges */
.drift-badge { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; padding: 0.1rem 0.35rem; border-radius: 2px; text-align: center; }
.drift-0 { color: #3ddc84; background: rgba(61,220,132,0.08); border: 1px solid rgba(61,220,132,0.15); }
.drift-1 { color: #ccaa00; background: rgba(255,220,0,0.06); border: 1px solid rgba(255,220,0,0.12); }
.drift-2 { color: #ff8833; background: rgba(255,100,0,0.08); border: 1px solid rgba(255,100,0,0.15); }
.drift-3 { color: #ff4444; background: rgba(255,68,68,0.08); border: 1px solid rgba(255,68,68,0.15); }
.verdict-badge { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; padding: 0.12rem 0.45rem; border-radius: 2px; }
.verdict-held { background: rgba(61,220,132,0.1); color: #3ddc84; border: 1px solid rgba(61,220,132,0.2); }
.verdict-breached { background: rgba(255,68,68,0.1); color: #ff4444; border: 1px solid rgba(255,68,68,0.2); }

/* Probe type cards */
.rt-probe-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--border); margin-bottom: 1.5rem; }
.rt-probe-card { padding: 1rem; border-right: 2px solid var(--border); cursor: pointer; transition: background 0.12s; }
.rt-probe-card:last-child { border-right: none; }
.rt-probe-card:hover, .rt-probe-card.selected { background: var(--surface); }
.rt-probe-card.selected { border-bottom: 2px solid var(--text); }
.rt-probe-cost { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); }
.rt-probe-name { font-weight: 700; font-size: 0.88rem; margin: 0.2rem 0; }
.rt-probe-desc { font-size: 0.75rem; color: var(--text-dim); line-height: 1.35; }

/* Log analysis result card */
.rt-log-result { border: 2px solid var(--border); padding: 1.25rem; margin-bottom: 1rem; }
.rt-log-result-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.75rem; }
.rt-log-filename { font-family: var(--font-mono); font-weight: 700; font-size: 0.88rem; }
.rt-log-meta { font-size: 0.72rem; color: var(--text-faint); }
.rt-drift-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.rt-drift-cell { padding: 0.6rem; border-right: 1px solid var(--border); text-align: center; }
.rt-drift-cell:last-child { border-right: none; }
.rt-drift-stage { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 0.2rem; }
.rt-drift-val { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; }

/* ── Study scenes ─────────────────────────────────────── */
.study-scenes { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.study-scene-card { border: 2px solid var(--border); overflow: hidden; }
.study-scene-header { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface); display: flex; justify-content: space-between; align-items: baseline; }
.study-scene-title { font-weight: 700; font-size: 0.88rem; }
.study-scene-paper { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.study-scene-canvas { height: 380px; position: relative; background: #0a0a0a; }
.study-scene-canvas canvas { display: block; }
.study-scene-controls { padding: 0.6rem 1rem; border-top: 1px solid var(--border); background: var(--surface-2); display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.study-scene-controls label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); display: flex; align-items: center; gap: 0.5rem; }
.study-scene-controls input[type="range"] { width: 100px; accent-color: var(--text); height: 4px; }
.study-scene-controls .val { font-weight: 700; color: var(--text); min-width: 1.5em; text-align: right; }
.study-scene-caption { padding: 0.75rem 1rem; font-size: 0.82rem; color: var(--text-dim); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); }
.study-scene-caption a { font-size: 0.78rem; color: var(--text-faint); white-space: nowrap; }
.study-scene-caption a:hover { color: var(--text); }
/* Phase info overlay inside p9 scene */
.study-scene-canvas #p9-phase-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 1rem; background: rgba(10,10,10,0.85); font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); border-top: 1px solid var(--border); z-index: 2; }
/* Score display inside p1 scene */
.study-scene-controls .cascade-label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 2px; margin-left: auto; }
.cascade-safe { color: #3ddc84; background: rgba(61,220,132,0.1); border: 1px solid rgba(61,220,132,0.2); }
.cascade-d1 { color: #ccaa00; background: rgba(255,220,0,0.08); border: 1px solid rgba(255,220,0,0.15); }
.cascade-d2 { color: #ff8833; background: rgba(255,100,0,0.1); border: 1px solid rgba(255,100,0,0.2); }
.cascade-d3 { color: #ff4444; background: rgba(204,0,0,0.12); border: 1px solid rgba(204,0,0,0.25); }
/* Fallback when Three.js fails to load */
.study-scene-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-faint); font-size: 0.85rem; font-family: var(--font-mono); text-align: center; padding: 2rem; }

/* ── Loading shimmer ──────────────────────────────────── */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.loading-shimmer { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; border-radius: 2px; }
.shimmer-row { height: 2.4rem; margin-bottom: 0.5rem; }
.shimmer-block { height: 5rem; margin-bottom: 1rem; }

/* ── Improved empty states ────────────────────────────── */
.empty-state { border: 2px dashed var(--border); padding: 2.5rem 2rem; text-align: center; }
.empty-state-icon { display: flex; justify-content: center; gap: 0.4rem; margin-bottom: 1rem; }
.empty-state-icon span { display: block; height: 3px; background: var(--border); border-radius: 1px; }
.empty-state-icon span:nth-child(1) { width: 60px; }
.empty-state-icon span:nth-child(2) { width: 45px; }
.empty-state-icon span:nth-child(3) { width: 55px; }
.empty-state-msg { font-size: 0.88rem; color: var(--text-faint); margin-bottom: 1.25rem; line-height: 1.5; }

/* ── Progress bar gradient ────────────────────────────── */
.progress-fill { background: linear-gradient(90deg, #3ddc84, var(--text)); }
.acc-bar-fill { background: linear-gradient(90deg, #3ddc84, var(--text)); }

@media (max-width: 768px) {
    .dash-layout { grid-template-columns: 1fr; }
    .dash-sidebar { position: static; height: auto; border-right: none; border-bottom: 2px solid var(--border); padding: 0.5rem 0; }
    .dash-sidebar-section { display: flex; flex-wrap: wrap; padding: 0.2rem 0.5rem; border: none; }
    .dash-nav-link { padding: 0.3rem 0.75rem; border-left: none; font-size: 0.78rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-cell { border-right: 2px solid var(--border); }
    .stats-cell:nth-child(2n) { border-right: none; }
    .stats-cell:nth-child(n+3) { border-top: 2px solid var(--border); }
    /* Badge grid: reset desktop nth-child, apply 2-col */
    .badge-grid { grid-template-columns: 1fr 1fr; }
    .badge-cell { border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); }
    .badge-cell:nth-child(2n) { border-right: none; }
    .badge-cell:last-child { border-bottom: none; }
    .badge-cell:nth-last-child(2):nth-child(odd) { border-bottom: none; }
    .activity-row { grid-template-columns: 1fr auto auto; }
    .activity-time { display: none; }
    .rt-attack-grid { grid-template-columns: 1fr 1fr; }
    .rt-attack-cell:nth-child(2n) { border-right: none; }
    .rt-probe-types { grid-template-columns: 1fr; }
    .rt-probe-card { border-right: none; border-bottom: 2px solid var(--border); }
    .rt-probe-card:last-child { border-bottom: none; }
    .rt-history-row { grid-template-columns: 1fr auto auto; }
    .rt-history-row .drift-badge:not(:first-of-type) { display: none; }
    /* Study scenes responsive */
    .study-scene-canvas { height: 280px; }
    .study-scene-controls { gap: 0.75rem; }
    .study-scene-controls input[type="range"] { width: 70px; }
}
