:root{--gold:#f3b63f;--celadon:#d4a33f;--celadon-2:#f7df9c;--panel:#202124;--panel-2:#28292c;--line:#3b3b3f;--paper:#ece8de;--mist:#aaa69b;--ink:#171719;--ink-2:#232427}
body{background:#191a1d}.topbar{background:#1c1d20;gap:10px}.seal{background:#f3b63f;color:#18191b;border-color:#f3b63f}.brand{min-width:155px}.brand h1{font-size:18px;color:#f3b63f}.top-status{display:none}.top-actions{margin-left:auto;gap:5px}.top-actions .btn{font-size:12px;padding:7px 9px}.btn.primary{background:#f3b63f;color:#18191b;border-color:#f3b63f}.rail,.inspector{background:#202124}.is-locked .workspace{visibility:hidden}.settings-dialog form{display:grid;gap:12px}.settings-dialog .modal-actions{flex-wrap:wrap}.settings-dialog input{background:#171719;color:#eee9de;padding:12px;border:1px solid #48463d;border-radius:7px}.echo-my{max-height:85vh;overflow:auto;display:flex;flex-direction:column;gap:10px;min-width:min(600px,90vw)}.echo-attempt{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.practice-header{position:sticky;top:0;background:#1c1d20;z-index:3}.practice-question{background:#232427;border-color:#3b3b3f}.practice-option{border-color:#484338}.practice-option:has(input:checked){background:#3b3020;border-color:#f3b63f}.practice-text{background:#191a1d;color:#eee9df}.practice-overlay{background:#191a1d}.practice-notice{color:#bcb6a7}#learning-file,#learning-import,#learning-delete,#learning-delete-cancel,#learning-preview{display:none!important}
@media(max-width:1150px){#app{grid-template-rows:auto 3px 1fr}.topbar{min-height:56px;padding:8px;flex-wrap:wrap}.top-actions{flex-wrap:wrap}.view-switch{margin-left:auto}}
@media print{body{overflow:visible!important;background:white!important}#app,.workspace,.stage{display:block!important;height:auto!important;overflow:visible!important}.topbar,.rail,.inspector,.progress,.stage-tools,.modal-mask,.practice-overlay,.toast-wrap{display:none!important}#pages{padding:0!important;transform:none!important;display:block!important;gap:0!important}.a4-page{margin:0!important;box-shadow:none!important;break-after:page}@page{size:A4;margin:0}}

/* Answering keeps the same graphite surface as Echo; paper preview remains printable. */
.practice-question{background:#242529;color:#ece9df;border:1px solid #3b3c40}
.practice-question .practice-stem,.practice-question .practice-context{color:#f0eee6}
.practice-question .practice-text,.practice-question .practice-blank{background:#1b1c1f;color:#f0eee6;border:1px solid #4a4b4f;box-shadow:none;outline:none;color-scheme:dark}
.practice-question .practice-text:focus,.practice-question .practice-blank:focus{outline:2px solid #dcae48;outline-offset:1px;border-color:#dcae48}
.practice-question .practice-text:disabled,.practice-question .practice-blank:disabled{background:#202125;color:#c5c3ba;opacity:1}
.practice-question .practice-question-meta{color:#b4afa1;border-color:#414146}
.practice-question .practice-hint,.practice-question .practice-option{color:#dedbd2}
.practice-question .practice-feedback{background:#2c2b25;color:#e7dcc0;border-color:#514937}
.practice-question .btn.ghost{color:#e5dfcf;background:#292a2e;border-color:#45464b}
.practice-question .btn.on{outline-color:#dcae48}

[hidden]{display:none!important}#generation-modes{flex-shrink:0}#generation-modes button{white-space:nowrap}

.topbar .brand-logo{width:34px;height:34px;object-fit:contain;border-radius:9px;flex-shrink:0}.topbar .brand h1{font:750 28px/1.1 Inter,"Segoe UI",sans-serif;letter-spacing:-1.6px;color:#eee9df}.topbar .brand small{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.5px}.topbar .btn,.settings-dialog,.echo-my{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif}.settings-dialog{background:#222327;color:#eee9df;border:1px solid #444449;border-radius:12px;max-width:480px;padding:30px;box-shadow:0 25px 90px #0007}.settings-dialog h3{font-size:24px;letter-spacing:-.5px;margin-bottom:16px}.settings-dialog .batch-note{line-height:1.8;font-size:13px}.settings-dialog a{color:#e8bd62;text-decoration:none}.settings-dialog a:hover{text-decoration:underline}.settings-dialog .modal-actions{gap:8px;margin-top:24px}.settings-dialog .btn.primary{min-height:40px;padding:10px 20px}.practice-blank{color-scheme:dark;vertical-align:baseline}a.btn{text-decoration:none;color:inherit}a.btn:hover{color:#f3b63f}

#app{height:100dvh;grid-template-rows:minmax(58px,auto) 3px minmax(0,1fr)}#app>.topbar{flex-wrap:wrap;min-height:58px;height:auto;padding:10px 16px}.workspace{min-height:0}#app>.topbar .view-switch button{white-space:nowrap}
