.understand-panel{position:absolute;inset:0 0 var(--date-height);overflow:auto;padding:32px clamp(18px,4vw,64px) 48px;background:radial-gradient(ellipse at top left,#173a40 0,transparent 60%),#0b1828;scrollbar-width:thin}
.understand-panel h1{font-size:clamp(26px,3vw,42px);letter-spacing:-1px;line-height:1.15;margin:12px 0 22px;max-width:700px}.understand-panel h2{font-size:18px;line-height:1.35}.understand-intro{display:flex;justify-content:space-between;gap:20px;align-items:center}.understand-panel p{line-height:1.65}.understand-panel button{border:1px solid #365469;border-radius:8px;background:#122a3b;color:#d7e9ef;min-height:40px;padding:9px 12px;cursor:pointer}.understand-panel button:hover{border-color:#5de3ce}.understand-panel button:focus-visible,.understand-panel input:focus-visible{outline:2px solid #5de3ce;outline-offset:3px}
.understand-form{display:flex;gap:10px;max-width:900px}.understand-form input{flex:1;min-width:0;background:#091321;border:1px solid #507578;border-radius:10px;padding:15px;color:#f0f7fa;font-size:18px}.understand-form button{background:#5de3ce;color:#071a22;font-weight:700}.understand-options{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:18px 0}.understand-options label{font-size:13px;color:#b1c8d6}.understand-options select,.understand-connect input{background:#0b1c2e;border:1px solid #365469;border-radius:7px;color:#e1edf3;padding:9px;margin-left:8px}.understand-connect{margin:12px 0}.understand-connect summary{cursor:pointer;color:#9fcac4}.understand-connect>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.understand-connect label{display:flex;align-items:center;font-size:13px}.understand-muted,#understandContext,#understandTrail,#understandEnrichment{font-size:13px;color:#a6becd}#understandFeedback{max-width:880px;color:#d7e7ec}.understand-suggestions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;margin:26px 0}.understand-topic{border:1px solid #2c4d5c;border-radius:12px;padding:18px;background:#101e2c}.understand-topic p{font-size:13px;color:#a7becc}.understand-topic button{display:block;width:100%;margin-top:9px;text-align:left;font-size:13px;background:transparent}.coverage-tag{font-size:11px;letter-spacing:.02em;text-transform:uppercase;color:#e6cc94}.understand-step{border:1px solid #2b465b;border-radius:12px;background:#112235;margin:14px 0;padding:18px;max-width:1050px}.understand-step.selected{border-color:#5de3ce}.step-heading{display:flex;align-items:center;gap:16px;justify-content:space-between}.step-heading button{text-align:left;font-size:18px;border:0;padding:0;background:none}.step-heading button span{color:#5de3ce;font-size:13px;margin-right:12px}.step-heading small{color:#a5bdcd;white-space:nowrap}.step-actions{display:flex;flex-wrap:wrap;gap:7px}.step-actions button{font-size:12px}.understand-edge{display:flex!important;flex-direction:column;text-align:left;gap:8px;margin-top:16px;width:100%;border-left:3px solid #e5c98b!important}.understand-edge span{font-size:14px;line-height:1.6}.understand-edge em{font-size:12px;color:#e5c98b}.understand-proofs{position:absolute;z-index:470;inset:12px 12px calc(var(--date-height) + 12px) auto;width:min(620px,calc(100% - 24px));overflow:auto;background:#102334;border:1px solid #56828a;border-radius:12px;padding:24px;box-shadow:0 15px 60px #0009}.understand-proofs article{border-top:1px solid #335267;padding:18px 0}.understand-proofs blockquote{margin:0 0 16px;border-left:2px solid #5de3ce;padding-left:16px;line-height:1.7}.understand-proofs a{color:#7de0d2}.understand-proofs small{color:#aac1cb}
.journey-context{position:absolute;z-index:440;top:8px;left:12px;right:12px;background:#123237eF;border:1px solid #477573;border-radius:9px;padding:10px 14px;display:flex;align-items:center;gap:10px}.journey-context>div{min-width:0;flex:1}.journey-context strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journey-context small{display:block;color:#b4cbc9;font-size:11px;margin-top:4px}.journey-context button{background:#173e45;border:1px solid #5b8c8b;border-radius:6px;padding:7px;font-size:12px;color:#d7f5ee;min-height:36px}.understand-mode .journey-context,.information-mode .journey-context{display:none}.understand-mode .explore-top,.understand-mode #toggleReader{display:none!important}.understand-mode #reader{z-index:475!important}.has-journey #stage #mapControls{top:105px}.has-journey .fresco-heading{padding-top:90px}.has-journey .voyage-toolbar{padding-top:90px}.has-journey .discover-toolbar{padding-top:90px}.has-journey #stage.selection-open .journey-context{right:calc(var(--inspector-width) + 24px)}
#informationModeBtn{display:block;flex-shrink:0}.view-switch{min-width:0;overflow-x:auto}.view-switch button{white-space:nowrap}
@media(max-width:780px){.understand-panel{padding:22px 16px 32px}.understand-intro{align-items:flex-start}.understand-intro .quiet-button{display:block;font-size:12px}.understand-form{flex-wrap:wrap}.understand-form input{width:100%;flex-basis:100%;font-size:16px}.understand-form button{width:100%}.understand-options{gap:10px}.understand-options label{display:flex;flex-wrap:wrap;gap:5px}.understand-options select{margin:0}.step-heading{display:block}.step-heading small{display:block;margin-top:10px}.step-actions button{min-height:44px}.journey-context{flex-wrap:wrap;gap:6px}.journey-context>div{flex-basis:100%}.journey-context small{display:none}.has-journey #stage.selection-open .journey-context{right:12px}.understand-connect label{flex-direction:column;align-items:flex-start;gap:6px}.understand-connect input{margin:0;width:100%}#informationModeBtn{font-size:11px;padding:7px 6px}.topbar{gap:3px}.view-switch button{padding:7px}.understand-proofs{padding:18px}}

.explanation-bubbles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.explanation-bubble{margin:0;max-width:none;border-radius:24px;padding:22px;min-width:0}.explanation-bubble .step-heading{display:block}.explanation-bubble .step-heading small{display:block;margin-top:9px}.bubble-role{display:block;color:#aac4cb;font-size:11px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.05em}.bubble-summary{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.bubble-enter{width:100%;text-align:left;border-color:#5d8b8c!important;color:#8ce6d7!important}.bubble-details{margin-top:14px}.bubble-details summary{cursor:pointer;font-size:12px;color:#aac4cb;padding:8px 0}.bubble-details .step-actions{margin-top:10px}.role-entry{border-left:4px solid #66c6b4}.role-exit{border-right:4px solid #e5c98b}.role-focus{grid-column:1/-1;background:#17343d}.explanation-trail{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0}.explanation-trail button{min-height:44px}.explanation-trail span{font-size:13px;color:#a5c6cf}.explanation-links h2{font-size:16px}.explanation-links .understand-edge{min-height:56px}.understand-panel #understandLevelSummary:empty{display:none}@media(max-width:780px){.explanation-bubbles{grid-template-columns:1fr;gap:12px}.explanation-bubble{border-radius:18px;padding:18px}.explanation-bubble .step-heading button{min-height:44px}.explanation-trail button{padding:10px}.bubble-details summary{min-height:44px;display:flex;align-items:center}}

/* Keep the persistent selection control clear of the active journey actions. */
@media(min-width:781px){.has-journey .journey-context{padding-right:118px}.has-journey #stage.selection-open .journey-context{padding-right:188px}}

.documentary-status{display:block;margin-top:.4rem;font-size:.8rem;color:var(--muted,#b8c6ca)}
.understand-disagreements{margin-top:1rem;padding:1rem;border:1px solid #ad8750;border-radius:12px}.understand-disagreements button{display:block;width:100%;text-align:left;margin:.5rem 0;padding:.75rem}


/* The banner owns a measured row; it never covers graph navigation. */
.graph-mode .graph-toolbar{top:calc(var(--journey-height,0px) + 12px);right:110px}
.graph-mode #graphCanvas{top:calc(var(--journey-height,0px) + 110px)}
.graph-mode .graph-evidence{top:calc(var(--journey-height,0px) + 110px)}
.graph-mode .journey-context{right:110px!important;padding-right:12px!important}
.graph-mode .journey-context>div{overflow:hidden}
#journeyDismiss{flex-shrink:0;font-size:22px;width:36px;padding:0}
@media(max-width:780px){.graph-mode .graph-toolbar{max-height:130px;right:12px;padding-right:80px}.graph-mode #graphCanvas,.graph-mode .graph-evidence{top:calc(var(--journey-height,0px) + 150px)}.graph-mode .journey-context{right:12px!important;padding-right:85px!important}.graph-mode .journey-context button{font-size:11px}}
