:root { color-scheme: light; --ink: #252b27; --soft: #6f7971; --line: #e1e8df; --green: #315e49; --bg: #f7f9f5; --white: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 ui-sans-serif, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.16; letter-spacing: -.04em; margin-bottom: 14px; }
h2 { font-size: 19px; letter-spacing: -.02em; }
.muted { color: var(--soft); } .small { font-size: 13px; }
.brand { font-size: 22px; font-weight: 750; color: var(--green); letter-spacing: -.06em; }
.eyebrow, .nav-label { color: #7d9280; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.button { color: white; background: var(--green); border: 0; padding: 11px 18px; border-radius: 9px; font-weight: 650; white-space: nowrap; }
.text-button { color: var(--green); border: 0; background: transparent; padding: 0; text-align: left; font-weight: 650; }
.outline-button, .chip { border: 1px solid var(--line); color: var(--green); border-radius: 8px; background: #fff; padding: 8px 12px; }
.entry { max-width: 620px; margin: 12vh auto; padding: 28px; }
.entry .brand { margin-bottom: 52px; }
.entry p { color: var(--soft); }
.entry button { color: #fff; background: var(--green); border: 0; padding: 12px 18px; border-radius: 9px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 235px 1fr; }
.sidebar { padding: 29px 20px; border-right: 1px solid var(--line); background: #fff; }
.sidebar .brand { margin-bottom: 48px; }
.nav-label { margin: 26px 8px 11px; }
.nav-active, .nav-session { display: block; width: 100%; border: 0; border-radius: 8px; background: #eef5ed; padding: 10px; color: var(--green); text-align: left; }
.nav-session { background: transparent; color: #59675d; overflow-wrap: anywhere; }
.nav-session:hover { background: #f2f6f0; }
.nav-empty { font-size: 13px; color: #9aa49b; padding: 0 8px; }
.home-main { width: min(100%, 1100px); padding: 60px clamp(24px, 6vw, 90px); }
.page-heading { max-width: 700px; margin-bottom: 32px; }
.page-heading .eyebrow { margin-bottom: 13px; }
.model-picker { display: flex; align-items: center; gap: 8px; margin: -12px 0 24px; }.model-picker select { max-width: 260px; padding: 6px 9px; font-size: 12px; }
.starter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.starter { border: 1px solid var(--line); background: white; padding: 25px; border-radius: 13px; }
.starter h2 { margin: 14px 0 7px; }
.starter p { min-height: 48px; font-size: 14px; }
.new-goal { display: flex; gap: 9px; margin: 22px 0 58px; }
.new-goal input, textarea, select { color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.new-goal input { flex: 1; min-width: 0; }
.section-title { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.section-desc { font-size: 14px; }
.graph { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.knowledge-map svg { display: block; width: 100%; max-height: 550px; margin-bottom: 18px; background: #f0f5ef; border: 1px solid var(--line); border-radius: 12px; }
.knowledge-map svg { touch-action: none; cursor: grab; }.map-controls { display: flex; gap: 6px; margin: -8px 0 18px; }.map-controls button { padding: 4px 10px; font-size: 12px; }
.empty { grid-column: 1 / -1; padding: 35px; text-align: center; border: 1px dashed #cfdbce; border-radius: 12px; color: var(--soft); }
.concept { background: white; border: 1px solid var(--line); padding: 20px; border-radius: 12px; }
.concept-dot { color: #7aa187; font-size: 20px; }.concept h3 { margin: 6px 0; font-size: 16px; }.concept p { font-size: 13px; }.concept-links { color: var(--soft); }
.session-bar { height: 70px; display: flex; align-items: center; gap: 24px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
.session-title { color: var(--soft); border-left: 1px solid var(--line); padding-left: 24px; }
.session-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: calc(100vh - 70px); }
.lesson { max-width: 840px; width: 100%; margin: auto; padding: 45px clamp(24px, 6vw, 76px); align-self: start; }
.lesson h1 { font-size: 32px; margin-top: 12px; }.messages { margin: 34px 0 16px; }
.teacher-message, .learner-message { margin: 25px 0; }.learner-message { background: #edf4eb; border-left: 3px solid #9ab99e; border-radius: 4px 10px 10px 4px; padding: 16px; }
.message-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; }
.imported { font-size: 12px; color: var(--soft); margin: 10px 0; }
.turn-status { min-height: 26px; font-size: 13px; }.session-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }.chip { font-size: 12px; }
.composer { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }.composer textarea { width: 100%; resize: vertical; border: 0; outline: 0; }.composer-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; }.composer select { border: 0; color: var(--soft); font-size: 12px; max-width: 180px; }
.field-label, .trace-label { display: block; margin: 10px 12px 2px; color: #708575; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }.trace-label { margin: 14px 0 0; }
.dictation { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 4px 12px 12px; }.dictation-status { flex-basis: 100%; font-size: 12px; color: var(--soft); }.dictation select { padding: 4px; }
.phases { display: flex; flex-wrap: wrap; gap: 5px; margin: 16px 0; }.phase { padding: 4px 7px; border-radius: 5px; font-size: 10px; color: var(--soft); background: #f2f5f1; text-transform: capitalize; }.phase.current { color: #fff; background: var(--green); }
.observation { border-bottom: 1px solid var(--line); padding: 12px 0; }.observation strong { font-size: 13px; }.observation p { margin: 5px 0; }.observation-state { display: block; font-size: 11px; margin: 4px 0; color: #627268; }.observation-state.demonstrated { color: #39714e; }.observation-state.needs_work { color: #9a592f; }.observation-state.uncertain { color: #786d48; }
.plan-panel { background: #fff; border-left: 1px solid var(--line); padding: 42px 26px; }.plan-panel h2 { margin: 10px 0; }.plan-list { padding-left: 20px; color: #526557; font-size: 13px; }.plan-list li { padding: 7px 0 7px 5px; }.panel-divider { border-top: 1px solid var(--line); margin: 28px 0; }.source { margin-top: 12px; color: var(--soft); font-size: 13px; overflow-wrap: anywhere; }
.plan-current { color: var(--green); font-weight: 700; }.plan-visited { color: #6b8a71; }
.plan-diagram { display: block; width: 100%; max-height: 420px; background: #f8faf7; border: 1px solid var(--line); border-radius: 10px; }
.assessment { margin: 18px 0; font-size: 13px; }.assessment summary { cursor: pointer; color: var(--green); font-weight: 650; }.assessment strong { display: block; margin-top: 10px; }.assessment p { margin: 5px 0; }
.question-card, .answered-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: white; margin: 18px 0; }.question-summary { cursor: pointer; color: var(--green); font-weight: 700; }.question-form { margin-top: 14px; }.question-title { font-weight: 650; }.question-form textarea { width: 100%; margin: 8px 0; }.question-form select { margin: 8px 0; }.question-option { display: flex; gap: 10px; align-items: flex-start; margin: 7px 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }.question-option input { margin-top: 5px; }.question-option p, .option-text p { margin: 0; }.unknown { border-style: dashed; color: var(--soft); }.answered-card p { white-space: pre-wrap; }.answer-correct { color: #39714e; font-weight: 700; }.answer-revisit { color: #9a592f; font-weight: 700; }.answer-explanation { margin-top: 10px; }
.message-text p:last-child, .answer-explanation p:last-child { margin-bottom: 0; }.message-text pre { overflow: auto; background: #f1f4ef; border-radius: 8px; padding: 12px; }.message-text table { border-collapse: collapse; display: block; overflow: auto; }.message-text td, .message-text th { border: 1px solid var(--line); padding: 6px; }
.practice-picker { margin-top: 45px; border-top: 1px solid var(--line); padding-top: 24px; }.practice-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }.practice-topic { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 7px 10px; border-radius: 8px; font-size: 13px; }.practice-picker select { margin: 0 8px 8px 0; }.practice-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 20px 0; }.practice-card .composer { margin-top: 15px; }.practice-card p { white-space: pre-wrap; }.solution { border-top: 1px solid var(--line); padding: 12px 0; }.solution summary { cursor: pointer; color: var(--green); font-weight: 650; }
.practice-actions { display: flex; justify-content: space-between; gap: 10px; }.practice-hint { margin: 8px 0; padding: 8px 12px; border-left: 3px solid #a6c5aa; background: #f1f6ef; }.practice-hint p:last-child { margin-bottom: 0; }
.import-notes { margin-top: 16px; }.source-content { margin-top: 30px; overflow-wrap: anywhere; }.source-content pre { overflow: auto; }
.artifact { margin: 20px 0; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 16px; }.artifact strong { display: block; margin: 7px 0; }.artifact-frame { width: 100%; min-height: 330px; border: 0; background: white; }
.artifact-error { color: #9a592f; }.artifact-error:not(:empty) { padding: 10px 0; }
#error:not(:empty) { position: fixed; bottom: 16px; right: 16px; max-width: 400px; padding: 14px; border-radius: 8px; background: #8b2929; color: white; }
@media (max-width: 750px) { .shell { display: block; }.sidebar { border-right: 0; border-bottom: 1px solid var(--line); }.sidebar .brand { margin-bottom: 12px; }.nav-label { margin-top: 14px; }.home-main { padding: 35px 22px; }.starter-grid { grid-template-columns: 1fr; }.starter p { min-height: 0; }.new-goal { flex-wrap: wrap; }.new-goal input { min-width: 100%; }.session-body { display: flex; flex-direction: column; }.plan-panel { order: -1; padding: 20px 24px; border-left: 0; border-bottom: 1px solid var(--line); }.session-bar { padding: 0 20px; }.session-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.lesson { padding: 30px 22px; } }
