/* Dark dashboard for the map and its controls. */
.expertise-explorer{
 --dash-shell:#121519;--dash-panel:#181c21;--dash-map:#101316;--dash-button:#22272e;
 --dash-border:#323941;--dash-text:#f1f5f8;--dash-secondary:#bec8d2;--dash-muted:#9aa8b6;
 --dash-signal:#8bbcf8;--dash-focus:#a5ceff;
 color-scheme:dark;color:var(--dash-text);background:var(--dash-shell);
 border:1px solid var(--dash-border);border-radius:16px;overflow:hidden;margin-top:36px;
 box-shadow:0 12px 32px #11182024;
}
.expertise-scene-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 24px;background:var(--dash-shell);border-bottom:1px solid var(--dash-border)}
.expertise-scene-toolbar>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.expertise-toolbar-title{display:inline-flex;align-items:center;gap:7px;padding:2px 7px;border:1px solid var(--dash-border);border-radius:20px;font:10px/1.3 var(--font);letter-spacing:.06em;text-transform:uppercase;color:var(--dash-secondary)}
.expertise-toolbar-title::before{content:'';width:6px;height:6px;border-radius:50%;background:#80d3b5}
.expertise-explorer[data-cycle-mode=station] .expertise-toolbar-title::before{background:var(--dash-signal)}
.expertise-explorer[data-action-state=paused] .expertise-toolbar-title::before,.expertise-explorer[data-motion=paused] .expertise-toolbar-title::before{background:#e7b66e}
.expertise-current-field{font-size:17px;font-weight:600;line-height:1.35;color:var(--dash-text);font-variant-numeric:tabular-nums}
.expertise-scene-controls{display:flex;gap:10px;flex-wrap:wrap}
.expertise-motion,.expertise-zoom,.expertise-replay{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;background:var(--dash-button);border:1px solid var(--dash-border);border-radius:8px;color:var(--dash-text);min-height:44px;font:500 12px/1.5 var(--font);cursor:pointer;white-space:nowrap}
.expertise-motion:hover,.expertise-zoom:hover,.expertise-motion:before{content:'Ⅱ';font-size:11px}
[data-motion=paused] .expertise-motion:before{content:'▷'}
.expertise-motion:disabled{opacity:.7;cursor:default}
.expertise-scene-stage{min-width:0;background:var(--dash-map)}
.expertise-scene-viewport{position:relative;aspect-ratio:8/5;min-width:0;background:var(--dash-map)}
.expertise-world{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}
.expertise-explorer[data-enhanced=true] :is(.world-zone,.world-label,.world-floor){cursor:pointer}
.expertise-explorer[data-enhanced=true] .world-label{transition:opacity .25s}
.expertise-explorer[data-enhanced=true] .world-zone{transition:filter .25s,opacity .25s}
.expertise-explorer[data-enhanced=true] .world-zone:not(.is-active,.is-handoff){filter:brightness(.68) saturate(.8)}
.expertise-explorer[data-enhanced=true] .world-zone.is-handoff{filter:brightness(.86)}
.expertise-explorer[data-enhanced=true] .world-label:not(.is-active){opacity:.65}
.expertise-explorer[data-enhanced=true] .world-label:hover{opacity:1}
.world-zone-base{opacity:.06;stroke-width:1.3;transition:opacity .2s,stroke-width .2s}
.world-floor.is-active .world-zone-base{opacity:.26;stroke:var(--zone-accent);stroke-width:4}
.world-label-card{transition:fill .2s,stroke .2s}
.world-label.is-active .world-label-card{fill:#252b32;stroke:var(--zone-accent);stroke-width:2.4}
.world-label.is-active .world-label-title{fill:#f1f5f8;font-weight:600}
.world-label.is-active .world-label-detail{fill:#c3ccd6}
.world-label.is-active .world-label-leader{opacity:1;stroke-width:2.5}
.expertise-explorer[data-view=focus] .world-label{visibility:hidden;pointer-events:none}
.expertise-explorer[data-view=focus] :is(.world-zone,.world-floor):not(.is-active,.is-handoff){opacity:.16;pointer-events:none}
.expertise-scene-instruction{position:absolute;left:24px;right:24px;bottom:13px;color:var(--dash-secondary);font:12px/1.7 var(--font);margin:0!important;pointer-events:none}
.expertise-field-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:5px 6px;background:var(--dash-shell);border-top:1px solid var(--dash-border)}
.expertise-choice{display:flex;align-items:center;gap:9px;padding:18px 14px;min-height:80px;color:var(--dash-secondary);text-decoration:none;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.45;min-width:0}
.expertise-choice>img{display:block;flex-shrink:0;width:28px;height:28px;filter:none!important;opacity:.75}
.expertise-choice[aria-selected=true]>img,.expertise-choice:hover>img{opacity:1}
.expertise-choice>span:last-child{flex:1;min-width:0}
.expertise-choice-number{display:flex;align-items:center;justify-content:center;width:25px;height:25px;flex-shrink:0;border-radius:6px;background:#242a31;color:var(--dash-muted);font:11px/1.4 var(--mono)}
.expertise-choice:hover{background:#22282f;color:var(--dash-text)}
.expertise-choice[aria-selected=true]{border-color:#424c56;color:var(--dash-text);background:#262d35;box-shadow:inset 0 -2px 0 var(--field-accent);font-weight:600}
.expertise-choice[aria-selected=true] .expertise-choice-number{background:var(--field-accent);color:#14191c}
.expertise-choice:focus-visible,.expertise-motion:focus-visible,.expertise-zoom:focus-visible,.expertise-field-panel:focus-visible{outline:2px solid var(--dash-focus);outline-offset:-3px}
.expertise-detail-dock{background:var(--dash-panel);border-top:1px solid var(--dash-border);padding:30px 34px}
.expertise-field-panel{width:100%;min-width:0;display:grid;grid-template-columns:1fr 1.15fr;gap:56px;border-left:3px solid var(--field-accent);padding-left:26px;min-height:194px}
.expertise-field-kicker{font:11px/1.75 var(--mono);color:var(--field-accent);margin:0 0 11px!important}
.science-site .expertise-application>h3{font-size:32px;font-weight:500;line-height:1.25;letter-spacing:-.035em;color:var(--dash-text);margin:0 0 15px}
.expertise-application>p:not(.expertise-field-kicker),.expertise-role>p{font-size:15px;line-height:1.75;color:var(--dash-secondary);margin:0;max-width:640px}
.expertise-role>h4{font-size:13px;font-weight:600;color:var(--dash-text);margin:0 0 13px;line-height:1.6}
.expertise-field-links{display:flex;align-items:flex-start;gap:30px;margin-top:23px}
.science-site .expertise-field-link{font-size:13px;line-height:1.7;gap:12px;white-space:nowrap;color:var(--dash-focus)}
.expertise-example{display:block;padding-left:24px;border-left:1px solid var(--dash-border);color:var(--dash-focus);font-size:13px;line-height:1.65;text-decoration:none}
.expertise-example>span:first-child{display:block;margin-bottom:4px;font:10px/1.6 var(--mono);color:var(--dash-muted)}
.expertise-scene-caption{font:11px/1.8 var(--font);color:var(--dash-muted);padding:15px 24px;margin:0!important;border-top:1px solid var(--dash-border);background:var(--dash-shell)}
/* The map overlay resumes the full cycle. */
.expertise-run{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;min-height:44px;border:1px solid var(--dash-border);border-radius:8px;background:#edf3fc;color:#131d28;font:600 12px/1.5 var(--font);cursor:pointer}
.expertise-run{position:absolute;top:12px;right:12px;z-index:1;gap:8px;white-space:nowrap;box-shadow:0 2px 8px #07141c99}
.expertise-run:before{content:'▷';font-size:13px}
.expertise-run:hover{background:#fff}
.expertise-run:disabled,.expertise-replay:disabled{background:transparent;color:var(--dash-muted);cursor:default;opacity:.7}
.expertise-run:focus-visible,.expertise-replay:focus-visible{outline:2px solid var(--dash-focus);outline-offset:-3px}
@media(max-width:1100px){.expertise-field-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.expertise-choice{font-size:14px;min-height:79px;gap:12px;padding:16px 21px}.expertise-field-panel{gap:35px}.expertise-field-links{gap:20px}.expertise-example{padding-left:18px}}
@media(max-width:750px){.expertise-detail-dock{padding:27px}.expertise-field-panel{grid-template-columns:1fr;gap:24px;padding-left:21px;min-height:0}.expertise-role{padding-top:23px;border-top:1px solid var(--dash-border)}.expertise-field-links{justify-content:space-between;max-width:520px}.expertise-scene-controls{gap:8px}.expertise-scene-toolbar{padding:16px 20px}.expertise-current-field{font-size:15px}.expertise-toolbar-title{font-size:10px}.expertise-choice{font-size:13px;gap:9px;padding:15px}.expertise-choice>img{width:26px;height:26px}}
@media(max-width:560px){.expertise-explorer{margin-top:27px;border-radius:12px}.expertise-scene-toolbar{gap:13px;padding:16px}.expertise-scene-controls{width:100%}.expertise-motion,.expertise-zoom,.expertise-replay{font-size:12px;flex:1;padding-inline:10px;min-height:44px}.expertise-scene-viewport{aspect-ratio:1.5}.expertise-scene-instruction{left:15px;right:15px;bottom:8px;font-size:11px}.expertise-scene-instruction:first-letter{text-transform:uppercase}.expertise-field-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.expertise-choice{font-size:13px;min-height:77px;gap:9px;padding:14px}.expertise-choice>img{display:none}.expertise-choice-number{width:24px;height:24px;font-size:11px}.expertise-detail-dock{padding:23px 19px}.expertise-field-panel{padding-left:17px;gap:21px}.science-site .expertise-application>h3{font-size:27px}.expertise-application>p:not(.expertise-field-kicker),.expertise-role>p{font-size:14px}.expertise-field-links{flex-wrap:wrap;gap:18px}.expertise-example{padding:0;border:0;flex-basis:100%}.expertise-field-kicker{font-size:10px}.expertise-scene-caption{padding:14px 17px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.expertise-explorer :is(.world-zone,.world-zone-base,.world-label,.world-label-card){transition:none}.expertise-explorer [data-motion-node]{animation:none!important}}
/* The original, published AI example opens independently of the plan layout. */
.ai-published-example{grid-column:1/-1;border-top:1px solid var(--dash-border);padding-top:24px;margin-top:1px}
.ai-example-heading>span{font:10px/1.7 var(--mono);letter-spacing:.5px;color:var(--dash-muted)}
.ai-example-heading>h4{font-size:23px;font-weight:400;line-height:1.4;color:var(--dash-text);margin:9px 0 22px}
.ai-example-grid{display:grid;grid-template-columns:minmax(0,256px) minmax(0,256px) minmax(120px,1fr);align-items:center;gap:25px;max-width:800px}
.ai-example-grid figure{margin:0;min-width:0;position:relative}
.ai-sample{position:relative;width:100%;aspect-ratio:256/194;overflow:hidden;background:#222830;border:1px solid var(--dash-border);border-radius:4px}
.science-site .ai-sample>img{position:absolute;display:block;max-width:none;width:703.125%;height:auto;top:-60.824742%;filter:none!important;object-fit:initial}
.ai-sample-input>img{left:-28.90625%}
.ai-sample-output>img{left:-488.671875%}
.ai-example-grid figcaption{margin:10px 0 0;font:11px/1.6 var(--mono);color:var(--dash-muted)}
.ai-example-analysis{border-radius:4px}
.ai-example-result{border-left:1px solid var(--dash-border);padding-left:26px;color:var(--dash-secondary)}
.ai-example-result>span{font:11px/1.7 var(--mono)}
.ai-example-result strong{display:block;font-size:60px;font-weight:400;line-height:1.15;letter-spacing:-.05em;margin-top:12px;color:var(--dash-text)}
.ai-example-result>p,.ai-example-note{font-size:11px;line-height:1.8;color:var(--dash-muted);margin:0}
.ai-example-note{margin-top:17px}
/* Keep the full desktop plan, explanation, and controls in one viewport. */
.expertise-explorer{scroll-margin-top:0}
.expertise-explorer .world-zone:not(.is-active) .world-line-carton{visibility:hidden}
.expertise-explorer .world-zone:not(.is-active) .world-station-readout{visibility:hidden}
.expertise-explorer[data-active-field=banking] .world-zone.is-handoff .world-delivered-carton{visibility:visible}
.world-idle-light,.world-flow-arrow{pointer-events:none}
.world-idle-light .world-idle-halo{--idle-low:.15;--idle-high:.49}
.world-flow-arrow{--idle-low:.34;--idle-high:.78;opacity:.34}
@keyframes expertise-idle-signal{
 0%,52%,100%{opacity:var(--idle-low)}
 24%{opacity:var(--idle-high)}
}
@media(prefers-reduced-motion:no-preference){
 .expertise-explorer[data-enhanced=true] :is(.world-idle-halo,.world-flow-arrow){animation:expertise-idle-signal 5.8s ease-in-out var(--idle-delay,0s) infinite paused}
 .expertise-explorer[data-idle-motion=running] :is(.world-idle-halo,.world-flow-arrow){animation-play-state:running}
}
.expertise-example-dialog{width:min(900px,calc(100% - 40px));max-height:calc(100svh - 40px);padding:28px;border:1px solid var(--dash-border);border-radius:16px;background:var(--dash-panel);color:var(--dash-text);box-shadow:0 24px 100px #071a2b66}
.expertise-example-dialog::backdrop{background:#05070acc;backdrop-filter:blur(4px)}
.expertise-example-dialog:not([open]){display:none}
.expertise-example-dialog form{display:flex;justify-content:flex-end;margin:0 0 12px}
.expertise-example-close{display:flex;align-items:center;gap:20px;min-height:44px;background:var(--dash-button);color:var(--dash-text);padding:8px 15px;border:1px solid var(--dash-border);border-radius:8px;font-size:13px}
.expertise-example-close>span{font-size:24px;line-height:1}
.expertise-example-dialog .ai-published-example{border-top:0;padding-top:0}
.ai-example-result>div>span{display:block;font-size:15px;margin:4px 0 15px}
@media(min-width:1024px){
 .home-expertise,.expertise-landscape-page{width:min(1560px,calc(100% - 64px))}
 .expertise-explorer{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,27vw,360px);grid-template-rows:64px minmax(0,1fr) 62px 32px;height:calc(100svh - var(--masthead-height,104px) - 44px);max-height:900px;margin-top:24px}
 .expertise-scene-toolbar{grid-column:1/-1;grid-row:1;flex-wrap:nowrap;padding:10px 18px;gap:12px}
 .expertise-toolbar-title{font-size:10px;line-height:1.25}
 .expertise-current-field{font-size:15px;line-height:1.4}
 .expertise-scene-controls{flex-wrap:nowrap;gap:8px}
 .expertise-motion,.expertise-zoom,.expertise-replay,.expertise-run{padding-inline:12px;font-size:11px}
 .expertise-scene-stage{grid-column:1;grid-row:2;display:flex;flex-direction:column;min-height:0}
 .expertise-scene-viewport{flex:1;min-height:0;aspect-ratio:auto}
 .expertise-scene-instruction{font-size:10px;bottom:8px;left:18px;right:18px}
 .expertise-field-choices{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(6,minmax(0,1fr))}
 .expertise-choice{min-height:0;padding:6px 9px;gap:7px;font-size:12px}
 .expertise-choice>img{width:24px;height:24px}
 .expertise-choice-number{width:22px;height:22px;font-size:10px}
 .expertise-detail-dock{grid-column:2;grid-row:2;min-height:0;border-top:0;border-left:1px solid var(--dash-border);padding:22px}
 .expertise-field-panel{display:flex;flex-direction:column;gap:20px;min-height:0;border-left-width:3px;padding-left:17px}
 .expertise-field-kicker{font-size:10px;line-height:1.6;margin-bottom:9px!important}
 .science-site .expertise-application>h3{font-size:25px;line-height:1.2;margin-bottom:12px}
 .expertise-application>p:not(.expertise-field-kicker),.expertise-role>p{font-size:13px;line-height:1.7}
 .expertise-role>h4{font-size:12px;line-height:1.5;margin-bottom:9px}
 .expertise-field-links{flex-wrap:wrap;gap:14px;margin-top:18px}
 .science-site .expertise-field-link,.expertise-example{font-size:12px;line-height:1.6}
 .expertise-example{border-left:0;padding:0;flex-basis:100%}
 .expertise-example>span:first-child{font-size:9px;margin-bottom:3px}
 .expertise-scene-caption{grid-column:1/-1;grid-row:4;padding:7px 18px;font-size:10px;line-height:1.6}
}
@media(min-width:1024px) and (max-height:800px){
 .expertise-detail-dock{padding:17px 19px}
 .expertise-field-panel{gap:15px;padding-left:14px}
 .science-site .expertise-application>h3{font-size:23px;margin-bottom:0}
 .expertise-application>p:not(.expertise-field-kicker){display:none}
 .expertise-role>p{font-size:12.5px;line-height:1.65}
 .expertise-field-links{margin-top:14px;gap:11px}
}
@media(min-width:1024px) and (max-width:1180px){
 .expertise-choice>img{display:none}
 .expertise-choice{padding-inline:10px}
}
@media(max-width:600px){.expertise-example-dialog{padding:20px}.ai-example-result>div>span{margin:0;font-size:12px}}
@media(min-width:1024px) and (max-height:800px){.expertise-example>span:first-child{display:none}}
@media(min-width:1024px) and (max-height:700px){
 .expertise-detail-dock{padding:15px 18px}
 .expertise-field-panel{gap:12px}
 .expertise-field-kicker{margin-bottom:0!important}
 .science-site .expertise-application>h3{display:none}
 .expertise-role>p{font-size:12px;line-height:1.6}
 .expertise-field-links{margin-top:12px;gap:10px}
}
@media(max-width:600px){
 .ai-example-grid{grid-template-columns:1fr 1fr;gap:17px}
 .ai-example-result{grid-column:1/-1;border-left:0;border-top:1px solid var(--dash-border);padding:15px 0 0;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
 .ai-example-result strong{font-size:42px;margin:0}
 .ai-example-heading>h4{font-size:21px}
 .ai-example-grid figcaption{font-size:9px}
 .ai-example-result>p{display:none}
}

@media(hover:hover) and (pointer:fine){
 .expertise-explorer[data-enhanced=true] .world-label:hover .world-label-card{stroke:var(--zone-accent);stroke-width:2}
 .expertise-explorer[data-enhanced=true] .world-label:hover .world-label-number{visibility:hidden}
 .expertise-explorer[data-enhanced=true] .world-label:hover .world-label-play{visibility:visible}
}
