/* Concept Studio: one shell, with distinct evidence, action and journal areas. */
:root { font-family: "Segoe UI", Arial, sans-serif; font-size: 18px; color: #18334b; background: #091c30; }
body[data-studio-exit="concept"] { background: radial-gradient(ellipse at 85% 12%, #124c60 0, transparent 42%), linear-gradient(145deg, #07172a, #132b46); background-attachment: fixed; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .11; background-image: linear-gradient(#71c8d9 1px, transparent 1px), linear-gradient(90deg, #71c8d9 1px, transparent 1px); background-size: 48px 48px; z-index: -1; }
.site-header { position: sticky; top: 0; z-index: 20; grid-template-columns: auto 1fr auto; padding: 18px max(22px, calc((100vw - 1280px)/2)); border: 0; border-bottom: 1px solid #365368; background: #091c30; gap: 24px; color: #f4fbff; }
.brand { color: #f4fbff; gap: 8px; }
.brand strong { letter-spacing: .08em; font-size: 1.16rem; }
.brand span { color: #7ce8dd; font-size: .7rem; }
.settings label { background: transparent; color: #c5dce8; border: 0; padding: 0; display: grid; gap: 2px; font-size: .75rem; }
.settings select { max-width: 180px; background: #172f46; color: #fff; border: 1px solid #4d6c82; padding: 7px 10px; border-radius: 8px; font-size: .85rem; }
.settings { gap: 18px; }
.header-actions { flex-wrap: wrap; align-items: center; }
.header-actions a, .header-actions button { color: #e5f5fc; background: #18344b; border-color: #4d6c82; font-size: .8rem; }
.pilot-notice { color: #bdd6e4; background: transparent; border: 0; border-radius: 0; font-size: .75rem; font-weight: 400; margin: 10px auto; }
.app-shell { width: min(1180px, calc(100% - 40px)); }
.start-screen { border-radius: 22px; margin: 35px auto; max-width: 880px; border: 1px solid #9bcdd9; box-shadow: 0 22px 75px #0005; }
.start-screen h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.16; }
.eyebrow { font-size: .75rem; letter-spacing: .13em; }
.concept-row input { font-size: 1rem; }
.concept-suggestions { border-radius: 14px; background: #edf7fa; }
.concept-suggestion-list button { padding: 9px 13px; }
.journey-layout { display: block; }
.learning-page { border-radius: 22px; padding: clamp(22px, 4vw, 42px); box-shadow: 0 20px 65px #0003; }
.learning-sidebar { display: none; }
.journey-layout[data-stage="path_learning"] .learning-page { padding: 0; border: 0; background: transparent; box-shadow: none; }
.journey-layout[data-stage="path_learning"] #screenHeader:empty { display: none; }
.choice-options { gap: 12px; }
.choice-option { font-size: 1rem; padding: 18px; border-radius: 12px; }
.choice-option.selected { border: 2px solid #097e79; }
.concept-prepare { margin: 20px 0; padding: 22px; background: #edf8fb; border: 1px solid #90b9ce; border-radius: 14px; }
.concept-prepare p { margin: 5px 0 12px; }
.concept-prepare[aria-busy="true"]::before { content: ""; display: block; width: 38px; height: 4px; background: #087f77; border-radius: 3px; margin-bottom: 14px; animation: concept-pulse 1.4s ease-in-out infinite alternate; }
.concept-intro { color: #f0f8fc; padding: 4px 4px 14px; }
.concept-intro h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.18; max-width: 1080px; }
.concept-intro .eyebrow { color: #81e0d8; }
.concept-intro p { color: #c9dee9; max-width: 1080px; margin-bottom: 6px; }
.concept-roadmap { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 12px; padding: 0 0 18px; margin-bottom: 8px; }
.concept-step { flex: 1 0 210px; scroll-snap-align: start; border: 1px solid #47657b; border-radius: 14px; padding: 12px 16px; background: #132e47; color: #b8d0e0; }
.concept-step strong { display: block; font-size: .87rem; line-height: 1.4; margin-top: 7px; }
.concept-step span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.concept-step[data-status="current"] { color: #fff; background: #075957; border-color: #69e6d0; box-shadow: inset 0 3px #69e6d0; }
.concept-step[data-status="complete"] { color: #b0efe0; border-color: #459b88; }
#concept-journey-container .dausoko-stage-runtime { max-width: none; padding: 0; }
#concept-journey-container .dausoko-stage-runtime > label { display: none; }
#concept-journey-container .dausoko-stage-runtime > .dsc-audit:first-child { display: none; }
#concept-journey-container .dsc-audit[data-save-status] { color: #c5dce8; background: transparent; font-size: .72rem; padding: 0 4px; }
#concept-journey-container .dsc-card { border-radius: 20px; padding: clamp(22px, 4vw, 42px); margin-top: 12px; border-color: #a5cdd7; box-shadow: 0 24px 60px #0004; }
#concept-journey-container .dsc-card h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); line-height: 1.25; margin: 20px 0 15px; }
#concept-journey-container .dsc-card h3 { font-size: 1.08rem; }
#concept-journey-container .dsc-head { font-size: .8rem; letter-spacing: .03em; }
.concept-objective { border-left: 4px solid #168485; background: #eef8f7; padding: 15px 20px; border-radius: 0 12px 12px 0; }
.concept-objective strong { display: block; margin-bottom: 4px; }
.concept-purpose { color: #446277; font-size: .9rem; margin: 12px 0 22px; }
.concept-source, .concept-guide { border-radius: 14px; margin: 18px 0; padding: 18px 20px; }
.concept-source { background: #edf8fb; border: 1px solid #8ebccf; }
.concept-source h3, .concept-guide h3 { margin: 0 0 10px; }
.concept-source-title { font-weight: 700; margin: 0 0 6px; }
.concept-source-link { display: inline-block; font-weight: 700; margin: 2px 0 12px; color: #075b75; }
.concept-source-poster { display: block; margin: 3px 0 12px; border: 1px solid #39748d; border-radius: 8px; padding: 8px 11px; color: #123f58; background: #fff; font: inherit; cursor: pointer; }
.concept-extract { border-left: 3px solid #168485; padding-left: 12px; margin: 10px 0; }
.concept-critical-note { color: #405d6d; font-size: .9rem; margin: 10px 0 0; }
.concept-feedback-source-limit { border-top: 1px solid #bdd7cf; margin-top: 14px; padding-top: 12px; }
.concept-guide { background: #f7fbff; border: 1px solid #c8dce8; }
.concept-substeps { margin: 0; padding-left: 22px; }
.concept-substeps li { margin: 7px 0; }
#concept-journey-container .dsc-artifact { background: #f0f7fd; border: 1px solid #b7cedf; padding: 20px; }
#concept-journey-container .dsc-artifact h3 { margin: 0 0 12px; }
#concept-journey-container .dsc-artifact th { background: #dcecf7; }
#concept-journey-container .dsc-artifact td, #concept-journey-container .dsc-artifact th { padding: 14px; }
.concept-action { font-size: 1.05rem; padding: 12px 0; }
#concept-journey-container .dsc-fields { max-width: 850px; margin-bottom: 10px; }
#concept-journey-container .dsc-field { font-size: .98rem; gap: 10px; }
#concept-journey-container .dsc-field select { min-height: 54px; }
#concept-journey-container .dsc-feedback { border-radius: 0 12px 12px 0; padding: 22px; }
#concept-journey-container .dsc-journal { background: #fff8e7; border-color: #dfbd73; padding: 24px; }
#concept-journey-container .dsc-support { background: #fffdf6; border-radius: 10px; }
#concept-journey-container .dsc-card button, #concept-journey-container .dsc-finish button { padding: 14px 22px; font-weight: 650; }
#concept-journey-container .dsc-card button:disabled { background: #dae3e8; color: #455c6b; opacity: 1; cursor: not-allowed; }
#concept-journey-container .dsc-pill { padding: 16px 24px; border-radius: 12px; }
#concept-journey-container .dsc-finish { padding: 32px; background: #f1faf8; border-radius: 20px; }
.concept-next-note { font-size: .83rem; color: #486476; }
.concept-resume { display: flex; gap: 12px; align-items: center; margin: 18px 0; padding: 16px; background: #fff7e5; border-radius: 12px; flex-wrap: wrap; }
.concept-review-status { padding: 16px; border-radius: 10px; background: #edf7fc; }
#concept-journey-container .concept-notebook-copy { background:#fff0b8!important; border:2px solid #ad6200; border-left-width:8px; border-radius:10px; padding:16px; min-width:0; }
#concept-journey-container .concept-notebook-copy :is(h4,pre,p) { color:#713b00!important; }
#concept-journey-container .concept-question-panel { background:#e7f1ff!important; color:#123e79!important; border:2px solid #2463ad; border-left-width:8px; border-radius:10px; padding:16px; min-width:0; box-sizing:border-box; }
#concept-journey-container .concept-question-panel :is(h4,label,li,p) { color:#123e79!important; }
#concept-journey-container .concept-question-panel h4,#concept-journey-container .concept-notebook-copy h4 { margin:0 0 12px; font-size:1.08rem; font-weight:800; }
#concept-journey-container .dsc-feedback li>strong { color:#123e79!important; background:#e7f1ff; padding:2px 5px; border-radius:4px; }
#concept-journey-container .concept-notebook-copy pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.dsc-card, .dsc-finish { scroll-margin-top: 120px; }
.concept-revisions { margin-top: 14px; border-top: 1px solid #b3d5c9; padding-top: 12px; }
.concept-revisions h3 { font-size: 1rem; }
@keyframes concept-pulse { to { width: 140px; opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .concept-prepare[aria-busy="true"]::before { animation: none; } }
@media (max-width: 950px) { .site-header { grid-template-columns: 1fr auto; padding: 18px 20px; } .settings { grid-row: 2; grid-column: 1/-1; justify-content: start; } .header-actions { grid-column: 2; grid-row: 1; } }
@media (max-width: 600px) { :root { font-size: 17px; } .app-shell { width: calc(100% - 24px); } .site-header { gap: 16px; } .brand span { font-size: .6rem; } .header-actions { gap: 7px; } .header-actions a, .header-actions button { padding: 8px; font-size: .7rem; } .concept-row { grid-template-columns: 1fr; } .choice-options { grid-template-columns: 1fr; } .concept-step { flex-basis: 200px; } #concept-journey-container .dsc-card { padding: 20px 16px; } #concept-journey-container .dsc-artifact { padding: 12px; } #concept-journey-container .dsc-artifact td, #concept-journey-container .dsc-artifact th { padding: 9px; } }

/* Keep mathematical symbols and authored working lines readable without a remote renderer. */
#concept-journey-container .concept-worked-teaching { background:#edf8f3; color:#153b31; border:2px solid #287a62; border-radius:12px; padding:18px; margin:18px 0; min-width:0; }
#concept-journey-container .concept-worked-steps { padding-left:24px; }
#concept-journey-container .concept-worked-steps li { padding:8px 0; }
#concept-journey-container .concept-worked-statement { font-size:1.12em; font-weight:700; font-variant-numeric:tabular-nums; background:#fff; padding:10px; border-radius:6px; }
#concept-journey-container :is(.concept-worked-teaching p,.dsc-artifact td,.dsc-artifact th,.dsc-artifact p,.dsc-feedback p,.dsc-feedback li,.dsc-field) { white-space:pre-wrap; overflow-wrap:anywhere; }
#concept-journey-container .concept-question-number { display:block; font-size:.85em; font-weight:700; }

