:root{color-scheme:dark;font:16px/1.6 system-ui,sans-serif;background:#101619;color:#e7eeeb}*{box-sizing:border-box}body{margin:0}main{max-width:1600px;margin:auto;padding:32px}header,.toolbar,.card-title,.statusbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}header{justify-content:space-between;border-bottom:1px solid #31423d;margin-bottom:24px;padding-bottom:16px}h1{font-size:30px;margin:0}h2{font-size:19px;font-weight:600;margin:0 0 12px}h3{font-size:19px;margin:16px 0 8px}p{margin:8px 0}.eyebrow{letter-spacing:.2em;font-size:11px;color:#92c9b6}.muted,footer{color:#9cb0a6;font-size:13px}.lead{font-size:19px;line-height:1.55}input,select,button,textarea{font:inherit;border:1px solid #3d524b;border-radius:7px;background:#17241f;color:inherit;padding:9px 12px}input:not([type=range]),textarea{width:100%;min-width:0}textarea,pre,code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px}textarea{resize:vertical}button{cursor:pointer;background:#b7e9d3;color:#12231b;font-weight:600}button:hover:not(:disabled){background:#d9ffed}button:disabled{opacity:.4;cursor:not-allowed}button.secondary{background:#1c2b25;color:#d2e6dc}button.small{font-size:12px;padding:5px 9px}button.selected{outline:2px solid #ddf9ed;background:#d9ffed}label{display:block;font-size:14px;margin:10px 0 4px}nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.statusbar{margin-top:12px;color:#b7e9d3;font-size:13px}.statusbar label{display:flex;gap:8px;align-items:center;margin:0}meter{width:70px}.actions{margin:16px 0 24px}.focus-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}.card,.panel{border:1px solid #344940;border-radius:12px;background:#18221e;padding:22px;margin-bottom:16px;overflow-wrap:anywhere}.next{border-color:#648b78;background:#1c2c24;min-height:270px}.issue{background:#25251e}.held{border-color:#809ccc;background:#1b2530}.held-answer{font:inherit;white-space:pre-wrap;max-height:none}.held .badge{font-size:13px;color:#e7c887}.held .badge.ok{color:#b7e9d3}.card-title{justify-content:space-between}.card-title h2{margin:0}.badge{display:inline-block;font-size:11px;margin-top:12px;color:#b3d2c2}.stale{color:#edc989}.two-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-top:8px}summary{cursor:pointer;font-weight:600}details>summary{margin-bottom:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;max-height:500px;overflow:auto}form .toolbar{margin:12px 0}form+form{border-top:1px solid #344940;padding-top:14px;margin-top:24px}.entry{padding:12px 0;border-bottom:1px solid #304035;white-space:pre-wrap;overflow-wrap:anywhere}.stamp{font-size:12px;color:#9fcab4}.scroll{max-height:480px;overflow:auto}.partial{font-style:italic;color:#a2b4aa;white-space:pre-wrap}.ok{color:#b7e9d3}.warning{color:#e7c887}.error{color:#ffa9a3}#notice{color:#e7c887;min-height:1.6em}#login{max-width:560px;margin:30px auto}#login button{margin-top:16px}#connection{color:#b7e9d3}#sessions{max-width:380px}#timeline{width:100%;padding:0}#preview{width:100%;border-radius:8px}dialog{max-width:650px;width:90vw;background:#19261f;color:#e7eeeb;border:1px solid #638672;border-radius:12px}dialog::backdrop{background:#000a}.region-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}footer{margin-top:30px}ul{padding-left:20px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #b7e9d3;outline-offset:3px}[hidden]{display:none!important}@media(max-width:760px){main{padding:16px}.focus-grid,.two-columns{grid-template-columns:minmax(0,1fr)}.issue{grid-column:auto}.card,.panel{padding:16px}.lead{font-size:17px}.region-fields{grid-template-columns:1fr 1fr}h1{font-size:25px}}

.star-outline{margin:16px 0}.star-outline dl{margin:0}.star-outline dt{font-weight:650;color:#c3d8fa;margin-top:12px}.star-outline dd{margin:3px 0 0;white-space:pre-wrap}.star-feedback{margin-top:22px;padding-top:4px;border-top:1px solid #52667f}.star-feedback-question{font-weight:600;color:#c3d8fa}.star-feedback-part{border-left:3px solid #8293a8;padding:1px 0 1px 12px;margin:14px 0}.star-feedback-part.covered{border-color:#9bcfb7}.star-feedback-part.partial,.star-feedback-part.missing{border-color:#e7c887}.star-feedback h4{font-size:15px;line-height:1.5;margin:10px 0 5px}.star-feedback-part h4{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.star-status{font-weight:400;color:#c7d3e2;font-size:13px}.star-feedback-part.covered .star-status{color:#b7e9d3}.star-feedback-part.partial .star-status,.star-feedback-part.missing .star-status{color:#e7c887}.star-evidence{margin:6px 0;color:#b0c3d9;font-size:14px;white-space:pre-wrap}.star-next-step{border-radius:8px;padding:2px 12px 6px;background:#26364a}.star-feedback p{white-space:pre-wrap}

.focus-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);margin-bottom:16px}.focus-primary,.focus-support{display:flex;flex-direction:column;gap:16px;min-width:0}.focus-grid .card{margin-bottom:0;min-width:0}.implementation{border-color:#648b78}.implementation-complexity{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0 0 12px;padding:8px 12px;border-radius:7px;background:#22362b;color:#d0f2df;font-size:15px;font-weight:600}.implementation-complexity p{margin:0;min-width:0}.implementation pre{white-space:pre;overflow-wrap:normal;max-height:650px;tab-size:4}.implementation pre:empty{display:none}

@media(max-width:760px){.focus-grid{grid-template-columns:minmax(0,1fr)}}

.analysis-preview{border-left:3px solid #b7e9d3;padding:2px 0 2px 14px;margin:16px 0}.analysis-preview h3{margin-top:6px}.analysis-preview .lead{white-space:pre-wrap}
.coding-clarifications,.design-clarifications{border-color:#b5a16d;background:#29271e}.coding-clarifications ul,.design-clarifications ul{margin-bottom:0}.coding-clarifications li,.design-clarifications li{font-size:17px;line-height:1.6;margin:10px 0;white-space:pre-wrap}.coding-clarifications ul:empty,.design-clarifications ul:empty{display:none}
#details{font:inherit;white-space:pre-wrap;max-height:none}#details:empty{display:none}

#background-dialog{max-width:850px}.reference-library{border-top:1px solid #344940;margin-top:22px;padding-top:4px}.reference-document{border:1px solid #3d524b;border-radius:8px;margin:12px 0;padding:14px}.reference-document .card-title{align-items:center}.reference-document h4{margin:0;font-size:15px}.reference-document textarea{min-height:120px}

.background-file-status{overflow-wrap:anywhere}

.experience-reference{border-color:#8c8061;background:#25251e}#experience-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.experience-story{min-width:0;border:1px solid #615b46;border-radius:8px;padding:0 16px 12px}.experience-story h3{font-size:18px;line-height:1.4;color:#efdbaf}.experience-source{overflow-wrap:anywhere}.experience-part h4{font-size:15px;margin:16px 0 4px}.experience-part strong{font-weight:750;color:#f6e8ca}.experience-part ul{margin:4px 0 12px;padding-left:21px}.experience-part li{font-size:15px;line-height:1.6}.experience-reference:focus-visible{outline:2px solid #b7e9d3;outline-offset:3px}
@media(min-width:1200px){main{max-width:2000px}#experience-cards{max-width:1100px}}

.sources{border-color:#748da2;background:#1b262c}.source-question,.source-heading,.source-prepared-question{font-weight:600}.source-question:empty{display:none}.source-section{margin-top:16px}.source-section h3{font-size:16px}.source-section+.source-section{border-top:1px solid #41545e;padding-top:14px}.source-section pre,#guidance-preview-details{font:inherit;white-space:pre-wrap;max-height:none}.source-qualifications{border-left:3px solid #e7c887;padding-left:12px;color:#e7c887;font-size:14px;white-space:pre-wrap}.source-heading,.source-match,.source-parent-question{font-size:14px;color:#bdcfdd}.source-prepared-question,.source-parent-question{white-space:pre-wrap;overflow-wrap:anywhere}#source-related details{border-top:1px solid #41545e;padding-top:14px}#guidance-preview-details:empty{display:none}

.prepared-preview{border-left:3px solid #e7c887;padding:2px 0 2px 14px;margin:18px 0}.prepared-preview h3{font-size:16px}.prepared-preview .lead,.prepared-preview li{white-space:pre-wrap}.claim-evidence,.implementation-checks{border-top:1px solid #52667f;margin-top:20px;padding-top:8px}.claim-item{margin:14px 0}.claim-text{font-weight:600}.claim-source{margin:10px 0}.claim-source blockquote{margin:8px 0;padding-left:12px;border-left:3px solid #748da2;white-space:pre-wrap}.claim-item a{color:#b7e9d3}.implementation-checks h3{font-size:16px}#render-timing-summary .entry{font-size:13px}
.implementation-plan{border-color:#648b78}.implementation-plan ul{margin:12px 0 0;padding-left:22px}.implementation-plan li{margin:8px 0;font-size:17px;line-height:1.55;white-space:pre-wrap}.implementation-plan ul:empty{display:none}
/* Round selection shares the existing responsive toolbar and keyboard controls. */
.mode-controls button.selected{background:var(--accent,#187d74);color:#fff;outline:2px solid currentColor;outline-offset:2px}
/* Focused round workspace and source-backed rehearsal references. */
.round-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.round-sections h4{text-transform:none;margin-bottom:.3rem}
.round-sections ul{padding-left:1.2rem}
.round-reference{border-top:1px solid var(--border,#d9dfe8);padding:.8rem 0}
.round-reference blockquote{margin:.5rem 0;padding-left:.8rem;border-left:3px solid #6585b4}
.round-reference summary{font-weight:650;cursor:pointer}
.design-diagram{display:flex;flex-direction:column;gap:.7rem;margin:.8rem 0}
.architecture-wide{grid-column:1/-1;min-width:0;margin:0}
.architecture-wide .architecture-diagram{box-sizing:border-box;margin:0}
.practice-criterion{border-top:1px solid var(--border,#d9dfe8);padding:.5rem 0}
#round-practice form{margin-bottom:1rem}
#design-dialog{max-width:850px;width:90vw;max-height:90vh;overflow:auto}
#design-fields label{display:block;margin-top:.8rem}
#design-fields textarea{width:100%;box-sizing:border-box}
#interview-profile-panel summary{cursor:pointer;font-weight:650}
#design-graph-editor{border-bottom:1px solid #52667f;padding-bottom:1rem;margin-bottom:1rem}
.diagram-edit-card{border:1px solid #52667f;border-radius:8px;margin:1rem 0;padding:1rem;min-width:0}
.diagram-edit-card input:not([type=checkbox]),.diagram-edit-card select,#design-graph-editor>label input,#design-graph-editor>label select{width:100%;box-sizing:border-box}
.diagram-edit-card label{font-size:14px}
#design-diagram[data-preview=true] .architecture-title::after{content:' · Preview';font-size:12px;font-weight:500;color:#edc989}
/* Interview profile and evidence remain readable without changing the guidance layout. */
.active-profile .card-title{flex-wrap:wrap}
#active-profile{overflow-wrap:anywhere}
#observed-whiteboard{border-color:#748da2;min-width:0}
#observed-whiteboard-diagram{min-width:0}
.story-ledger-entry{border-top:1px solid #52667f;padding:10px 0}
.story-ledger-entry h3{font-size:16px;margin-bottom:4px}
.story-ledger-entry blockquote{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#coding-quality-checklist li,#genai-reference li{margin:6px 0}
/* Long principle and project names must fit the form on narrow screens. */
select{max-width:100%;min-width:0}

#experience-story{width:100%;max-width:1100px;min-width:0;margin-top:6px}#experience-warnings{white-space:pre-wrap}.experience-qualifications li{line-height:1.6}.source-full-answer{border-top:1px solid #615b46;margin-top:20px;padding-top:8px}.source-full-answer .source-text{max-height:none;overflow:visible;overflow-wrap:anywhere}
.capture-health{margin:12px 0;padding:12px 16px;border:1px solid #59604b;border-radius:8px;background:#21251d;overflow-wrap:anywhere}.capture-health h2{font-size:14px;margin:0}.capture-health p{margin:4px 0}.capture-health[data-state=healthy]{border-color:#648b78;background:#1c2c24}.capture-health[data-state=stalled],.capture-health[data-state=failed],.capture-health[data-state=unknown]{border-color:#b58555}.capture-health[data-state=recovering]{border-color:#809ccc}.capture-health #capture-health-status{font-weight:600}
