.holo-world{color:#e2eff8;background:#030912;background-image:radial-gradient(ellipse at 50% 20%,#0a304840,transparent 65%);padding:32px max(18px,4vw);min-height:100vh}.holo-world button,.holo-world select,.holo-world input,.holo-world textarea{color:#e2f7f5;background:#09202f;border:1px solid #276074;border-radius:9px;padding:10px;font:inherit}.holo-world button{cursor:pointer}.holo-world button:hover,.holo-world a:hover{border-color:#77ffe7;box-shadow:0 0 20px #36decd24}.holo-world :focus-visible{outline:3px solid #ffdb80;outline-offset:4px}.holo-world a{color:#8ff5e5}.holo-welcome{display:flex;justify-content:space-between;gap:32px;align-items:center;max-width:1550px;margin:auto}.holo-welcome h1{font-size:clamp(28px,3.6vw,54px);letter-spacing:-.04em;margin:14px 0}.holo-welcome p{max-width:720px;color:#a8c4d5}.holo-state{font-size:11px;line-height:1.8;color:#ffd795;border:1px solid #806934;padding:14px;border-radius:10px;min-width:220px}.holo-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:22px 0}.holo-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px}.holo-toolbar input{width:200px}.holo-space{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.holo-stage{position:relative;border:1px solid #174d61;border-radius:24px;overflow:hidden;box-shadow:0 0 65px #0acbbd0d}.holo-stage canvas{display:block;width:100%;height:740px;touch-action:none}.holo-stage-caption{position:static;box-sizing:border-box;width:100%;padding:14px 16px 8px;text-align:center;line-height:1.6;overflow-wrap:anywhere;background:#061320;border-top:1px solid #174d61;color:#a2d4dd;font-size:12px}.holo-stage-caption small{color:#7898ab}.holo-position{position:static;box-sizing:border-box;width:100%;padding:0 16px 14px;text-align:center;line-height:1.6;overflow-wrap:anywhere;background:#061320;font-size:11px;color:#c0d4df}.holo-inspector{border:1px solid #245068;border-radius:18px;background:#081826c9;padding:20px;min-width:0}.holo-inspector h2{font-size:24px}.holo-inspector p{font-size:13px;color:#afc8d7}.holo-inspector .btn{display:block;font-size:12px}.holo-endpoints{display:grid;gap:7px;max-height:370px;overflow:auto;margin-top:20px}.holo-endpoints button{text-align:left;font-size:12px;padding:9px}.holo-truth{font-size:11px;color:#ffdaa1;padding:14px 0}.holo-tabs,.holo-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.holo-tabs button[aria-pressed=true]{background:#135144;border-color:#76f5ce}.holo-layer{border:1px solid #205061;border-radius:20px;background:#071621;margin:22px 0;padding:26px}.holo-layer[hidden],.holo-world [hidden]{display:none!important}.holo-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.holo-detail{padding:18px;border:1px solid #36647a;border-radius:12px;margin:15px 0;overflow-wrap:anywhere}.holo-registry{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.holo-registry a{border:1px solid #28475d;padding:15px;border-radius:12px;text-decoration:none;display:block;font-size:13px;overflow-wrap:anywhere}.holo-registry small{display:block;color:#9db7c6;font-size:11px;margin-top:8px}.holo-city-wrap{height:560px;margin-top:18px}.holo-city-wrap canvas,.holo-city-wrap img{width:100%;height:100%;object-fit:contain;display:block;border-radius:16px;touch-action:none}.holo-scenario-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.holo-scenario-controls label{display:grid;gap:12px}.holo-layer textarea{display:block;width:100%;box-sizing:border-box;margin-top:10px}.holo-layer p{color:#afc6d5}.holo-text-mode .holo-stage{display:none}.holo-text-mode .holo-space{display:block}.holo-text-mode .holo-endpoints{max-height:none;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}#holoClassification p{font-size:12px;overflow-wrap:anywhere}.holo-world:fullscreen{overflow:auto}.holo-world .neural-tools{background:transparent}.holo-world .neural-tools select{max-width:100%}@media(max-width:800px){.holo-space{grid-template-columns:1fr}.holo-welcome{display:block}.holo-state{display:inline-block;margin-top:14px}.holo-stage canvas{height:560px}.holo-section-title{display:block}.holo-layer{padding:15px}.holo-scenario-controls{grid-template-columns:1fr}.holo-world{padding:20px 12px}.holo-toolbar input{width:180px}.holo-endpoints{max-height:220px}.holo-city-wrap{height:430px}.holo-toolbar{gap:7px}.holo-world button{font-size:12px}.holo-stage-caption{font-size:10px;padding:0 5px;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.holo-world *{scroll-behavior:auto;transition:none!important;animation:none!important}}
#holoNeural canvas{display:block;width:100%;height:620px;border-radius:16px;touch-action:none}#holoNeural .neural-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center}#holoNeural .neural-tools label{max-width:100%}#holoNeural .neural-help{font-size:12px}#holoNeural .neural-readout{font-size:12px;color:#f0d496}@media(max-width:800px){#holoNeural canvas{height:480px}#holoNeural select{width:100%;max-width:100%;font-size:11px}}
#unifiedNerveSelect{max-width:min(650px,100%)}#holoNeuralLayer>label{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}#unifiedMeadows{max-width:100%}.holo-stage canvas{height:820px}@media(max-width:800px){.holo-stage canvas{height:620px}#unifiedNerveSelect{max-width:100%;width:100%;font-size:11px}.holo-toolbar label:has(#unifiedNerveSelect){width:100%}}
#holoCanvas{scroll-margin-top:85px}
.stakeholder-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.stakeholder-steps label{display:grid;gap:10px;font-size:13px}.stakeholder-steps select{width:100%;min-width:0}#stakeholderWorkbench>label{display:grid;gap:8px;margin:18px 0}.stakeholder-interests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.stakeholder-interests label{display:flex;align-items:center;gap:8px;font-size:12px}#holoRole{max-width:310px}#stakeholderMatches button{font-size:12px}#holoRoleNote{font-size:12px}@media(max-width:800px){.stakeholder-steps,.stakeholder-interests{grid-template-columns:1fr}#holoRole{max-width:240px}}
#visitorFeedback{display:grid;gap:16px;max-width:800px;padding:20px;border:1px solid #286575;border-radius:16px;background:#0b1b26}#visitorFeedback label:not([hidden]){display:grid;gap:8px}#visitorFeedback label:has(input[type=checkbox]){display:flex;align-items:flex-start}#visitorFeedback textarea,#visitorFeedback select{font:inherit;color:#eaf4f8;background:#061525;border:1px solid #518292;border-radius:8px;padding:12px;max-width:100%;width:100%;box-sizing:border-box}#visitorFeedback button{font:inherit;border-radius:8px;padding:12px;background:#163b4e;color:#eaf4f8;border:1px solid #63efe6;cursor:pointer}#visitorFeedback [hidden]{display:none}

.holo-dashboard-dock{position:relative;padding:16px;background:#071724;border-top:1px solid #286575}.holo-dashboard-dock h2{margin:0 0 12px;font-size:16px}.holo-dashboard-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.holo-dashboard-cards a{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #44b5bc;border-radius:10px;background:#0a2232;color:#dceff5;text-decoration:none;overflow-wrap:anywhere}.holo-dashboard-cards strong{color:#8af7ef}.holo-dashboard-cards small{font-size:11px}.holo-dashboard-cards a:focus-visible{outline:3px solid #ffe3a0;outline-offset:3px}@media(max-width:600px){.holo-dashboard-cards{grid-template-columns:1fr}}

/* Consistent page gutters and card rhythm. */
.holo-world{padding:24px clamp(12px,2vw,24px)}.holo-layer{margin:18px 0;padding:20px}.holo-registry{gap:14px;align-items:stretch;min-width:0}.holo-registry>.holo-detail{margin:0;padding:18px;min-width:0}.holo-registry>.holo-detail h3{margin:0 0 12px;line-height:1.35}.holo-registry>.holo-detail p{margin:0;line-height:1.5}.holo-registry>.holo-detail p+p{margin-top:10px}#mindViewContent>.holo-registry{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}#mindViewContent>.holo-registry>.holo-detail:last-child:nth-child(odd){grid-column:1/-1}@media(max-width:560px){#mindViewContent>.holo-registry{grid-template-columns:1fr}.holo-layer{padding:14px}.holo-world{padding:18px 12px}}

/* Cortex reference explorer: keep canonical IDs and packet data within the viewport. */
#cortexRegistry {min-width:0;}
#cortexRegistry figure {max-width:100%!important;}
#cortexRegistry svg {display:block;width:100%;height:auto;}
#cortexRegistry button,#cortexRegistry summary,#cortexRegistry article,#cortexRegistry p,#cortexRegistry dd {overflow-wrap:anywhere;}
#cortexRegistry pre {max-width:100%;overflow-wrap:anywhere;word-break:break-word;}
#cortexRegistry .holo-toolbar {flex-wrap:wrap;gap:8px;}
#cortexRegistry [data-reference-cell] {box-sizing:border-box;min-width:0;flex:1 1 180px;}
#cortexRegistry article {padding:12px;border:1px solid #536475;border-radius:12px;margin:10px 0;}
#cortexRegistry :focus-visible {outline:2px solid #fff;outline-offset:4px;}
@media(max-width:560px){#cortexRegistry .holo-toolbar button {flex:1 1 140px;}#cortexRegistry [data-reference-cell] {max-width:100%!important;}#cortexRegistry details {margin-left:0;}#cortexRegistry dl {display:block;}}

/* Fluid controls and stacked viewer/inspector on tablets and phones. */
.holo-toolbar label{min-width:0;max-width:100%;flex-wrap:wrap}
.holo-toolbar select,.holo-toolbar input{min-width:0;max-width:100%}
.holo-inspector,.holo-layer{overflow-wrap:anywhere}
@media(max-width:1100px){.holo-space{grid-template-columns:minmax(0,1fr)}.holo-inspector{padding:16px}.holo-stage canvas{height:clamp(320px,65svh,620px)}}
@media(max-width:600px){
 .holo-world{padding:16px 8px}.holo-layer{padding:12px}
 .holo-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 0}
 .holo-toolbar label{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;width:100%}
 .holo-toolbar input,.holo-toolbar select,#holoRole{width:100%;max-width:100%;font-size:16px}
 .holo-world button,.holo-world select,.holo-world input{min-height:44px}
 .holo-world input[type=checkbox]{min-height:24px;width:24px}
 .holo-world input[type=range]{padding:0}
 .holo-registry,.holo-dashboard-cards,.stakeholder-steps,.stakeholder-interests{grid-template-columns:minmax(0,1fr)}
 .holo-state{min-width:0;max-width:100%;display:block}
 .holo-stage{border-radius:14px}.holo-stage-caption{padding:10px;font-size:12px}
 #cortexBreadcrumb{display:flex;flex-wrap:wrap;gap:6px}
 .holo-city-wrap{height:350px}
}
.holo-world nav{position:static;inset:auto;width:auto;max-width:100%;background:transparent;box-shadow:none;transform:none;display:flex;flex-wrap:wrap}
@media(max-width:600px){.holo-world nav.holo-toolbar{display:grid}}
