.toast-region{z-index:60;pointer-events:none;justify-content:center;display:flex;position:fixed;bottom:24px;left:0;right:0}.toast{background:var(--ink);color:#fff;pointer-events:auto;border-radius:12px;align-items:center;gap:6px 12px;max-width:min(560px,100% - 32px);padding:8px 8px 8px 18px;font-size:14px;font-weight:600;animation:.25s ease-out toast-in;display:flex;box-shadow:0 12px 30px #18364a40}.toast-message{flex:1;padding:5px 0;line-height:1.4}.toast-action{color:#fff;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:8px;flex:none;padding:0 12px;font-weight:700}.toast-action:hover{background:#ffffff1f}.toast-close{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;display:grid}.toast-close:hover{background:#ffffff1f}.toast-close svg{width:16px;height:16px}@media (max-width:800px){.toast-region{bottom:88px}}@media print{.toast-region{display:none!important}}@media (max-width:900px){.toast-region{bottom:calc(88px + env(safe-area-inset-bottom))}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.config-panel,.preview-panel{background:var(--paper);border:1px solid #18364a21;border-radius:18px;box-shadow:0 10px 30px #18364a0f}.config-panel{overflow:hidden}.preview-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:70px;padding:17px 20px;display:flex}.preview-toolbar span{font-size:14px;font-weight:700}.field-group{border:0;flex-direction:column;gap:9px;min-width:0;margin:0;padding:0;display:flex}.field-group>span,.field-group legend,.field-heading legend{color:var(--ink);font-size:12px;font-weight:700}.field-heading{justify-content:space-between;display:flex}.field-group>input:not([type=range]),.number-input{border:1px solid var(--line);width:100%;height:42px;color:var(--ink);background:#fff;border-radius:8px;padding:0 12px;font-size:13px}.custom-tasks-input{border:1px solid var(--line);width:100%;min-height:120px;color:var(--ink);font:14px/1.6 var(--font-geist-mono),monospace;resize:vertical;background:#fff;border-radius:8px;padding:10px 12px}.custom-tasks-status{color:#56697a;margin:-4px 0 0;font-size:12px}.custom-tasks-errors{border-left:3px solid var(--sun);color:#6d5313;background:#fff6dd;border-radius:8px;gap:4px;margin:0;padding:10px 12px 10px 28px;font-size:12px;line-height:1.45;display:grid}.range-row{grid-template-columns:1fr 68px;align-items:center;gap:12px;display:grid}.number-input{text-align:center;font-family:var(--font-geist-mono),monospace}.operation-grid{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.operation-grid button{border:1px solid var(--line);min-width:0;height:66px;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:8px 4px;display:flex;position:relative}.operation-grid button b{font:500 22px var(--font-geist-mono),monospace}.operation-grid button svg{width:12px;position:absolute;top:5px;right:5px}.operation-grid button.is-active{border-color:var(--ink);color:var(--ink);background:#eef5f3}.number-chips{grid-template-columns:repeat(10,1fr);gap:3px;display:grid}.number-chips button{border:1px solid var(--line);height:30px;color:var(--ink-soft);font:11px var(--font-geist-mono),monospace;cursor:pointer;background:#fff;border-radius:6px;padding:0}.number-chips button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.segmented{background:#e8efed;border-radius:8px;padding:3px;display:flex}.segmented button{min-width:0;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;padding:0 7px;font-size:11px}.segmented.is-many{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;display:grid}.segmented button.is-active{color:var(--ink);background:#fff;font-weight:700;box-shadow:0 2px 8px #18364a1a}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;display:flex;position:relative}.switch-row>span{flex-direction:column;gap:3px;display:flex}.switch-row small{color:var(--ink-soft);font-size:10px}.switch-row input{opacity:0;pointer-events:none;position:absolute}.switch-row i{background:#bdcccb;border-radius:99px;flex:none;width:38px;height:22px;transition:all .16s;position:relative}.switch-row i:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .16s;position:absolute;top:3px;left:3px}.switch-row input:checked+i{background:var(--coral)}.switch-row input:checked+i:after{transform:translate(16px)}.switch-row input:focus-visible+i{outline-offset:2px;outline:3px solid #ef72574d}.preview-panel{background:#cbdada;min-width:0;overflow:hidden}.preview-toolbar{background:var(--paper)}.preview-toolbar>div:first-child{flex-direction:column;gap:2px;display:flex}.preview-toolbar small{color:var(--ink-soft);font-size:10px}.preview-toolbar>div:last-child{gap:8px;display:flex}.page-stack{flex-direction:column;gap:24px;max-height:850px;padding:28px;display:flex;overflow:auto}@media (max-width:1040px){.page-stack{align-items:safe center}}@media (max-width:800px){.page-stack{max-height:720px;padding:18px}}@media (max-width:520px){.preview-toolbar{align-items:flex-start;gap:12px}.preview-toolbar>div:last-child{flex-direction:column-reverse}}.print-settings{background:#f1f6f4;border:1px solid #b8cbca;border-radius:12px;flex-direction:column;gap:18px;margin:2px -6px 0;padding:18px;display:flex}.print-settings-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.print-settings-heading>div{flex-direction:column;gap:3px;display:flex}.print-settings-heading span{color:var(--coral-dark);font:700 9px var(--font-geist-mono),monospace;letter-spacing:.1em;text-transform:uppercase}.print-settings-heading strong{font-size:14px}.print-settings-heading button{color:var(--ink-soft);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:10px;font-weight:700;text-decoration:underline}.print-settings>p{color:var(--ink-soft);margin:-9px 0 0;font-size:10px;line-height:1.5}.column-picker{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.column-picker>button{border:1px solid var(--line);min-height:50px;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:7px;font-size:10px;font-weight:650;display:flex}.column-picker>button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.column-picker>button:disabled{opacity:.35;cursor:not-allowed}.column-picker>button>span{gap:3px;width:44px;height:13px;display:flex}.column-picker>button i{opacity:.65;background:currentColor;border-radius:1px;flex:1;display:block}.print-range>span{justify-content:space-between;align-items:center;display:flex}.print-range output{color:var(--coral-dark);font:700 10px var(--font-geist-mono),monospace}.print-range-note{color:#46657a;margin:0;font-size:12px;line-height:1.45;display:block}@media (max-width:520px){.column-picker{grid-template-columns:1fr 1fr}}.wheel-mode-note{border-left:2px solid var(--sun);color:var(--ink-soft);background:#f8f3e5;margin:-12px 0 0;padding:10px 11px;font-size:10px;line-height:1.5}.weight-settings{background:#fffaf3;border:1px solid #ef725766;border-radius:12px;flex-direction:column;gap:16px;margin-top:2px;padding:17px;display:flex}.weight-settings-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.weight-settings-heading>div{flex-direction:column;gap:3px;display:flex}.weight-settings-heading>div>span{color:var(--coral-dark);font:700 9px var(--font-geist-mono),monospace;letter-spacing:.1em;text-transform:uppercase}.weight-settings-heading strong{font-size:14px}.weight-settings>p{color:var(--ink-soft);margin:-8px 0 0;font-size:10px;line-height:1.5}.mini-switch{cursor:pointer;flex:none;width:38px;height:22px;display:block;position:relative}.mini-switch input{opacity:0;position:absolute}.mini-switch i{background:#bdcccb;border-radius:99px;transition:all .16s;position:absolute;inset:0}.mini-switch i:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .16s;position:absolute;top:3px;left:3px}.mini-switch input:checked+i{background:var(--coral)}.mini-switch input:checked+i:after{transform:translate(16px)}.mini-switch input:focus-visible+i{outline-offset:2px;outline:3px solid #ef72574d}.weight-profile-grid{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.weight-profile-grid button{border:1px solid var(--line);min-width:0;min-height:56px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:8px 5px;display:flex}.weight-profile-grid button strong{font-size:10px}.weight-profile-grid button small{color:var(--ink-soft);text-align:center;font-size:8px;line-height:1.25}.weight-profile-grid button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.weight-profile-grid button.is-active small{color:#dbe7e8}.custom-weight-badge{color:#765716;font:700 8px var(--font-geist-mono),monospace;text-transform:uppercase;background:#f5c85b59;border-radius:99px;align-self:flex-start;margin-top:-8px;padding:4px 7px}.weight-group{border-top:1px solid #e5d8c9;flex-direction:column;gap:6px;padding-top:12px;display:flex}.weight-group-title{justify-content:space-between;align-items:center;margin-bottom:2px;display:flex}.weight-group-title span{color:var(--ink-soft);font:9px var(--font-geist-mono),monospace}.weight-stepper-row{background:#fff;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:5px 6px;display:flex}.weight-label{min-width:0;color:var(--ink);align-items:center;gap:7px;font-size:10px;font-weight:650;display:flex}.weight-label>b{width:25px;height:25px;color:var(--ink);font:700 13px var(--font-geist-mono),monospace;background:#edf3f2;border-radius:6px;place-items:center;display:grid}.weight-stepper{align-items:center;gap:3px;display:flex}.weight-stepper button{border:1px solid var(--line);width:26px;height:26px;color:var(--ink);cursor:pointer;background:#fff;border-radius:6px;place-items:center;padding:0;font-size:15px;display:grid}.weight-stepper button:disabled{opacity:.3;cursor:not-allowed}.weight-stepper output{min-width:64px;color:var(--ink);font:700 9px var(--font-geist-mono),monospace;flex-direction:column;align-items:center;line-height:1.15;display:flex}.weight-stepper output em{font-style:normal}.weight-stepper output small{color:var(--coral-dark);font-size:8px}.table-weight-grid{grid-template-columns:repeat(2,1fr);gap:5px;display:grid}.weight-stepper-row.is-compact{min-width:0;padding:5px}.weight-stepper-row.is-compact .weight-label>span{display:none}.weight-stepper-row.is-compact .weight-label>b{width:23px;height:23px}.weight-stepper-row.is-compact .weight-stepper{margin-left:auto}.weight-stepper-row.is-compact .weight-stepper button{width:23px;height:23px}.weight-stepper-row.is-compact .weight-stepper output{min-width:34px}.weight-stepper-row.is-compact .weight-stepper output em{display:none}.mode-switch{border-bottom:1px solid var(--line);background:#f4f7f4;grid-template-columns:1fr 1fr;gap:6px;padding:12px;display:grid}.mode-switch button{border:1px solid var(--line);min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:3px;padding:11px 12px;transition:all .16s;display:flex}.mode-switch button small{color:var(--ink-soft);font-size:10px;line-height:1.3}.mode-switch button.is-active{border-color:var(--ink);background:var(--ink);color:#fff;box-shadow:0 6px 16px #18364a26}.mode-switch button.is-active small{color:#dbe7e8}.select-input{border:1px solid var(--line);width:100%;height:42px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;padding:0 10px;font-size:13px}.section-shuffle{align-self:flex-start}@media (max-width:520px){.mode-switch{grid-template-columns:1fr}}.preview-panel{position:sticky;top:12px}.page-stack{max-height:calc(100vh - 110px)}.print-settings-heading p{color:var(--ink-soft);margin:0;font-size:13px;line-height:1.5}.print-settings-heading button{flex:none;font-size:12px}.field-label-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px;display:flex}.field-label-row small{color:var(--ink-soft);font-size:12px;font-weight:500}.kind-picker{flex-direction:column;gap:14px;display:flex}.kind-search{border:1px solid var(--line);width:100%;height:42px;color:var(--ink);background:#fff;border-radius:9px;padding:0 12px;font-size:14px}.kind-empty{color:var(--ink-soft);margin:0;font-size:13px}.kind-group{flex-direction:column;gap:7px;display:flex}.kind-group-label{color:var(--coral-dark);font:700 11px var(--font-geist-mono),monospace;letter-spacing:.08em;text-transform:uppercase}.kind-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.kind-grid button{border:1px solid var(--line);min-width:0;min-height:74px;color:var(--ink);text-align:center;cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:9px 6px;font-size:12px;font-weight:650;line-height:1.2;transition:all .14s;display:flex}.kind-grid button:hover{border-color:var(--ink)}.kind-grid button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.kind-icon{width:24px;height:24px}.kind-picker.is-compact .kind-grid button{min-height:64px}.preview-toolbar{flex-wrap:wrap;gap:10px;min-height:0;padding:12px 16px}.preview-meta{flex-direction:column;gap:2px;display:flex}.preview-meta span{font-size:15px}.preview-meta small{font-size:12px}.preview-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toggle-chip{border:1px solid var(--line);height:40px;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex;position:relative}.toggle-chip input{opacity:0;pointer-events:none;position:absolute}.toggle-chip svg{border:1.5px solid var(--ink-soft);color:#0000;stroke:#fff;border-radius:4px;width:16px;padding:1px}.toggle-chip.is-active{border-color:var(--ink);color:var(--ink)}.toggle-chip.is-active svg{background:var(--coral);border-color:var(--coral)}.toggle-chip:focus-within{outline-offset:2px;outline:3px solid #ef725759}.mobile-tabs,.mobile-bar{display:none}.mode-switch button strong{font-size:14px}.mode-switch button small{font-size:12px}.field-group>span,.field-group legend,.field-heading legend{font-size:13px}.field-group>input:not([type=range]),.number-input,.select-input{font-size:14px}.segmented button{height:auto;min-height:38px;padding:6px 7px;font-size:12px;line-height:1.2}.operation-grid button span{font-size:12px}.number-chips button{height:34px;font-size:13px}.switch-row strong{font-size:13px}.switch-row small,.column-picker>button{font-size:12px}.print-range b{font-size:13px}.print-range output,.wheel-mode-note,.weight-settings>p,.weight-profile-grid button strong{font-size:12px}.weight-profile-grid button small{font-size:11px}.weight-group-title strong{font-size:12px}.weight-group-title span{font-size:11px}.weight-label{font-size:12px}.weight-stepper output{font-size:11px}.weight-stepper output small,.custom-weight-badge{font-size:10px}@media (max-width:800px){.mobile-tabs{z-index:20;background:#cfdddd;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 14px;padding:4px;display:grid;position:sticky;top:0}.mobile-tabs button{min-height:44px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:700;display:flex}.mobile-tabs button svg{width:17px}.mobile-tabs button.is-active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #18364a1a}.preview-panel{position:static}.page-stack{max-height:none}.preview-actions .primary-button{display:none}.mobile-bar{z-index:30;padding:10px 15px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffdf8f2;grid-template-columns:1fr 1.4fr;gap:8px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-bar button{width:auto;height:48px;font-size:14px}}@media (max-width:520px){.preview-toolbar{flex-direction:column;align-items:stretch}.preview-actions{grid-template-columns:1fr 1fr;display:grid}.preview-actions>*{justify-content:center}.kind-grid{grid-template-columns:repeat(2,1fr)}}@media print{.mobile-bar,.mobile-tabs{display:none!important}}@media (max-width:800px){.mobile-bar{display:none}.preview-toolbar>div.preview-actions{flex-flow:wrap;display:flex}}@media (max-width:520px){.page-stack{padding:12px}.preview-toolbar>div.preview-actions{flex-direction:initial;grid-template-columns:1fr 1fr;display:grid}.preview-actions .secondary-button,.preview-actions .toggle-chip{justify-content:center;width:100%}}.page-stack .worksheet-page{zoom:var(--preview-zoom,1);margin:0 auto}.page-stack.is-zoomed{overflow-x:auto}.preview-viewport{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.preview-zoom{flex:none;align-items:center;gap:4px;display:flex}.preview-zoom .secondary-button{justify-content:center;width:38px;padding:0}@media (max-width:900px){.preview-viewport{display:block}}@media print{.preview-zoom{display:none}}.preview-zoom select{border:1px solid var(--line);min-width:0;height:38px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;padding:0 8px;font-family:inherit;font-size:13px;font-weight:700}.preview-zoom select:hover{border-color:var(--ink)}.preview-panel{background:#e6d6b8}.mode-switch{background:#fbf6ec}.mobile-tabs{background:#eadcc2}.mobile-tabs button{color:var(--ink)}.kind-search{border-color:var(--line)}.kind-group-label{color:var(--fach-ink);align-items:center;gap:7px;display:flex}.kind-group-label:before{background:var(--fach);content:"";border-radius:3px;width:10px;height:10px}.kind-grid button{border-color:var(--line)}.kind-grid button .kind-icon{color:var(--fach-ink)}.kind-grid button:hover{border-color:var(--fach);background:var(--fach-soft)}.kind-grid button.is-active{border-color:var(--ink);background:var(--ink)}.kind-grid button.is-active .kind-icon{color:var(--fach)}.kind-group{scroll-margin-top:16px}.segmented{background:#f1e7d5}.operation-grid button.is-active{background:#fbf3e4}@media (max-width:800px){.kind-group{scroll-margin-top:72px}}.variant-tabs{flex-wrap:wrap;gap:6px;padding:10px 16px 0;display:flex}.variant-tabs button{border:1px solid var(--line);color:var(--ink);font:700 12px var(--font-geist-sans), sans-serif;cursor:pointer;background:#fffaf1;border-radius:99px;padding:6px 11px}.variant-tabs button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.self-check-settings{background:#f4faf8;border:1px solid #2a9d8f66;border-radius:12px;flex-direction:column;gap:10px;padding:14px 17px;display:flex}.kind-grid button .kind-grades{color:var(--ink-soft);font-size:12px;font-weight:600}.kind-grid button.is-active .kind-grades{color:#dbe7e8}.kind-grid button.is-other-grade{opacity:.55}.kind-grade-note{color:var(--ink-soft);margin:-4px 0 0;font-size:13px}.kind-grade-note .text-action{font-size:13px}.kind-preview{z-index:2;position:sticky;top:8px}.kind-preview .kind-sample{height:120px}.kind-info{border:1px solid var(--line);background:#fffaf1;border-radius:12px;align-items:center;gap:12px;margin-bottom:4px;padding:12px 14px;display:flex;box-shadow:0 4px 12px #18364a0d}.kind-info-text{flex:1;min-width:0}.kind-info-text strong{align-items:baseline;gap:8px;font-size:15px;display:flex}.kind-info-text strong small{color:var(--coral-dark);font-size:12px}.kind-info-text p{color:var(--ink-soft);margin:4px 0 0;font-size:13px;line-height:1.45}.kind-sample{border:1px solid var(--line);background:#fff;border-radius:8px;flex:none;justify-content:center;align-items:center;width:170px;height:120px;display:flex;overflow:hidden}.kind-sample-sheet{--sheet-text:var(--font-school), Arial, Helvetica, sans-serif;--sheet-digits:var(--font-school), "Courier New", monospace;color:#17364a;font-family:var(--sheet-text);zoom:.56;flex:none;padding:2mm}@media (max-width:520px){.kind-info{flex-direction:column;align-items:stretch}.kind-sample{width:100%;height:130px}}.workspace-detail{container:detail/inline-size}.kind-info-text strong,.kind-info.is-compact strong{flex-wrap:wrap}.kind-info-text strong small,.kind-info.is-compact strong small{white-space:nowrap}@container detail (max-width:460px){.kind-info:not(.is-compact){flex-direction:column;align-items:stretch}.kind-info:not(.is-compact) .kind-sample{width:100%;height:130px}}.page-shortcuts{flex-wrap:wrap;gap:6px;margin-top:-8px;display:flex}.page-shortcuts button{border:1px solid var(--line);min-height:34px;color:var(--ink);cursor:pointer;background:#fff;border-radius:99px;padding:0 12px;font-size:13px;font-weight:700}.page-shortcuts button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.grade-fit{border:1px solid var(--line);color:var(--ink-soft);background:#fff;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 12px;font-size:13px;line-height:1.45;display:flex}.grade-fit .secondary-button{width:auto;height:32px;padding:0 12px;font-size:13px}.count-warning{border-left:3px solid var(--sun);color:#6d5313;background:#fff6dd;border-radius:8px;margin:0;padding:10px 12px;font-size:13px;line-height:1.45}.hint-toggle{border:1px solid var(--ink-soft);width:20px;height:20px;color:var(--ink-soft);font:700 12px var(--font-geist-sans), sans-serif;vertical-align:1px;cursor:pointer;background:#fff;border-radius:50%;place-items:center;margin-left:6px;display:inline-grid}.hint-toggle.is-open{border-color:var(--coral-dark);background:var(--coral-dark);color:#fff}.hint-text{color:var(--ink);text-transform:none;letter-spacing:0;background:#eef5f3;border-radius:8px;margin:6px 0 2px;padding:8px 10px;font-size:13px;font-weight:500;line-height:1.45;display:block}.print-tips-toggle{font-size:13px}.print-tips{border-bottom:1px solid var(--line);background:#fffaf1;padding:10px 20px 12px}.print-tips ul{color:var(--ink);margin:0;padding-left:18px;font-size:13px;line-height:1.6}.preview-toolbar small,.kind-group-label,.number-chips button,.weight-profile-grid button strong,.weight-profile-grid button small,.weight-group-title strong,.weight-group-title span,.weight-label,.weight-stepper output,.weight-stepper output small,.weight-settings>p,.weight-settings-heading>div>span,.custom-weight-badge,.print-settings-heading span,.print-range output,.switch-row small,.field-label-row small,.wheel-mode-note,.segmented button{font-size:12px}.switch-row small,.wheel-mode-note,.field-label-row small{color:#46657a}@media (max-width:800px){.mobile-bar{grid-template-columns:1.3fr .8fr 1.1fr}}.workspace{background:var(--kraft-soft);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(340px,400px) minmax(0,1fr);height:100dvh;display:grid}.workspace-bar{border-bottom:1px solid var(--line);background:var(--paper);grid-column:1/-1;align-items:center;gap:14px;min-width:0;height:64px;padding:0 16px;display:flex}.workspace-home{color:var(--ink);flex:none;align-items:center;gap:9px;text-decoration:none;display:inline-flex}.workspace-home .brand-mark{width:36px;height:36px}.workspace-home .brand-name{font-size:18px}.workspace-title{border-left:1px solid var(--line);flex-direction:column;flex:140px;gap:1px;min-width:96px;padding-left:14px;display:flex}.workspace-title small{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font:700 11px var(--font-geist-mono), monospace;letter-spacing:.06em;text-transform:uppercase;overflow:hidden}.workspace-title input{width:100%;min-width:0;height:28px;color:var(--ink);font:800 16px var(--display);text-overflow:ellipsis;background:0 0;border:1px solid #0000;border-bottom:1px dashed #18364a40;border-radius:7px;margin-left:-6px;padding:0 6px}.workspace-title input:hover{border-color:var(--line);border-bottom-style:solid}.workspace-title input:focus{border-color:var(--ink);background:#fff;outline:none}.workspace-actions{flex:none;align-items:center;gap:8px;display:flex}.workspace-bar .primary-button,.workspace-bar .secondary-button{white-space:nowrap;flex:none;height:40px;font-size:13px}.workspace-legal{flex-wrap:wrap;gap:6px 14px;padding:18px;display:flex}.workspace-legal a{color:var(--ink-soft);font-size:12px;text-decoration:none}.workspace-legal a:hover{color:var(--ink);text-underline-offset:3px;text-decoration:underline}.workspace-preview{min-width:0;min-height:0;box-shadow:none;border:0;border-radius:0;flex-direction:column;display:flex;position:static;overflow:hidden}.workspace-preview .preview-toolbar{flex:none}.workspace-preview .variant-tabs{flex:none;padding-bottom:4px}.workspace-preview .page-stack{flex:1;align-items:safe center;min-height:0;max-height:none;overflow:auto}.workspace-preview .page-stack>*{flex:none}.workspace .mobile-tabs,.workspace .mobile-bar{display:none}.template-dialog{border:1px solid var(--line);background:var(--canvas);width:min(1180px,100% - 32px);max-width:none;height:calc(100dvh - 48px);max-height:none;color:var(--ink);border-radius:18px;margin:auto;padding:0;box-shadow:0 30px 80px #18364a4d}.template-dialog::backdrop{background:#18364a73}.template-dialog-inner{overscroll-behavior:contain;height:100%;padding:0 24px;position:relative;overflow-y:auto}.template-dialog .template-section{border-top:0;width:100%;padding-top:24px}.template-dialog .template-head{padding-right:52px}.template-dialog-close{z-index:3;border:1px solid var(--line);width:42px;height:42px;color:var(--ink);cursor:pointer;background:#fff;border-radius:50%;place-items:center;margin:14px 0 -56px auto;display:grid;position:sticky;top:14px}.template-dialog-close svg{width:18px}.template-dialog-close:hover{border-color:var(--ink)}@media (max-width:1180px){.workspace-home .brand-name{display:none}}.more-menu{flex:none;position:relative}.more-menu-button{position:relative}.more-menu.is-open .more-menu-button{border-color:var(--ink)}.more-menu-count{background:var(--coral);color:#fff;min-width:20px;height:20px;font:700 11px/1 var(--font-geist-mono), monospace;border:1.5px solid #fff;border-radius:99px;place-items:center;padding:0 5px;display:grid;position:absolute;top:-7px;right:-7px}.more-menu-list{z-index:50;border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:2px;width:300px;max-width:calc(100vw - 24px);padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 16px 40px #18364a33}.more-menu-list [role=menuitem]{min-height:44px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:flex-start;gap:10px;padding:9px 10px;text-decoration:none;display:flex}.more-menu-list [role=menuitem]:hover,.more-menu-list [role=menuitem]:focus-visible{background:#f6eedf;outline:none}.more-menu-list svg{width:18px;height:18px;color:var(--coral-dark);flex:none;margin-top:1px}.more-menu-list span{flex-direction:column;gap:2px;display:flex}.more-menu-list strong{font-size:14px}.more-menu-list small{color:var(--ink-soft);font-size:12px;line-height:1.35}.workspace-bar .label-short{display:none}@media (max-width:1199px){.workspace-bar .label-long{display:none}.workspace-bar .label-short{display:inline}}@media (min-width:901px) and (max-width:1279px){.workspace-bar{gap:10px;padding:0 12px}.workspace-actions{gap:6px}.workspace-bar .primary-button,.workspace-bar .secondary-button{padding:0 11px}}@media (min-width:901px) and (max-width:1099px){.workspace-templates svg,.workspace-shuffle svg,.workspace-pdf svg{display:none}.workspace-title{padding-left:10px}}@media (max-width:900px){.workspace{height:auto;min-height:100dvh;padding-bottom:calc(76px + env(safe-area-inset-bottom));display:block}.workspace-bar{z-index:20;grid-template-rows:44px 48px;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:8px 10px;height:auto;padding:8px 12px;display:grid;position:sticky;top:0}.workspace-home .brand-name{display:none}.workspace-title{padding-left:10px}.workspace-title strong{font-size:15px}.workspace-actions{display:contents}.workspace-actions>:not(.more-menu){display:none}.more-menu{grid-area:1/3}.workspace-templates{grid-area:1/4}.workspace .mobile-tabs{border-radius:12px;grid-area:2/1/auto/-1;grid-template-columns:1fr 1fr;gap:4px;margin:0;padding:4px;display:grid}.workspace .mobile-tabs button{min-height:40px}.workspace.show-settings .workspace-preview{display:none}.workspace-preview{border:1px solid #18364a21;border-radius:18px;margin:12px;overflow:visible;box-shadow:0 10px 30px #18364a0f}.workspace-preview .page-stack{overflow:visible}.workspace-preview .page-stack.is-zoomed{overflow-x:auto}.workspace .mobile-bar{z-index:30;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffdf8f2;grid-auto-columns:1fr;grid-auto-flow:column;gap:8px;display:grid;position:fixed;bottom:0;left:0;right:0}.workspace .mobile-bar button{width:auto;height:48px;padding-inline:6px;font-size:14px}.workspace .mobile-bar .mobile-undo{max-width:56px}.workspace .mobile-bar .primary-button{grid-column:span 2}.template-dialog{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh}.template-dialog-inner{padding:0 15px}}@media (max-width:520px){.workspace-preview{margin:10px 8px}.workspace .mode-switch{grid-template-columns:1fr 1fr;padding:10px}.workspace .mode-switch button{padding:9px 10px}.workspace-preview .preview-actions{flex-wrap:wrap;display:flex}.workspace-preview .preview-actions>*{width:auto}}@media print{.template-dialog{display:none!important}}.workspace-history{flex:none;gap:4px;display:flex}.workspace-history .secondary-button{width:40px;padding:0}.workspace-history .secondary-button:disabled,.mobile-bar .secondary-button:disabled{opacity:.4;cursor:default}.workspace-bar svg{flex:none}.grade-filter{background:#fbf6ec;flex-wrap:wrap;align-items:center;gap:4px;padding:12px 12px 0;display:flex}.grade-filter>span{margin-right:4px;font-size:13px;font-weight:700}.grade-filter button{border:1px solid var(--line);min-width:36px;height:32px;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:8px;padding:0 9px;font-size:13px;font-weight:700}.grade-filter button:hover{border-color:var(--ink);color:var(--ink)}.grade-filter button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.grade-filter small{color:var(--ink-soft);flex-basis:100%;font-size:12px}.workspace-legal{padding-top:12px}.preview-toolbar .sidebar-toggle{flex:none}.workspace-preview .preview-toolbar{flex-wrap:nowrap;justify-content:flex-start}.workspace-preview .preview-meta{white-space:nowrap;min-width:0;margin-right:auto}.workspace-preview .preview-actions{flex-wrap:wrap;justify-content:flex-end}.preview-part{min-width:170px}.preview-part button{height:34px;font-size:13px}.preview-actions .secondary-button,.preview-actions .toggle-chip{height:40px}.preview-subbar{flex-wrap:wrap;flex:none;align-items:center;gap:8px 16px;padding:10px 16px 0;display:flex}.preview-subbar .variant-tabs{padding:0}.preview-note{color:var(--ink-soft);margin:0;font-size:13px}.preview-pager{align-items:center;gap:8px;margin-left:auto;font-size:13px;font-weight:700;display:flex}.preview-pager .secondary-button{width:36px;height:34px;padding:0;font-size:18px}.preview-pager .secondary-button:disabled{opacity:.4;cursor:default}.page-stack.is-editable:not(.is-combined) .worksheet-page{cursor:pointer}.page-stack.is-editable:not(.is-combined) .worksheet-page:hover{outline-offset:4px;outline:3px solid #ef725766}.page-stack.is-editable.is-combined .sheet-section{cursor:pointer;border-radius:2mm;transition:background .12s}.page-stack.is-editable.is-combined .sheet-section:hover{outline-offset:1mm;background:#ef72571a;outline:2px dashed #ef7257aa}@media (max-width:1500px){.print-tips-toggle span,.sidebar-toggle span{display:none}.print-tips-toggle,.sidebar-toggle{width:40px;padding:0}}@media (max-width:900px){.workspace-history{display:none}.workspace-title input{font-size:15px}.preview-toolbar .sidebar-toggle{display:none}.workspace-preview .preview-toolbar{flex-wrap:wrap;gap:8px;padding:10px 12px}.workspace-preview .preview-toolbar>div.preview-actions{flex-wrap:wrap;justify-content:flex-start;gap:6px;width:100%;display:flex}.preview-part{flex:100%;min-width:0}.workspace-preview .preview-actions .toggle-chip{flex:1;justify-content:center}.workspace-preview .preview-actions .secondary-button{flex:none;width:44px;padding:0}.workspace-preview .preview-actions .toggle-chip{white-space:nowrap;width:auto}.preview-subbar{padding:8px 12px 0}.workspace .mobile-bar .mobile-undo{max-width:52px}.workspace .mobile-bar{grid-template-columns:52px 1fr .8fr 1.4fr;grid-auto-flow:row}.workspace .mobile-bar .primary-button{grid-column:auto}}.preview-layout{flex:none}.preview-layout button{width:40px;height:34px;padding:0}.preview-layout svg{width:18px}.workspace-preview .page-stack.is-row{scroll-snap-type:x proximity;overscroll-behavior-x:contain;flex-direction:row;justify-content:safe center;align-items:flex-start;scroll-padding-inline:28px;overflow:auto}.workspace-preview .page-stack.is-row:focus-visible{outline-offset:-3px;outline:3px solid #ef725759}.page-stack.is-row .worksheet-page{scroll-snap-align:start;flex:none;margin:0}.page-stack.is-row>:last-child{margin-right:4px}.variant-group{border-right:2px dashed #b98f5599;flex:none;gap:24px;padding-right:24px;display:flex}.variant-group:last-child{border-right:0;padding-right:0}@media (max-width:900px){.preview-layout{display:none}}.workspace{grid-template-columns:250px minmax(340px,380px) minmax(0,1fr)}.workspace.is-sidebar-hidden{grid-template-columns:minmax(0,1fr)}.workspace.is-sidebar-hidden .workspace-outline,.workspace.is-sidebar-hidden .workspace-detail{display:none}.workspace-outline{overscroll-behavior:contain;border-right:1px solid var(--line);background:#fbf6ec;min-height:0;overflow-y:auto}.workspace-detail{overscroll-behavior:contain;border:0;border-right:1px solid var(--line);min-height:0;box-shadow:none;border-radius:0;overflow-y:auto}.workspace-detail .kind-preview{top:76px}.detail-back{display:none}.detail-head{z-index:3;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffdf8f2;justify-content:space-between;align-items:flex-start;gap:10px;padding:16px 18px 12px;display:flex;position:sticky;top:0}.detail-head>div{min-width:0}.detail-head small{color:var(--coral-dark);font:700 11px var(--font-geist-mono), monospace;letter-spacing:.08em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;display:block;overflow:hidden}.detail-head h2{font:850 20px/1.15 var(--display);letter-spacing:-.01em;margin:4px 0 0}.detail-actions{flex:none;align-items:center;gap:2px;padding-top:2px;display:flex}.detail-actions .text-action{font-size:13px}.detail-actions button:not(.text-action){width:34px;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.detail-actions button:not(.text-action):hover:not(:disabled){color:var(--ink);background:#f1e5cf}.detail-actions button:disabled{opacity:.35;cursor:default}.detail-actions svg{width:17px}.detail-body{flex-direction:column;gap:22px;padding:18px 18px 24px;display:flex}.detail-body .mode-switch{background:0 0;border:0;padding:0}.detail-body .grade-filter{background:0 0;padding:0}.workspace-detail .workspace-legal{padding-top:0}.editor-outline{flex-direction:column;gap:2px;padding:12px 10px 20px;display:flex}.outline-sheet{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:10px;margin-bottom:6px;padding:10px;display:flex}.outline-sheet:hover{border-color:#18364a66}.outline-sheet.is-active{border-color:var(--ink);box-shadow:0 4px 12px #18364a1a}.outline-group{color:var(--coral-dark);font:700 11px var(--font-geist-mono), monospace;letter-spacing:.08em;text-transform:uppercase;margin:12px 8px 4px}.outline-sections{flex-direction:column;gap:2px;display:flex}.outline-item{align-items:center;display:flex;position:relative}.outline-item-main{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex:1;align-items:center;gap:9px;padding:8px;display:flex}.outline-item-main:hover{background:#fff}.outline-item.is-active .outline-item-main{border-color:var(--ink);background:#fff;box-shadow:0 4px 12px #18364a1a}.outline-badge{width:26px;height:26px;color:var(--ink);font:700 12px var(--font-geist-mono), monospace;background:#f1e5cf;border-radius:50%;flex:none;place-items:center;display:grid}.outline-badge svg{width:15px;height:15px}.outline-item.is-active .outline-badge{background:var(--coral);color:#fff}.outline-sheet .outline-badge{background:var(--ink);color:#fff;border-radius:8px}.outline-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.outline-text strong{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;font-size:13.5px;display:flex;overflow:hidden}.outline-text strong .kind-icon{width:16px;height:16px;color:var(--fach-ink,var(--coral-dark));flex:none}.outline-text small{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.outline-sheet .outline-text strong{font:800 15px var(--display)}.outline-warn{background:var(--sun);border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 2px #fff}.outline-stars{font-size:14px;line-height:1}.outline-drag{width:20px;height:34px;color:var(--ink-soft);cursor:grab;opacity:.45;touch-action:none;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin-right:-2px;padding:0;display:grid}.outline-item:hover .outline-drag,.outline-drag:focus-visible{opacity:1}.outline-drag svg{width:16px}.outline-sections.is-sorting,.outline-sections.is-sorting .outline-drag{cursor:grabbing}body:has(.outline-sections.is-sorting){-webkit-user-select:none;user-select:none}.outline-sections .is-dragging .outline-item-main{border-color:var(--ink);background:#fff;box-shadow:0 10px 24px #18364a33}.outline-add{width:100%;color:var(--ink);cursor:pointer;background:0 0;border:1.5px dashed #18364a59;border-radius:10px;justify-content:center;align-items:center;gap:6px;margin:6px 0 2px;padding:9px;font-size:13px;font-weight:700;display:flex}.outline-add:hover,.outline-add.is-active{border-color:var(--ink);background:#fff}.outline-add svg{width:15px;color:var(--coral-dark)}.page-stack .sheet-section.is-selected{outline-offset:1mm;background:#ef72570f;border-radius:2mm;outline:2px solid #ef7257}.more-settings{background:#fbf6ec;border:1px dashed #18364a4d;border-radius:12px}.more-settings.is-open{background:#fffdf8;border-style:solid}.more-settings-toggle{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;font-size:13.5px;font-weight:700;display:flex}.more-settings-toggle small{color:var(--ink-soft);font-weight:500}.more-settings-toggle svg{width:16px;color:var(--ink-soft);flex:none;transition:transform .16s;transform:rotate(90deg)}.more-settings.is-open .more-settings-toggle svg{transform:rotate(-90deg)}.more-settings-body{flex-direction:column;gap:18px;padding:4px 14px 16px;display:flex}.more-settings-body .weight-settings{margin:0}.kind-info.is-compact{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.kind-info.is-compact strong{align-items:baseline;gap:8px;font-size:15px;display:flex}.kind-info.is-compact strong small{color:var(--coral-dark);font-size:12px}.kind-info-close{align-self:flex-start}.outline-rail-badge,.outline-rail-label{display:none}@media (min-width:901px) and (max-width:1199px){.workspace{grid-template-columns:80px minmax(320px,360px) minmax(0,1fr)}.editor-outline{align-items:stretch;padding:10px 5px}.outline-drag{display:none}.outline-text,.outline-add span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.outline-sheet,.outline-item-main{flex-direction:column;justify-content:center;gap:3px;position:relative}.outline-sheet{width:auto;margin-bottom:0;padding:7px 2px 5px}.outline-item-main{padding:6px 2px 5px}.outline-rail-label{max-width:100%;color:var(--ink);text-align:center;text-overflow:ellipsis;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;font-weight:700;line-height:1.15;display:-webkit-box;overflow:hidden}.outline-group{background:var(--line);color:#0000;width:28px;height:1px;margin:10px auto;overflow:hidden}.outline-add{align-self:center;width:44px;height:40px;padding:0}.outline-warn{position:absolute;top:4px;right:4px}.has-rail-badge .outline-badge{display:none}.outline-rail-badge{background:var(--fach-soft,#f1e5cf);width:36px;height:36px;color:var(--fach-ink,var(--ink));border-radius:10px;place-items:center;display:grid;position:relative}.outline-rail-badge .kind-icon{width:20px;height:20px}.outline-rail-badge small{background:var(--ink);color:#fff;min-width:17px;height:17px;font:700 10px/1 var(--font-geist-mono), monospace;border:1.5px solid #fff;border-radius:99px;place-items:center;padding:0 3px;display:grid;position:absolute;bottom:-5px;right:-5px}.outline-item.is-active .outline-rail-badge{box-shadow:0 0 0 2px var(--ink)}.outline-item.is-on .outline-item-main{position:relative}.outline-item.is-on .outline-item-main:after{background:var(--coral);content:"";border:1.5px solid #fff;border-radius:50%;width:9px;height:9px;position:absolute;top:3px;right:3px}}@media (min-width:901px) and (max-width:1199px),(max-width:400px){.detail-body .grade-filter{gap:3px}.detail-body .grade-filter>span{margin-right:2px}.detail-body .grade-filter button{min-width:32px;padding:0 7px}}@media (max-width:900px){.workspace-outline,.workspace-detail{border:1px solid #18364a21;border-radius:18px;margin:12px;overflow:clip;box-shadow:0 10px 30px #18364a0f}.workspace.show-preview .workspace-outline,.workspace.show-preview .workspace-detail,.workspace.show-settings:not(.is-mobile-detail) .workspace-detail,.workspace.show-settings.is-mobile-detail .workspace-outline{display:none}.detail-back{margin:14px 18px 0;font-size:14px;display:inline-flex}.detail-head{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding-top:8px;position:static}.workspace-detail .kind-preview{position:static}.outline-item-main{padding:10px 8px}.outline-drag{opacity:1;width:28px;height:44px}}@media (max-width:520px){.workspace-outline,.workspace-detail{margin:10px 8px}}.outline-sheet .outline-text strong,.outline-sheet .outline-text small{white-space:normal}@media (min-width:901px) and (max-width:1399px){.workspace-preview .preview-meta{display:none}.workspace-preview .preview-actions{flex-wrap:nowrap;margin-left:auto}.preview-part{min-width:150px}}@media (min-width:901px) and (max-width:1279px){.workspace-preview .preview-layout{display:none}}@media (min-width:901px) and (max-width:1099px){.workspace-preview .preview-toolbar{gap:6px;padding-inline:10px}.preview-part{min-width:120px}.preview-zoom select{padding:0 4px}.preview-zoom{gap:2px}.workspace-preview .preview-zoom .secondary-button{width:34px}}.sheet-title-note{color:var(--ink-soft);margin:0;font-size:13px;line-height:1.5}.sheet-title-note .text-action{font-size:13px}.detail-body .sheet-next{align-self:flex-start;height:44px;padding:0 18px;font-size:14px}.leave-dialog{border:1px solid var(--line);background:var(--paper);width:min(520px,100% - 32px);max-width:none;color:var(--ink);border-radius:18px;margin:auto;padding:0;box-shadow:0 30px 80px #18364a4d}.leave-dialog::backdrop{background:#18364a73}.leave-dialog-inner{flex-direction:column;gap:12px;padding:22px;display:flex}.leave-dialog h2{font:800 22px var(--display);margin:0}.leave-dialog p{color:var(--ink-soft);margin:0;font-size:14px;line-height:1.45}.leave-link{gap:8px;display:flex}.leave-link input{border:1px solid var(--line);min-width:0;color:var(--ink);font:12px var(--font-geist-mono),monospace;background:#fff;border-radius:10px;flex:1;padding:9px 11px}.leave-link button{flex:none}.leave-hint{color:var(--ink-soft);font-size:12px}.leave-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:4px;display:flex}@media (max-width:520px){.leave-dialog-inner{padding:18px 16px}.leave-link{flex-direction:column}.leave-actions{flex-direction:column-reverse;align-items:stretch}.leave-actions button{justify-content:center}}.kind-current{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:12px;padding:11px 14px;display:flex}.kind-current:hover{border-color:var(--fach);background:var(--fach-soft)}.kind-current .kind-icon{width:26px;height:26px;color:var(--fach-ink);flex:none}.kind-current>span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.kind-current strong{font-size:15px}.kind-current small{color:var(--ink-soft);font-size:12px}.kind-current b{color:var(--coral-dark);flex:none;font-size:13px}.section-kind-choice{flex-direction:column;align-items:flex-start;gap:14px;display:flex}.section-kind-choice .kind-picker{align-self:stretch}@media (max-width:900px){.detail-panel{scroll-margin-top:124px}}.field-group.points-field>.number-input{width:7rem}@media (max-width:900px){.workspace-bar .workspace-templates,.workspace-bar .more-menu-button{flex-direction:column;gap:1px;width:auto;min-width:54px;height:44px;padding:0 7px;font-size:10.5px;line-height:1.1}.workspace-bar .workspace-templates svg,.workspace-bar .more-menu-button svg{width:17px;height:17px}.more-menu-count{top:-6px;right:-6px}.tab-thumb{border:1px solid var(--line);pointer-events:none;background:#fff;border-radius:2px;flex:none;width:22px;height:32px;display:block;overflow:hidden}.tab-thumb .worksheet-page{box-shadow:none;zoom:.03;margin:0}.workspace .mobile-bar{grid-template-columns:44px 44px 1.1fr .75fr 1.3fr;grid-auto-flow:row;gap:6px}.workspace .mobile-bar .mobile-undo{width:44px;max-width:44px;padding:0}.workspace .mobile-bar .primary-button{grid-column:auto}}@media (max-width:400px){.workspace-bar{column-gap:6px;padding-inline:10px}.workspace-bar .workspace-templates,.workspace-bar .more-menu-button{min-width:48px;padding:0 5px}}@media (max-width:520px){.workspace .mobile-bar .mobile-pdf svg{display:none}.workspace .mobile-bar button{padding-inline:4px}}.practice-card{border:1px solid var(--line);background:#fff;border-radius:12px;gap:10px;margin-top:18px;padding:14px 16px;display:grid}.practice-card h3{font:800 16px var(--display);align-items:center;gap:8px;margin:0;display:flex}.practice-card h3 svg{width:20px;height:20px;color:var(--coral-dark)}.practice-card p{color:var(--ink-soft);margin:0;font-size:14px;line-height:1.45}.practice-link-row{flex-wrap:wrap;gap:6px;display:flex}.practice-link-row input{border:1px solid var(--line);min-width:0;color:var(--ink);background:#fbf6ec;border-radius:8px;flex:180px;padding:8px 10px;font-size:13px}.practice-link-row .secondary-button{text-decoration:none}.practice-qr-row{align-items:center;gap:12px;display:flex}.practice-qr{flex:none;width:104px;height:104px}.operation-grid button.is-active,.segmented button.is-active{border-color:var(--ink);background:var(--ink);color:#fff;box-shadow:none}.operation-grid button:not(.is-active):hover{border-color:var(--ink);color:var(--ink)}.segmented button:not(.is-active):hover{color:var(--ink);background:#fffaf1}@media (max-width:900px){.workspace .detail-back{align-items:center;min-height:44px;margin:4px 18px 0;padding:0}.workspace-legal{gap:0 4px;padding-block:4px 12px}.workspace-legal a{align-items:center;min-height:44px;padding:0 6px;font-size:13px;display:inline-flex}.workspace .detail-body .text-action,.workspace .detail-head .text-action{margin-block:-13px;padding-block:13px}.workspace .segmented button,.workspace .page-shortcuts button{min-height:44px}.workspace .detail-body .grade-filter button,.workspace .number-chips button{height:44px}.workspace .mobile-tabs button{min-height:44px}.workspace-title input{height:36px}.workspace .hint-toggle{position:relative}.workspace .hint-toggle:after{content:"";position:absolute;inset:-12px}}.lock-note{border-left:2px solid var(--coral);color:var(--ink);background:#fdf0ea;border-radius:0 8px 8px 0;margin:8px 0 0;padding:8px 11px;font-size:13px;line-height:1.45;animation:.2s ease-out toast-in}
