.builder-main,.custom-main{padding-top:28px;padding-bottom:55px}.builder-hero{padding:28px 34px;background:linear-gradient(110deg,#173653,#fff);border:1px solid var(--border);border-radius:20px;margin-bottom:24px}.builder-hero h1{font-size:clamp(36px,4vw,58px);letter-spacing:-1.7px;margin:5px 0 12px}.builder-hero p{font-size:18px;max-width:770px;line-height:1.5}.builder-panel{background:white;border:1px solid var(--border);border-radius:18px;padding:25px}.builder-head,.builder-footer{display:flex;justify-content:space-between;align-items:center;gap:20px}.builder-head h2{margin:0}.builder-head p{color:var(--muted)}.builder-controls,.builder-buttons,.custom-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.builder-choice{border:2px solid var(--border);border-radius:14px;padding:16px;display:flex;gap:14px;align-items:flex-start;background:var(--bg)}.builder-choice:has(input:checked){border-color:var(--maroon);background:#f7f0f0}.builder-choice input{width:23px;height:23px;accent-color:var(--maroon);flex-shrink:0;margin-top:3px}.builder-choice strong{font-size:18px}.builder-choice p{margin:6px 0;color:var(--muted);line-height:1.4}.builder-choice small{color:var(--maroon)}.builder-footer{border-top:1px solid var(--border);padding-top:22px}.builder-footer label{font-weight:700;flex:1;max-width:480px}.builder-footer input{display:block;margin-top:8px;width:100%;border:1px solid #ad9e9d;border-radius:9px;padding:13px;font:inherit}.builder-note{color:var(--muted);line-height:1.5}.custom-nav{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.custom-nav a{padding:10px 14px;border-radius:9px;background:white;border:1px solid var(--border);color:var(--maroon);text-decoration:none;font-weight:700}.custom-case{background:white;border:1px solid var(--border);border-radius:18px;padding:clamp(20px,4vw,42px);margin:25px 0}.custom-case h2{font-size:clamp(26px,3vw,38px);margin:10px 0}.custom-case .intro{font-size:18px;line-height:1.5;color:var(--muted)}.custom-case h3{margin-top:25px}.custom-case .exercise p{line-height:1.6}.custom-case .prompt-box{white-space:pre-wrap}.custom-case .prompt-box button{display:block}.custom-case .gif-placeholder img{max-width:100%;max-height:300px}.custom-actions{margin-top:20px}.custom-actions span{font-size:14px;color:var(--muted)}button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:740px){.builder-grid{grid-template-columns:1fr}.builder-head,.builder-footer{align-items:stretch;flex-direction:column}.builder-controls button,.builder-buttons button{flex:1}.builder-footer label{max-width:none}.builder-hero{padding:20px}}@media print{.site-header,.custom-actions,.custom-nav,.custom-case button{display:none!important}.custom-case{break-inside:avoid;box-shadow:none}.custom-main{padding:0}.builder-hero{background:white}}
/* 90S6 dark theme overrides for library and custom-course surfaces */
.builder-hero,.library-hero{background:linear-gradient(110deg,#122B46,#173653);border-color:#29415C;color:#F5F7FA}
.builder-panel,.library-tools,.prompt-card,.custom-case,.custom-nav a{background:#10243F;border-color:#29415C;color:#F5F7FA}
.builder-choice{background:#0A192F;border-color:#29415C;color:#F5F7FA}
.builder-choice:has(input:checked){border-color:#006BB6;background:#173653}
.builder-choice small,.prompt-category,.custom-nav a{color:#69B7ED}
.builder-tools input,.library-tools input,.library-tools select,.builder-footer input{background:#0A192F;border-color:#708090;color:#F5F7FA}
.library-hero-mark,.builder-hero .eyebrow{color:#69B7ED}
.library-hero,.library-section-head,.builder-head,.builder-footer,.custom-case{color:#F5F7FA}
.prompt-card p,.builder-head p,.builder-note,.custom-case .intro,.custom-actions span{color:#A9B8C8}
.prompt-preview,.custom-case .exercise,.custom-case .prompt-box{background:#0A192F;border-color:#29415C;color:#F5F7FA}
.library-home,.library-action{color:#F5F7FA;border-color:#006BB6;background:transparent}
.library-home:hover,.library-action:hover{background:rgba(0,107,182,.15)}
.builder-choice input{accent-color:#006BB6}
