.control-room{overflow-anchor:none;margin:auto;display:grid;gap:24px;align-items:start}.room-sidebar,.room-main{display:contents}.hud-panel{min-width:0;overflow:hidden}.hud-panel-head{padding:16px;border-bottom:1px solid #2a364f;background:#0f1524}.hud-panel-head h2{font:700 13px var(--m);letter-spacing:.06em;color:#e2e8f0;text-transform:uppercase}.panel-intro,.map-state,.skill-selection{padding:12px 16px;color:#94a3b8;font-size:13px;line-height:1.6}.map-state{color:#10b981;padding-top:0}.metric-readout{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.metric-readout .metric-line{display:flex;flex-direction:column;align-items:start;gap:6px;padding:0 0 12px;min-width:0}.metric-line small{color:#94a3b8;font-size:12px}.metric-readout .metric-line b{white-space:normal}.project-grid{padding:16px;display:grid;gap:16px}.project-card{text-align:left;display:flex;flex-direction:column;gap:12px;padding:20px;min-width:0;border:1px solid #334155;border-radius:6px;background:linear-gradient(135deg,#38bdf80c,transparent 70%),repeating-linear-gradient(90deg,transparent 0 31px,#38bdf807 32px);color:#cbd5e1}.project-card strong{color:#f1f5f9;font-size:16px}.project-card span{font-size:13px;line-height:1.6}.project-card small{color:#38bdf8}.project-card:hover{border-color:#38bdf8}.impact-list{padding:0 12px}.impact-item{padding:8px 0;border-bottom:1px solid #2a364f}.impact-item:last-child{border:0}.impact-item a{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:13px;justify-content:space-between;min-height:44px;align-items:center}.impact-item p{font-size:12px;color:#cbd5e1;line-height:1.45;margin:0 0 4px}.impact-item small{display:block;font-size:11px;color:#94a3b8}.career-timeline{padding:16px;list-style:none}.career-row{display:grid;gap:12px;padding:16px 0;border-bottom:1px solid #2a364f;color:#cbd5e1}.career-meta{display:grid;gap:6px}.career-meta strong{color:#e2e8f0}.career-meta span,.career-detail{font-size:13px;line-height:1.6}.career-meta time{font:12px var(--m);color:#38bdf8}.career-track{height:12px;min-width:48px;background:#1e293b;border-radius:6px;display:block;position:relative}.career-track i{position:absolute;height:100%;background:linear-gradient(90deg,#10b981,#38bdf8);border-radius:6px}.skill-groups{padding:16px}.skill-groups .skill-group{margin:0 0 12px;padding:0;border:1px solid #2a364f;border-radius:4px}.skill-group summary{cursor:pointer;padding:16px;min-height:56px;color:#e2e8f0}.skill-group summary b{display:inline-block;margin:8px;font:12px var(--m);color:#10b981}.evidence-link{padding:0 16px;font-size:13px}.evidence-link a{display:inline-flex;align-items:center;min-height:44px}.skill-groups .skill-branches{margin:0;padding:8px 16px 16px;list-style:none}.skill-branches button{min-height:44px;max-width:100%;white-space:normal;text-align:left}.skill-filters{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px}.skill-filters button,.skill-list button{min-height:44px;padding:8px 12px;border:1px solid #334155;border-radius:4px;color:#cbd5e1;background:#101827;font-size:12px}.skill-filters button{border-left:3px solid var(--category)}.skill-filters button[aria-pressed=true]{background:#25344b;color:#fff}.skill-map-canvas-lg{height:260px!important;min-height:0!important;flex:none!important}.skill-map-canvas-lg canvas{width:100%;height:100%;display:block}.full-skills{padding:0 16px 16px}.full-skills summary{min-height:44px;cursor:pointer;color:#e2e8f0;padding:12px 0}.skill-list{display:flex;flex-wrap:wrap;gap:8px}.skills-cv-link{display:inline-flex;min-height:44px;align-items:center;margin:0 16px 16px}.display-settings{position:relative;font-size:13px}.display-settings summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:8px 12px;border:1px solid #334155;border-radius:4px}.display-options{position:absolute;right:0;top:100%;z-index:80;padding:12px;display:grid;gap:8px;min-width:180px;background:#131d30;border:1px solid #334155;border-radius:4px;box-shadow:0 10px 30px #0008}.compact-header button,.compact-header a{min-height:44px}.viewer-open{overflow:hidden}.project-viewer{padding:0;width:calc(100% - 48px);max-width:720px;max-height:calc(100dvh - 48px);border:1px solid #38bdf866;border-radius:10px;background:#111a2c;color:#cbd5e1;box-shadow:0 24px 100px #000b}.project-viewer.has-media{max-width:1120px}.project-viewer::backdrop{background:#030712d9}.viewer-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}.viewer-head{padding:20px;display:flex;gap:16px;justify-content:space-between;align-items:start;border-bottom:1px solid #334155;background:#101827}.viewer-head h2{font-size:21px;color:#f1f5f9}.viewer-eyebrow{font:11px var(--m);color:#38bdf8;text-transform:uppercase;margin-bottom:8px}#pv-meta{font-size:13px;color:#94a3b8;margin-top:8px}.viewer-layout{overflow:auto;min-height:0;display:grid}.pv-media,.pv-facts{padding:20px;min-width:0}.project-stage{position:relative;min-height:260px;height:40vh;background:#090f1c;display:grid;place-items:center;overflow:hidden}.project-stage img{width:100%;height:100%;position:absolute;object-fit:contain}.project-stage p{padding:20px;text-align:center;color:#94a3b8}.gallery-controls,.viewer-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.project-viewer button,.viewer-actions a{min-height:44px;padding:10px 14px;border:1px solid #334155;border-radius:4px;color:#e2e8f0;background:#18243a;font-size:13px}.project-viewer button:disabled{opacity:.4}.pv-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pv-thumbs button{min-width:44px}.pv-thumbs img{width:64px;height:44px;object-fit:contain}.pv-thumbs [aria-pressed=true]{border-color:#38bdf8}#pv-caption{font-size:13px;line-height:1.6;margin-top:12px}.is-enlarged .pv-facts{display:none}.is-enlarged .viewer-layout{grid-template-columns:1fr!important}.is-enlarged .project-stage{height:65vh}.project-viewer [hidden]{display:none!important}
@media(min-width:640px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-map-canvas-lg{height:420px!important}.metric-readout{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){.control-room{grid-template-columns:360px minmax(0,1fr)}.room-sidebar,.room-main{display:grid;gap:24px;min-width:0}.career-row{grid-template-columns:1fr 1fr 1fr;align-items:center}.has-media .viewer-layout{grid-template-columns:1.2fr 1fr}}
@media(max-width:639px){.id-card{flex-direction:column;align-items:center}.id-card .id-photo{width:96px;height:144px}.id-card ul{width:100%;min-width:0}.id-card li{font-size:13px;min-width:0}.id-card a{font-size:13px;overflow-wrap:anywhere;word-break:normal}.compact-header{gap:12px!important;padding:16px!important}.compact-header .header-title{width:100%}.project-viewer{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.viewer-shell{height:100dvh;max-height:100dvh}.viewer-head{padding:16px}.viewer-head h2{font-size:18px}.pv-media,.pv-facts{padding:16px}.project-stage{height:35vh;min-height:200px}}
@media(prefers-reduced-motion:no-preference){html.js-anim .project-viewer[open]{animation:viewerIn 200ms ease-out}html.js-anim #pv-image{animation:previewIn 120ms ease-out}html.page-hidden .project-viewer,html.page-hidden #pv-image{animation-play-state:paused}}
@keyframes viewerIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes previewIn{from{opacity:0}to{opacity:1}}
.hud-panel{background:#131c2e;border:1px solid #2a364f;border-radius:4px}.id-contact .k{font-size:11px}.id-contact a{font-size:13px}.id-contact li{grid-template-columns:60px minmax(0,1fr)}
@media(max-width:639px){.id-contact li{grid-template-columns:60px minmax(0,1fr)}}

.pv-previous{z-index:1;pointer-events:none}.pv-previous.leaving{opacity:0}
@media(prefers-reduced-motion:no-preference){html.js-anim .pv-previous.leaving{transition:opacity 120ms ease-out}}

html.page-hidden *,html.page-hidden *::before,html.page-hidden *::after{animation-play-state:paused!important}

#hud-map .hud-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}#hud-map .map-state{padding:0;font:11px var(--m);text-align:right}.map-tools{border-top:1px solid #2a364f}.map-tools>summary{cursor:pointer;min-height:44px;padding:14px 16px;color:#94a3b8;font:12px var(--m)}#hud-map .skill-legend{font-size:10px;padding:10px 16px;gap:8px 12px}
@media(min-width:1280px){.control-room{grid-template-columns:380px minmax(0,1fr)}}
@media(max-width:1023px){#hud-profile{order:0}#hud-metrics{order:1}#hud-impact{order:2}#hud-skills{order:3}#hud-map{order:4}#hud-timeline{order:5}#hud-projects{order:6}}

#hud-impact .hud-panel-head,#hud-metrics .hud-panel-head{padding:12px}.room-sidebar .metric-readout{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px 12px}.room-sidebar .metric-line{gap:3px;padding-bottom:8px}.room-sidebar .metric-line span{font-size:11px}.room-sidebar .metric-line small{font-size:11px;line-height:1.35}
/* Scroll focus never changes a panel's size or position. */
.panel-managed>.hud-panel-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:60px;padding:8px 12px!important;position:relative}.panel-managed>.hud-panel-head h2{flex:1;min-width:0}.panel-actions{display:flex;gap:4px;margin-left:auto}.panel-actions button{min-width:44px;min-height:44px;padding:6px;border:1px solid #334155;border-radius:4px;color:#cbd5e1;background:#101827;font:16px var(--m)}.panel-actions button:disabled{opacity:.35}.panel-actions .panel-maximize{font-size:14px}.panel-mini-summary{display:none;font:11px var(--m);color:#94a3b8;flex-basis:100%}.is-minimized .panel-mini-summary{display:block}.panel-body{display:grid;grid-template-rows:1fr}.panel-content{min-height:0;overflow:hidden}.is-minimized>.panel-body{grid-template-rows:0fr}.is-minimized>.panel-body>.panel-content{opacity:0;visibility:hidden}#hud-map.panel-managed .map-state{order:3;flex-basis:100%;text-align:left}.has-scroll-focus .panel-managed:not(.is-reading):not(:focus-within):not(:hover){opacity:.88}.panel-managed.is-reading>.hud-panel-head::after{content:'';position:absolute;height:1px;bottom:0;left:0;right:0;background:linear-gradient(90deg,#10b981,#38bdf8);transform:scaleX(var(--read-progress,.3));transform-origin:left}.panel-focus-open{overflow:hidden}.panel-focus-dialog{padding:0;margin:auto;width:calc(100% - 48px);max-width:1120px;max-height:calc(100dvh - 48px);border:1px solid #38bdf866;border-radius:8px;background:#131c2e;color:#cbd5e1;overscroll-behavior:contain;overflow:auto}.panel-focus-dialog::backdrop{background:#030712d9}.panel-focus-dialog .hud-panel{overflow:visible;border:0;border-radius:0}.panel-focus-dialog .hud-panel-head{position:sticky;top:0;z-index:2;background:#0f1524}.panel-focus-dialog .panel-maximize{padding-inline:12px}.panel-focus-dialog #hud-map .skill-map-canvas-lg{height:60dvh!important;max-height:640px}.panel-restoring>.panel-body,.panel-restoring>.panel-body>.panel-content{transition:none!important}
@media(max-width:639px){.panel-focus-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}.panel-focus-dialog>.hud-panel{min-height:100%}}
@media(prefers-reduced-motion:no-preference){html.js-anim .panel-managed{transition:opacity 180ms ease-out}html.js-anim .panel-body{transition:grid-template-rows 220ms ease-in-out}html.js-anim .panel-content{transition:opacity 180ms ease-out,visibility 0s}html.js-anim .is-minimized>.panel-body>.panel-content{transition:opacity 160ms ease-out,visibility 0s 220ms}html.js-anim .panel-focus-dialog[open]{animation:viewerIn 200ms ease-out}html.js-anim .panel-managed.is-reading>.hud-panel-head::after{transition:transform 180ms ease-out}}
html.page-hidden .panel-managed,html.page-hidden .panel-body,html.page-hidden .panel-content{transition:none!important}

@media(min-width:640px){html{scrollbar-gutter:stable}}
