.math-worksheet-workspace{gap:1rem;height:calc(100vh - 200px);min-height:520px;margin-bottom:1rem;display:flex}.mw-options,.mw-preview{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 1px 3px #00000014}.mw-options{flex:0 0 420px;min-width:320px}.mw-preview{flex:1;min-width:0}.pane-toolbar,.preview-toolbar{border-bottom:1px solid var(--border-color);background:var(--bg-secondary);flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.pane-toolbar h3,.preview-toolbar h3{margin:0;font-size:1rem;font-weight:600}.preview-toolbar-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.page-count{color:var(--text-color-secondary);font-size:.85rem}.mw-options-body{padding:1rem;overflow-y:auto}.option-group{margin-bottom:.9rem}.option-group>label{margin-bottom:.35rem;font-size:.9rem;font-weight:500;display:block}.options-row{gap:.75rem;display:flex}.options-row .option-group{flex:1;min-width:0}.option-group--narrow{flex:0 0 96px}.field-hint{color:var(--text-color-secondary);margin:-.35rem 0 .85rem;font-size:.78rem;line-height:1.4}.number-input,.text-input,.dropdown-select{width:100%}.input-hint{color:var(--text-color-secondary);margin-top:.25rem;font-size:.78rem;display:block}.checkbox-group{grid-template-columns:1fr 1fr;gap:.4rem .6rem;display:grid}.checkbox-label,.radio-label{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.35rem;font-size:.9rem;display:flex}.radio-row{gap:.9rem;display:flex}.radio-row--wrap{flex-wrap:wrap}.mw-actions{flex-wrap:wrap;gap:.5rem;margin-top:.4rem;display:flex}.preview-scroll{background:var(--bg-secondary);flex:1;padding:1rem;overflow:auto}.preview-empty{text-align:center;color:var(--text-color-secondary);padding:3rem 1rem;font-style:italic}.sheet-copy{margin-bottom:.5rem}.sheet-copy-label{text-align:center;width:min(100%,210mm);color:var(--text-color-secondary);margin:.4rem auto .75rem;font-size:.85rem;font-weight:600}.sheet-page{color:#111;background:#fff;border-radius:2px;width:min(100%,210mm);min-height:260px;margin:0 auto 1rem;padding:16px 18px 28px;position:relative;box-shadow:0 2px 10px #0000001f}.sheet-head{margin-bottom:14px}.sheet-title{text-align:center;letter-spacing:.08em;margin:0 0 8px;font-size:1.25rem}.sheet-meta{color:#333;justify-content:space-between;font-size:.9rem;display:flex}.sheet-grid{gap:12px 22px;display:grid}.sheet-grid--tight{align-items:start;gap:4px 20px}.sheet-grid--vertical{align-items:start;gap:20px 22px}.sheet-foot{color:#888;font-size:.75rem;position:absolute;bottom:8px;right:16px}.mw-item{align-items:flex-start;gap:.2em;font-size:1rem;display:flex}.mw-idx{color:#666;text-align:right;flex:none;min-width:1.7em;padding-top:2px;line-height:1.35}.mw-mental{flex:1;align-items:baseline;gap:.35em;min-width:0;display:flex}.mw-expr{white-space:nowrap}.mw-blank{text-align:center;flex:0 0 2.6em;width:2.6em;min-width:2.6em;min-height:1.2em}.mw-blank.filled{font-weight:600}.mw-vertical{font-variant-numeric:tabular-nums;display:inline-block}.mw-v-row{justify-content:flex-end;display:flex}.mw-v-op,.mw-d{text-align:center;width:1.1em}.mw-v-line{border-top:1.5px solid #111;margin:2px 0 4px 1.1em}.mw-v-ans .mw-d{border-bottom:1px solid #ccc;min-height:1.2em}.mw-div{font-variant-numeric:tabular-nums;grid-template-rows:auto auto;grid-template-columns:auto minmax(2.6em,auto);align-items:end;display:inline-grid}.mw-div-spacer{grid-area:1/1}.mw-div-q{text-align:center;grid-area:1/2;min-height:1.25em;padding:0 .35em;font-weight:600;line-height:1.2}.mw-div-q.filled{font-weight:700}.mw-div-b{grid-area:2/1;align-self:start;padding:.15em .4em 0 0;line-height:1.2}.mw-div-frame{border-top:1.75px solid #111;border-left:1.75px solid #111;grid-area:2/2;align-self:stretch;min-width:2.6em;min-height:1.5em;padding:.15em .5em .35em}.mw-div-a{line-height:1.2}@media (width<=900px){.math-worksheet-workspace{flex-direction:column;height:auto}.mw-options{flex:none;width:100%}.mw-preview{min-height:480px}}@media print{.no-print,.mw-options,.preview-toolbar,.tool-content-container>:not(.math-worksheet-workspace){display:none!important}.math-worksheet-workspace{height:auto}.mw-preview{box-shadow:none;border:0}.preview-scroll{background:#fff;padding:0;overflow:visible}.sheet-page{box-shadow:none;page-break-after:always}}.comp-table{grid-template-columns:1fr 1fr;gap:.35rem .7rem;display:grid}.comp-head{color:var(--text-color-secondary);grid-column:1/-1;grid-template-columns:1fr 56px 1fr 56px;align-items:center;gap:.35rem .45rem;font-size:.75rem;display:grid}.comp-row{grid-template-columns:1fr 56px;align-items:center;gap:.35rem;min-width:0;font-size:.86rem;display:grid}.comp-row>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.comp-row .number-input{width:100%;padding:.25rem .3rem}.mw-section-title{margin:0 0 8px;font-size:.95rem}.mw-word{flex:1;min-width:0}.mw-word-text{margin:0 0 8px;line-height:1.5}.mw-katex{align-items:baseline;display:inline-flex}.mw-katex .katex{font-size:1.05em}.mw-unknown .mw-blank{flex:0 0 3em;width:3em;min-width:3em}.mw-word .mw-blank{border-bottom:1px solid #333;flex:auto;width:auto;min-width:4em}.mw-word .mw-blank.filled{border-bottom-color:#0000}.check-row{flex-wrap:wrap;gap:.35rem .85rem;display:flex}.group-label[data-v-f47bf69a]{margin-bottom:.35rem;font-weight:600;display:block}
