/* Shared functional cobalt language. Warning color always has a text label. */
.astra-document-panes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#7998d0;border:1px solid #244eaa;border-radius:12px;overflow:hidden;margin:20px 0;min-width:0}
.astra-document-panes>article{padding:24px;background:#163b97;color:#fff;min-width:0;border:0;margin:0}
.astra-document-panes>.astra-objection-pane{background:#101f46}
.astra-document-panes h2{font:650 1.3rem/1.3 system-ui,sans-serif;margin:10px 0 14px;color:#fff!important}
.astra-document-panes p{color:#f1f5ff!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.7;max-height:280px;overflow:auto;margin:0 0 18px}
.astra-document-panes a{color:#d7e6ff!important;display:inline-flex;min-height:44px;align-items:center;text-decoration:underline}
.pane-eyebrow{font:650 .7rem/1.5 system-ui,sans-serif;letter-spacing:.09em;color:#cadbff}
.astra-shell-page .main-canvas.finder>.astra-document-panes{padding:0;border:1px solid #244eaa;background:#7998d0;border-radius:12px}
.astra-shell-page .main-canvas .logic-desk{border-color:#294b81;border-radius:12px;overflow:hidden;background:#101f46}
.logic-canvas,.astra-shell-page .logic-desk>.logic-inspector{background:#101f46;color:#f0f5ff}
.logic-viewport{background-color:#101f46;background-image:linear-gradient(#25416b66 1px,transparent 1px),linear-gradient(90deg,#25416b66 1px,transparent 1px);background-size:24px 24px}
.logic-canvas .logic-node{background:#173eaa;border:1px solid #8eafff;color:#fff;border-radius:10px;box-shadow:none}
.logic-canvas .logic-node[aria-pressed=true]{outline:3px solid #fff;outline-offset:3px;background:#1c49c2}
.logic-canvas .logic-node.needs-review,.logic-canvas .logic-node.needs-review[aria-pressed=true]{background:#ffdf69;color:#14203d;border-color:#ffe79d}
.logic-node.needs-review .logic-type,.logic-node.needs-review .logic-node-status{color:#14203d}
.logic-world path.needs-review{stroke:#ffdf69;stroke-width:2.5px}.logic-world path{stroke:#8dcaff}.logic-world text{stroke:#101f46;fill:#e0ebff}
.logic-mobile-card{border-radius:10px;background:#173eaa}.logic-mobile-card.needs-review{border:2px solid #ffdf69}.logic-mobile-card .logic-alert{color:#ffdf69;font-weight:700}
.logic-inspector a{color:#c3dcff}.logic-inspector .logic-alert{color:#ffdf69}
#comparison-paths{padding:20px;border:1px solid #b8c7e4;border-radius:10px;background:#f4f7ff;margin:20px 0}#comparison-paths summary{min-height:44px;cursor:pointer;font-weight:650}#comparison-paths label{display:grid;gap:8px}#comparison-paths textarea,#comparison-paths input,#comparison-paths select{width:100%;box-sizing:border-box}#comparison-paths p{overflow-wrap:anywhere}
#discovery-validation{padding:24px;min-width:0}#discovery-validation label{display:block;margin:16px 0}#discovery-validation textarea{display:block;width:100%;box-sizing:border-box}#discovery-validation input,#discovery-validation select{max-width:100%;box-sizing:border-box}#discovery-validation pre,#discovery-validation p{white-space:pre-wrap;overflow-wrap:anywhere}#discovery-validation button{margin:6px 10px 6px 0;min-height:44px}#discovery-validation [hidden]{display:none!important}
.concept-landing .landing-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:48px;align-items:center;padding:64px 0 48px}.concept-landing .landing-hero h1{font-size:clamp(2.5rem,4vw,4.2rem);max-width:15ch;line-height:1.08;letter-spacing:-.035em}.concept-landing .landing-lede{font-size:1.14rem;line-height:1.65}
.cobalt-home-example{min-width:0}.cobalt-home-example .astra-document-panes{margin:12px 0}.cobalt-home-example .astra-document-panes>article{padding:20px}.cobalt-home-example h2{font-size:1.05rem}.cobalt-home-example p{font-size:.95rem}.example-caption{font:500 .72rem/1.6 system-ui,sans-serif;color:#4b5e7a;letter-spacing:.02em}.cobalt-example-path{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;background:#101f46;padding:20px 14px;border-radius:10px;color:#d6e8ff}.cobalt-example-path span{padding:12px;border:1px solid #7c9cd2;border-radius:6px;background:#173eaa;color:#fff;font-size:.85rem}.cobalt-example-path .concern-yellow{background:#ffdf69;color:#14203d;border-color:#ffdf69;font-weight:650}.cobalt-home-example>a{display:inline-flex;min-height:44px;align-items:center}
.astra-document-panes :focus-visible,.cobalt-home-example :focus-visible{outline:3px solid #ffdf69;outline-offset:3px}
@media(max-width:900px){.concept-landing .landing-hero{grid-template-columns:1fr;gap:24px;padding:32px 0}.concept-landing .landing-hero h1{max-width:21ch}}
@media(max-width:600px){.astra-document-panes{grid-template-columns:1fr}.astra-document-panes>article{padding:20px}.cobalt-home-example .astra-document-panes{grid-template-columns:1fr}.cobalt-example-path{justify-content:flex-start}#discovery-validation,#comparison-paths{padding:16px}.astra-document-panes p{max-height:220px}}

/* Explicit contrast overrides for inherited graph typography. */
.logic-canvas .logic-node.needs-review strong{color:#14203d}.logic-inspector .logic-alert{color:#14203d;background:#ffdf69}.logic-inspector .logic-type{color:#c6d9ff}.logic-inspector button{color:#14203d}.logic-inspector .logic-review-heading button{color:#e8f0ff}

/* Focus the working stage; keep technical tools reachable through disclosures. */
#stage-coach{padding:24px!important;background:#eef3ff!important;border-left:4px solid #254bdf!important;border-radius:10px;margin:20px 0!important}
#stage-coach h2{font-size:1.6rem;margin:0 0 12px}#stage-coach p{max-width:70ch;line-height:1.65}#stage-example{padding:0;border:0;background:transparent;margin:12px 0}
.focus-step-action{display:inline-flex;align-items:center;min-height:44px;font-weight:650;margin-top:10px}
.focus-disclosure{padding:16px;border:1px solid #c1cee3;background:#f7f9fd;border-radius:10px;margin:18px 0;min-width:0}.focus-disclosure>summary{font-weight:650;cursor:pointer;min-height:44px;align-content:center}.focus-disclosure[open]>summary{margin-bottom:16px}
#focus-map{order:initial}#focus-map:not([open]){background:#101f46;color:#fff}#focus-map .logic-desk{margin:0}#focus-map #investigation-dashboard{display:grid}
.astra-shell-page .main-canvas.finder>.focus-disclosure{padding:16px;border:1px solid #c1cee3;border-radius:10px;background:#f7f9fd}
.astra-shell-page .main-canvas.finder>#focus-map:not([open]){background:#101f46;color:white}
#focus-tools [data-guided-hidden]{display:block!important}
#focus-imports{background:#fff}.astra-document-panes[hidden]{display:none!important}
#stage-coach[hidden]{display:none!important}
@media(max-width:600px){#stage-coach{padding:18px!important}#stage-coach h2{font-size:1.35rem}.focus-disclosure{padding:12px}#focus-map #investigation-dashboard{display:block}}

.astra-shell-page:not(.first-investigation-mode) #question>h2{display:none}.astra-shell-page #stage-coach{scroll-margin-top:20px}#first-investigation>section>details{padding:12px 0}#first-investigation>section>details>summary{min-height:44px;cursor:pointer}#first-investigation h3{font-size:1.5rem;line-height:1.3}

.source-note-disclosure,.source-review-disclosure{border-top:1px solid #c8d3e4;margin-top:12px;padding-top:8px}.source-note-disclosure>summary,.source-review-disclosure>summary{font-weight:650;min-height:44px;align-content:center;cursor:pointer}.source-note-disclosure details>summary{min-height:44px;align-content:center;cursor:pointer}
