/* Staged profile-page styles only; root owns deployment. */
.profile-page{padding:28px 30px;overflow:auto}.profile-header{display:flex;justify-content:space-between;align-items:flex-start;gap:30px}.profile-header h1{font-size:32px;margin:8px 0 14px;letter-spacing:-1.1px}.profile-header nav{display:flex;gap:24px}.profile-header label{display:flex;flex-direction:column;gap:7px;color:var(--muted,#849497);font-size:11px}.profile-header select{min-width:170px}.profile-summary{font-size:13px;line-height:1.6;padding:10px 0 18px}.profile-summary p{margin:5px 0}.profile-workspace{display:grid;grid-template-columns:220px minmax(300px,1fr) minmax(390px,1.05fr);gap:28px;min-height:640px;height:calc(100vh - 240px)}.profile-workspace[hidden]{display:none}.profile-rail,.profile-reader{min-height:0;overflow:auto;scrollbar-width:thin}.profile-rail{padding-right:8px}.profile-rail details{font-size:12px;margin:14px 0}.profile-rail details p{line-height:1.7;color:var(--muted,#849497)}.profile-rail form{display:grid;gap:10px;margin:14px 0}.profile-rail label{display:grid;gap:5px;font-size:11px;color:var(--muted,#849497)}.profile-rail input,.profile-rail select{max-width:100%}.profile-modes{display:flex;gap:20px}.profile-modes button[aria-pressed=true]{color:#b6e8da;border-bottom:2px solid #b6e8da}.profile-pagination{display:flex;justify-content:space-between;padding:20px 0}.profile-map-pane{display:flex;flex-direction:column;min-width:0;min-height:0}.profile-map-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-map-heading h2,.profile-selected-heading h2{font-size:20px;letter-spacing:-.4px}.profile-map-heading button{font-size:11px}.profile-map-pane #profile-map{position:relative;flex:1;min-height:320px}.profile-map-pane .map-canvas{display:block;width:100%;height:100%}#profile-map-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:10px;color:var(--muted,#849497);min-height:24px}#profile-map-status{font-size:11px;line-height:1.5;margin:5px 0}.profile-map-pane>.muted{font-size:9px;letter-spacing:.3px}.profile-selected-heading{position:sticky;top:0;background:var(--bg,#0b1112);z-index:1;padding-bottom:12px}.profile-selected-heading h2{color:#b6e8da;margin:9px 0}.profile-selected-heading p{font-size:10px;line-height:1.6}.profile-reader .pinned-output{display:block;padding:23px 0;border-top:1px solid rgba(139,165,165,.14)}.profile-reader .pinned-output-heading{display:block}.profile-reader .pinned-output-heading .eyebrow{font-size:9px}.profile-reader .pinned-output-heading h3{text-transform:capitalize;font-size:15px;margin:7px 0}.profile-reader .pinned-prompt{font-size:13px;margin:9px 0 18px;line-height:1.6;white-space:pre-wrap;color:#a2b3b4}.profile-reader .pinned-response{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;max-height:none;overflow:visible;margin:0}.profile-reader .pinned-answer>.muted{font-size:10px;line-height:1.7;margin:12px 0}.profile-reader details{font-size:11px;line-height:1.6;margin:14px 0}.profile-reader details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}.profile-reader .scope{font-size:11px;line-height:1.7}.profile-footer{font-size:10px;line-height:1.7;color:var(--muted,#849497);padding-top:20px;max-width:1200px}.profile-page .error{color:#f3b4a6}.profile-page [hidden]{display:none!important}@media(max-width:1150px){.profile-workspace{grid-template-columns:190px minmax(280px,1fr);height:auto}.profile-reader{grid-column:1/-1;max-height:none}.profile-map-pane{min-height:560px}.profile-rail{max-height:600px}.profile-reader .pinned-output{display:grid;grid-template-columns:240px 1fr;gap:28px}.profile-header h1{font-size:27px}}@media(max-width:700px){.profile-page{padding:18px}.profile-header{display:block}.profile-header nav{margin:18px 0}.profile-workspace{display:flex;flex-direction:column}.profile-rail{max-height:420px}.profile-map-pane{min-height:500px}.profile-reader .pinned-output{display:block}.profile-header select{min-width:0;max-width:160px}}

.profile-modes{flex-wrap:wrap;gap:12px}.global-score-gradient{background:linear-gradient(90deg,#5238b8,#d44db8,#ffc75c)!important}

#profile-map{position:relative}.annotation-options{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.annotation-options label{display:flex;align-items:center;gap:8px}.annotation-options select{width:auto}#profile-annotation-summary:not(:empty){padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--line,#253331)}

#profile-groups{max-height:200px;overflow:auto;scrollbar-width:thin}#profile-cluster-info{border-top:1px solid var(--line,#253331);border-bottom:1px solid var(--line,#253331);max-height:280px;overflow:auto;flex-shrink:0}#profile-cluster-info>summary{font-size:13px;color:var(--accent,#b6e8da)}#profile-cluster-info h3{font-size:16px;font-weight:500;margin:14px 0 6px}#profile-cluster-info h4{font-size:12px;margin:18px 0 8px}#profile-cluster-info p{font-size:12px;line-height:1.6;margin:10px 0}#profile-cluster-info blockquote{margin:8px 0;padding-left:12px;border-left:2px solid var(--line,#253331);white-space:pre-wrap;overflow-wrap:anywhere}#profile-annotation-summary:not(:empty){padding:0;margin:0;border:0}.annotation-evidence-id{overflow-wrap:anywhere}
@media(max-width:700px){#profile-cluster-info{max-height:none;overflow:visible}}

.profile-reader{min-width:0}.prompt-layout{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:11px;color:var(--muted,#91a5aa)}#prompt-layout-controls{display:inline-flex;border:1px solid var(--line,#253331);border-radius:4px;overflow:hidden}#prompt-layout-controls button{padding:5px 9px;min-width:30px;text-align:center;color:var(--muted,#91a5aa)}#prompt-layout-controls button[aria-pressed=true]{color:var(--ink,#e9f6f3);background:#26413e}#prompt-layout-status{font-size:10px}#profile-outputs{display:grid;grid-template-columns:repeat(var(--profile-answer-columns,1),minmax(0,1fr));column-gap:16px}#profile-outputs>.scope,#profile-outputs>.empty{grid-column:1/-1}#profile-outputs>.pinned-output{min-width:0;overflow-wrap:anywhere}#profile-outputs[data-effective-columns]:not([data-effective-columns="1"])>.pinned-output{display:block}#profile-outputs .pinned-response,#profile-outputs details pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}

@media(min-width:1600px){.profile-workspace[data-prompt-columns="4"]{grid-template-columns:220px minmax(300px,1fr) minmax(870px,1.4fr)}}
#profile-outputs>.scope{display:none}
/* In multi-column mode, each answer scrolls under its stationary prompt. */
#profile-outputs[data-effective-columns]:not([data-effective-columns="1"])>.pinned-output{display:flex;flex-direction:column;height:clamp(300px,40vh,420px);overflow:hidden}
#profile-outputs[data-effective-columns]:not([data-effective-columns="1"])>.pinned-output>.pinned-output-heading{flex:none;min-width:0}
#profile-outputs[data-effective-columns]:not([data-effective-columns="1"]) .pinned-prompt{max-height:6.4em;overflow:auto;scrollbar-width:thin}
#profile-outputs[data-effective-columns]:not([data-effective-columns="1"]) .pinned-answer{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.neuron-jump{display:flex;align-items:end;flex-wrap:wrap;gap:8px 12px;margin:10px 0 4px}.neuron-jump label{display:grid;gap:3px;font-size:10px;color:var(--muted,#9ba5a5)}.neuron-jump input,.neuron-jump select{font:inherit;font-size:12px;padding:5px 0;min-width:0}.neuron-jump label:nth-child(1) input{width:52px}.neuron-jump label:nth-child(2) input{width:72px}.neuron-jump select{width:72px}.neuron-jump button{font-size:12px;color:var(--accent,#a7dace);padding:5px 0}.neuron-jump-message{flex-basis:100%;font-size:11px;color:#f3b4a6}.neuron-jump-message:empty{display:none}
.profile-header .site-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:12px}.profile-header .site-nav a{color:var(--muted,#9ba5a5)}.profile-header .site-nav a:hover{color:var(--accent,#a7dace)}
