:root{--bg: #f7f9fc;--bg-subtle: #f1f5f9;--card: #ffffff;--card-hi: #f8fafc;--border: #e2e8f0;--border-soft: #cbd5e1;--text: #0f172a;--dim: #475569;--faint: #64748b;--primary: #2f80ff;--primary-hover: #1f6fe5;--primary-tint: rgba(47, 128, 255, .08);--primary-line: rgba(47, 128, 255, .4);--green: #16a34a;--green-strong: #15803d;--green-tint: rgba(22, 163, 74, .09);--green-line: rgba(22, 163, 74, .45);--danger: #dc2626;--danger-tint: rgba(220, 38, 38, .08);--radius: 14px;--radius-sm: 12px;--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .06), 0 1px 2px -1px rgba(0, 0, 0, .06);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .04);--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;height:100dvh;max-height:100dvh;overflow:hidden}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow:hidden}*{scrollbar-width:none!important;-ms-overflow-style:none!important}*::-webkit-scrollbar,::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;background:transparent!important}.app{display:flex;flex-direction:column;height:100%;height:100dvh;max-height:100dvh;overflow:hidden}.topbar{display:flex;align-items:center;gap:14px;padding:12px 24px;background:#fff;border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm);flex:none;z-index:10}.topbar__mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#2f80ff,#06b6d4);display:grid;place-items:center;color:#fff;box-shadow:0 2px 6px #2f80ff4d;flex:none}.topbar__title{font-size:16px;font-weight:700;color:#0f172a;letter-spacing:-.01em}.topbar__sub{font-size:12px;color:var(--faint);margin-top:1px}.topbar__spacer{flex:1}.layout{display:grid;grid-template-columns:350px 1fr;flex:1;min-height:0;overflow:hidden}.sidebar{background:#fff;border-right:1px solid var(--border);padding:24px 18px 40px;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:24px;min-width:0;max-width:100%;box-sizing:border-box}.main{background:var(--bg);overflow-y:auto;padding:32px 40px 80px;min-width:0}.main__head{margin-bottom:24px}.main__title{font-size:26px;font-weight:800;color:#0f172a;letter-spacing:-.02em;margin:0}.main__desc{color:var(--dim);font-size:14px;margin:6px 0 0}.label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin-bottom:10px}.segmented{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px;background:#f1f5f9;border:1px solid var(--border);border-radius:var(--radius);padding:3px;max-width:100%;box-sizing:border-box}.segmented__btn{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--dim);font-size:12.5px;font-weight:600;white-space:nowrap;transition:all .14s ease}.segmented__btn:hover:not(.is-active){color:#0f172a;background:#fff9}.segmented__btn.is-active{background:#fff;color:#0f172a;box-shadow:var(--shadow-sm);font-weight:700}.segmented__btn:disabled{opacity:.4;cursor:not-allowed}.segmented--sm .segmented__btn{padding:6px 8px;font-size:12px}.dropzone{border:1.5px dashed #cbd5e1;border-radius:var(--radius);background:#f8fafc;padding:24px 18px;text-align:center;color:var(--dim);transition:all .14s ease;cursor:pointer;display:block;width:100%}.dropzone:hover,.dropzone.is-over{border-color:var(--primary);background:#eaf2ff;color:var(--primary)}.dropzone.is-done{border-color:var(--green-line);background:var(--green-tint);color:var(--green-strong);font-weight:600}.dropzone.is-error{border-color:#f87171;background:var(--danger-tint);color:var(--danger)}.dropzone__title{font-size:13.5px;font-weight:650;margin-top:8px}.dropzone__hint{font-size:11.5px;color:var(--faint);margin-top:3px}.dropzone.is-done .dropzone__hint{color:#166534}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:#fff;color:#0f172a;font-size:13.5px;font-weight:600;box-shadow:var(--shadow-sm);transition:all .14s ease}.btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;box-shadow:var(--shadow-md)}.btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.btn--primary{background:linear-gradient(135deg,#2f80ff,#5b9dff);color:#fff;border-color:#2f80ff;box-shadow:0 2px 6px #2f80ff47}.btn--primary:hover:not(:disabled){background:linear-gradient(135deg,#1f6fe5,#2f80ff);border-color:#1f6fe5;color:#fff;box-shadow:0 4px 10px #2f80ff59}.btn--ghost{background:transparent;box-shadow:none;border-color:transparent}.btn--ghost:hover:not(:disabled){background:#f1f5f9;border-color:var(--border)}.btn--auto{width:auto}.btn--sm{padding:7px 11px;font-size:12px}.btn--danger{color:var(--danger);border-color:#fecaca;background:#fff5f5;box-shadow:none}.btn--danger:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5}.icon-btn{background:transparent;border:0;padding:5px;border-radius:6px;color:var(--faint);display:grid;place-items:center;transition:all .12s ease}.icon-btn:hover{color:var(--danger);background:var(--danger-tint)}.field{display:block;margin-bottom:12px}.field__label{display:block;font-size:11.5px;color:var(--dim);margin-bottom:5px;font-weight:600}.input,.textarea,.select{width:100%;background:#fff;border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:8px 10px;font-size:13px;color:#0f172a;outline:none;transition:all .12s ease}.input:focus,.textarea:focus,.select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2f80ff1f}.input::placeholder,.textarea::placeholder{color:#94a3b8}.textarea{resize:vertical;line-height:1.6}.input--sm{padding:6px 8px;font-size:12.5px}.checkbox{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--dim);cursor:pointer;padding:3px 0;font-weight:500}.checkbox input{accent-color:var(--primary);width:15px;height:15px;cursor:pointer}.disclosure{border-top:1px solid var(--border);padding-top:16px}.disclosure__toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;padding:0 0 12px;color:var(--dim);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.disclosure__toggle:hover{color:var(--text)}.note{font-size:12px;color:var(--faint);line-height:1.55}.note--warn{color:#b45309}.note--error{color:var(--danger)}.badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:var(--radius-sm);font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;width:100%;justify-content:center}.badge--ready{background:var(--green-tint);color:var(--green-strong);border:1px solid var(--green-line)}.badge--review{background:#d977061a;color:#b45309;border:1px solid rgba(217,119,6,.35)}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;align-items:start}.item{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);padding:18px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow-sm);transition:all .14s ease}.item:hover{border-color:#cbd5e1;box-shadow:var(--shadow-md)}.item__head{display:flex;align-items:center;justify-content:space-between}.item__name{font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:var(--dim);background:none;border:0;padding:0;text-align:left;width:100%}.item__name:focus{outline:none;color:var(--text)}.item__body{min-height:165px;display:flex;flex-direction:column;gap:12px}.item__thumb{width:100%;height:150px;object-fit:contain;border-radius:var(--radius-sm);border:1px solid var(--border);background:#f8fafc}.item__filemeta{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--dim);word-break:break-all}.item-add{border:1.5px dashed #cbd5e1;border-radius:var(--radius);background:#fff;color:var(--faint);min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:13.5px;font-weight:600;box-shadow:var(--shadow-sm);transition:all .14s ease}.item-add:hover{border-color:var(--primary);color:var(--primary);background:#f5f3ff}.spinner{width:15px;height:15px;flex:none;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.busy{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--dim)}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:32px;z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{background:#fff;border:1px solid var(--border);border-radius:18px;width:min(940px,100%);max-height:100%;display:flex;flex-direction:column;overflow:hidden;box-shadow:var(--shadow-lg)}.modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--border);flex:none}.modal__title{font-size:17px;font-weight:700;color:#0f172a;margin:0}.modal__sub{font-size:12.5px;color:var(--faint);margin:3px 0 0}.modal__body{overflow-y:auto;padding:22px 24px;display:flex;flex-direction:column;gap:20px;background:#f8fafc}.modal__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;border-top:1px solid var(--border);flex:none;background:#fff}.modal__foot .btn{width:auto}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 10px}.part-block{border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px;background:#fff;box-shadow:var(--shadow-sm)}.part-block__head{display:flex;gap:10px;align-items:center;margin-bottom:14px}.q-row{display:grid;gap:8px;align-items:start;padding:8px 0;border-top:1px solid var(--border)}.q-row--sub{padding-left:26px}.q-row__ctl{display:flex;gap:2px}.q-head{display:grid;gap:8px;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--faint);padding-bottom:6px}.or-tag{font-size:10.5px;letter-spacing:.1em;color:#b45309;padding:6px 0 2px;font-weight:700}.preview{display:flex;flex-direction:column;align-items:center;gap:26px;padding:24px 20px 60px;background:#cbd5e1;border-radius:var(--radius)}.preview__page{box-shadow:0 20px 45px #00000042,0 6px 16px #00000024;border:1.5px solid #475569;border-radius:4px;transform-origin:top center;background:#fff}.preview__caption{font-size:12px;color:var(--faint);letter-spacing:.05em;font-weight:500}.preview__empty{text-align:center;color:var(--faint);padding:90px 20px}.export-stage{position:fixed;top:0;left:0;width:794px;height:1123px;overflow:hidden;pointer-events:none;z-index:-1;opacity:0}.export-stage>*{position:absolute;top:0;left:0}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%);background:#0f172a;border:1px solid #1e293b;color:#fff;padding:10px 20px;border-radius:999px;font-size:13px;font-weight:550;box-shadow:0 10px 25px #0003;z-index:80;display:flex;align-items:center;gap:10px}.toast--error{background:#991b1b;border-color:#b91c1c;color:#fff}.topbar__drawer-btn,.drawer-header,.drawer-backdrop{display:none}.sidebar-container{display:contents}@media(max-width:900px){.layout{display:block;width:100%}.topbar__drawer-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;font-size:12px;font-weight:750;background:#eaf2ff;color:#2f80ff;border:1px solid #c7d2fe;border-radius:8px;cursor:pointer;box-shadow:0 1px 2px #2f80ff1a;transition:all .14s ease}.topbar__drawer-btn:hover{background:#d9e8ff;border-color:#a5b4fc}.drawer-backdrop{display:block;position:fixed;inset:0;background:#0f172a85;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:95;animation:fadeIn .18s ease}.sidebar-container{display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;width:min(360px,88vw);background:#fff;z-index:100;box-shadow:0 20px 45px #00000059;transform:translate(-100%);transition:transform .26s cubic-bezier(.16,1,.3,1);overflow:hidden}.sidebar-container--open{transform:translate(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border);background:#f8fafc;flex:none}.drawer-title{font-size:14px;font-weight:800;color:#0f172a}.drawer-close{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;border:1px solid #cbd5e1;background:#fff;font-size:14px;font-weight:700;color:#334155;cursor:pointer}.sidebar{border-right:0;border-bottom:0;height:100%;overflow-y:auto;padding:16px 16px 40px}.main{padding:20px 16px 80px}}.mobile-nav{display:none}@media(max-width:900px){.app{padding-bottom:68px}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;height:64px;background:#fffffff5;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid #e2e8f0;box-shadow:0 -4px 16px #0f172a14;z-index:85;padding:0 6px;align-items:center}.mobile-nav__btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:none;padding:6px 4px;color:#64748b;font-size:11px;font-weight:650;border-radius:12px;cursor:pointer;transition:all .15s ease;height:52px}.mobile-nav__btn:hover{color:#0f172a;background:#f1f5f9}.mobile-nav__btn--active{color:#2f80ff;background:#eaf2ff;font-weight:800}.mobile-nav__btn--active svg{stroke-width:2.2}.mobile-nav__btn--action{color:#fff;background:linear-gradient(135deg,#2f80ff,#1f6fe5);box-shadow:0 3px 8px #2f80ff59}.mobile-nav__btn--action:hover:not(:disabled){background:linear-gradient(135deg,#1f6fe5,#3730a3);color:#fff}.mobile-nav__btn--action:disabled{opacity:.5;background:#cbd5e1;color:#64748b;box-shadow:none;cursor:not-allowed}.mobile-nav__btn--action span{color:inherit}}.preview__warn{max-width:794px;text-align:center;border:1px solid rgba(217,119,6,.35);background:#fffbeb;color:#92400e;border-radius:var(--radius-sm);padding:10px 16px;margin:0;font-size:12.5px}.chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chip{padding:5px 12px;border-radius:999px;border:1px solid var(--border-soft);background:#f1f5f9;color:#334155;font-size:12px;font-weight:600;cursor:pointer;transition:all .14s ease}.chip:hover{border-color:#94a3b8;background:#e2e8f0;color:#0f172a}.chip--on{background:#2f80ff;border-color:#2f80ff;color:#fff;font-weight:700;box-shadow:0 1px 3px #2f80ff4d}.preview__toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px;padding:10px 16px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);width:100%;max-width:900px}.preview__hint{flex:1;min-width:200px;font-size:12px;color:#64748b}.preview__sizer{display:flex;align-items:center;gap:7px}.preview__sizer-label{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.preview__sizer-value{min-width:42px;text-align:center;font-size:12.5px;font-weight:700;color:#0f172a}.width-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px}.width-field{display:flex;flex-direction:column;gap:4px}.width-field__label{font-size:11px;font-weight:650;letter-spacing:.05em;text-transform:uppercase;color:#475569}.width-field__row{display:flex;align-items:center;border:1px solid #cbd5e1;background:#f8fafc;border-radius:8px;overflow:hidden;height:34px;transition:all .12s ease}.width-field__row:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2f80ff1f;background:#fff}.width-field__step{width:28px;height:100%;border:0;background:#f1f5f9;color:#334155;font-size:16px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .12s ease}.width-field__step:hover{background:#e2e8f0;color:var(--primary)}.width-field__input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:#0f172a;font-size:13px;font-weight:700;text-align:center;padding:0 4px;-moz-appearance:textfield}.width-field__input::-webkit-outer-spin-button,.width-field__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.width-field__input:focus{outline:none}.field__note{margin:6px 0 0;font-size:11px;line-height:1.5;color:#64748b;word-break:break-word}.type-row{display:flex;align-items:center;gap:6px;margin-top:6px;max-width:100%;box-sizing:border-box}.type-row__value{min-width:42px;text-align:center;font-size:12px;font-weight:700;color:#0f172a}.type-row__gap{flex:1}.chip--sq{width:30px;padding:5px 0;text-align:center;border-radius:8px;flex:none}.linkish{background:none;border:0;padding:0;color:#22c55e;font:inherit;text-decoration:underline;cursor:pointer}.linkish:hover{color:#4ade80}.colour-input{width:40px;height:30px;padding:0;border:1px solid var(--border-soft);border-radius:var(--radius-sm);background:transparent;cursor:pointer}.colour-input::-webkit-color-swatch-wrapper{padding:3px}.colour-input::-webkit-color-swatch{border:0;border-radius:5px}.preview__clip{display:flex;flex-direction:column;gap:7px}.preview__clip-head{font-weight:600}.preview__clip-list{font-size:12.5px}.preview__clip-list b{color:var(--danger)}.preview__clip-why{font-size:11.5px;opacity:.75;line-height:1.55}.preview__clip-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}.preview__grid{display:grid;gap:26px 20px;justify-content:center;align-items:start;width:100%}.group-card{flex:none;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm);overflow:hidden}.group-card+.group-card{margin-top:-14px}.group-card:has(.group-card__body){box-shadow:var(--shadow-md)}.group-card__head{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;background:none;border:0;color:var(--text);cursor:pointer;text-align:left}.group-card__head:hover{background:var(--card-hi)}.group-card__icon{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:var(--radius-sm);background:var(--primary-tint);color:var(--primary)}.group-card__text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.group-card__title{font-size:13px;font-weight:600;color:var(--text)}.group-card__summary{font-size:11.5px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-card__body{padding:12px 12px 16px;border-top:1px solid var(--border);background:var(--card-hi)}.item__details{margin:4px 0 10px;box-shadow:none}.item__details .group-card__body{max-height:420px;overflow-y:auto}.modal.modal--proof{width:min(1240px,96vw);max-height:94vh}.modal__proof{display:grid;grid-template-columns:570px minmax(320px,1fr);gap:24px;align-items:start;padding:20px 24px;background:#f1f5f9;overflow-y:auto}.modal__proof-page{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px;border-radius:var(--radius);background:#cbd5e1;box-shadow:inset 0 2px 6px #00000014}.modal__proof-scale{width:556px;height:786px;overflow:hidden;border:1.5px solid #475569;border-radius:4px;box-shadow:0 16px 36px #00000038;background:#fff;position:relative}.modal__proof-scale>.sheet{transform:scale(.7);transform-origin:top left;width:794px;min-height:1123px}.modal__proof-caption{text-align:center;font-size:11.5px;letter-spacing:.06em;font-weight:600;text-transform:uppercase;color:#475569}.modal__tools{min-width:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px 18px;box-shadow:var(--shadow-sm);max-height:820px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}@media(max-width:1200px){.modal__proof{grid-template-columns:minmax(0,1fr)}.modal__proof-scale{width:100%;max-width:556px}.modal__tools{max-height:none}}.modal__proof-note{max-width:556px;margin-bottom:2px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--card);border:1px solid var(--border);line-height:1.6}.modal__proof-note.note--warn{border-color:#b4530959;background:#b453090f}.sheet__half-empty{display:grid;place-items:center;height:100%;color:#b6bcc4;font-family:Inter,sans-serif;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.half-actions{display:flex;gap:8px;margin-top:10px}.half-action{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;padding:9px 6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--card);color:var(--dim);cursor:pointer;font-size:11px;font-weight:600;letter-spacing:.04em;transition:border-color .14s ease,color .14s ease,background .14s ease}.half-action:hover{border-color:var(--primary-line);color:var(--primary);background:var(--primary-tint)}.half-action--on{border-color:var(--primary);color:var(--primary);background:var(--primary-tint)}.btn--blocked{opacity:.5;cursor:not-allowed;filter:grayscale(.35)}.btn--blocked:hover{filter:grayscale(.35)}.input--invalid{border-color:var(--danger);background:var(--danger-tint)}.input--invalid:focus{border-color:var(--danger)}.icon-btn:disabled{opacity:.32;cursor:not-allowed}.icon-btn:disabled:hover{background:none}.history-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--card);color:var(--dim);font-size:12px;font-weight:500;cursor:pointer;transition:border-color .14s ease,color .14s ease,background .14s ease}.history-btn:hover:not(:disabled){border-color:var(--primary-line);color:var(--primary);background:var(--primary-tint)}.history-btn:disabled{opacity:.4;cursor:not-allowed}.total-box{margin-top:14px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--card-hi)}.total-box__value{display:flex;align-items:center;gap:12px}.total-box__value .field__label{margin:0;white-space:nowrap}.total-box__input{width:96px;font-weight:700;font-size:15px;text-align:center}.total-box__options{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.total-box__options .chip:disabled{opacity:.45;cursor:not-allowed}.home{min-height:100vh;background:var(--bg)}.home__bar{display:flex;align-items:center;gap:12px;padding:14px 32px;background:var(--card);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.home__mark{display:grid;place-items:center;width:30px;height:30px;border-radius:var(--radius-sm);background:var(--primary);color:#fff}.home__brand{font-size:15px;font-weight:700;letter-spacing:-.01em}.home__search{display:flex;align-items:center;gap:8px;margin-left:auto;padding:7px 12px;width:min(280px,40vw);border:1px solid var(--border);border-radius:999px;background:var(--bg-subtle);color:var(--faint)}.home__search:focus-within{border-color:var(--primary-line);background:var(--card)}.home__search input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:13px;color:var(--text)}.home__main{max-width:1080px;margin:0 auto;padding:40px 32px 80px}.home__greet h1{font-size:30px;font-weight:800;letter-spacing:-.025em;margin:0}.home__greet p{margin:6px 0 0;font-size:14px;color:var(--faint)}.resume{margin-top:26px;padding:16px;border:1px solid var(--primary-line);border-radius:var(--radius);background:var(--primary-tint)}.resume__label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}.resume__row{display:flex;align-items:center;gap:14px;margin-top:12px}.resume__icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:var(--radius-sm);background:var(--card);color:var(--primary);border:1px solid var(--primary-line)}.resume__text{flex:1;min-width:0}.resume__title{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resume__meta{font-size:12.5px;color:var(--dim);margin-top:2px}.resume__arrow{display:inline-flex;transform:rotate(180deg)}.tools{margin-top:38px}.tools__head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.tools__head h2{font-size:17px;font-weight:700;margin:0}.tools__filters{display:flex;gap:6px;flex-wrap:wrap}.tools__empty{font-size:14px;color:var(--faint)}.tools__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(268px,1fr));gap:16px}.tool{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px;text-align:left;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.tool:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--border-soft)}.tool__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:var(--radius-sm);margin-bottom:2px}.tool--indigo .tool__icon{background:#2f80ff1a;color:#2f80ff}.tool--green .tool__icon{background:#16a34a1a;color:#16a34a}.tool--amber .tool__icon{background:#d977061a;color:#d97706}.tool--rose .tool__icon{background:#e11d4817;color:#e11d48}.tool--cyan .tool__icon{background:#0891b21a;color:#0891b2}.tool__name{font-size:14.5px;font-weight:700;line-height:1.35}.tool__blurb{font-size:12.5px;color:var(--faint);line-height:1.6}.tool__foot{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:10px;font-size:11px}.tool__status{font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}.tool__status--live{color:var(--green-strong)}.tool__status--live:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--green);vertical-align:middle}.tool__subject{margin-left:auto;color:var(--faint)}.tool--soon{cursor:default;box-shadow:none;background:var(--bg-subtle)}.tool--soon .tool__icon{filter:grayscale(1);opacity:.55}.tool--soon .tool__name{color:var(--dim)}.topbar__back{display:inline-flex;align-items:center;gap:6px;margin-right:4px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--card);color:var(--dim);font-size:12.5px;font-weight:600;cursor:pointer}.topbar__back:hover{border-color:var(--primary-line);color:var(--primary);background:var(--primary-tint)}@media(max-width:700px){.home__bar{padding:12px 16px}.home__main{padding:28px 16px 60px}.home__greet h1{font-size:24px}}.chem{min-height:100vh;background:var(--bg)}.chem__modules{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}.chem__module{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--border);font-size:12px;color:var(--faint)}.chem__module--on{border-color:var(--green-line);background:var(--green-tint);color:var(--green-strong);font-weight:600}.chem__module em{font-style:normal;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;opacity:.7}.chem__main{max-width:1080px;margin:0 auto;padding:28px 32px 70px}.prep{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.prep__panel,.prep__result{padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm)}.prep__result{position:sticky;top:88px}.prep__heading{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--faint);margin:0 0 12px;display:flex;align-items:center;gap:10px}.prep__heading--rule{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.prep__presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.prep__headline{display:flex;align-items:baseline;gap:10px}.prep__number{font-size:44px;font-weight:800;letter-spacing:-.03em;color:var(--green-strong);line-height:1}.prep__unit{font-size:15px;font-weight:600;color:var(--dim)}.prep__sub{margin:8px 0 0;font-size:13px;color:var(--faint)}.prep__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0}.prep__facts dt{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}.prep__facts dd{margin:3px 0 0;font-size:14px;font-weight:600}.prep__steps{margin:0 0 14px;padding-left:20px}.prep__steps li{font-size:13px;line-height:1.75;color:var(--dim)}@media(max-width:900px){.prep{grid-template-columns:minmax(0,1fr)}.prep__result{position:static}.chem__main{padding:20px 16px 60px}}@media(max-width:640px){.grid-2,.grid-3,.width-grid,.prep__facts{grid-template-columns:minmax(0,1fr)!important}.grid-2>*,.grid-3>*{min-width:0}.modal-backdrop{padding:0}.modal{border-radius:0;width:100%;max-height:100%;height:100%}.modal__head{flex-wrap:wrap;gap:10px;padding:14px 16px}.modal__head-actions{width:100%;justify-content:flex-end}.modal__body{padding:16px}.modal__foot{flex-wrap:wrap;gap:8px;padding:12px 16px}.modal__foot>*{flex:1 1 auto}.modal__foot .btn{width:100%;justify-content:center}.q-head{display:none}.q-row,.q-row--sub{grid-template-columns:56px minmax(0,1fr)!important;gap:8px;padding:12px 0}.q-row>input:first-child{grid-column:1}.q-row>textarea{grid-column:2}.q-row>input:not(:first-child){grid-column:2}.q-row__ctl{grid-column:2;justify-content:flex-end}.q-row--sub{padding-left:14px}.part-block{padding:12px}.part-block__head{flex-wrap:wrap}.part-block__head input{max-width:none!important;width:100%}.modal__proof{grid-template-columns:minmax(0,1fr)}.modal__proof-page{padding:8px}.modal__proof-scale{width:100%;max-width:100%;height:auto;aspect-ratio:794 / 1123}.modal__proof-scale>.sheet{transform:scale(.42)}.modal__tools{max-height:none}.icon-btn{min-width:34px;min-height:34px}.segmented__btn{min-height:38px}.chip{padding:8px 13px}.prep__panel,.prep__result{padding:16px}.prep__number{font-size:36px}.toast{inset:14px 12px auto;transform:none;justify-content:center;text-align:center;border-radius:var(--radius)}}.flutter-ui{display:flex;flex-direction:column;height:calc(100vh - 54px);width:100%;max-width:100vw;overflow:hidden!important;overflow-x:hidden!important;background:#f8fafc;position:relative;box-sizing:border-box}.flutter-ui--fullscreen .flutter-preview-pane{height:100%!important;flex:1!important}.flutter-ui--fullscreen .flutter-tools-pane{display:none!important}.flutter-preview-pane{flex:1;min-height:0;width:100%;max-width:100vw;background:#f1f5f9;display:flex;flex-direction:column;overflow:hidden!important;overflow-x:hidden!important;overflow-y:hidden!important;position:relative;box-sizing:border-box}.flutter-preview-bar{display:flex;align-items:center;justify-content:space-between;padding:6px 14px;background:#fff;border-bottom:1px solid #e2e8f0;z-index:10;flex:none;width:100%;box-sizing:border-box}.flutter-preview-bar__title{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:750;color:#0f172a}.flutter-icon-btn{display:inline-flex;align-items:center;justify-content:center;position:relative;width:32px;height:32px;min-width:32px;padding:0;border-radius:8px;background:#f8fafc;border:1px solid #cbd5e1;color:#475569;cursor:pointer;transition:all .14s ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.flutter-icon-btn:hover{background:#f1f5f9;color:#0f172a;border-color:#94a3b8}.flutter-icon-btn--active{background:#eaf2ff;border-color:#2f80ff;color:#2f80ff;box-shadow:0 0 0 2px #2f80ff2e}.flutter-indicator-dot{position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:#94a3b8;transition:all .14s ease}.flutter-indicator-dot--on{background:#10b981;box-shadow:0 0 6px #10b981cc}.flutter-paper-pager{display:inline-flex;align-items:center;gap:2px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:2px 3px;height:32px;box-sizing:border-box}.flutter-pager-arrow{display:flex;align-items:center;justify-content:center;width:22px;height:24px;border-radius:5px;border:none;background:transparent;color:#475569;cursor:pointer;transition:all .12s ease;padding:0}.flutter-pager-arrow:disabled{opacity:.25;cursor:default}.flutter-pager-arrow:not(:disabled):hover{background:#e2e8f0;color:#0f172a}.flutter-pager-text{font-size:11px;font-weight:800;color:#334155;padding:0 4px;-webkit-user-select:none;user-select:none}.flutter-preview-bar__actions{display:flex;align-items:center;gap:6px}.flutter-swipe-dots{position:absolute;bottom:8px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:5px;padding:3px 8px;background:#0f172a8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:12px;z-index:10}.flutter-swipe-dot{width:6px;height:6px;border-radius:50%;border:none;padding:0;background:#fff6;cursor:pointer;transition:all .14s ease}.flutter-swipe-dot--active{background:#fff;width:14px;border-radius:4px}.flutter-canvas{flex:1;width:100%;max-width:100vw;overflow:hidden!important;overflow-x:hidden!important;overflow-y:hidden!important;display:flex;align-items:center;justify-content:center;padding:8px 12px;background:radial-gradient(#cbd5e1 1px,transparent 1px);background-size:16px 16px;background-color:#f1f5f9;box-sizing:border-box}.flutter-sheet-wrapper{box-shadow:0 16px 36px -8px #0f172a33,0 3px 10px #0f172a0f;border-radius:3px;background:#fff;overflow:hidden!important;position:relative;flex:none;box-sizing:border-box}.flutter-empty-preview{text-align:center;padding:30px 20px;color:#64748b;font-size:13px}.flutter-tools-pane{background:#fff;display:flex;flex-direction:column;flex:none;z-index:20}.flutter-sheet-header{display:none;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #e2e8f0;background:#fff;flex:none}.flutter-sheet-title{font-size:14px;font-weight:800;color:#0f172a}.flutter-sheet-close{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:#64748b;font-size:14px;background:#f1f5f9}.flutter-tabs{display:grid;grid-template-columns:repeat(4,1fr);width:100%;background:#fff;border-top:1px solid #e2e8f0;padding:4px 6px;flex:none;box-shadow:0 -2px 10px #0000000a}.flutter-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 2px;background:none;border:none;border-radius:8px;color:#64748b;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap;transition:all .14s ease;min-width:0}.flutter-tab:hover{color:#0f172a;background:#f8fafc}.flutter-tab--active{color:#2f80ff;background:#eaf2ff}.flutter-tab-content{overflow-y:auto;padding:14px 14px 28px;display:none;width:100%;box-sizing:border-box}.flutter-tab-body{display:flex;flex-direction:column;gap:12px;width:100%;max-width:100%;margin:0 auto;box-sizing:border-box}.flutter-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;box-shadow:0 1px 3px #0000000a;width:100%;box-sizing:border-box}.flutter-card__head{margin-bottom:8px}.flutter-card__title{display:block;font-size:13px;font-weight:800;color:#0f172a}.flutter-card__sub{display:block;font-size:11px;color:#64748b;margin-top:2px}.flutter-tab-form{display:flex;flex-direction:column;gap:10px;width:100%;box-sizing:border-box}.flutter-header-toggle-row{display:flex;align-items:center;gap:10px;width:100%}.flutter-segmented--compact{flex:none;width:160px}.flutter-grid-degree-subject{display:grid;grid-template-columns:35% 1fr;gap:8px;width:100%;box-sizing:border-box}.flutter-checks-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%}.flutter-check-field-group{display:flex;flex-direction:column;gap:6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;box-sizing:border-box}.flutter-checkbox-label{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:750;color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none}.flutter-checkbox-label input[type=checkbox]{width:15px;height:15px;accent-color:#2f80ff;cursor:pointer}.flutter-input--sm{padding:5px 8px;font-size:12px}.flutter-input:disabled{opacity:.45;background:#f1f5f9;cursor:not-allowed;border-color:#cbd5e1}.flutter-btn-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;box-sizing:border-box;margin:10px 0}.flutter-trio-btn{display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 6px;font-size:11.5px;font-weight:750;border-radius:8px;border:none;cursor:pointer;white-space:nowrap;transition:all .14s ease;box-shadow:0 1px 2px #00000014;min-width:0}.flutter-trio-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.flutter-trio-btn:active{transform:translateY(0)}.flutter-trio-btn--upload{background:linear-gradient(135deg,#3730a3,#2f80ff);color:#fff}.flutter-trio-btn--paste{background:linear-gradient(135deg,#047857,#059669);color:#fff}.flutter-trio-btn--create{background:linear-gradient(135deg,#6d28d9,#7c3aed);color:#fff}.clean-paper-editor{width:100%;max-width:780px;height:100%;overflow-y:auto;padding:12px 10px 85px;box-sizing:border-box;margin:0 auto}.clean-editor-top-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:8px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 3px #0000000a}.clean-editor-top-info{display:flex;flex-direction:column;gap:2px}.clean-editor-title{font-size:13px;font-weight:800;color:#0f172a}.clean-editor-summary{font-size:11px;font-weight:600;color:#64748b}.clean-accordion-card{padding:10px 14px}.clean-accordion-head-btn{width:100%;display:flex;justify-content:space-between;align-items:center;background:transparent;border:none;padding:0;cursor:pointer;text-align:left}.clean-accordion-pill{font-size:11.5px;font-weight:750;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;padding:4px 10px;border-radius:9999px;transition:all .14s ease;line-height:1}.clean-accordion-head-btn:hover .clean-accordion-pill,.clean-accordion-pill--open{background:#ede9fe;color:#2f80ff;border-color:#c7d2fe}.clean-header-summary-list{margin-top:10px;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:6px}.clean-header-summary-row{display:flex;align-items:baseline;gap:8px;font-size:12.5px}.clean-header-summary-label{font-weight:750;color:#475569;min-width:90px;flex:none;font-size:12px}.clean-header-summary-val{font-weight:650;color:#0f172a;word-break:break-word}.editor-accordion__arrow--open{transform:rotate(90deg);color:#2f80ff}.editor-accordion__title{font-size:12.5px;font-weight:800;color:#0f172a}.editor-accordion__hint{font-size:11px;font-weight:700;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:9999px}.editor-accordion__body{padding:12px 14px 14px;background:#fafafa;border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:10px}.clean-settings-toggle-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:750;color:#475569;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer;transition:all .14s ease}.clean-settings-toggle-btn:hover{background:#e2e8f0;color:#0f172a}.clean-settings-toggle-btn--active{background:#2f80ff;color:#fff;border-color:#1f6fe5}.clean-settings-panel{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:12px 14px;margin-bottom:12px;box-shadow:0 2px 8px #0000000a}.clean-settings-head{display:flex;flex-direction:column;gap:2px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.clean-settings-title{font-size:12.5px;font-weight:800;color:#0f172a}.clean-settings-subtitle{font-size:11px;color:#64748b}.clean-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:600px){.clean-settings-grid{grid-template-columns:1fr;gap:8px}}.clean-settings-group{display:flex;flex-direction:column;gap:6px}.clean-settings-group-label{font-size:10.5px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.03em}.clean-settings-checkboxes{display:flex;flex-direction:column;gap:5px}.clean-checkbox-label{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#1e293b;cursor:pointer;background:#fff;padding:6px 8px;border-radius:6px;border:1px solid #e2e8f0;transition:all .12s ease}.clean-checkbox-label:hover{background:#f1f5f9;border-color:#cbd5e1}.clean-checkbox-label input[type=checkbox]{margin-top:2px;cursor:pointer;accent-color:#2f80ff}.clean-checkbox-text{display:flex;flex-direction:column;gap:1px}.clean-checkbox-text strong{font-size:12px;font-weight:750;color:#0f172a}.clean-checkbox-text small{font-size:10.5px;color:#64748b}.clean-sheet-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px 18px;box-shadow:0 4px 16px #0000000d;display:flex;flex-direction:column;gap:16px;box-sizing:border-box}.clean-part-section{display:flex;flex-direction:column;gap:8px}.clean-part-header{display:flex;align-items:center;gap:8px;padding-bottom:6px;border-bottom:1.5px solid #0f172a;flex-wrap:nowrap}.clean-part-label{font-size:13.5px;font-weight:850;color:#0f172a;text-transform:uppercase;border:none;background:transparent;outline:none;width:85px;flex:none;padding:2px 0;letter-spacing:.02em}.clean-header-dot{font-weight:900;color:#94a3b8;flex:none}.clean-part-instruction{font-size:12.5px;font-weight:600;font-style:italic;color:#334155;border:none;background:transparent;outline:none;flex:1;min-width:120px;padding:2px 0}.clean-part-formula{font-size:12px;font-weight:750;color:#0f172a;border:none;background:transparent;outline:none;width:95px;text-align:right;flex:none;padding:2px 0}.clean-del-part-btn{border:none;background:transparent;color:#94a3b8;font-size:14px;font-weight:700;cursor:pointer;padding:2px 6px;border-radius:4px;line-height:1;transition:all .12s ease}.clean-del-part-btn:hover{color:#ef4444;background:#fee2e2}.clean-q-list{display:flex;flex-direction:column;gap:4px}.clean-q-wrapper{display:flex;flex-direction:column;gap:2px}.clean-or-line{text-align:center;font-size:11px;font-weight:800;color:#2f80ff;padding:4px 0;letter-spacing:.04em}.clean-q-row{display:flex;align-items:flex-start;gap:6px;padding:5px 4px;border-bottom:1px solid #f1f5f9;border-radius:6px;transition:background .12s ease}.clean-q-row:hover,.clean-q-row:focus-within{background:#f8fafc}.clean-q-num-box{display:flex;align-items:baseline;flex:none;width:26px}.clean-q-num{width:20px;font-size:13px;font-weight:800;color:#0f172a;text-align:right;border:none;background:transparent;outline:none;padding:0}.clean-q-num-dot{font-size:13px;font-weight:800;color:#0f172a;margin-left:1px}.clean-q-text-wrap{flex:1;min-width:120px}.clean-q-text{width:100%;font-size:11.5px;line-height:1.45;color:#0f172a;border:1px solid transparent;border-radius:4px;background:transparent;outline:none;padding:3px 5px;margin:0;resize:vertical;min-height:42px;font-family:inherit;box-sizing:border-box;transition:all .12s ease}.clean-q-text:focus{border-color:#cbd5e1;background:#fff;box-shadow:0 1px 3px #0000000d}.clean-q-meta-group{display:flex;align-items:center;gap:4px;flex:none}.clean-meta-item{background:#f1f5f9;border-radius:4px;padding:2px 4px;display:flex;align-items:center}.clean-meta-input{width:36px;font-size:11px;font-weight:700;text-align:center;color:#475569;border:none;background:transparent;outline:none;padding:0}.clean-meta-input:focus{color:#2f80ff;font-weight:800}.clean-q-actions{display:flex;align-items:center;gap:2px;flex:none;opacity:.45;transition:opacity .12s ease}.clean-q-row:hover .clean-q-actions,.clean-q-row:focus-within .clean-q-actions{opacity:1}.clean-action-chip{padding:2px 5px;font-size:10px;font-weight:750;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:4px;cursor:pointer;line-height:1;display:inline-flex;align-items:center;justify-content:center;transition:all .12s ease}.clean-action-chip:hover{background:#f1f5f9;border-color:#94a3b8}.clean-action-chip:disabled{opacity:.3;cursor:not-allowed}.clean-action-chip--active{color:#fff;background:#2f80ff;border-color:#1f6fe5}.clean-action-chip--del{color:#ef4444;border-color:#fecaca;background:#fef2f2}.clean-action-chip--del:hover{background:#fee2e2}.clean-inline-q-settings{display:inline-flex;align-items:center;gap:3px;background:#f8fafc;border:1px solid #cbd5e1;padding:1px 3px;border-radius:5px}.clean-subs-container{display:flex;flex-direction:column;gap:4px;padding-left:32px;margin-top:2px}.clean-sub-row{display:flex;align-items:flex-start;gap:6px;padding:3px 4px;border-bottom:1px dashed #f1f5f9;border-radius:4px}.clean-sub-row:hover,.clean-sub-row:focus-within{background:#f8fafc}.clean-sub-prefix{font-size:12.5px;font-weight:750;color:#334155;flex:none}.clean-sub-text{flex:1;font-size:11px;line-height:1.4;color:#0f172a;border:1px solid transparent;border-radius:4px;background:transparent;outline:none;padding:2px 4px;resize:vertical;min-height:34px;font-family:inherit;box-sizing:border-box}.clean-sub-text:focus{border-color:#cbd5e1;background:#fff}.clean-sub-marks{width:36px;font-size:11px;font-weight:700;text-align:center;color:#475569;border:none;background:#f1f5f9;border-radius:4px;padding:2px 4px;outline:none;flex:none}.clean-add-q-line{padding-top:4px}.clean-text-add-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:11.5px;font-weight:750;color:#2f80ff;background:transparent;border:none;cursor:pointer;border-radius:6px;transition:all .12s ease}.clean-text-add-btn:hover{background:#f5f3ff;color:#3730a3}.clean-add-part-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;font-size:12.5px;font-weight:750;color:#2f80ff;background:#f5f3ff;border:1px dashed #c7d2fe;border-radius:8px;cursor:pointer;transition:all .14s ease}.clean-add-part-btn:hover{background:#ede9fe;border-color:#a5b4fc}.clean-paper-switcher-bar{display:flex;align-items:center;gap:6px;margin-bottom:12px;background:#f1f5f9;padding:4px;border-radius:8px;border:1px solid #e2e8f0}.clean-paper-tab{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;font-size:12px;font-weight:750;color:#64748b;background:transparent;border:none;border-radius:6px;cursor:pointer;transition:all .12s ease}.clean-paper-tab:hover{color:#1e293b;background:#ffffff80}.clean-paper-tab--active{color:#2f80ff;background:#fff;box-shadow:0 1px 3px #00000014}.clean-paper-tab-close{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;font-size:10px;color:#94a3b8;margin-left:2px}.clean-paper-tab-close:hover{background:#fee2e2;color:#ef4444}.clean-table-top-actions{display:flex;align-items:center;gap:8px;margin-bottom:10px}.clean-quick-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;font-size:11.5px;font-weight:700;border-radius:6px;cursor:pointer;transition:all .12s ease}.clean-quick-btn--upload{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.clean-quick-btn--upload:hover{background:#dbeafe}.clean-quick-btn--paste{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.clean-quick-btn--paste:hover{background:#d1fae5}.clean-add-new-qp-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;font-size:13px;font-weight:800;color:#047857;background:#ecfdf5;border:1.5px dashed #6ee7b7;border-radius:10px;cursor:pointer;transition:all .14s ease;box-shadow:0 1px 2px #0596690d}.clean-add-new-qp-btn:hover{background:#d1fae5;border-color:#34d399;transform:translateY(-1px)}.flutter-review-settings-popover{position:absolute;top:12px;right:12px;z-index:70;width:320px;max-width:calc(100% - 24px);background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:12px 14px;box-shadow:0 10px 25px -4px #0000002e,0 4px 10px -2px #00000014;animation:flutterPopoverFadeIn .14s ease-out}@keyframes flutterPopoverFadeIn{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.flutter-review-settings-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.flutter-review-settings-title{font-size:13px;font-weight:800;color:#0f172a}.flutter-review-settings-close{border:none;background:transparent;color:#64748b;font-size:14px;font-weight:700;cursor:pointer;padding:2px 6px;border-radius:4px;line-height:1}.flutter-review-settings-close:hover{background:#f1f5f9;color:#0f172a}.flutter-review-settings-body{display:flex;flex-direction:column;gap:8px}.flutter-review-settings-section{display:flex;flex-direction:column;gap:5px}.flutter-review-settings-label{font-size:10.5px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.03em}.flutter-review-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.flutter-review-checkbox-item{display:flex;align-items:flex-start;gap:7px;background:#f8fafc;padding:6px 8px;border-radius:6px;border:1px solid #e2e8f0;cursor:pointer;transition:all .12s ease}.flutter-review-checkbox-item:hover{background:#f1f5f9;border-color:#cbd5e1}.flutter-review-checkbox-item input[type=checkbox]{margin-top:2px;cursor:pointer;accent-color:#2f80ff}.flutter-review-checkbox-text{display:flex;flex-direction:column;gap:1px}.flutter-review-checkbox-text strong{font-size:11.5px;font-weight:750;color:#0f172a;line-height:1.2}.flutter-review-checkbox-text small{font-size:10px;color:#64748b;line-height:1.2}.flutter-fab{position:absolute;bottom:20px;right:20px;z-index:60;display:flex;align-items:center;gap:7px;padding:10px 18px;border-radius:9999px;border:none;font-size:13.5px;font-weight:800;cursor:pointer;box-shadow:0 10px 25px -3px #00000040,0 4px 6px -2px #00000026;transition:all .18s cubic-bezier(.4,0,.2,1);letter-spacing:.01em}.flutter-fab:hover{transform:translateY(-2px) scale(1.04);filter:brightness(1.08);box-shadow:0 14px 28px -4px #0000004d,0 6px 8px -3px #0000002e}.flutter-fab:active{transform:translateY(0) scale(.98)}.flutter-fab--review{background:linear-gradient(135deg,#047857,#10b981);color:#fff}.flutter-fab--edit{background:linear-gradient(135deg,#3730a3,#5b9dff);color:#fff}.flutter-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;box-sizing:border-box}.flutter-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;width:100%;box-sizing:border-box}.flutter-field{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0;box-sizing:border-box}.flutter-field__label{font-size:10.5px;font-weight:750;color:#475569;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flutter-input{width:100%;min-width:0;box-sizing:border-box;padding:7px 9px;border-radius:8px;border:1px solid #cbd5e1;font-size:12.5px;color:#0f172a;background:#f8fafc;outline:none;transition:all .14s ease}.flutter-input::placeholder,input::placeholder,textarea::placeholder{color:#94a3b8!important;opacity:.28!important}.flutter-input:focus{border-color:#2f80ff;background:#fff;box-shadow:0 0 0 3px #2f80ff26}.flutter-segmented{display:flex;background:#f1f5f9;padding:3px;border-radius:8px;border:1px solid #e2e8f0;gap:4px}.flutter-seg-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;border-radius:6px;border:none;background:transparent;color:#64748b;font-size:12px;font-weight:700;cursor:pointer;transition:all .14s ease}.flutter-seg-btn--active{background:#fff;color:#2f80ff;box-shadow:0 2px 5px #00000014}.flutter-summary-banner{display:flex;gap:10px;padding:8px 12px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;font-size:12px;font-weight:750;color:#15803d;margin-top:8px}.flutter-stat-card{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.flutter-stat-card__val{font-size:20px;font-weight:850;color:#0f172a}.flutter-stat-card__label{font-size:11px;font-weight:700;color:#64748b;margin-top:2px}@media(max-width:900px){.topbar{padding:6px 12px;height:42px;min-height:42px}.topbar__desktop-only{display:none!important}.topbar__back{font-size:13px;font-weight:700}.flutter-ui{height:calc(100dvh - 42px);max-height:calc(100dvh - 42px);overflow:hidden;position:relative}.flutter-preview-pane{padding-bottom:56px;overflow:hidden;height:100%}.flutter-backdrop{position:fixed;inset:0;background:#0f172a73;z-index:105;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.flutter-tabs{position:fixed!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:54px!important;padding:2px 4px!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;margin:0!important;z-index:9999!important;background:#fff!important;border-top:1px solid #e2e8f0!important;box-shadow:0 -2px 10px #0000000f!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;transform:none!important;transition:none!important;animation:none!important;box-sizing:border-box!important}.flutter-tools-pane--open{position:fixed;bottom:54px;left:0;right:0;height:auto;max-height:82vh;border-top-left-radius:18px;border-top-right-radius:18px;box-shadow:0 -12px 40px #0f172a47;border-top:1px solid #cbd5e1;z-index:110;display:flex;flex-direction:column;background:#fff;animation:flutterSheetSlideUp .24s cubic-bezier(.16,1,.3,1) forwards}.flutter-tools-pane--open .flutter-sheet-header{display:flex}.flutter-tools-pane--open .flutter-tab-content{display:block;flex:1 1 auto;max-height:calc(82vh - 54px);overflow-y:auto}}@keyframes flutterSheetSlideUp{0%{transform:translateY(100%);opacity:.6}to{transform:translateY(0);opacity:1}}@media(min-width:901px){.flutter-ui{display:flex;flex-direction:row;height:calc(100vh - 54px);padding-bottom:54px;box-sizing:border-box}.flutter-preview-pane{flex:0 0 54%;height:100%;border-bottom:none;border-right:2px solid #cbd5e1;padding-bottom:0}.flutter-tools-pane{flex:0 0 46%;height:100%;display:flex;flex-direction:column;overflow-y:auto;border-top:none;box-shadow:none}.flutter-tab-content{display:block!important;flex:1}.flutter-sheet-header{display:none!important}}.flutter-export-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .14s ease;-webkit-user-select:none;user-select:none}.flutter-export-item:hover{background:#f1f5f9;border-color:#cbd5e1}.flutter-export-item--active{background:#eff6ff;border-color:#5b9dff}.flutter-export-title{font-size:13px;font-weight:750;color:#0f172a;display:block}.flutter-export-meta{font-size:11px;color:#64748b;display:block;margin-top:2px}.flutter-preview-bar__left{display:flex;align-items:center;gap:8px;min-width:0}.flutter-segmented--sm{flex:none}.flutter-segmented--sm .flutter-seg-btn{padding:5px 8px;font-size:11.5px;white-space:nowrap}.flutter-item-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.flutter-item-tile{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .14s ease,background .14s ease}.flutter-item-tile__info{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.flutter-item-tile__num{flex:none;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11.5px;font-weight:800}.flutter-item-tile--active .flutter-item-tile__num{background:#2f80ff;color:#fff}.flutter-item-tile__text{display:flex;flex-direction:column;gap:2px;min-width:0}.flutter-item-tile__title{font-size:13px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flutter-item-tile__meta{font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flutter-item-tile__actions{display:flex;align-items:center;gap:4px;flex:none}@media(max-width:520px){.clean-part-header{flex-wrap:wrap;row-gap:4px}.clean-part-instruction{flex:1 0 100%;min-width:0;order:3}.clean-header-dot{display:none}}.flutter-card__title,.clean-settings-title,.flutter-tab-title{display:flex;align-items:center;gap:7px}.flutter-card__title>svg,.clean-settings-title>svg,.flutter-tab-title>svg{flex:none;color:#64748b}.flutter-btn>svg,.flutter-seg-btn>svg,.flutter-empty>svg,.flutter-summary-banner svg,.flutter-export-row svg{flex:none;vertical-align:-2px}.clean-quick-btn--upload,.clean-quick-btn--paste{background:#fff;color:#475569;border:1px solid #cbd5e1;border-radius:8px;padding:6px 11px}.clean-quick-btn--upload:hover,.clean-quick-btn--paste:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.clean-action-chip{padding:4px 7px;border-radius:7px;color:#64748b}.clean-action-chip--del{color:#64748b;border-color:#cbd5e1;background:#fff}.clean-action-chip:hover{border-color:#94a3b8;color:#0f172a}.clean-action-chip--del:hover{color:#dc2626;border-color:#fca5a5;background:#fef2f2}.clean-del-part-btn{color:#94a3b8;font-size:15px;line-height:1;padding:4px 6px;border-radius:7px;border:1px solid transparent;background:transparent;cursor:pointer;transition:all .12s ease}.clean-del-part-btn:hover{color:#dc2626;border-color:#fca5a5;background:#fef2f2}.clean-q-text,.clean-sub-text,.clean-part-instruction{resize:none}.flutter-input,.clean-input,input[type=text],input[type=number],select,textarea{border-radius:12px;border:1px solid #e3e9f2;background:#fff}.flutter-input{min-height:44px;padding:11px 14px;font-size:13.5px}.flutter-input--sm{min-height:36px;padding:8px 11px}.flutter-input::placeholder,input::placeholder,textarea::placeholder{color:#a3aec0!important;opacity:1!important}.flutter-input:focus,input:focus,textarea:focus,select:focus{border-color:#2f80ff;background:#fff;box-shadow:0 0 0 3px #2f80ff24}.btn{border-radius:12px;padding:13px 16px;font-size:14px;font-weight:700;box-shadow:none;border-color:#e3e9f2}.btn--primary{background:#2f80ff;border-color:#2f80ff;box-shadow:none}.btn--primary:hover{background:#1f6fe5;border-color:#1f6fe5}.btn--sm{padding:9px 13px;font-size:13px;border-radius:10px}.flutter-card{border-radius:16px;border-color:#eaeef5;box-shadow:none;padding:14px 16px}.flutter-card__title{font-size:14px}.flutter-card__sub{font-size:12px;color:#7c8798;line-height:1.45}.flutter-tabs{padding:3px 6px max(3px,env(safe-area-inset-bottom))}.flutter-tab{gap:2px;padding:3px 2px;border-radius:12px;background:none}.flutter-tab--active{color:#2f80ff;background:none}.flutter-tab>svg{padding:3px 13px;border-radius:999px;box-sizing:content-box;transition:background .16s ease}.flutter-tab--active>svg{background:#eaf2ff}.flutter-sheet-title{font-size:17px;font-weight:800;letter-spacing:-.01em}.flutter-item-tile{border-radius:12px;border-color:#eaeef5}.flutter-item-tile--active{border-color:#2f80ff;background:#eaf2ff}.clean-quick-btn--upload,.clean-quick-btn--paste{border-radius:11px;border-color:#e3e9f2;padding:9px 14px;font-size:12.5px}.flutter-segmented{border-radius:12px;border-color:#e3e9f2;background:#eef2f7}.flutter-seg-btn{border-radius:9px}.qc-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.qc-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px 6px;border-radius:12px;border:1px solid transparent;font-size:12px;font-weight:700;cursor:pointer;text-align:center;transition:all .14s ease}.qc-action>svg{flex:none}.qc-action--upload{background:#eaf2ff;border-color:#cfe1ff;color:#1f6fe5}.qc-action--paste{background:#eefbf3;border-color:#c8ecd8;color:#0f8a4d}.qc-action--new{background:#fdf1e7;border-color:#f7ddc4;color:#c2620b}.qc-action:hover{filter:brightness(.97)}.qc-paste{margin-top:10px;display:flex;flex-direction:column;gap:8px}.qc-paste textarea{width:100%;min-height:150px;padding:12px;border-radius:12px;border:1px solid #e3e9f2;background:#fff;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;line-height:1.5;resize:vertical;outline:none;box-sizing:border-box}.qc-paste__row{display:flex;gap:8px}.qc-paste__row>.btn{flex:1}.qc-fab{position:absolute;right:16px;bottom:16px;z-index:20;display:inline-flex;align-items:center;gap:7px;padding:12px 18px;border:none;border-radius:999px;background:#2f80ff;color:#fff;font-size:13.5px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px #2f80ff57;transition:background .14s ease,transform .14s ease}.qc-fab:hover{background:#1f6fe5}.qc-fab:active{transform:scale(.97)}.clean-settings-close{position:absolute;top:10px;right:10px;width:30px;height:30px;display:grid;place-items:center;border-radius:999px;border:none;background:#f1f5f9;color:#64748b;cursor:pointer;transition:all .14s ease}.clean-settings-close:hover{background:#e2e8f0;color:#0f172a}.clean-settings-grid{display:flex;flex-direction:column;gap:16px;padding:16px 18px 18px}.clean-settings-group{display:flex;flex-direction:column;gap:9px}.clean-settings-group-label{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8a94a6}.clean-settings-group .clean-action-chip{gap:5px;padding:8px 13px;border-radius:999px;font-size:12px;font-weight:700;border-color:#e3e9f2;color:#64748b}.clean-settings-group .clean-action-chip--active{background:#eaf2ff;border-color:#2f80ff;color:#1f6fe5}.clean-settings-group .flutter-checkbox-label{display:flex;align-items:center;gap:9px;font-size:13px;color:#334155;cursor:pointer}.clean-settings-group .flutter-checkbox-label input{width:17px;height:17px;accent-color:#2f80ff}.qc-actions{grid-template-columns:repeat(2,1fr)}.qc-paste__hint{font-size:11.5px;color:#c2620b;line-height:1.4}.qc-next{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;padding:13px 16px;border-radius:12px;border:1px dashed #b9c6da;background:#fff;color:#46536b;font-size:13.5px;font-weight:700;cursor:pointer;transition:all .14s ease}.qc-next:hover{border-color:#2f80ff;color:#1f6fe5;background:#f7faff}.qc-intake{width:100%;max-width:520px;margin:0 auto;padding:20px 16px 28px;align-self:center}.qc-intake .qc-paste textarea{min-height:200px}.qc-papers{display:flex;align-items:center;gap:7px;padding:8px 12px;overflow-x:auto;background:#fff;border-bottom:1px solid #eaeef5;flex:none}.qc-paper{display:inline-flex;align-items:center;gap:7px;flex:none;max-width:190px;padding:7px 12px;border-radius:999px;border:1px solid #e3e9f2;background:#fff;color:#55617a;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .14s ease}.qc-paper__n{flex:none;width:19px;height:19px;display:grid;place-items:center;border-radius:999px;background:#eef2f7;color:#64748b;font-size:11px;font-weight:800}.qc-paper__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qc-paper--active{border-color:#2f80ff;background:#eaf2ff;color:#1f6fe5}.qc-paper--active .qc-paper__n{background:#2f80ff;color:#fff}.qc-paper--add{padding:8px;color:#7c8798}.qc-paper--add:hover{border-color:#2f80ff;color:#2f80ff;background:#f7faff}.sheet{--fs: 14.6px;--ink: #000000;--rule: #000000;--muted: #000000;width:794px;height:1123px;background:#fff;color:#000;font-family:Times New Roman,Times,Georgia,serif;--fit: 1;--pm-top: 42px;--pm-right: 46px;--pm-bottom: 42px;--pm-left: 46px;--cp-top: 5px;--cp-right: 7px;--cp-bottom: 5px;--cp-left: 7px;--cut-display: block;--off-header-x: 0px;--off-header-y: 0px;--off-body-x: 0px;--off-body-y: 0px;--row-min-h: 0px;--lh: 1.36;--part-fs: 1;--part-weight: bold;--part-style: normal;--instr-fs: 1;--instr-weight: bold;--instr-style: normal;font-size:calc(var(--fs) * var(--fit));line-height:var(--lh);padding:calc(var(--pm-top) * var(--fit)) calc(var(--pm-right) * var(--fit)) calc(var(--pm-bottom) * var(--fit)) calc(var(--pm-left) * var(--fit));overflow:hidden;display:flex;flex-direction:column}.sheet--sans{font-family:Arial,Helvetica,Segoe UI,sans-serif}.sheet--split{padding:0;display:block}.sheet__half{height:561px;padding:calc(var(--pm-top) * .62 * var(--fit, 1)) calc(var(--pm-right) * .87 * var(--fit, 1)) calc(var(--pm-bottom) * .62 * var(--fit, 1)) calc(var(--pm-left) * .87 * var(--fit, 1));overflow:hidden;display:flex;flex-direction:column}.sheet__cut{display:var(--cut-display, block);height:1px;border-top:1px dashed #999999;position:relative}.sheet__cut-label{display:var(--cut-display, block);position:absolute;top:-8px;right:40px;background:#fff;padding:0 8px;font-family:Arial,Helvetica,sans-serif;font-size:8px;letter-spacing:.14em;color:#999;text-transform:uppercase}.sheet__header{flex:none;position:relative;left:calc(var(--off-header-x) * var(--fit, 1));top:calc(var(--off-header-y) * var(--fit, 1))}.sheet__header--left{text-align:left}.sheet__header--center{text-align:center}.sheet__institution{font-size:calc(var(--inst-fs, 1.25) * 1em * var(--heading-scale, 1));font-weight:var(--inst-weight, bold);font-style:var(--inst-style, normal);letter-spacing:.01em;line-height:1.3}.sheet__department,.sheet__examtitle,.sheet__coursetitle{font-size:calc(1.06em * var(--heading-scale, 1));font-weight:700;margin-top:1px}.sheet__header--caps .sheet__institution,.sheet__header--caps .sheet__department,.sheet__header--caps .sheet__examtitle,.sheet__header--caps .sheet__coursetitle{text-transform:uppercase}.sheet__dateline{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:calc(6px * var(--fit, 1)) 0 calc(3px * var(--fit, 1));font-weight:700;text-align:left;color:#000}.sheet__dateline-right{text-align:right;font-weight:700;color:#000}.sheet__regrow{text-align:right;margin-bottom:8px}.sheet__reglabel{font-size:.84em;vertical-align:middle}.sheet__regbox{display:inline-block;width:calc(168px * var(--fit, 1));height:1.55em;border:1px solid var(--rule);margin-left:7px;vertical-align:middle}.sheet__rule{border-top:1.5px solid var(--rule);margin:9px 0}.sheet__rule--thin{border-top:1px solid var(--rule);margin:7px 0}.sheet__meta{display:flex;justify-content:space-between;gap:16px;font-size:.92em;margin-top:2px}.sheet__meta-col{display:flex;flex-direction:column;gap:2px}.sheet__meta-col--right{text-align:right}.sheet__course{font-weight:700}.sheet__body{flex:1;min-height:0;overflow:hidden;position:relative;left:calc(var(--off-body-x) * var(--fit, 1));top:calc(var(--off-body-y) * var(--fit, 1))}.sheet__part{text-align:center;font-weight:700;font-size:1.02em;letter-spacing:.05em;margin:12px 0 3px}.sheet__instruction{text-align:center;font-size:.88em;font-style:italic;margin-bottom:7px}.sheet__table{width:100%;border-collapse:collapse}.sheet__table td,.sheet__table th{vertical-align:top;padding:calc(var(--cp-top) * var(--fit, 1)) calc(var(--cp-right) * var(--fit, 1)) calc(var(--cp-bottom) * var(--fit, 1)) calc(var(--cp-left) * var(--fit, 1))}.sheet__q-row{height:calc(var(--row-min-h) * var(--fit, 1))}.sheet__q-row td{height:calc(var(--row-min-h) * var(--fit, 1));box-sizing:border-box}.sheet__table--grid td,.sheet__table--grid th{border:1.2px solid #000000}.sheet__table--lines td,.sheet__table--lines th{border-bottom:1.2px solid #000000}.sheet__table--none td,.sheet__table--none th{border:0;padding:4px 7px 4px 0}.sheet__table th{font-size:.84em;letter-spacing:.02em;text-align:center;font-weight:800;color:#000;background:#e5e7eb}.sheet__part-cell{text-align:center;font-size:calc(1em * var(--part-fs));font-weight:800;font-style:var(--part-style);color:#000}.sheet__part-meta{text-align:center;font-weight:800;color:#000}.sheet__instr-cell{display:table-cell;font-size:calc(1em * var(--instr-fs));font-weight:700;font-style:var(--instr-style);color:#000}.sheet__instr-text{display:inline-block;color:#000}.sheet__instr-formula{float:right;font-weight:800;font-style:var(--instr-style);color:#000;padding-left:18px}.sheet__part{font-size:calc(1.02em * var(--part-fs));font-weight:800;font-style:var(--part-style);color:#000}.sheet__instruction{font-size:calc(.88em * var(--instr-fs));font-weight:700;font-style:var(--instr-style);color:#000}.sheet__col-no,.sheet__col-marks{text-align:center;font-weight:800;color:#000;font-size:1.04em}.sheet__col-level,.sheet__col-co,.sheet__col-po{text-align:center;font-weight:700;color:#000}.sheet__q-text{text-align:justify;color:#000;font-weight:500;line-height:var(--lh, 1.36)}.sheet__sub{display:flex;gap:7px;margin-top:4px}.sheet__sub-label{flex:none;font-weight:700;color:#000}.sheet__or{text-align:center;font-weight:800;letter-spacing:.08em;padding:3px 0;color:#000}.sheet__inline-marks{float:right;font-weight:800;color:#000;padding-left:12px}.sheet__footer{flex:none;margin-top:auto;padding-top:10px;font-size:.8em;color:var(--muted);display:flex;justify-content:space-between;border-top:1px solid #dddddd}.sheet__overflow{font-size:.8em;color:#b45252;text-align:center;padding-top:6px}.sheet__half .sheet__rule{margin:6px 0}.sheet__half .sheet__part{margin:8px 0 2px}.sheet__half .sheet__table td{padding:calc(var(--cp-top) * var(--fit, 1)) calc(var(--cp-right) * var(--fit, 1)) calc(var(--cp-bottom) * var(--fit, 1)) calc(var(--cp-left) * var(--fit, 1))}.sheet__half .sheet__footer{padding-top:6px}.sheet__sub-inline{display:inline}.sheet__editable{outline:none;border-radius:2px;transition:background-color .12s ease,box-shadow .12s ease;cursor:text}.sheet__editable:hover{background:#22c55e21}.sheet__editable:focus{background:#22c55e29;box-shadow:0 0 0 1px #15803d8c}.sheet__editable:empty:before{content:attr(data-placeholder);color:#a0a0a0;font-style:italic}.sheet--move .sheet__editable{cursor:inherit}.sheet--move .sheet__editable:hover,.sheet--move .sheet__editable:focus{background:none;box-shadow:none}.sheet__group{cursor:grab;outline:1px dashed rgba(34,197,94,.55);outline-offset:3px}.sheet__group:hover{outline-color:#22c55ee6}.sheet__group--on{cursor:grabbing;outline:2px solid #16a34a;background:#22c55e12}
