.app-header{height:auto;min-height:78px;flex-wrap:wrap}.main-nav{flex-wrap:wrap}.notebook-button{background:#e9f5ef;border-color:#b9dbc9;color:#076144}.notebook-button[aria-expanded=true]{background:#087c58;color:white}.lux-notebook{min-width:0;padding:20px;background:white;border:1px solid #cddcd8;border-radius:16px;box-shadow:0 4px 20px #18324c08;grid-column:2;grid-row:1 / span 2}.lux-notebook button,.lux-notebook label,.lux-notebook select,.lux-notebook summary{font-size:14px}.lux-notebook button{min-height:44px}.nb-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.nb-heading h2{font-size:25px;margin:0}.nb-heading .eyebrow{margin:0 0 4px;font-size:12px}.nb-heading .bar{gap:6px}.nb-heading button{padding:8px 11px}.nb-intro{margin:10px 0 15px;color:var(--muted)}.nb-new{gap:8px}.nb-tip{margin:10px 0 17px;line-height:1.5}.nb-page-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line);margin-bottom:12px}.nb-page-nav>label{font-weight:650}.nb-page-nav>select{flex:1;min-width:100px;width:100px}.nb-label{display:block;font-weight:650;margin-bottom:5px}#nb-title{width:100%}#nb-source{margin:7px 0 13px;overflow-wrap:anywhere}.nb-tools{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#f3f6fa;border-radius:11px;border:1px solid var(--line)}.nb-tools button{padding:8px 11px}.nb-tools button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.nb-inline{display:inline-flex;align-items:center;gap:6px}.nb-inline select{font-size:14px;min-width:80px;padding:7px}.nb-label-field{padding:11px 0}.nb-label-field label{display:block;font-weight:600;margin-bottom:5px}.nb-label-field input{width:100%}.nb-options{display:grid;gap:9px;margin:11px 0}.nb-options .bar{gap:8px}.nb-options .help{font-size:14px}#nb-opacity{flex:1;max-width:180px;height:36px}#nb-opacity-value{width:40px;font-size:14px;font-variant-numeric:tabular-nums}.nb-paper{background:white;border:1px solid #b9c8d3;border-radius:4px;box-shadow:0 2px 8px #18324c0a;overflow:hidden}.nb-paper canvas{display:block;width:100%;height:auto;aspect-ratio:10 / 7;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.nb-paper canvas:focus-visible{outline:3px solid #e6a800;outline-offset:-3px}.nb-history{margin-top:10px;gap:7px}.nb-history button{padding:8px 12px}.nb-history .help{flex-basis:100%;margin-top:1px}.nb-reflection,.nb-keep{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.nb-reflection summary,.nb-keep summary{font-weight:700;cursor:pointer;min-height:36px}.nb-reflection label{display:block;font-weight:600;margin:9px 0 5px}.nb-reflection textarea{font-size:16px}.nb-keep .bar{margin:8px 0 12px}.nb-keep .help{margin-bottom:12px}.nb-status{font-size:14px;color:#235841;background:#eef7f2;border-radius:8px;padding:9px 11px;margin:14px 0 0}.nb-status:empty{display:none}.nb-draft-note{margin:12px 0 0;font-size:14px}.nb-confirm{background:#fff8df;padding:13px;margin-top:10px;border-radius:10px}.nb-confirm p{font-size:14px;margin-bottom:7px}.nb-confirm .bar{margin-bottom:0}
.notebook-open .workspace,.notebook-open .machine-page .layout,.machine-page.notebook-open .layout,.notebook-open .builder-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.15fr);gap:20px;align-items:start}.notebook-open .workspace>.library,.notebook-open .workspace>.guide,.notebook-open .layout>.library,.notebook-open .layout>.sidebar,.notebook-open .builder-layout>.library,.notebook-open .builder-layout>.guide{display:none}.notebook-open #main-workspace{grid-column:1;grid-row:1;min-width:0}.notebook-open .stage{height:clamp(300px,52vh,600px)}.notebook-focus #main-workspace,.notebook-focus .build-top{display:none}.notebook-focus .workspace,.machine-page.notebook-focus .layout,.notebook-focus .builder-layout{display:block;max-width:1240px}.notebook-focus .lux-notebook{width:100%}.notebook-focus .nb-heading{position:sticky;top:0;z-index:5;background:white;padding:8px 0}.nb-print-root{display:none}
@media(max-width:1000px){.notebook-open .workspace,.machine-page.notebook-open .layout,.notebook-open .builder-layout{display:flex;flex-direction:column;gap:16px}.notebook-open #main-workspace,.lux-notebook{width:100%}.notebook-open .stage{height:300px;min-height:240px}.notebook-open .lux-notebook{max-width:100%}.notebook-focus #main-workspace{display:none}}
@media(max-width:650px){.notebook-button{font-size:14px;padding:9px 11px}.app-header{gap:8px}.app-header .teacher-button{margin-left:auto}.lux-notebook{padding:14px}.nb-heading h2{font-size:23px}.nb-heading .bar{width:100%;justify-content:space-between}.nb-tools{padding:8px;gap:6px}.nb-tools>button{flex:1}.nb-inline{flex:1}.nb-inline select{flex:1}.nb-new button{flex:1;white-space:nowrap;padding:8px}.nb-page-nav>label{flex-basis:100%}.nb-page-nav select{min-width:90px}.nb-options .help{flex-basis:100%}.nb-keep .bar>button{flex:1 1 40%}.notebook-open .stage{height:240px;min-height:200px}.nb-history button{flex:1}}
@media print{body.nb-printing>*:not(.nb-print-root){display:none!important}body.nb-printing .nb-print-root{display:block!important;background:white;color:#18324c}.nb-print-page{break-after:page;padding:8mm}.nb-print-page:last-child{break-after:auto}.nb-print-page h1{font-size:22pt;margin-bottom:3mm}.nb-print-page h2{font-size:15pt;margin:4mm 0 2mm}.nb-print-page p{font-size:11pt;white-space:pre-wrap;overflow-wrap:anywhere;margin:2mm 0 4mm}.nb-print-page img{width:100%;height:auto;border:1px solid #b9c8d3;max-height:145mm;object-fit:contain}.nb-print-page .nb-print-brand{font-size:10pt;color:#52667e}.lux-notebook{box-shadow:none}}
