:root{--font-serif: "Cinzel", Georgia, serif;--font-display: "Playfair Display", Georgia, serif;--font-reading: "Newsreader", Georgia, serif;--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "Courier New", monospace;--ink-primary: #0C0C0E;--ink-secondary: #27272A;--ink-muted: #6B7280;--text-main: #18181B;--text-secondary: #52525B;--text-muted: #71717A;--gold-accent: #C5A869;--gold-deep: #9B7B38;--accent: #0C0C0E;--accent-blue: #2563EB;--accent-purple: #7C3AED;--accent-green: #059669;--paper-cream: #FAF9F6;--paper-card: #FFFFFF;--bg-app: #FAF9F6;--bg-card: #FFFFFF;--bg-hover: #F4F4F5;--border: #E4E4E7;--border-light: rgba(0, 0, 0, .08);--border-divider: rgba(0, 0, 0, .2);--border-subtle: rgba(0, 0, 0, .06);--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--radius-xl: 22px;--radius-full: 9999px;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .04);--shadow-md: 0 4px 14px -2px rgba(0, 0, 0, .06);--shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, .08);--shadow-focus: 0 0 0 3px rgba(197, 168, 105, .25);--trans-fast: .14s cubic-bezier(.16, 1, .3, 1);--trans-normal: .22s cubic-bezier(.16, 1, .3, 1);--ease-spring: cubic-bezier(.16, 1, .3, 1)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background-color:var(--paper-cream)!important;color:var(--ink-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#00000026;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#00000047}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes scale-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes active-pulse{0%{transform:scale(.95);opacity:.8}50%{transform:scale(1.15);opacity:1}to{transform:scale(.95);opacity:.8}}.katex-display{margin:10px 0!important;text-align:center;overflow-x:auto;overflow-y:hidden;padding:4px 0}.katex-error{color:inherit!important;background:transparent!important;font-family:inherit!important;font-size:inherit!important}.chem-formula{font-family:var(--font-reading),serif;font-weight:600;color:#1e3a8a}.chem-formula sub{font-size:.72em;line-height:0;position:relative;vertical-align:baseline;bottom:-.25em}.chem-formula sup{font-size:.72em;line-height:0;position:relative;vertical-align:baseline;top:-.45em}.hidden{display:none!important}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 16px;font-family:var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);font-size:.8125rem;font-weight:600;line-height:1.25;border:1px solid transparent;border-radius:var(--radius-sm, 8px);cursor:pointer;transition:all .14s cubic-bezier(.16,1,.3,1);white-space:nowrap;user-select:none;text-decoration:none;box-sizing:border-box;outline:none}.btn:active{transform:scale(.96)}.btn:focus-visible{box-shadow:0 0 0 3px #0c0c0e26}.btn-primary{background:#0c0c0e;color:#fff!important;border-color:#0c0c0e;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.btn-primary:hover{background:#27272a;border-color:#27272a;color:#fff!important;transform:translateY(-1px);box-shadow:0 4px 12px #0000002e}.btn-primary:active{transform:scale(.96);box-shadow:0 1px 2px #0000001a}.btn-outline{background:#fff;color:#18181b;border:1px solid rgba(0,0,0,.12);box-shadow:0 1px 2px #0000000a}.btn-outline:hover{background:#f4f4f6;border-color:#00000038;color:#0c0c0e;transform:translateY(-1px);box-shadow:0 3px 8px #0000000f}.btn-outline:active{transform:scale(.96);background:#eaeaef;box-shadow:0 1px 2px #0000000a}.btn-icon-only{width:32px;height:32px;padding:0;border-radius:var(--radius-sm, 8px);display:inline-flex;align-items:center;justify-content:center;color:#52525b;background:#fff;border:1px solid rgba(0,0,0,.12);cursor:pointer;font-size:.875rem;transition:all .14s ease;box-shadow:0 1px 2px #0000000a;flex-shrink:0}.btn-icon-only:hover{color:#0c0c0e;background:#f4f4f6;border-color:#0003;transform:scale(1.05)}.btn-icon-only:active{transform:scale(.93)}.btn-secondary{background:#f4f4f6;color:#3f3f46;border:1px solid rgba(0,0,0,.06)}.btn-secondary:hover{background:#eaeaef;color:#18181b;border-color:#00000024}.btn-danger{background:#fef2f2;color:#dc2626;border:1px solid rgba(220,38,38,.2)}.btn-danger:hover{background:#fee2e2;color:#b91c1c;border-color:#dc26264d}.btn-pill,.btn-card-edit,.btn-card-swap,.btn-drawer-pill-action,.btn-inspector-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 13px;border-radius:var(--radius-full, 9999px);background:#fff;border:1px solid rgba(0,0,0,.12);color:#18181b;font-family:var(--font-sans);font-size:.76rem;font-weight:600;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 3px #0000000a;line-height:1.25;outline:none;user-select:none;text-decoration:none;box-sizing:border-box;white-space:nowrap}.btn-pill:hover,.btn-card-edit:hover,.btn-card-swap:hover,.btn-drawer-pill-action:hover,.btn-inspector-action:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e;transform:translateY(-1px);box-shadow:0 3px 8px #0000002e}.btn-pill:active,.btn-card-edit:active,.btn-card-swap:active,.btn-drawer-pill-action:active,.btn-inspector-action:active{transform:scale(.95)}.btn-pill-primary,.btn-inspector-action.is-active-grounding{background:#0c0c0e!important;color:#fff!important;border-color:#0c0c0e!important;box-shadow:0 2px 8px #0000002e}.btn-pill-primary:hover,.btn-inspector-action.is-active-grounding:hover{background:#27272a!important;border-color:#27272a!important;transform:translateY(-1px);box-shadow:0 4px 12px #0000003d}.modal-close-icon-btn{width:32px;height:32px;border-radius:8px;background:#fff;border:1px solid rgba(0,0,0,.1);color:#71717a;font-size:.95rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:all .14s ease;box-shadow:0 1px 2px #0000000a;flex-shrink:0}.modal-close-icon-btn:hover{color:#0c0c0e;background:#f4f4f6;border-color:#00000038;transform:scale(1.05)}.modal-close-icon-btn:active{transform:scale(.93)}.attachments-preview-grid{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px;width:100%}.attach-pdf-card{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:10px;padding:6px 12px;box-shadow:0 1px 4px #0000000a;animation:scale-in .16s cubic-bezier(.16,1,.3,1);max-width:320px;box-sizing:border-box;transition:all .14s ease}.attach-pdf-card:hover{background:#f8fafc;border-color:#2563eb59;box-shadow:0 4px 14px #2563eb14;transform:translateY(-1px)}.attach-pdf-icon{width:28px;height:34px;background:linear-gradient(135deg,#dc2626,#ef4444);border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:.58rem;font-weight:900;letter-spacing:.05em;flex-shrink:0;box-shadow:0 2px 4px #dc262640}.attach-pdf-info{display:flex;flex-direction:column;min-width:0}.attach-pdf-name{font-size:.82rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.attach-pdf-meta{font-size:.7rem;font-weight:500;color:#64748b}.attach-card-remove{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1.15rem;line-height:1;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .14s ease;margin-left:4px;flex-shrink:0}.attach-card-remove:hover{color:#ef4444;background:#ef44441a}.attach-image-card{position:relative;width:66px;height:66px;border-radius:10px;overflow:hidden;border:1px solid rgba(0,0,0,.12);background:#f1f5f9;box-shadow:0 1px 4px #0000000d;animation:scale-in .16s cubic-bezier(.16,1,.3,1);flex-shrink:0}.attach-image-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .16s ease}.attach-image-card:hover img{transform:scale(1.08)}.attach-image-remove{position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#0f172abf;color:#fff;border:none;font-size:11px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .14s ease;backdrop-filter:blur(2px);z-index:2}.attach-image-remove:hover{background:#ef4444}.attach-image-size-badge{position:absolute;bottom:2px;left:2px;background:#0009;color:#fff;font-size:.6rem;font-weight:600;padding:1px 4px;border-radius:3px;backdrop-filter:blur(2px)}@keyframes shake-attract{0%,to{transform:scale(1)}20%,60%{transform:scale(1.2) rotate(-8deg)}40%,80%{transform:scale(1.2) rotate(8deg)}}.shake-attract{animation:shake-attract .5s ease-in-out!important}.case-studies-container{display:flex;flex-direction:column;gap:12px;margin-top:10px}.case-study-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:14px 16px;box-shadow:0 2px 8px -2px #0000000a;transition:transform .18s ease,box-shadow .18s ease}.case-study-card:hover{transform:translateY(-1px);box-shadow:0 6px 16px -3px #00000012}.case-study-header{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.05)}.case-study-badge{display:inline-flex;align-items:center;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.05em;padding:2px 8px;border-radius:6px;text-transform:uppercase;flex-shrink:0}.case-study-title-text{font-family:var(--font-serif);font-size:.96rem;font-weight:700;color:#0f172a;line-height:1.35}.case-study-grid{display:flex;flex-direction:column;gap:8px}.case-study-row{display:flex;align-items:flex-start;gap:8px;font-size:.835rem;line-height:1.5}.cs-tag{font-size:.7rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:2px 7px;border-radius:4px;flex-shrink:0;margin-top:1px}.cs-tag.context{background:#f1f5f9;color:#334155;border:1px solid rgba(0,0,0,.06)}.cs-tag.mechanism{background:#ecfdf5;color:#065f46;border:1px solid rgba(5,150,105,.2)}.cs-tag.blueprint{background:#eff6ff;color:#1e40af;border:1px solid rgba(37,99,235,.2)}.case-study-content{color:#1e293b;flex:1;font-size:.86rem;line-height:1.62}.case-study-content strong{color:#0f172a;font-weight:700}.case-study-formula-box{background:linear-gradient(135deg,#f8fafc,#eef2f6);border:1px solid rgba(37,99,235,.18);border-left:4px solid #2563EB;border-radius:12px;padding:14px 16px;margin-top:8px}.case-study-formula-title{display:flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;color:#1e3a8a;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}.case-study-formula-list{margin:0;padding-left:18px;font-size:.84rem;color:#1e293b;line-height:1.65}.case-study-formula-list li{margin-bottom:6px}.case-study-formula-list li strong{color:#0f172a}.case-study-formula-list .katex-display,.case-study-content .katex-display{margin:6px 0;padding:4px 8px;background:#ffffffb3;border-radius:6px;overflow-x:auto;overflow-y:hidden}.drawer-case-studies-wrap{margin-top:8px}.drawer-case-studies-wrap .case-studies-container{gap:8px;margin-top:4px}.drawer-case-studies-wrap .case-study-card{padding:10px 12px;border-radius:8px;background:#f8fafc;box-shadow:none;border:1px solid rgba(0,0,0,.05)}.drawer-case-studies-wrap .case-study-card:hover{background:#fff;box-shadow:0 4px 12px -2px #0000000f}.drawer-case-studies-wrap .case-study-title-text{font-size:.88rem}.drawer-case-studies-wrap .case-study-row{font-size:.8rem;line-height:1.5}.empty-blueprint-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 24px;background:#f8fafc;border:1px dashed rgba(0,0,0,.12);border-radius:10px;margin-top:6px}.empty-blueprint-notice .notice-tag{display:inline-flex;align-items:center;gap:5px;background:#ede9fe;color:#6d28d9;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:3px 9px;border-radius:6px;margin-bottom:6px}.empty-blueprint-notice .notice-desc{font-size:.8rem;color:#64748b;margin:0;line-height:1.5}.clean-header{position:sticky;top:0;z-index:100;background:#faf9f6f0;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.07);padding:22px 48px;min-height:94px;display:flex;align-items:center;justify-content:flex-start;width:100%;box-sizing:border-box;box-shadow:0 4px 20px -2px #00000005}.header-left-cluster{display:flex;align-items:center;gap:20px;width:100%}.user-logo-wrapper{position:relative;flex-shrink:0}.clean-user-btn{width:58px;height:58px;border-radius:50%;border:2px solid var(--ink-primary, #0C0C0E);background:#fff;padding:2.5px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #c5a86938,0 4px 14px #00000014;transition:transform .18s ease,box-shadow .18s ease;outline:none}.clean-user-btn:hover{transform:scale(1.05);box-shadow:0 0 0 4px #c5a86959,0 8px 24px #00000024}.clean-user-img{width:100%;height:100%;border-radius:50%;object-fit:cover}.clean-user-initial{width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#27272a,#0c0c0e)!important;color:#fff!important;font-family:var(--font-sans);font-weight:800;font-size:1.35rem;display:flex;align-items:center;justify-content:center}.user-signout-popover{position:absolute;top:calc(100% + 12px);left:0;width:250px;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:14px;box-shadow:0 18px 40px -4px #00000029,0 0 0 1px #0000000a;padding:18px;z-index:1000;text-align:left;animation:scale-in .16s ease}.user-signout-popover.hidden{display:none}.popover-user-name{font-family:var(--font-sans);font-size:.95rem;font-weight:700;color:var(--ink-primary)}.popover-user-email{font-family:var(--font-sans);font-size:.78rem;color:var(--ink-muted);margin-top:2px;word-break:break-all}.popover-divider{width:100%;height:1px;background:#00000014;margin:12px 0}.popover-signout-action{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:#fef2f2;color:#dc2626;border:1px solid rgba(220,38,38,.2);border-radius:8px;padding:9px 12px;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .14s ease}.popover-signout-action:hover{background:#fee2e2}.clean-school-logo{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:58px;height:58px;transition:transform .16s ease;filter:drop-shadow(0 4px 12px rgba(0,0,0,.08))}.clean-school-logo:hover{transform:scale(1.04)}.school-crest-svg,.school-crest-img{width:58px;height:58px;object-fit:contain;border-radius:50%;display:block}.clean-school-name{display:flex;align-items:center;flex:1}.school-main-title{font-family:var(--font-serif);font-size:clamp(1.25rem,2.2vw,1.7rem);font-weight:800;letter-spacing:.08em;color:var(--ink-primary, #0C0C0E);line-height:1.2;white-space:nowrap}.clean-studio-viewport{max-width:960px;margin:0 auto;padding:14px 20px 48px;box-sizing:border-box}.studio-hero-center{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%}.clean-mode-switch-wrapper{margin-bottom:12px}.clean-mode-switch{position:relative;display:inline-flex;align-items:center;background:#fff;border:1.5px solid var(--ink-primary, #0C0C0E);border-radius:9999px;padding:4px;box-shadow:0 2px 10px #0000000d;user-select:none}.clean-mode-switch .apple-glass-slider{position:absolute;top:4px;left:4px;width:calc(50% - 4px);height:calc(100% - 8px);background:var(--ink-primary, #0C0C0E);border-radius:9999px;box-shadow:0 3px 10px #0003;transition:transform .26s cubic-bezier(.16,1,.3,1);z-index:1;pointer-events:none}.clean-mode-switch .apple-switch-btn{position:relative;z-index:2;border:none;background:transparent;padding:7px 22px;border-radius:9999px;font-family:var(--font-sans);font-size:.85rem;font-weight:600;color:#71717a;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:color .18s ease;white-space:nowrap}.clean-mode-switch .apple-switch-btn.active{color:#fff!important;font-weight:700}.active-pulse-indicator{width:8px;height:8px;border-radius:50%;background:#10b981;display:inline-block;animation:active-pulse 2s cubic-bezier(.4,0,.6,1) infinite}.clean-headline{font-family:var(--font-display);font-size:clamp(2.2rem,3.6vw,2.9rem);font-weight:800;letter-spacing:-.035em;color:var(--ink-primary, #0C0C0E);margin:0 0 16px;line-height:1.12}.clean-instructions-strip{display:flex;align-items:stretch;justify-content:space-between;width:100%;max-width:900px;margin-bottom:18px}.instruction-open-item{flex:1;padding:8px 16px;text-align:left;border-radius:10px;transition:transform .18s ease,background .18s ease,box-shadow .18s ease;cursor:default}.instruction-open-item:hover{transform:translateY(-2px);background:#ffffffb3;box-shadow:0 4px 16px -2px #0000000a}.instruction-open-item:hover .instruction-heading{color:var(--gold-deep, #9B7B38)}.instruction-open-item:hover .instruction-badge{border-color:var(--gold-accent, #C5A869);background:#c5a8691f}.instruction-header-lead{display:flex;align-items:center;gap:8px;margin-bottom:5px}.instruction-badge{font-family:var(--font-mono);font-size:.74rem;font-weight:800;color:var(--ink-primary, #0C0C0E);background:#fff;border:1px solid rgba(0,0,0,.12);padding:2px 7px;border-radius:6px;box-shadow:0 1px 2px #00000008;transition:all .16s ease}.instruction-heading{font-family:var(--font-sans);font-size:.92rem;font-weight:700;color:var(--ink-primary, #0C0C0E);transition:color .16s ease}.instruction-body{font-family:var(--font-sans);font-size:.8rem;color:var(--ink-muted, #6B7280);line-height:1.45;margin:0}.instruction-vertical-divider{width:1px;background:var(--border-divider, rgba(0, 0, 0, .2));align-self:stretch;margin:4px 0}.smart-input-box{width:100%;max-width:900px;min-height:140px;background:#fff;border:1.5px solid rgba(0,0,0,.14);border-radius:20px;box-shadow:0 6px 24px -4px #0000000d,0 1px 3px #00000005;display:flex;flex-direction:column;justify-content:space-between;padding:14px 16px 12px;box-sizing:border-box;transition:border-color .18s ease,box-shadow .18s ease;position:relative;margin-bottom:20px}.smart-input-box:focus-within{border-color:var(--ink-primary, #0C0C0E);box-shadow:0 0 0 3px #0c0c0e14,0 16px 44px -6px #00000024}.smart-flexible-textarea{width:100%;border:none;outline:none;resize:none;font-family:var(--font-sans);font-size:1.08rem;line-height:1.55;color:var(--ink-primary, #0C0C0E);background:transparent;min-height:64px;max-height:240px;padding:4px 6px;box-sizing:border-box}.smart-flexible-textarea::placeholder{color:#9ca3af;font-style:normal}.smart-input-toolbar{display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid rgba(0,0,0,.05);margin-top:6px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:8px}.toolbar-icon-btn{width:36px;height:36px;border-radius:50%;border:1px solid rgba(0,0,0,.08);background:#f4f4f6;color:#3f3f46;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);outline:none;position:relative;padding:0;box-shadow:0 1px 2px #0000000a}.toolbar-icon-btn:hover{background:#eaeaef;border-color:#00000029;color:#0c0c0e;transform:translateY(-1px);box-shadow:0 3px 8px #00000014}.toolbar-icon-btn:active{transform:scale(.93);box-shadow:0 1px 2px #0000000a}.btn-attach-icon{background:#f4f4f6;border:1px solid rgba(0,0,0,.09);color:#18181b}.btn-attach-icon:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e}.btn-sources-icon{background:#f4f4f6;border:1px solid rgba(0,0,0,.09);color:#18181b}.btn-sources-icon:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e}.sources-count-badge{position:absolute;top:-3px;right:-3px;background:#0c0c0e;color:#fff;border-radius:9999px;padding:1.5px 5.5px;font-size:.62rem;font-weight:800;line-height:1;border:1.5px solid #FFFFFF;box-shadow:0 1px 3px #0003}.btn-generate-action{width:36px;height:36px;border-radius:50%;background:#0c0c0e!important;color:#fff!important;border:1px solid #0C0C0E!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 8px #0003;outline:none;padding:0}.btn-generate-action:hover{background:#27272a!important;border-color:#27272a!important;transform:translateY(-1px) scale(1.05);box-shadow:0 4px 14px #0000004d}.btn-generate-action:active{transform:scale(.93)}.sources-glass-popover{position:absolute;top:calc(100% + 8px);bottom:auto;right:0;width:420px;max-width:calc(100vw - 32px);max-height:min(480px,calc(100vh - 80px));display:flex;flex-direction:column;background:#fffffffa;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(0,0,0,.12);border-radius:18px;box-shadow:0 20px 50px -8px #0000003d,0 0 0 1px #0000000a;padding:16px;z-index:500;animation:scale-in .16s cubic-bezier(.16,1,.3,1);box-sizing:border-box}.sources-popover-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.06)}.sources-popover-title{font-family:var(--font-sans);font-size:.88rem;font-weight:700;color:var(--ink-primary);letter-spacing:-.01em}.sources-popover-active-tag{font-size:.7rem;font-weight:700;color:#2563eb;background:#2563eb14;padding:1px 7px;border-radius:9999px;border:1px solid rgba(37,99,235,.15)}.popover-close-btn{background:none;border:none;color:#94a3b8;font-size:.9rem;line-height:1;cursor:pointer;padding:3px 6px;border-radius:4px;transition:all .12s ease}.popover-close-btn:hover{background:#0000000f;color:#0c0c0e}.sources-popover-actions{display:flex;align-items:center;gap:8px}.sources-action-link{background:none;border:none;color:#2563eb;font-size:.72rem;font-weight:600;cursor:pointer;padding:2px 4px;border-radius:4px;transition:all .12s ease}.sources-action-link:hover{background:#2563eb14}.sources-popover-list{display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-height:0;max-height:320px;overflow-y:auto;margin-bottom:12px;padding-right:2px;box-sizing:border-box}.sources-popover-item{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.08);transition:all .16s cubic-bezier(.16,1,.3,1);position:relative;box-shadow:0 1px 3px #00000005;user-select:none;box-sizing:border-box;width:100%}.sources-popover-item:hover{background:#f8fafc;border-color:#2563eb4d;box-shadow:0 4px 12px #2563eb0f}.sources-popover-item.active{background:#f0f7ff;border-color:#3b82f6;box-shadow:0 2px 8px #3b82f61f}.sources-item-checkbox-wrap{display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}.source-popover-cb{width:17px;height:17px;accent-color:#2563EB;cursor:pointer;border-radius:4px}.sources-item-icon-seal{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0;background:#f1f5f9;border:1px solid rgba(0,0,0,.06);cursor:pointer}.sources-popover-item.active .sources-item-icon-seal{background:#dbeafe;border-color:#2563eb33}.sources-item-content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;cursor:pointer;overflow:hidden}.sources-item-title-row{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}.sources-popover-item-title{font-size:.8125rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em;display:block;width:100%}.sources-item-meta-row{display:flex;align-items:center;gap:5px;font-size:.68rem;color:#64748b;min-width:0;overflow:hidden;white-space:nowrap}.sources-meta-pill{font-size:.65rem;font-weight:600;padding:1px 6px;border-radius:4px;background:#f1f5f9;color:#475569;border:1px solid rgba(0,0,0,.04);white-space:nowrap;flex-shrink:0}.sources-meta-pill.pill-temp{background:#eff6ff;color:#2563eb;border-color:#2563eb33}.sources-meta-pill.pill-curriculum{background:#fef3c7;color:#92400e;border-color:#f59e0b33}.sources-meta-sub{color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sources-item-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.btn-source-inspect-icon{background:#f1f5f9;border:1px solid rgba(0,0,0,.08);border-radius:6px;padding:5px 9px;font-size:.72rem;font-weight:600;color:#1e293b;cursor:pointer;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;flex-shrink:0;transition:all .14s ease}.btn-source-inspect-icon:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e;transform:translateY(-.5px)}.btn-source-remove-icon{background:none;border:none;color:#94a3b8;font-size:1rem;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .14s ease;flex-shrink:0}.btn-source-remove-icon:hover{background:#ef44441a;color:#ef4444}.btn-popover-add-source{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;background:#f4f4f5;border:1px dashed rgba(0,0,0,.18);border-radius:10px;padding:9px 12px;font-size:.78rem;font-weight:600;color:#3f3f46;cursor:pointer;transition:all .14s ease}.btn-popover-add-source:hover{background:#e4e4e7;border-color:#0c0c0e;color:#0c0c0e}@media(max-width:640px){.sources-glass-popover{position:fixed;bottom:20px;left:12px;right:12px;width:auto;max-width:calc(100vw - 24px);max-height:80vh;border-radius:20px;box-shadow:0 16px 48px -4px #00000052,0 0 0 1px #00000014}.sources-popover-list{max-height:52vh}}.input-top-meter-bar{width:100%;margin-bottom:8px;animation:fade-in .2s ease}.input-meter-2px-rail{position:absolute;top:0;left:16px;right:16px;height:2.5px;background:#e4e4e7;border-radius:9999px;overflow:hidden;z-index:5}.input-meter-2px-fill{height:100%;width:0%;background:linear-gradient(90deg,#059669,#10b981);transition:width .4s cubic-bezier(.16,1,.3,1),background .3s ease;border-radius:9999px}.input-meter-caption{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 4px 6px;border-bottom:1px solid rgba(0,0,0,.05);box-sizing:border-box}.input-meter-caption-left{display:flex;align-items:center;gap:7px}.input-meter-pulse-dot{width:6px;height:6px;border-radius:50%;background:#059669;display:inline-block;transition:all .2s ease}.input-meter-pulse-dot.dot-safe{background:#059669;box-shadow:0 0 0 2px #05966933}.input-meter-pulse-dot.dot-warn{background:#d97706;box-shadow:0 0 0 2px #d9770633}.input-meter-pulse-dot.dot-full{background:#dc2626;box-shadow:0 0 0 2px #dc262640}.input-meter-label{font-family:var(--font-sans);font-size:.72rem;font-weight:600;color:#71717a;letter-spacing:.01em}.input-meter-caption-right{display:flex;align-items:center;gap:8px}.input-meter-stats{font-family:var(--font-mono);font-size:.74rem;font-weight:600;color:#0c0c0e}.input-meter-percent{font-family:var(--font-mono);font-size:.68rem;font-weight:700;padding:1px 6px;border-radius:4px;background:#0000000d;color:#0c0c0e;transition:all .18s ease}.input-meter-percent.percent-safe{background:#ecfdf5;color:#059669}.input-meter-percent.percent-warn{background:#fffbeb;color:#d97706}.input-meter-percent.percent-full{background:#fef2f2;color:#dc2626}.training-output-container{width:100%;max-width:900px;display:flex;flex-direction:column;align-items:center}.training-output-box{background:#fff;border:1.5px solid rgba(0,0,0,.12);border-radius:20px;padding:22px 26px;box-shadow:0 8px 32px -4px #00000012,0 1px 3px #00000005;width:100%;max-width:900px;box-sizing:border-box;margin-bottom:24px;text-align:left;animation:scale-in .22s cubic-bezier(.16,1,.3,1)}.output-box-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.07);padding-bottom:14px;margin-bottom:16px;flex-wrap:wrap;gap:10px}.output-header-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.output-badge-success{display:inline-flex;align-items:center;gap:6px;background:#ecfdf5;color:#059669;border:1px solid rgba(5,150,105,.2);border-radius:9999px;padding:3px 10px;font-size:.76rem;font-weight:700;letter-spacing:.02em}.output-badge-rejected{display:inline-flex;align-items:center;gap:6px;background:#fef2f2;color:#dc2626;border:1px solid rgba(220,38,38,.2);border-radius:9999px;padding:3px 10px;font-size:.76rem;font-weight:700}.output-subject-tag{font-family:var(--font-serif);font-size:.98rem;font-weight:800;color:#0c0c0e;letter-spacing:.04em}.output-quota-tag{font-family:var(--font-mono);font-size:.74rem;color:#71717a;background:#f4f4f6;padding:3px 8px;border-radius:6px;font-weight:600}.output-box-body{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.output-noise-filter-report{display:flex;align-items:flex-start;gap:8px;background:#f9fafb;border:1px solid rgba(0,0,0,.06);border-radius:10px;padding:10px 14px;font-size:.8rem;color:#52525b;line-height:1.45}.output-quality-score{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;font-weight:700;border-radius:9999px;padding:3px 10px;letter-spacing:.02em}.output-quality-score.score-gold{background:#fef3c7;color:#92400e;border:1px solid rgba(245,158,11,.4)}.output-quality-score.score-silver{background:#eff6ff;color:#1e40af;border:1px solid rgba(59,130,246,.3)}.output-quality-score.score-low{background:#fee2e2;color:#991b1b;border:1px solid rgba(239,68,68,.3)}.training-rejected-box{border-color:#ef444459!important;background:#fffdfd!important}.report-rejected{border-left:3.5px solid #DC2626!important;background:#fef2f2!important;color:#7f1d1d!important}.quality-guidelines-tip{background:#f8fafc;border:1px dashed rgba(100,116,139,.3);border-radius:10px;padding:10px 14px;font-size:.78rem;color:#475569}.quality-guidelines-tip strong{color:#0f172a;display:block;margin-bottom:4px}.quality-guidelines-tip ul{margin:0;padding-left:18px;line-height:1.45}.output-distilled-box{background:#f8fafc;border-left:3.5px solid #2563EB;border-radius:10px;padding:12px 14px}.distilled-box-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.distilled-box-title{font-size:.82rem;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.03em}.distilled-badge{font-size:.68rem;font-weight:700;background:#dbeafe;color:#1e40af;padding:2px 7px;border-radius:9999px;text-transform:uppercase;letter-spacing:.04em}.output-box-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:14px;border-top:1px solid rgba(0,0,0,.07)}.btn-output-reject{display:inline-flex;align-items:center;gap:6px;background:#fef2f2;color:#dc2626;border:1px solid rgba(220,38,38,.22);border-radius:9999px;padding:9px 20px;font-family:var(--font-sans);font-size:.84rem;font-weight:600;cursor:pointer;transition:all .14s ease;outline:none}.btn-output-reject:hover{background:#fee2e2;border-color:#dc2626;transform:translateY(-1px)}.btn-output-store{display:inline-flex;align-items:center;gap:7px;background:#0c0c0e;color:#fff;border:none;border-radius:9999px;padding:10px 24px;font-family:var(--font-sans);font-size:.86rem;font-weight:700;cursor:pointer;transition:all .14s ease;box-shadow:0 2px 10px #0000002e;outline:none}.btn-output-store:hover{background:#27272a;transform:translateY(-1px);box-shadow:0 4px 16px #0000003d}.training-stored-shelf{width:100%;max-width:900px;margin:16px auto 28px;animation:fade-in-up .22s ease}.stored-training-card{background:#fff;border:1.5px solid rgba(0,0,0,.08);border-radius:20px;padding:20px 24px;box-shadow:0 4px 20px -2px #00000008}.stored-training-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.06);padding-bottom:12px;margin-bottom:14px}.stored-shelf-title{display:flex;align-items:center;gap:8px;font-family:var(--font-serif);font-size:.96rem;font-weight:700;color:var(--ink-primary)}.stored-shelf-actions{display:flex;align-items:center;gap:8px}.btn-sync-vault{background:none;border:1px solid rgba(0,0,0,.1);border-radius:6px;padding:4px 8px;font-size:.72rem;color:#52525b;cursor:pointer;transition:all .12s ease}.btn-sync-vault:hover{background:#f4f4f5;color:#0c0c0e}.stored-subjects-list{display:flex;flex-direction:column;gap:8px}.stored-subject-row{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border:1px solid rgba(0,0,0,.05);border-radius:10px;padding:10px 14px;transition:all .14s ease}.stored-subject-row:hover{background:#fff;box-shadow:0 4px 12px -2px #0000000d;border-color:#0000001a}.subject-row-left{display:flex;align-items:center;gap:10px}.subject-row-name{font-weight:700;font-size:.88rem;color:var(--ink-primary)}.subject-row-badge{font-size:.72rem;font-weight:600;background:#2563eb14;color:#2563eb;padding:2px 7px;border-radius:4px}.subject-row-right{display:flex;align-items:center;gap:12px}.btn-view-entries{background:none;border:none;color:#2563eb;font-size:.78rem;font-weight:600;cursor:pointer;padding:0}.btn-delete-subject-group{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:.85rem;padding:2px 6px;border-radius:4px;transition:all .12s ease}.btn-delete-subject-group:hover{color:#dc2626;background:#fef2f2}.quick-ideas-strip{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;max-width:900px;margin:0 auto 24px}.quick-ideas-label{font-size:.75rem;font-weight:700;color:#71717a;text-transform:uppercase;letter-spacing:.05em}.quick-idea-pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:9999px;padding:5px 12px;font-size:.78rem;color:#3f3f46;cursor:pointer;transition:all .14s ease;box-shadow:0 1px 3px #00000005}.quick-idea-pill:hover{background:#f4f4f5;border-color:#0c0c0e;color:#0c0c0e;transform:translateY(-1px)}.idea-badge-num{font-family:var(--font-mono);font-size:.68rem;font-weight:800;background:#0000000f;padding:1px 5px;border-radius:4px}.training-promo-card{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:900px;margin:0 auto 24px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:16px 22px;box-sizing:border-box;box-shadow:0 2px 10px #00000008;transition:all .16s cubic-bezier(.16,1,.3,1)}.training-promo-card:hover{border-color:#00000024;box-shadow:0 4px 18px #0000000f}.training-promo-left{display:flex;align-items:center;gap:14px;text-align:left}.promo-icon-badge{font-size:1.35rem;width:38px;height:38px;border-radius:10px;background:#f4f4f6;display:flex;align-items:center;justify-content:center;flex-shrink:0}.promo-title{font-weight:700;font-size:.9rem;color:#0c0c0e;letter-spacing:-.01em}.promo-desc{font-size:.78rem;color:#52525b;margin-top:3px;line-height:1.45}.btn-open-training-switch{background:#0c0c0e;color:#fff;border:1px solid #0C0C0E;border-radius:9999px;padding:8px 18px;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .14s ease;white-space:nowrap;box-shadow:0 2px 6px #0000001f}.btn-open-training-switch:hover{background:#27272a;border-color:#27272a;transform:translateY(-1px);box-shadow:0 4px 12px #0000002e}.recent-blueprints-card{width:100%;max-width:900px;margin:0 auto 32px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:18px 22px;box-sizing:border-box;text-align:left}.recent-blueprints-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.05);flex-wrap:wrap;gap:8px}.header-left-title{display:flex;align-items:center;gap:7px;font-family:var(--font-serif);font-size:.92rem;font-weight:700;color:var(--ink-primary)}.header-seal-icon{color:var(--gold-accent)}.recent-search-wrap{position:relative;display:flex;align-items:center;width:250px;max-width:100%}.recent-search-wrap svg{position:absolute;left:10px;color:#71717a;pointer-events:none}#recent-blueprints-search{width:100%;padding:5px 26px 5px 30px;font-family:inherit;font-size:.78rem;border:1px solid rgba(0,0,0,.12);border-radius:9999px;background:#f4f4f6;color:#0c0c0e;outline:none;transition:all .14s ease;box-sizing:border-box}#recent-blueprints-search:focus{background:#fff;border-color:#0c0c0e;box-shadow:0 0 0 2px #0000000d}.btn-clear-recent-search{position:absolute;right:7px;background:transparent;border:none;color:#71717a;font-size:.75rem;cursor:pointer;padding:2px 4px;line-height:1}.btn-clear-recent-search:hover{color:#0c0c0e}.recent-filter-pills-row{display:flex;align-items:center;gap:6px;overflow-x:auto;white-space:nowrap;padding:2px 0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.recent-filter-pills-row::-webkit-scrollbar{display:none}.recent-filter-pill{padding:3px 10px;font-family:inherit;font-size:.72rem;font-weight:600;color:#52525b;background:#f4f4f6;border:1px solid rgba(0,0,0,.08);border-radius:9999px;cursor:pointer;transition:all .12s ease;flex-shrink:0}.recent-filter-pill:hover{background:#e4e4e7;color:#0c0c0e}.recent-filter-pill.active{background:#0c0c0e;color:#fff;border-color:#0c0c0e}.recent-empty-filter{text-align:center;padding:20px 12px;font-size:.82rem;color:#71717a}.btn-reset-recent-filter{margin-top:8px;font-family:inherit;font-size:.75rem;font-weight:600;padding:5px 14px;border-radius:9999px;background:#fff;border:1px solid rgba(0,0,0,.15);color:#0c0c0e;cursor:pointer;transition:all .14s ease}.btn-reset-recent-filter:hover{background:#f4f4f6;border-color:#0c0c0e}.recent-blueprints-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.recent-blueprint-chip{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid rgba(0,0,0,.06);border-radius:10px;padding:10px 12px;cursor:pointer;transition:all .14s ease;font-size:.82rem}.recent-blueprint-chip:hover{background:#fff;border-color:#0c0c0e;box-shadow:0 4px 12px -2px #0000000f;transform:translateY(-1px)}.chip-meta-tag{font-size:.72rem;color:#71717a;margin-left:auto}.empty-archive-box{text-align:center;padding:24px 16px}.empty-seal{font-size:1.8rem;margin-bottom:6px}.empty-title{font-size:.92rem;font-weight:700;color:var(--ink-primary);display:block}.empty-desc{font-size:.78rem;color:var(--ink-muted);max-width:460px;margin:4px auto 0}.studio-centered-viewport{flex:1;min-height:calc(100vh - 72px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px 64px;position:relative;box-sizing:border-box;animation:fade-in-up .35s var(--ease-spring)}.ambient-glow-aura{position:absolute;top:20%;left:50%;transform:translate(-50%);width:720px;height:380px;background:radial-gradient(ellipse at center,#0c0c0e0a,#3b82f608 40%,#fff0 70%);pointer-events:none;filter:blur(48px);z-index:0}.loading-pipeline-card{background:#fff;border:1px solid rgba(0,0,0,.09);border-radius:20px;box-shadow:0 24px 64px -12px #0000001f,0 0 0 1px #0000000a;padding:36px 40px;text-align:left;max-width:520px;width:100%;margin:0 auto;animation:scale-in .24s var(--ease-spring);position:relative;z-index:1;box-sizing:border-box}.pipeline-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.pipeline-header-title{display:flex;align-items:center;gap:14px}.pipeline-header-title h3{font-family:var(--font-sans);font-size:1.0625rem;font-weight:700;color:#0c0c0e;margin:0;letter-spacing:-.01em}.pipeline-spinner-ring{width:26px;height:26px;border:2.5px solid rgba(0,0,0,.08);border-top-color:#0c0c0e;border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}.pipeline-percent-badge{font-family:var(--font-mono);font-size:.8125rem;font-weight:700;color:#0c0c0e;background:#f4f4f6;padding:4px 10px;border-radius:9999px;border:1px solid rgba(0,0,0,.07)}.pipeline-track-wrapper{background:#f1f1f5;height:6px;border-radius:3px;overflow:hidden;margin-bottom:24px}.pipeline-track-fill{background:linear-gradient(90deg,#18181b,#3b82f6,#10b981);height:100%;width:15%;border-radius:3px;transition:width .4s ease-out}.pipeline-steps-list{display:flex;flex-direction:column;gap:10px}.pipeline-step-row{display:flex;align-items:center;gap:12px;font-size:.8125rem;color:#71717a;padding:8px 10px;border-radius:8px;transition:all .2s ease}.pipeline-step-row.active{color:#0c0c0e;font-weight:600;background:#f4f4f6}.pipeline-step-row.completed{color:#059669;background:#ecfdf5}.step-icon-indicator{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.6875rem;font-weight:700;background:#f4f4f6;border:1px solid rgba(0,0,0,.08);color:#a1a1aa;flex-shrink:0;transition:all .2s ease}.pipeline-step-row.active .step-icon-indicator{background:#0c0c0e;border-color:#0c0c0e;color:#fff;animation:pulse-ring 1.5s infinite}.pipeline-step-row.completed .step-icon-indicator{background:#059669;border-color:#059669;color:#fff;font-weight:800}.step-row-label{flex:1;line-height:1.4}.step-row-status{font-size:.72rem;font-family:var(--font-mono);color:#a1a1aa}.pipeline-step-row.active .step-row-status{color:#0c0c0e;font-weight:600}.pipeline-step-row.completed .step-row-status{color:#059669;font-weight:600}@keyframes pulse-ring{0%{box-shadow:0 0 #18181b66}70%{box-shadow:0 0 0 6px #18181b00}to{box-shadow:0 0 #18181b00}}.training-stored-shelf{width:100%;max-width:900px;margin:16px auto 28px;animation:studioShelfFadeIn .22s cubic-bezier(.16,1,.3,1)}@keyframes studioShelfFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.stored-training-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:22px 24px;box-shadow:0 4px 20px -2px #00000008,0 1px 3px #00000005;transition:all .18s ease;box-sizing:border-box}.stored-training-card.empty-vault{padding-bottom:32px}.stored-training-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid rgba(0,0,0,.06)}.stored-header-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.header-vault-badge{width:32px;height:32px;border-radius:9px;background:#0c0c0e;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 6px #0000001f}.stored-header-titles{display:flex;flex-direction:column;gap:2px}.stored-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stored-main-title{font-family:var(--font-sans);font-size:.96rem;font-weight:700;color:#0c0c0e;letter-spacing:-.015em}.stored-sub-title{font-size:.77rem;color:#71717a;font-weight:400;line-height:1.4}.stored-count-badge{display:inline-flex;align-items:center;padding:2.5px 10px;border-radius:9999px;background:#f4f4f6;color:#52525b;font-size:.72rem;font-weight:600;border:1px solid rgba(0,0,0,.05)}.stored-header-right{display:flex;align-items:center}.btn-stored-sync{display:inline-flex;align-items:center;gap:6px;background:#f4f4f6;border:1px solid rgba(0,0,0,.06);border-radius:9999px;padding:6px 14px;font-family:var(--font-sans);font-size:.74rem;font-weight:600;color:#3f3f46;cursor:pointer;transition:all .14s cubic-bezier(.16,1,.3,1)}.btn-stored-sync:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e;transform:translateY(-1px);box-shadow:0 2px 8px #0000001f}.btn-stored-sync:hover .sync-icon{transform:rotate(180deg)}.sync-icon{transition:transform .3s ease}.stored-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px 28px}.stored-empty-icon-ring{width:52px;height:52px;border-radius:14px;background:#f4f4f6;color:#71717a;display:flex;align-items:center;justify-content:center;margin-bottom:12px;box-shadow:0 1px 3px #00000008}.stored-empty-title{font-size:.95rem;font-weight:700;color:#18181b;margin-bottom:6px}.stored-empty-desc{font-size:.81rem;color:#71717a;max-width:480px;line-height:1.5;margin:0}.stored-subjects-container{display:flex;flex-direction:column;gap:10px;margin-top:16px}.stored-subject-item{background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:14px;overflow:hidden;transition:border-color .16s cubic-bezier(.16,1,.3,1),box-shadow .16s cubic-bezier(.16,1,.3,1)}.stored-subject-item:hover{border-color:#00000024;box-shadow:0 4px 16px -2px #0000000a}.stored-subject-row{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;cursor:pointer;user-select:none;gap:14px;background:#fff;transition:background .12s ease}.stored-subject-row:hover{background:#fafafb}.subject-row-left{display:flex;align-items:center;gap:12px;min-width:0}.subject-icon-seal{width:36px;height:36px;border-radius:10px;background:#f4f4f6;color:#18181b;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .16s ease}.stored-subject-row:hover .subject-icon-seal{transform:scale(1.05)}.subject-meta-stack{display:flex;flex-direction:column;gap:4px;min-width:0}.subject-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.subject-display-name{font-size:.92rem;font-weight:700;color:#0c0c0e;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:500px}.subject-grade-pill{padding:2px 8px;border-radius:6px;background:#f4f4f6;color:#3f3f46;font-size:.7rem;font-weight:600;border:1px solid rgba(0,0,0,.06);letter-spacing:.02em}.subject-stats-line{display:flex;align-items:center;gap:6px;font-size:.75rem;color:#71717a;font-weight:500}.subject-stats-line .dot-sep{color:#cbd5e1;font-size:.75rem}.subject-kb-val{color:#059669;font-weight:600}.subject-row-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.btn-subject-expand{display:inline-flex;align-items:center;gap:6px;background:#f4f4f6;border:1px solid rgba(0,0,0,.06);border-radius:8px;padding:6px 12px;font-family:var(--font-sans);font-size:.76rem;font-weight:600;color:#27272a;cursor:pointer;transition:all .14s ease}.btn-subject-expand:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e}.chevron-icon{transition:transform .2s cubic-bezier(.16,1,.3,1)}.btn-subject-delete{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:transparent;border:1px solid transparent;color:#a1a1aa;cursor:pointer;transition:all .14s ease}.btn-subject-delete:hover{background:#fef2f2;color:#dc2626;border-color:#dc262633;transform:scale(1.05)}.stored-subject-drawer{border-top:1px solid rgba(0,0,0,.06);background:#fbfbfc}.stored-subject-drawer.hidden{display:none}.drawer-inner{padding:16px 18px 20px;display:flex;flex-direction:column;gap:12px}.stored-blueprint-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 3px #00000005;transition:border-color .14s ease,box-shadow .14s ease}.stored-blueprint-card:hover{border-color:#00000024;box-shadow:0 3px 10px #0000000a}.blueprint-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.blueprint-header-left{display:flex;align-items:flex-start;gap:10px;min-width:0}.blueprint-idx-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;border-radius:6px;background:#0c0c0e;color:#fff;font-size:.68rem;font-weight:700;flex-shrink:0;margin-top:2px}.blueprint-title-wrap{min-width:0}.blueprint-title{font-size:.88rem;font-weight:650;color:#18181b;line-height:1.45}.blueprint-header-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.blueprint-meta-tag{font-size:.72rem;color:#71717a;background:#f4f4f6;padding:3px 8px;border-radius:6px;font-weight:500;border:1px solid rgba(0,0,0,.04)}.blueprint-size-badge{font-size:.72rem;font-weight:600;color:#059669;background:#ecfdf5;border:1px solid rgba(5,150,105,.14);padding:3px 8px;border-radius:6px}.btn-delete-blueprint{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:transparent;border:1px solid transparent;color:#a1a1aa;cursor:pointer;transition:all .12s ease}.btn-delete-blueprint:hover{background:#fef2f2;color:#dc2626;border-color:#dc262633}.btn-entry-view-toggle{display:inline-flex;align-items:center;gap:5px;background:#f4f4f6;border:1px solid rgba(0,0,0,.06);border-radius:6px;padding:3px 8px;font-family:var(--font-sans);font-size:.72rem;font-weight:600;color:#27272a;cursor:pointer;transition:all .14s ease}.btn-entry-view-toggle:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e}.entry-chevron-icon{transition:transform .2s cubic-bezier(.16,1,.3,1)}.blueprint-body-collapsible{transition:all .2s ease}.blueprint-body-collapsible.hidden{display:none!important}.blueprint-section{display:flex;flex-direction:column;gap:8px}.blueprint-section-heading{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#52525b}@media(max-width:900px){.clean-header{padding:16px 28px;min-height:76px}.clean-user-btn{width:48px;height:48px}.clean-user-initial{font-size:1.15rem}.clean-school-logo,.school-crest-svg,.school-crest-img{width:48px;height:48px}.school-main-title{font-size:1.2rem;letter-spacing:.06em}}@media(max-width:680px){.clean-header{padding:12px 16px;min-height:60px}.header-left-cluster{gap:12px}.clean-user-btn{width:40px;height:40px}.clean-user-initial{font-size:.95rem}.clean-school-logo,.school-crest-svg,.school-crest-img{width:40px;height:40px}.school-main-title{font-size:.88rem;letter-spacing:.04em;white-space:normal}.clean-studio-viewport{padding:14px 12px 36px}.clean-headline{font-size:1.85rem;margin-bottom:14px}.clean-instructions-strip{flex-direction:column;gap:6px}.instruction-vertical-divider{width:100%;height:1px;margin:4px 0}.instruction-open-item{padding:8px 6px}.smart-input-box{padding:12px 14px;min-height:130px}.input-meter-2px-rail{left:-14px;right:-14px;top:-12px}.training-promo-card{flex-direction:column;align-items:flex-start;gap:12px}.btn-open-training-switch{width:100%;justify-content:center}.stored-training-card{padding:16px 14px;border-radius:16px}.stored-subject-row{flex-direction:column;align-items:flex-start;gap:10px}.subject-row-right{width:100%;justify-content:space-between;padding-top:6px;border-top:1px dashed rgba(0,0,0,.06)}.blueprint-card-header{flex-direction:column;align-items:flex-start;gap:6px}.blueprint-header-right{width:100%;justify-content:space-between}.loading-pipeline-card{padding:24px 20px;margin:16px auto}}@media(max-width:420px){.clean-header{padding:8px 10px;min-height:52px}.header-left-cluster{gap:8px}.clean-user-btn,.clean-school-logo,.school-crest-svg,.school-crest-img{width:35px;height:35px}.school-main-title{font-size:.8rem}.clean-headline{font-size:1.55rem}}.btn-customize-pre{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:9999px;border:1px solid rgba(0,0,0,.1);background:#f4f4f6;color:#3f3f46;font-family:var(--font-sans);font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);outline:none}.btn-customize-pre:hover{background:#eaeaef;border-color:#00000038;color:#0c0c0e;transform:translateY(-1px)}.btn-customize-pre:active{transform:scale(.95)}.btn-primary-generate{display:inline-flex;align-items:center;gap:7px;padding:7px 18px;border-radius:9999px;background:#0c0c0e!important;color:#fff!important;border:1px solid #0C0C0E!important;font-family:var(--font-sans);font-size:.85rem;font-weight:700;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 10px #00000038;outline:none}.btn-primary-generate:hover{background:#27272a!important;border-color:#27272a!important;transform:translateY(-1px);box-shadow:0 4px 16px #00000052}.btn-primary-generate:active{transform:scale(.95)}.pedagogical-focus-strip{display:flex;align-items:center;gap:10px;margin-top:14px;margin-bottom:2px;flex-wrap:wrap;width:100%}.focus-strip-label{font-size:.77rem;font-weight:700;color:#71717a;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.focus-chips-wrap{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.pedagogical-chip-btn{display:inline-flex;align-items:center;padding:5px 13px;border-radius:var(--radius-full, 9999px);border:1px solid rgba(0,0,0,.09);background:#fff;color:#3f3f46;font-family:var(--font-sans);font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 2px #00000008;outline:none}.pedagogical-chip-btn:hover{background:#f4f4f6;border-color:#0003;color:#0c0c0e;transform:translateY(-1px);box-shadow:0 2px 6px #0000000f}.pedagogical-chip-btn.active{background:#0c0c0e!important;color:#fff!important;border-color:#0c0c0e!important;box-shadow:0 2px 8px #00000038}@media(max-width:640px){.btn-primary-generate .btn-generate-label{display:none}.btn-primary-generate{width:38px;height:38px;padding:0;justify-content:center;border-radius:50%}.btn-customize-pre span{display:none}.btn-customize-pre{padding:7px 9px}.pedagogical-focus-strip{gap:6px;margin-top:10px}.pedagogical-chip-btn{font-size:.75rem;padding:4px 9px}}.btn-primary-generate:disabled{opacity:.42!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}.studio-senapati-hint{display:inline-flex;align-items:center;font-size:.72rem;font-weight:600;color:#dc2626;background:#fef2f2eb;border:1px solid rgba(220,38,38,.22);border-radius:9999px;padding:3px 9px;white-space:nowrap}.studio-clarification-card{width:100%;margin-top:12px;padding:14px 16px;background:#faf9f6;border:1px solid rgba(12,12,14,.14);border-radius:16px;text-align:left;box-shadow:0 8px 24px #0c0c0e0f}.clarification-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.clarification-badge{font-size:.76rem;font-weight:700;color:#0c0c0e;letter-spacing:.02em}.clarification-close-btn{border:none;background:transparent;color:#71717a;font-size:.85rem;cursor:pointer;padding:2px 6px;border-radius:6px}.clarification-close-btn:hover{background:#0000000f;color:#0c0c0e}.clarification-reason{margin:0 0 10px;font-size:.85rem;line-height:1.45;color:#27272a}.clarification-chips-row{display:flex;flex-wrap:wrap;gap:8px}.clarification-chip-btn{border:1px solid rgba(12,12,14,.14);background:#fff;color:#0c0c0e;border-radius:9999px;padding:6px 12px;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s ease}.clarification-chip-btn:hover{background:#0c0c0e;color:#fff;border-color:#0c0c0e}.command-bar-wrapper,.preview-command-bar{position:sticky;top:94px;z-index:90;display:flex;flex-direction:column;gap:0;padding:8px 20px;background:#fffffff2;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 4px 20px -2px #00000008;box-sizing:border-box;width:100%;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.command-bar-wrapper::-webkit-scrollbar{display:none}.command-bar-row-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:14px;min-width:0}.desktop-only-inline{display:inline-flex!important}.mobile-only-flex,.mobile-only-item,.btn-text-show-mobile{display:none!important}.btn-text-hide-mobile{display:inline!important}.command-bar-left{display:flex;align-items:center;gap:10px;min-width:fit-content!important;flex-shrink:0!important}.clean-back-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-family:var(--font-sans);font-size:.78rem;font-weight:600;color:#0c0c0e;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:9999px;cursor:pointer;transition:all .14s ease;box-shadow:0 1px 3px #0000000a;flex-shrink:0}.clean-back-btn:hover{background:#f4f4f6;border-color:#0003;transform:translateY(-1px)}.command-meta-block{display:flex;flex-direction:column;gap:1px;min-width:0}.command-exam-badge{font-family:var(--font-serif);font-size:.86rem;font-weight:700;color:#0c0c0e;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.command-meta-stats{font-size:.72rem;color:#71717a;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.clean-action-pill-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;font-family:var(--font-sans);font-size:.78rem;font-weight:600;color:#0c0c0e;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:9999px;cursor:pointer;transition:all .14s ease;box-shadow:0 1px 3px #0000000a;white-space:nowrap;flex-shrink:0}.clean-action-pill-btn:hover{background:#f4f4f6;border-color:#0003;transform:translateY(-1px)}.test-meta-badge{display:flex;flex-direction:column}.test-title-text{font-family:var(--font-serif);font-size:.92rem;font-weight:700;color:#0c0c0e;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.01em}.test-sub-text{font-size:.72rem;color:#71717a;margin-top:1px;white-space:nowrap}.command-bar-center{display:flex;align-items:center;justify-content:center;min-width:0}.apple-glass-pill-group{display:inline-flex;align-items:center;background:#f4f4f6;border:1px solid rgba(0,0,0,.08);border-radius:9999px;padding:2.5px;gap:2.5px;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.apple-glass-pill-group::-webkit-scrollbar{display:none}.apple-glass-pill-btn{padding:4px 10px;font-family:var(--font-sans);font-size:.77rem;font-weight:600;color:#71717a;background:transparent;border:none;border-radius:9999px;cursor:pointer;transition:all .14s ease;white-space:nowrap;flex-shrink:0}.apple-glass-pill-btn:hover{color:#0c0c0e}.apple-glass-pill-btn.active{background:#0c0c0e;color:#fff;box-shadow:0 2px 6px #00000029}.command-bar-right{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto;min-width:0}.btn-obsidian-print{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;font-family:var(--font-sans);font-size:.8rem;font-weight:700;color:#fff;background:#0c0c0e;border:none;border-radius:9999px 0 0 9999px;cursor:pointer;transition:all .14s ease;box-shadow:0 2px 8px #00000029;white-space:nowrap;flex-shrink:0}.btn-obsidian-print:hover{background:#27272a}.btn-obsidian-bulk{display:inline-flex;align-items:center;gap:4px;padding:7px 10px;font-family:var(--font-sans);font-size:.78rem;font-weight:600;color:#fff;background:#18181b;border:none;border-left:1px solid rgba(255,255,255,.16);cursor:pointer;transition:all .14s ease;white-space:nowrap;flex-shrink:0}.btn-obsidian-bulk:hover{background:#27272a}.btn-obsidian-trigger{display:inline-flex;align-items:center;justify-content:center;padding:7px 9px;font-family:var(--font-sans);font-size:.8rem;font-weight:700;color:#fff;background:#18181b;border:none;border-left:1px solid rgba(255,255,255,.16);border-radius:0 9999px 9999px 0;cursor:pointer;transition:all .14s ease;flex-shrink:0}.btn-obsidian-trigger:hover{background:#27272a}.paper-wrapper{max-width:900px;width:100%;margin:32px auto 80px;padding:0 20px;animation:fade-in-up .3s var(--ease-spring)}.physical-a4-sheet,.physical-a4-page,.physical-a4-sheet.physical-a4-page{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm, 4px);box-shadow:0 4px 24px #00000014;width:210mm;min-height:297mm;height:auto;box-sizing:border-box;padding:10mm 9mm 9mm!important;margin:0 auto 32px;position:relative;overflow:visible;display:flex;flex-direction:column}.sheet-watermark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);font-size:clamp(3.2rem,6vw,5rem);font-weight:900;color:#000;opacity:.08;pointer-events:none;white-space:nowrap;letter-spacing:.14em;user-select:none;z-index:0;max-width:90%;text-align:center}.template-switcher-group{display:inline-flex;align-items:center;gap:3px;background:var(--bg-muted);border-radius:var(--radius-full);padding:2.5px;flex-shrink:0}.template-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-family:var(--font-sans);font-size:.72rem;font-weight:500;color:var(--text-muted);background:transparent;border:none;border-radius:var(--radius-full);cursor:pointer;transition:all .16s var(--ease-spring);letter-spacing:.01em;white-space:nowrap}.template-chip:hover{color:var(--text-main);background:#00000008}.template-chip.active{background:#fff;color:var(--text-main);font-weight:600;box-shadow:0 1px 3px #00000014}.template-chip svg{flex-shrink:0}.tpl-classic{font-family:Georgia,Times New Roman,serif}.tpl-classic-header{text-align:center;padding-bottom:10px;margin-bottom:10px;border-bottom:2px double #18181B}.tpl-classic-crest-center{display:flex;justify-content:center;margin-bottom:4px}.tpl-classic-inst-name{font-size:12.5pt;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#0a0a0c}.tpl-classic-inst-sub{font-size:7.5pt;color:#52525b;margin-top:2px;font-style:italic}.tpl-classic-divider{width:80px;height:1.5px;background:linear-gradient(90deg,transparent,#0A0A0C,transparent);margin:6px auto 5px}.tpl-classic-exam-title{font-size:10pt;font-weight:700;color:#18181b;letter-spacing:.02em}.tpl-classic-subject-title{font-size:9.5pt;font-weight:700;color:#0a0a0c;margin-top:2px}.tpl-classic-meta-strip{display:flex;justify-content:center;gap:16px;margin-top:5px;flex-wrap:wrap}.tpl-classic-meta-item{font-size:8pt;color:#3f3f46}.tpl-classic-meta-item strong{color:#18181b}.tpl-classic-student-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:8px;padding:6px 0;border-bottom:1px solid rgba(0,0,0,.08)}.tpl-classic-field{display:flex;align-items:baseline;gap:8px;font-size:8pt;font-weight:600;color:#3f3f46}.tpl-classic-line{flex:1;border-bottom:1px solid #A1A1AA;min-height:14px}.tpl-classic-instructions{background:#fafaf9;border:1px solid #E7E5E4;border-radius:6px;padding:6px 12px;margin-bottom:10px}.tpl-classic-instructions-title{font-size:8pt;font-weight:700;margin-bottom:3px;color:#18181b}.tpl-classic-instructions-list{padding-left:18px;font-size:7.8pt;color:#52525b;line-height:1.42;margin:0}.tpl-classic-instructions-list li{margin-bottom:2px}.tpl-classic-footer{text-align:center;margin-top:32px;padding-top:14px;border-top:3px double #18181B;font-size:.75rem;font-weight:600;color:#71717a;letter-spacing:.08em;text-transform:uppercase}.tpl-modern{font-family:var(--font-sans)}.tpl-modern-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.08);margin-bottom:6px}.tpl-modern-inst{font-size:11pt;font-weight:700;color:#0a0a0c;letter-spacing:-.01em}.tpl-modern-sub{font-size:7pt;color:#52525b;margin-top:2px}.tpl-modern-right{display:flex;gap:6px;align-items:center}.tpl-modern-badge{display:inline-block;padding:3px 10px;background:#0a0a0c;color:#fff;font-size:7pt;font-weight:700;border-radius:var(--radius-full);letter-spacing:.03em;text-transform:uppercase}.tpl-modern-set-badge{display:inline-block;padding:3px 9px;background:#f4f4f5;color:#3f3f46;font-size:7pt;font-weight:600;border-radius:var(--radius-full);border:1px solid rgba(0,0,0,.08)}.tpl-modern-title-block{text-align:center;padding:10px 0 6px}.tpl-modern-title{font-size:11.5pt;font-weight:800;letter-spacing:-.02em;color:#0a0a0c;margin-bottom:6px}.tpl-modern-chips{display:flex;justify-content:center;gap:6px;margin-top:4px;flex-wrap:wrap}.tpl-modern-chip{display:inline-flex;align-items:center;gap:4px;padding:2.5px 9px;font-size:7.2pt;font-weight:500;color:#3f3f46;background:#f4f4f5;border-radius:var(--radius-full);border:1px solid rgba(0,0,0,.06)}.tpl-modern-student-strip{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;padding:6px 0;border-top:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08);margin-bottom:8px}.tpl-modern-field{display:flex;align-items:baseline;gap:8px;font-size:7.6pt;font-weight:600;color:#52525b}.tpl-modern-underline{flex:1;border-bottom:1px dashed #A1A1AA;min-height:13px;font-weight:400;color:#3f3f46;font-size:7.6pt}.tpl-modern-instructions{background:transparent;padding:4px 0;margin-bottom:8px;display:flex;flex-wrap:wrap;gap:3px 14px}.tpl-modern-instruction-item{font-size:7.6pt;color:#52525b;line-height:1.4}.tpl-modern-footer{display:flex;justify-content:space-between;margin-top:30px;padding-top:12px;border-top:1px solid rgba(0,0,0,.06);font-size:.6875rem;color:#a1a1aa}.tpl-board{font-family:var(--font-sans);color:#0c0c0e}.tpl-board-top-rule{height:4px;border-top:3px double #0C0C0E;border-bottom:1px solid #0C0C0E;margin-bottom:8px}.tpl-board-header{display:grid;grid-template-columns:130px 1fr 130px;align-items:start;gap:10px;margin-bottom:8px}.tpl-board-series-code{font-size:.72rem;font-weight:700;color:#18181b;font-family:var(--font-mono);line-height:1.45}.tpl-board-set-pill{display:inline-block;padding:3px 8px;border:1.5px solid #0C0C0E;border-radius:4px;font-size:.74rem;font-weight:800;margin-top:5px;background:#0c0c0e;color:#fff;letter-spacing:.04em}.tpl-copy-flag{font-size:.68rem;font-weight:600;color:#52525b;margin-top:4px}.tpl-board-center-block{text-align:center}.tpl-board-crest-wrap{display:flex;justify-content:center;margin-bottom:4px}.paper-seal-crest{width:38px;height:38px}.tpl-board-inst{font-family:Cinzel,Playfair Display,Georgia,serif;font-size:1.15rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#0c0c0e;margin:0 0 2px;line-height:1.25}.tpl-board-address{font-size:.7rem;font-weight:600;color:#52525b;letter-spacing:.08em;margin-bottom:3px;text-transform:uppercase}.tpl-board-exam-name{font-family:Playfair Display,Georgia,serif;font-size:.85rem;font-weight:700;color:#18181b;margin-bottom:2px;letter-spacing:.02em}.tpl-board-subject-line{font-size:.85rem;color:#0c0c0e;margin-top:1px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.tpl-board-roll-box{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.roll-label{font-size:.72rem;font-weight:700;color:#0c0c0e;text-transform:uppercase;letter-spacing:.04em}.tpl-board-roll-cells{display:flex;gap:2.5px}.tpl-board-cell{width:13px;height:18px;border:1.2px solid #0C0C0E;border-radius:2px;background:#fff}.roll-subtext{font-size:.62rem;color:#71717a;text-align:right;margin-top:3px}.tpl-board-info-bar{display:flex;justify-content:space-between;align-items:center;padding:5px 12px;background:#fafafa;border:1px solid #0C0C0E;border-radius:4px;margin-bottom:8px;font-size:.78rem;color:#0c0c0e}.tpl-board-info-left,.tpl-board-info-right{display:flex;align-items:center}.meta-sep{color:#a1a1aa;margin:0 10px}.tpl-board-instructions{margin-bottom:8px;padding:6px 12px;border:1px solid #E4E4E7;border-left:3.5px solid #0C0C0E;background:#fafafa;border-radius:0 4px 4px 0}.tpl-board-instructions-title{font-size:.76rem;font-weight:700;color:#0c0c0e;margin-bottom:2px;text-transform:uppercase;letter-spacing:.04em}.tpl-board-instructions-list{padding-left:16px;font-size:.75rem;color:#3f3f46;line-height:1.45;margin:0}.tpl-board-instructions-list li{margin-bottom:1px}.tpl-board-separator{height:2px;background:repeating-linear-gradient(90deg,#0C0C0E 0px,#0C0C0E 6px,transparent 6px,transparent 12px);margin-bottom:8px}.tpl-board-footer{text-align:center;margin-top:28px;padding-top:14px;border-top:1px solid #E4E4E7}.tpl-board-footer-line{font-size:.82rem;font-weight:700;color:#0c0c0e;letter-spacing:.08em}.tpl-board-footer-sub{font-size:.68rem;font-weight:600;color:#71717a;letter-spacing:.06em;margin-top:3px;text-transform:uppercase}.tpl-eco{font-family:var(--font-sans)}.tpl-eco-header{display:flex;justify-content:space-between;align-items:flex-end;padding-bottom:6px;border-bottom:2px solid #0C0C0E;margin-bottom:8px}.tpl-eco-inst{font-family:Cinzel,serif;font-size:11pt;font-weight:800;text-transform:uppercase;color:#0c0c0e;letter-spacing:.03em;margin:0 0 2px}.tpl-eco-title{font-size:8.5pt;font-weight:600;color:#3f3f46}.tpl-eco-header-meta{display:flex;align-items:center;gap:10px;font-size:8pt;color:#3f3f46}.eco-set-badge{display:inline-block;background:#0c0c0e;color:#fff;font-size:7.5pt;font-weight:700;padding:2px 8px;border-radius:4px;letter-spacing:.04em}.tpl-eco-student-row{display:flex;gap:18px;margin-bottom:8px}.tpl-eco-field{display:flex;align-items:baseline;flex:1;gap:6px;font-size:7.8pt;font-weight:600;color:#3f3f46}.tpl-eco-line{flex:1;border-bottom:1px solid #A1A1AA;min-height:13px}.tpl-eco-instructions{background:#f4f4f5;border:1px solid #E4E4E7;padding:5px 10px;border-radius:4px;font-size:7.6pt;color:#3f3f46;margin-bottom:8px;line-height:1.4}.tpl-eco-footer{text-align:center;margin-top:24px;padding-top:10px;border-top:1px solid rgba(0,0,0,.1);font-size:.72rem;font-weight:600;color:#71717a}.tpl-eco-1col{column-count:1!important;column-gap:0!important}.tpl-eco .sheet-question-card{margin-bottom:5px!important}.tpl-eco .sheet-section-divider{margin:6px 0 4px!important;padding:2px 0!important}.sheet-header-block{text-align:center;padding-bottom:18px;border-bottom:2px solid var(--text-main);margin-bottom:20px}.sheet-institute-name{font-size:1.25rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.sheet-institute-sub{font-size:.75rem;color:var(--text-muted);margin-top:2px}.sheet-exam-title{font-size:1rem;font-weight:700;margin-top:12px}.sheet-meta-grid{display:grid;grid-template-columns:1fr 1fr;font-size:.8125rem;color:var(--text-secondary);margin-top:8px;gap:3px}.sheet-meta-left{text-align:left}.sheet-meta-right{text-align:right}.sheet-instructions-box{background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-xs);padding:10px 14px;margin-bottom:24px}.instructions-header{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.instructions-list{padding-left:16px;font-size:.8125rem;color:var(--text-secondary);line-height:1.55}.page-columns-grid{display:flex!important;width:100%!important;flex:1 1 auto!important;gap:0!important;box-sizing:border-box!important;overflow:visible!important}.page-col{flex:1 1 0%!important;min-width:0!important;width:calc(50% - 9px)!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;overflow:visible!important}.page-col-left{padding-right:14px!important}.page-col-divider{width:1px!important;background:#d0d0d0!important;flex-shrink:0!important;margin:0!important;align-self:stretch!important}.page-col-right{padding-left:14px!important}.page-col-single{width:100%!important;flex:1 1 100%!important;padding:0!important}.sheet-questions-2col{column-count:2!important;column-gap:18px!important;column-rule:.5px solid #D0D0D0!important;column-fill:auto!important;flex:1 1 0%!important;height:100%!important;display:block!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important}.sheet-q-text{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important;color:#000!important;line-height:1.44!important;margin-bottom:4px!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}.sheet-options-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px 12px!important;font-size:9.8pt!important;line-height:1.38!important}.sheet-option-item{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:9.6pt!important;padding:1px 0!important;line-height:1.38!important;word-break:break-word!important}.sheet-opt-letter{font-size:9.6pt!important;font-weight:700!important;margin-right:4px!important}.omr-wrapper{max-width:720px;width:100%;margin:32px auto 80px;padding:0 24px;animation:fade-in-up .3s var(--ease-spring)}.physical-omr-sheet{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-paper);padding:44px 48px;position:relative}.fiducial-mark{position:absolute;width:14px;height:14px;background-color:#000}.fiducial-top-left{top:18px;left:18px}.fiducial-top-right{top:18px;right:18px}.fiducial-bottom-left{bottom:18px;left:18px}.fiducial-bottom-right{bottom:18px;right:18px}.omr-title-block{text-align:center;padding-bottom:16px;border-bottom:2px solid var(--text-main);margin-bottom:20px}.omr-inst-name{font-size:1.1875rem;font-weight:800;text-transform:uppercase}.omr-sheet-subtitle{font-size:.75rem;color:var(--text-muted);margin-top:2px}.omr-student-box{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--bg-subtle)}.omr-input-field{display:flex;flex-direction:column;gap:3px}.omr-field-label{font-size:.6875rem;font-weight:700;text-transform:uppercase;color:var(--text-muted)}.omr-field-val{font-size:.8125rem;font-weight:600;border-bottom:1px solid #18181B;min-height:22px}.omr-barcode-box{text-align:center;padding:14px;border:1px dashed #D0D0D8;border-radius:var(--radius-xs);margin-bottom:20px}.barcode-sub{font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted);margin-top:5px}.omr-roll-section{margin-bottom:22px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-xs)}.section-label-omr{font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px;text-align:center}.roll-bubble-columns{display:flex;justify-content:center;gap:6px}.roll-digit-col{display:flex;flex-direction:column;align-items:center;gap:2px}.roll-col-header{font-size:.625rem;font-weight:700;color:var(--text-muted);width:20px;text-align:center}.roll-circle-bubble{width:20px;height:20px;border:1.5px solid #18181B;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.5625rem;font-weight:700}.omr-answers-section{padding:16px;border:1px solid var(--border);border-radius:var(--radius-xs)}.answers-grid-2col{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px 16px}.bubble-row-item{display:flex;align-items:center;gap:10px}.q-badge-num{font-size:.75rem;font-weight:700;width:26px;text-align:right}.bubbles-set-4{display:flex;gap:6px}.bubble-item-circle{width:24px;height:24px;border:1.5px solid #18181B;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.625rem;font-weight:700;cursor:pointer;transition:all var(--trans-fast)}.bubble-item-circle:hover{background-color:var(--bg-hover)}.drawer-backdrop{position:fixed;inset:0;z-index:200;background:#00000059;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;justify-content:flex-end;animation:fade-in var(--trans-fast)}.drawer-backdrop.hidden{display:none}.solutions-drawer{width:100%;max-width:640px;height:100%;background:#fff;box-shadow:-8px 0 32px #0000001a;display:flex;flex-direction:column;animation:slide-in-right .24s var(--ease-spring)}.drawer-header{padding:18px 24px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.drawer-body{padding:24px;overflow-y:auto;flex:1}.solution-q-card{margin-bottom:20px;padding:18px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff}.solution-badge-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.correct-ans-pill{display:inline-flex;align-items:center;padding:2px 8px;background:var(--success-bg);border:1px solid rgba(5,150,105,.2);border-radius:var(--radius-full);font-size:.6875rem;font-weight:700;color:var(--success)}.step-sol-box{margin-top:10px;padding:12px 14px;background:var(--bg-subtle, #F8F9FA);border-radius:var(--radius-xs, 6px);font-size:.8125rem;line-height:1.6;border-left:3px solid var(--accent, #0C0C0E)}.step-sol-header{margin-bottom:8px;font-size:.8125rem;color:var(--text-main, #18181B)}.sol-step-container{display:flex;flex-direction:column;gap:7px;margin-top:6px}.sol-step-row{display:flex;align-items:flex-start;gap:10px;padding:8px 12px;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:6px;font-size:.8125rem;line-height:1.55;box-shadow:0 1px 2px #00000005}.sol-step-badge{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;background:#0c0c0e;color:#fff;font-size:.6875rem;font-weight:700;border-radius:4px;letter-spacing:.3px;text-transform:uppercase}.sol-step-content{flex:1;color:var(--text-main, #18181B);word-break:break-word}.sol-step-mark-pill{display:inline-block;padding:1px 6px;background:#eff6ff;color:#1d4ed8;border:1px solid #BFDBFE;font-size:.72rem;font-weight:600;border-radius:4px;margin:0 4px}.sol-step-bullet{flex-shrink:0;font-weight:700;color:var(--text-muted, #71717A);font-size:.875rem;line-height:1.3}.sol-step-single{line-height:1.6;color:var(--text-main, #18181B)}.key-matrix-table{width:100%;border-collapse:collapse;margin-bottom:22px;font-size:.8125rem}.key-matrix-table th,.key-matrix-table td{padding:7px 10px;text-align:center;border:1px solid var(--border)}.key-matrix-table th{background:var(--bg-subtle);font-weight:600}.sheet-question-card{position:relative;padding:0 0 2px;background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;transition:background .18s ease;break-inside:avoid;page-break-inside:avoid;margin-bottom:5px}.page-col>.sheet-question-card:last-child{margin-bottom:0!important}.sheet-question-card:hover{background:#c5a86908!important}.question-card-actions{position:absolute;top:6px;right:6px;opacity:0;pointer-events:none;transition:opacity .16s ease;display:flex;gap:6px;z-index:25}.sheet-question-card:hover .question-card-actions{opacity:1;pointer-events:auto}.btn-card-edit,.btn-card-swap{pointer-events:auto!important;cursor:pointer!important;user-select:none!important;z-index:30!important}.modal-backdrop-editor{position:fixed;inset:0;z-index:300;background:#0c0c0ea6;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:center;padding:20px;animation:fade-in .18s cubic-bezier(.16,1,.3,1)}.editor-modal-container{background:#faf9f6;border:1.5px solid rgba(0,0,0,.12);border-radius:22px;box-shadow:0 32px 80px -12px #0c0c0e52,0 0 0 1px #0000000d;max-width:820px;width:100%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;animation:scale-in .22s cubic-bezier(.16,1,.3,1)}.editor-modal-header{padding:18px 28px;background:#fff;border-bottom:1px solid rgba(0,0,0,.08);display:flex;align-items:center;justify-content:space-between;gap:16px}.editor-header-left{display:flex;flex-direction:column;gap:4px}.editor-header-badge-row{display:flex;align-items:center;gap:8px}.editor-seal-badge{color:var(--gold-accent, #C5A869);font-size:.95rem;line-height:1}.editor-q-pill{font-family:var(--font-mono, monospace);font-size:.75rem;font-weight:800;color:#fff;background:var(--ink-primary, #0C0C0E);padding:2.5px 8px;border-radius:6px;letter-spacing:.04em}.editor-type-pill{font-family:var(--font-sans);font-size:.74rem;font-weight:700;padding:2.5px 10px;border-radius:9999px;border:1px solid rgba(0,0,0,.08);background:#f4f4f6;color:#3f3f46}.editor-type-pill.pill-mcq{background:#c5a8691f;color:var(--gold-deep, #9B7B38);border-color:#c5a86959}.editor-type-pill.pill-subj{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.editor-modal-title{font-family:var(--font-display, "Playfair Display", Georgia, serif);font-size:1.25rem;font-weight:800;letter-spacing:-.025em;color:var(--ink-primary, #0C0C0E);margin:0;line-height:1.2}.editor-header-right{display:flex;align-items:center;gap:10px}.editor-ai-swap-btn{background:#fff;border:1.5px solid var(--ink-primary, #0C0C0E);border-radius:9999px;padding:7px 16px;font-family:var(--font-sans);font-size:.8rem;font-weight:700;color:var(--ink-primary, #0C0C0E);cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .16s ease;box-shadow:0 1px 3px #0000000a}.editor-ai-swap-btn:hover{background:var(--ink-primary, #0C0C0E);color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #0c0c0e33}.editor-close-icon-btn{width:36px;height:36px;border-radius:50%;border:1px solid rgba(0,0,0,.1);background:#f4f4f6;color:#3f3f46;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .16s ease;font-size:13px;font-weight:700;outline:none}.editor-close-icon-btn:hover{background:#eaeaef;color:#0c0c0e;transform:scale(1.05)}.editor-modal-body{padding:22px 28px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:16px;background:#faf9f6}.editor-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:18px 20px;box-shadow:0 2px 10px -2px #00000008;display:flex;flex-direction:column;gap:12px}.editor-card-header{display:flex;align-items:center;gap:10px;margin-bottom:2px}.editor-step-num{font-family:var(--font-mono, monospace);font-size:.74rem;font-weight:800;background:#f4f4f6;color:var(--ink-primary, #0C0C0E);border:1px solid rgba(0,0,0,.1);width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.editor-card-title{font-family:var(--font-sans);font-size:.88rem;font-weight:700;color:var(--ink-primary, #0C0C0E);letter-spacing:-.01em}.editor-math-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px;background:#faf9f8;border:1px solid rgba(0,0,0,.06);border-radius:12px}.editor-math-toolbar-label{font-family:var(--font-sans);font-size:.7rem;font-weight:800;color:#71717a;text-transform:uppercase;letter-spacing:.05em;margin-right:4px}.btn-symbol-chip{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:4px 10px;font-family:var(--font-mono, monospace);font-size:.82rem;font-weight:600;color:#27272a;cursor:pointer;transition:all .14s ease;box-shadow:0 1px 2px #00000005}.btn-symbol-chip:hover{background:#fff;border-color:var(--ink-primary, #0C0C0E);color:var(--ink-primary, #0C0C0E);transform:translateY(-1px);box-shadow:0 3px 8px #0000000f}.btn-symbol-chip.btn-template-ar{background:#c5a8691f;border-color:#c5a86966;color:var(--gold-deep, #9B7B38);font-weight:700}.btn-symbol-chip.btn-template-ar:hover{background:#c5a86938;border-color:var(--gold-deep, #9B7B38)}.editor-text-input{width:100%;padding:10px 14px;border:1.5px solid rgba(0,0,0,.12);border-radius:10px;font-family:var(--font-sans);font-size:.92rem;color:#18181b;background:#fff;transition:border-color .16s ease,box-shadow .16s ease;resize:vertical;box-shadow:0 1px 2px #00000005;box-sizing:border-box;line-height:1.5}.editor-text-input:focus{outline:none;border-color:var(--ink-primary, #0C0C0E);box-shadow:0 0 0 3px #0c0c0e14}.editor-text-input::placeholder{color:#9ca3af}select.editor-text-input{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px;padding-right:36px!important;cursor:pointer;background-color:#fff}.editor-preview-wrapper{background:#fdfcf9;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:6px}.preview-header-label{display:flex;align-items:center;gap:6px;font-family:var(--font-mono, monospace);font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#71717a}.editor-preview-box{font-size:.92rem;line-height:1.6;color:#18181b;min-height:36px}.options-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media screen and (max-width:640px){.options-edit-grid{grid-template-columns:1fr}}.option-edit-item{display:flex;align-items:center;gap:10px}.opt-badge-input{font-family:var(--font-mono, monospace);font-size:.8rem;font-weight:800;color:var(--ink-primary, #0C0C0E);background:#faf9f6;border:1px solid rgba(0,0,0,.12);border-radius:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 1px 2px #00000005}.editor-meta-grid-3{display:grid;grid-template-columns:120px 140px 1fr;gap:14px;align-items:start}@media screen and (max-width:640px){.editor-meta-grid-3{grid-template-columns:1fr}}.editor-meta-grid-2{display:grid;grid-template-columns:140px 1fr;gap:14px;align-items:start}@media screen and (max-width:640px){.editor-meta-grid-2{grid-template-columns:1fr}}.form-group-label{font-family:var(--font-sans);font-size:.74rem;font-weight:700;color:#52525b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;display:block}.editor-advanced-details{border:1.5px dashed rgba(0,0,0,.15);border-radius:14px;padding:12px 18px;background:#faf9f8;transition:all .18s ease}.editor-advanced-details[open]{padding:18px;background:#fff;border-style:solid;border-color:#0000001f;box-shadow:0 4px 16px #00000008}.editor-advanced-summary{font-family:var(--font-sans);font-size:.84rem;font-weight:700;color:var(--ink-primary, #0C0C0E);cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;user-select:none}.editor-advanced-summary::-webkit-details-marker{display:none}.editor-advanced-content{display:flex;flex-direction:column;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(0,0,0,.06)}.editor-attachment-card{background:#faf9f8;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.attachment-card-top{display:flex;justify-content:space-between;align-items:center}.btn-remove-attachment{font-family:var(--font-sans);font-size:.74rem;font-weight:700;padding:4px 12px;border-radius:9999px;background:#fee2e2;color:#dc2626;border:1px solid #FECACA;cursor:pointer;display:inline-flex;align-items:center;gap:5px;transition:all .14s ease}.btn-remove-attachment:hover{background:#fca5a5;color:#991b1b}.attachment-controls-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn-editor-upload{font-family:var(--font-sans);font-size:.8rem;font-weight:700;padding:8px 16px;background:#fff;border:1.5px solid var(--ink-primary, #0C0C0E);border-radius:9999px;color:var(--ink-primary, #0C0C0E);cursor:pointer;transition:all .14s ease;white-space:nowrap}.btn-editor-upload:hover{background:var(--ink-primary, #0C0C0E);color:#fff;transform:translateY(-1px)}.attachment-thumb-wrapper{margin-top:8px;display:flex;align-items:center;gap:14px;background:#fff;padding:10px 14px;border-radius:10px;border:1px solid rgba(0,0,0,.08)}.attachment-thumb-box{position:relative;display:inline-block;flex-shrink:0}.attachment-thumb-img{max-height:80px;max-width:140px;border-radius:6px;border:1px solid rgba(0,0,0,.1);object-fit:contain;display:block}.attachment-thumb-delete{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border-radius:50%;background:#ef4444;color:#fff;border:2px solid #FFFFFF;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #00000040;line-height:1}.attachment-thumb-delete:hover{background:#dc2626;transform:scale(1.1)}.editor-modal-footer{padding:18px 28px;border-top:1px solid rgba(0,0,0,.08);display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border-radius:0 0 22px 22px}.footer-tip-text{font-family:var(--font-sans);font-size:.78rem;color:#71717a}.footer-actions-right{display:flex;align-items:center;gap:10px}.btn-editor-cancel{background:#fff;border:1.5px solid rgba(0,0,0,.14);border-radius:9999px;padding:9px 22px;font-family:var(--font-sans);font-size:.85rem;font-weight:600;color:#3f3f46;cursor:pointer;transition:all .14s ease}.btn-editor-cancel:hover{background:#f4f4f6;color:#0c0c0e;border-color:#00000040}.btn-editor-save{background:var(--ink-primary, #0C0C0E);color:#fff;border:1.5px solid var(--ink-primary, #0C0C0E);border-radius:9999px;padding:9px 28px;font-family:var(--font-sans);font-size:.85rem;font-weight:700;cursor:pointer;box-shadow:0 4px 14px #0c0c0e33;transition:all .16s cubic-bezier(.16,1,.3,1)}.btn-editor-save:hover{transform:translateY(-1px);box-shadow:0 6px 20px #0c0c0e47}.bubble-item-circle.marked{background:#18181b!important;color:#fff!important;border-color:#18181b!important;box-shadow:inset 0 1px 3px #0006}.bubble-item-circle.highlight-correct{box-shadow:0 0 0 3px #10b98180!important;border-color:#10b981!important;background:#ecfdf5!important;color:#065f46!important}.omr-action-strip{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding:10px 14px;background:#fafafb;border:1px solid var(--border);border-radius:var(--radius-sm)}.omr-action-strip-left{display:flex;align-items:center;gap:8px;font-size:.8125rem;color:var(--text-secondary)}.omr-action-strip-right{display:flex;align-items:center;gap:8px}.drawer-sub-header{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:#fafafb;border-bottom:1px solid var(--border)}.drawer-actions-row{display:flex;align-items:center;gap:8px}.drawer-header #btn-close-drawer{width:32px;height:32px;border-radius:8px;font-size:.875rem}.print-split-group{position:relative;display:inline-flex}.btn-print-dropdown-trigger{border-left:1px solid rgba(255,255,255,.2);padding:8px 10px;border-top-left-radius:0;border-bottom-left-radius:0}.print-dropdown-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:120;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 12px 32px -4px #00000024;padding:6px;min-width:220px;display:flex;flex-direction:column;gap:2px;animation:scale-in-popover .18s var(--ease-spring)}.print-menu-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border:none;background:transparent;border-radius:var(--radius-xs);font-family:var(--font-sans);font-size:.8125rem;color:var(--text-main);text-align:left;cursor:pointer;transition:all .12s ease;width:100%}.print-menu-item:hover{background:var(--bg-hover);color:var(--accent)}.print-menu-divider{height:1px;background:var(--border-light);margin:4px 0}.format-shift-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--border-light)}.format-shift-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.format-shift-pills{display:inline-flex;align-items:center;gap:4px;background:var(--bg-subtle);border:1px solid var(--border);padding:3px;border-radius:var(--radius-full)}.format-pill{display:inline-flex;align-items:center;gap:6px;background:transparent;border:none;border-radius:var(--radius-full);padding:4px 12px;font-family:var(--font-sans);font-size:.75rem;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .16s var(--ease-spring)}.format-pill:hover{color:var(--text-main);background:#00000008}.format-pill.active{background:#0a0a0c;color:#fff;box-shadow:0 1px 3px #0000001f;font-weight:600}.format-pill span{font-size:.8125rem}.sheet-section-divider{width:100%;box-sizing:border-box;grid-column:auto!important;column-span:none!important;margin:7px 0 5px;padding:2.5px 0;background:transparent;border:none;border-top:1.5px solid #0C0C0E;border-bottom:1px solid #0C0C0E;display:block;text-align:center;break-inside:avoid!important;page-break-inside:avoid!important;-webkit-column-break-inside:avoid!important;break-before:auto!important;page-break-before:auto!important;break-after:avoid!important;page-break-after:avoid!important}.sheet-section-divider:first-child{margin-top:0!important;break-before:avoid!important;page-break-before:avoid!important}.sheet-section-title{font-family:Cinzel,Playfair Display,Georgia,serif;font-size:10.5pt!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase;color:#0c0c0e}.sheet-q-index{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important;font-weight:700!important;color:#000!important;margin-right:5px!important;display:inline!important;line-height:inherit!important}.sheet-q-stem{display:inline!important;line-height:inherit!important;font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important}.sheet-marks-badge{float:right!important;margin-left:8px!important;margin-bottom:2px!important;margin-top:0!important;font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:9.8pt!important;font-weight:700!important;color:#000!important;background:transparent!important;border:none!important;padding:0!important;border-radius:0!important;letter-spacing:.02em!important;white-space:nowrap!important;line-height:inherit!important}.sheet-options-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;column-gap:12px!important;row-gap:3px!important;margin-top:3px!important;margin-bottom:2px!important;font-size:9.6pt!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}.sheet-options-grid.options-stack-1col,.page-col-left .sheet-options-grid.options-stack-1col,.page-col-right .sheet-options-grid.options-stack-1col{grid-template-columns:1fr!important;row-gap:3px!important}.sheet-option-item{display:flex!important;align-items:baseline!important;gap:5px!important;font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:9.8pt!important;line-height:1.38!important;color:#111827!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow-wrap:break-word!important;word-break:break-word!important}.sheet-opt-text{min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:break-word!important}.sheet-option-item .katex{max-width:100%!important;overflow-wrap:break-word!important}.sheet-lang-para{display:block;margin-top:3px;line-height:inherit}.sheet-lang-para.sheet-lang-secondary{margin-top:5px;padding-top:2px;border-top:.5px dashed rgba(0,0,0,.12);color:#18181b}.sheet-opt-letter{font-size:9.6pt!important;font-weight:700!important;color:#0c0c0e!important;flex-shrink:0!important}.sheet-card-subjective{background:transparent!important;border:none!important;box-shadow:none!important;padding:0 0 2px!important;border-radius:0!important;margin-bottom:5px;line-height:1.44}.sheet-card-subjective .sheet-q-text{font-size:10.2pt!important;color:#18181b}.examiner-tabulation-table{width:100%;border-collapse:collapse;font-family:var(--font-sans);font-size:.8125rem;margin-top:10px}.examiner-tabulation-table th{background:#f4f4f6;color:#18181b;font-weight:700;padding:8px 12px;border:1px solid var(--border);text-align:left}.examiner-tabulation-table td{padding:8px 12px;border:1px solid var(--border);color:#27272a;vertical-align:middle}.eval-score-box{width:72px;height:28px;border:1.5px dashed #A1A1AA;border-radius:var(--radius-xs);margin:0 auto;background:#fafafa}.eval-score-box.total-score{border:2px solid #0A0A0C;background:#fff}.eval-remarks-box{width:100%;height:26px;border-bottom:1px solid #D4D4D8}.multiset-toggle-group{display:inline-flex;align-items:center}.multiset-pill-toggle{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:var(--radius-full);border:1px solid rgba(0,0,0,.08);background:#fff;font-family:var(--font-sans);font-size:.75rem;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .18s var(--ease-spring);box-shadow:0 1px 2px #00000008}.multiset-pill-toggle:hover{color:var(--text-main);border-color:#00000029;background:var(--bg-hover)}.multiset-pill-toggle.active{background:#0a0a0c;color:#fff;border-color:#0a0a0c;box-shadow:0 2px 6px #00000026;font-weight:600}.multiset-toggle-dot{width:6px;height:6px;border-radius:50%;background:#a1a1aa;transition:all .18s ease}.multiset-pill-toggle.active .multiset-toggle-dot{background:#10b981;box-shadow:0 0 6px #10b98199}.multiset-toggle-state{font-size:.6875rem;font-weight:700;letter-spacing:.04em;padding:1px 5px;border-radius:4px;background:#f4f4f6;color:#71717a}.multiset-pill-toggle.active .multiset-toggle-state{background:#fff3;color:#fff}.nav-links-strip{display:flex;align-items:center;gap:8px}.nav-link-btn{background:transparent;border:1px solid transparent;color:var(--text-secondary);font-family:var(--font-sans);font-size:.8125rem;font-weight:500;padding:6px 14px;border-radius:var(--radius-full);cursor:pointer;transition:all .16s var(--ease-spring)}.nav-link-btn:hover{color:var(--text-main);background:var(--bg-hover)}.nav-link-btn.active{color:var(--text-main);background:#fff;border-color:var(--border);box-shadow:0 1px 3px #0000000d;font-weight:600}.set-count-dropdown{margin-left:6px;padding:5px 10px;border-radius:var(--radius-full);border:1px solid var(--border);background:#fff;font-family:var(--font-sans);font-size:.75rem;font-weight:600;color:var(--text-main);cursor:pointer;outline:none;box-shadow:0 1px 2px #00000008}.set-count-dropdown:focus{border-color:var(--accent)}.sheet-q-diagram-wrap{text-align:center;margin:10px auto;max-width:90%;page-break-inside:avoid}.sheet-q-diagram-img{max-height:120px;max-width:100%;height:auto;object-fit:contain;border-radius:3px;border:1px solid #E4E4E7;background:#fff}.sheet-q-diagram-caption{font-size:7.5pt;font-style:italic;color:#52525b;margin-top:3px}.sheet-internal-or-block{margin-top:8px;padding-top:4px}.sheet-or-divider{text-align:center;font-size:8pt;font-weight:700;letter-spacing:.05em;color:#3f3f46;margin:6px 0 8px;position:relative}.sheet-or-divider:before,.sheet-or-divider:after{content:"";display:inline-block;width:40px;height:1px;background:#a1a1aa;vertical-align:middle;margin:0 8px}.sheet-or-text{font-style:normal}.sheet-passage-box{background:#f8f8f9;border-left:3.5px solid #18181B;padding:8px 12px;margin-bottom:10px;border-radius:0 4px 4px 0;page-break-inside:avoid}.sheet-passage-badge{font-size:7pt;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#18181b;margin-bottom:4px}.sheet-passage-content{font-size:8.5pt;line-height:1.45;color:#27272a}.physical-a4-pages-container{display:flex;flex-direction:column;align-items:center;gap:28px;width:100%}.physical-a4-sheet.physical-a4-page{width:210mm;min-height:297mm;height:auto;padding:10mm 9mm 9mm!important;margin:0 auto 32px;display:flex;flex-direction:column;box-sizing:border-box;position:relative;overflow:visible;background:#fff}.physical-a4-page:not([data-page="1"]) .physical-a4-page-body{padding-top:6mm!important}.physical-a4-page-body{display:flex;flex-direction:column;flex:1 1 auto;width:100%;box-sizing:border-box;overflow:visible}.tpl-running-header{display:flex;align-items:center;justify-content:space-between;font-family:var(--font-serif, "Cinzel", "Times New Roman", serif);font-size:7.5pt;color:var(--text-muted, #555555);padding-bottom:5px;letter-spacing:.02em;user-select:none}.tpl-running-left{font-size:7pt;font-weight:600;color:#555;display:flex;align-items:center;gap:6px}.tpl-running-center{font-size:8pt;font-weight:700;color:#18181b;text-transform:uppercase;letter-spacing:.04em;text-align:center}.tpl-running-right{font-size:7.5pt;font-weight:700;color:#18181b}.tpl-running-set{border:1px solid #18181B;padding:1px 6px;font-size:7pt;font-weight:700;letter-spacing:.04em}.tpl-running-rule{width:100%;height:0;border-top:1.2px solid #18181B;margin-bottom:12px}.tpl-page-footer{display:flex;align-items:center;justify-content:space-between;font-family:var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);font-size:7pt;color:#71717a;padding-top:6px;margin-top:10px;border-top:.8px solid #E4E4E7;user-select:none}.tpl-footer-left{font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#888}.tpl-footer-center{font-style:italic;font-size:7pt;color:#888}.tpl-footer-right{font-weight:700;color:#18181b;letter-spacing:.03em}.tpl-cont-flag{font-style:italic;font-size:7pt;color:#71717a}.paper-page-separator-indicator{display:flex;align-items:center;justify-content:center;width:100%;max-width:210mm;margin:28px auto;position:relative}.paper-page-separator-indicator:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.18) 15%,rgba(0,0,0,.18) 85%,transparent);z-index:0;user-select:none;pointer-events:none}.paper-page-indicator-pill{display:inline-flex;align-items:center;gap:6px;position:relative;z-index:1;background:#18181b;border:1px solid rgba(255,255,255,.2);color:#fff;font-family:var(--font-sans, sans-serif);font-size:.72rem;font-weight:700;letter-spacing:.04em;padding:3.5px 14px;border-radius:9999px;box-shadow:0 1px 3px #0000000a}.sheet-fade-in{animation:sheetFadeIn .22s ease-out}@keyframes sheetFadeIn{0%{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.shimmer-active-step{position:relative;overflow:hidden;background:#18181b08;border-radius:var(--radius-sm);padding:8px 12px;box-shadow:0 1px 3px #0000000a}.shimmer-active-step:after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);animation:shimmerSwipe 1.8s infinite;pointer-events:none}@keyframes shimmerSwipe{0%{left:-100%}to{left:100%}}.shimmer-track-fill{background:linear-gradient(90deg,#18181b,#4f46e5,#10b981);background-size:200% 100%;animation:trackFillShimmer 2.2s linear infinite}@keyframes trackFillShimmer{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@media screen and (max-width:1200px){.command-meta-block{display:none!important}}@media screen and (max-width:1350px){.command-bar-wrapper{flex-wrap:wrap;padding:8px 18px;row-gap:8px;column-gap:12px}.command-bar-left{flex-shrink:0!important;min-width:fit-content!important}.command-bar-right{flex:0 0 auto;margin-left:auto}.command-bar-center{order:3;width:100%;display:flex;justify-content:center;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 0 4px}}@media screen and (max-width:992px){.command-bar-wrapper{top:76px;flex-wrap:wrap;padding:8px 14px;gap:8px;height:auto}.command-bar-left{flex:1 1 auto;min-width:180px}.command-exam-badge,.command-meta-stats{max-width:160px}.command-bar-center{order:3;width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}.command-bar-right{flex:0 0 auto;flex-wrap:wrap;gap:6px}.paper-wrapper{padding:16px 8px;overflow-x:auto;-webkit-overflow-scrolling:touch}}@media screen and (max-width:768px){.command-bar-wrapper{top:56px;padding:6px 10px 8px;gap:0}.desktop-only-inline{display:none!important}.mobile-only-flex,.mobile-only-item{display:flex!important}.btn-text-hide-mobile{display:none!important}.btn-text-show-mobile{display:inline!important}.command-meta-block{display:none}.command-bar-row-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px}.command-bar-left{flex:0 0 auto}.command-bar-right{flex:1 1 auto;justify-content:flex-end;flex-wrap:nowrap;gap:5px}.command-bar-row-sub{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;width:100%;gap:8px;padding-top:4px;margin-top:3px;border-top:1px solid rgba(0,0,0,.05);overflow-x:auto;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}.command-bar-row-sub::-webkit-scrollbar{display:none}.mobile-set-tabs-wrap{display:inline-flex;align-items:center;flex-shrink:0;width:auto;padding-bottom:0}.template-switcher-mobile{display:inline-flex!important;align-items:center;flex-shrink:0;width:auto;max-width:none;background:#f4f4f6;border:1px solid rgba(0,0,0,.08);border-radius:9999px;padding:2px;gap:2px;box-sizing:border-box;box-shadow:inset 0 1px 2px #0000000a}.template-switcher-mobile .template-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:3.5px 8px;font-size:.72rem;font-weight:600;min-height:26px;border-radius:9999px;background:transparent;color:#52525b;border:none;cursor:pointer;transition:all .14s ease;white-space:nowrap}.template-switcher-mobile .template-chip span{font-size:.75rem;line-height:1}.template-switcher-mobile .template-chip.active{background:#fff;color:#09090b;font-weight:700;box-shadow:0 1.5px 4px #0000001a}.template-switcher-desktop,#btn-toggle-page-guides{display:none!important}.command-bar-center{justify-content:flex-start}.tpl-board-header{grid-template-columns:1fr;gap:10px;text-align:center}.tpl-board-series-code{text-align:center}.tpl-board-roll-box{align-items:center}.tpl-board-info-bar{flex-direction:column;gap:4px;text-align:center}.tpl-classic-student-row,.tpl-modern-student-strip,.tpl-eco-student-row{grid-template-columns:1fr;gap:8px}.solutions-drawer{max-width:100%}.drawer-header,.drawer-sub-header,.drawer-body{padding:14px 16px}.key-matrix-table{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}.modal-backdrop-editor{padding:8px;align-items:flex-end}.editor-modal-container{max-height:94vh;border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%}.editor-modal-header{padding:14px 16px}.editor-modal-header h3{font-size:.95rem}.editor-modal-body{padding:14px 16px;gap:12px}.editor-modal-footer{padding:12px 16px}.options-edit-grid{grid-template-columns:1fr;gap:8px}.editor-math-toolbar{padding:6px 8px;gap:4px}.btn-symbol-chip{padding:3px 6px;font-size:.72rem}.btn-symbol-chip.btn-template-ar{margin-left:0;width:100%;margin-top:4px;text-align:center}.editor-attachment-card,.editor-section-card{padding:10px 12px}.paper-wrapper{max-width:100%!important;width:100%!important;padding:0 10px!important;margin:12px auto 40px!important;box-sizing:border-box!important;overflow-x:hidden!important}.physical-a4-pages-container{width:100%!important;max-width:100%!important;box-sizing:border-box!important}.physical-a4-sheet,.physical-a4-page,.physical-a4-sheet.physical-a4-page{width:100%!important;max-width:100%!important;min-height:auto!important;height:auto!important;padding:18px 14px!important;margin:0 auto 20px!important;border-radius:10px!important;box-shadow:0 2px 14px #0000000f!important;box-sizing:border-box!important;overflow:visible!important}.page-columns-grid{flex-direction:column!important;gap:10px!important;height:auto!important;overflow:visible!important}.page-col{width:100%!important;padding:0!important;overflow:visible!important}.page-col-divider{display:none!important}.sheet-questions-2col{column-count:1!important;column-gap:0!important;column-rule:none!important;display:flex!important;flex-direction:column!important;gap:10px!important}.paper-page-separator-indicator{max-width:100%!important;width:100%!important;margin:10px auto!important}.sheet-watermark{font-size:clamp(1.8rem,5vw,3rem)!important;max-width:95%!important}.katex-display{max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 0!important}.sheet-options-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;gap:6px 10px!important}.sheet-q-text,.sheet-option-item,.tpl-board-inst,.tpl-classic-inst-name{overflow-wrap:break-word!important;word-break:break-word!important}.sheet-question-card{display:flex!important;flex-direction:column!important;position:relative!important;padding:12px 14px 10px!important}.sheet-question-card .question-card-actions{position:static!important;order:99!important;opacity:1!important;pointer-events:auto!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-top:10px!important;padding-top:8px!important;border-top:1px dashed rgba(0,0,0,.08)!important}.sheet-question-card .question-card-actions .btn-card-swap,.sheet-question-card .question-card-actions .btn-card-edit{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:32px!important;padding:5px 12px!important;font-family:var(--font-sans, -apple-system, sans-serif)!important;font-size:.76rem!important;font-weight:600!important;border-radius:9999px!important;background:#fff!important;border:1px solid rgba(0,0,0,.14)!important;color:#18181b!important;box-shadow:0 1px 3px #0000000d!important;cursor:pointer!important;touch-action:manipulation!important}.sheet-question-card .question-card-actions .btn-card-swap:active,.sheet-question-card .question-card-actions .btn-card-edit:active{background:#f4f4f6!important;transform:scale(.97)!important}}@media screen and (max-width:480px){.command-bar-wrapper{top:52px;padding:5px 8px 6px;gap:0}.command-bar-row-top,.command-bar-right{gap:4px}.clean-back-btn{padding:5px 9px;font-size:.74rem;gap:4px}.clean-action-pill-btn{padding:5px 8px;font-size:.73rem;gap:4px}.synced-text{display:none}.btn-synced-pill{padding:5px 7px!important}.btn-obsidian-print{padding:6px 10px;font-size:.74rem;gap:4px}.btn-obsidian-trigger{padding:6px 7px}#print-btn-text{display:inline!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}.template-switcher-mobile .template-chip{padding:5px 2px;font-size:.71rem;gap:2px}.template-switcher-mobile .template-chip span{font-size:.75rem}.paper-wrapper{max-width:100%!important;width:100%!important;padding:6px 4px!important;margin:10px auto 36px!important;box-sizing:border-box!important;overflow-x:hidden!important}.physical-a4-pages-container{width:100%!important;max-width:100%!important;box-sizing:border-box!important}.physical-a4-sheet,.physical-a4-page,.physical-a4-sheet.physical-a4-page{width:100%!important;max-width:100%!important;min-height:auto!important;height:auto!important;padding:14px 10px!important;border-radius:8px!important;box-shadow:0 1px 8px #0000000d!important;box-sizing:border-box!important;overflow-x:hidden!important}.physical-a4-page-body{width:100%!important;max-width:100%!important;box-sizing:border-box!important}.tpl-board-roll-cells{justify-content:center!important;gap:2px!important}.tpl-board-cell{width:12px!important;height:16px!important}.sheet-options-grid{grid-template-columns:1fr!important;gap:6px!important}.sheet-question-card{padding:10px 8px 8px!important}.sheet-q-text{font-size:8.5pt!important;line-height:1.45!important}.sheet-option-item{padding:4px 6px!important;font-size:8pt!important}.tpl-board-inst{font-size:clamp(10.5pt,4.5vw,13pt)!important}.tpl-board-exam-name,.tpl-board-subject-line{font-size:8.5pt!important}.tpl-board-info-bar{font-size:7.5pt!important}}.btn-save-pending-pulse{background:#0c0c0e!important;color:#fff!important;border-color:#0c0c0e!important;box-shadow:0 2px 8px #0c0c0e38!important;animation:pendingPulse 2.2s infinite ease-in-out;font-weight:700!important}@keyframes pendingPulse{0%,to{box-shadow:0 0 #10b98173}50%{box-shadow:0 0 0 5px #10b98100}}.btn-synced-pill{color:#71717a!important;background:#f4f4f6!important;border-color:#00000014!important;cursor:default!important;box-shadow:none!important}.swap-confirm-modal-backdrop{position:fixed;inset:0;z-index:500;background:#0c0c0e6b;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:16px;animation:swapFadeIn .18s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@keyframes swapFadeIn{0%{opacity:0}to{opacity:1}}.swap-confirm-modal-box{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:20px;box-shadow:0 24px 60px -12px #00000038,0 0 0 1px #0000000a;max-width:480px;width:100%;padding:24px 24px 20px;display:flex;flex-direction:column;gap:16px;box-sizing:border-box;animation:swapScaleIn .22s cubic-bezier(.16,1,.3,1)}@keyframes swapScaleIn{0%{opacity:0;transform:scale(.94) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}.swap-confirm-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.swap-confirm-badge-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;background:#fef3c7;border:1px solid #FDE68A;color:#b45309;flex-shrink:0}.swap-confirm-badge-icon.exhausted{background:#fee2e2;border-color:#fecaca;color:#dc2626}.swap-confirm-title-area{flex:1;min-width:0}.swap-confirm-title-area h3{font-family:var(--font-sans);font-size:1.05rem;font-weight:700;color:#0c0c0e;margin:0 0 4px;line-height:1.3}.swap-quota-pill{display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:700;padding:2px 9px;border-radius:9999px;background:#eff6ff;color:#1d4ed8;border:1px solid #DBEAFE}.swap-quota-pill.pill-warning{background:#fef3c7;color:#b45309;border-color:#fde68a}.swap-quota-pill.pill-danger{background:#fee2e2;color:#b91c1c;border-color:#fecaca}.swap-psychology-card{background:#fffbeb;border:1px solid #FDE68A;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}.swap-psychology-title{display:flex;align-items:center;gap:6px;font-size:.76rem;font-weight:800;color:#92400e;text-transform:uppercase;letter-spacing:.04em}.swap-psychology-text{font-size:.8125rem;color:#fff;line-height:1.48;margin:0}.swap-body-text{font-size:.84rem;color:#3f3f46;line-height:1.5;margin:0}.swap-confirm-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:14px;border-top:1px solid rgba(0,0,0,.06)}.btn-swap-cancel{padding:8px 16px;font-size:.82rem;font-weight:600;color:#52525b;background:#f4f4f6;border:1px solid rgba(0,0,0,.08);border-radius:10px;cursor:pointer;transition:all .14s ease}.btn-swap-cancel:hover{background:#e4e4e7;color:#18181b}.btn-swap-confirm{padding:8px 18px;font-size:.82rem;font-weight:700;color:#fff;background:#0c0c0e;border:1px solid #0C0C0E;border-radius:10px;cursor:pointer;transition:all .14s ease;display:inline-flex;align-items:center;gap:6px;box-shadow:0 2px 8px #0c0c0e33}.btn-swap-confirm:hover{background:#27272a;transform:translateY(-1px)}.sheet-q-diagram-grid-dual{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;margin:8px auto;max-width:95%;page-break-inside:avoid}.sheet-q-diagram-grid-dual .sheet-q-diagram-wrap{margin:0;max-width:100%}.sheet-q-diagram-grid-dual .sheet-q-diagram-img{max-height:125px;width:auto;max-width:100%}.sheet-question-card.q-split-head{padding-bottom:2px!important;margin-bottom:2px!important}.sheet-question-card.q-split-continuation{padding-top:0!important;margin-top:0!important}.partial-recovery-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px;padding:8px 14px;background:#fef3c7d9;border:1px solid rgba(217,119,6,.35);border-radius:12px;font-family:var(--font-sans)}.partial-recovery-info{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.8rem;color:#78350f}.partial-recovery-badge{font-weight:700;background:#fde68a;color:#92400e;padding:2px 9px;border-radius:9999px;white-space:nowrap}.partial-recovery-reason{color:#78350f}.btn-partial-resume{background:#0c0c0e;color:#fff;border:none;border-radius:9999px;padding:6px 15px;font-size:.78rem;font-weight:700;cursor:pointer;white-space:nowrap;transition:transform .14s ease,background .14s ease}.btn-partial-resume:hover{background:#27272a;transform:translateY(-1px)}.sources-luxury-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:24px;box-shadow:0 24px 60px -12px #00000038,0 2px 6px #0000000a;padding:28px 32px;text-align:left;animation:scale-in .24s var(--ease-spring);box-sizing:border-box}.sources-modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.sources-modal-title{font-family:var(--font-serif);font-size:1.25rem;font-weight:800;letter-spacing:.02em;color:#0c0c0e;margin:0}.sources-modal-desc{font-family:var(--font-sans);font-size:.82rem;color:#71717a;margin:4px 0 0;line-height:1.45}.segmented-pill-group{display:inline-flex;align-items:center;background:var(--bg-muted, #F4F4F6);border:1px solid rgba(0,0,0,.08);border-radius:var(--radius-full, 9999px);padding:3px;gap:3px}.segmented-pill-btn{padding:6px 14px;font-family:var(--font-sans);font-size:.78rem;font-weight:600;color:#71717a;background:transparent;border:none;border-radius:var(--radius-full, 9999px);cursor:pointer;transition:all .14s ease;white-space:nowrap}.segmented-pill-btn:hover{color:#0c0c0e}.segmented-pill-btn.active{background:#0c0c0e;color:#fff;box-shadow:0 2px 6px #00000029}.arena-dropzone{border:2px dashed rgba(0,0,0,.12);border-radius:var(--radius-md, 14px);padding:28px 16px;text-align:center;cursor:pointer;background:#f9f9fb;transition:all .18s ease}.arena-dropzone:hover,.arena-dropzone.drag-over{border-color:var(--accent, #0A0A0C);background:#f4f4f6}.dropzone-icon{font-size:2rem;margin-bottom:6px}.dropzone-title{font-size:.875rem;font-weight:600;color:var(--text-main, #0A0A0C)}.dropzone-hint{font-size:.75rem;color:var(--text-muted, #71717A);margin-top:2px}body.auth-active,body:has(#auth-overlay:not(.hidden)){overflow:hidden!important;height:100vh!important;height:100dvh!important;touch-action:none!important;overscroll-behavior:none!important}.auth-overlay{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;z-index:10000;display:flex;align-items:center;justify-content:center;background-color:#faf9f6;background-image:radial-gradient(ellipse 70% 55% at 50% 12%,rgba(197,168,105,.12) 0%,transparent 68%),radial-gradient(ellipse 60% 50% at 50% 92%,rgba(12,12,14,.04) 0%,transparent 65%),linear-gradient(180deg,#faf9f6,#f5f4f0,#ecebe4);backdrop-filter:blur(28px) saturate(180%);-webkit-backdrop-filter:blur(28px) saturate(180%);overflow:hidden!important;touch-action:none!important;overscroll-behavior:none!important;padding:clamp(12px,3vw,24px);box-sizing:border-box;animation:auth-fade-in .26s var(--ease-spring)}.auth-overlay.hidden{display:none!important}.auth-ambient-canvas{position:absolute;inset:0;width:100%;height:100%;overflow:hidden!important;pointer-events:none;z-index:0}.auth-canvas-aura-top{position:absolute;top:-120px;left:50%;transform:translate(-50%);width:clamp(340px,70vw,680px);height:clamp(340px,70vw,680px);background:radial-gradient(circle,rgba(197,168,105,.14) 0%,rgba(234,215,155,.06) 45%,transparent 70%);border-radius:50%;pointer-events:none;filter:blur(48px);animation:auth-aura-breathe 8s ease-in-out infinite alternate}.auth-canvas-aura-bottom{position:absolute;bottom:-180px;left:50%;transform:translate(-50%);width:clamp(380px,75vw,760px);height:clamp(380px,75vw,760px);background:radial-gradient(circle,rgba(12,12,14,.05) 0%,transparent 70%);border-radius:50%;pointer-events:none;filter:blur(60px)}@keyframes auth-aura-breathe{0%{transform:translate(-50%) scale(.96);opacity:.85}to{transform:translate(-50%) scale(1.08);opacity:1}}@keyframes auth-fade-in{0%{opacity:0}to{opacity:1}}.auth-viewport-wrapper{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:480px;margin:auto;box-sizing:border-box}.auth-card,.auth-card.auth-cardless-pane{background:transparent!important;border:none!important;box-shadow:none!important;padding:clamp(16px,4vw,36px) clamp(12px,3vw,24px)!important;max-width:460px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center;animation:auth-pane-reveal .38s cubic-bezier(.16,1,.3,1) both}.auth-card.hidden{display:none!important}@keyframes auth-pane-reveal{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.auth-crest-wrapper{display:flex;justify-content:center;align-items:center;margin-bottom:clamp(14px,3vw,20px)}.auth-crest-halo{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background:radial-gradient(circle,rgba(197,168,105,.22) 0%,rgba(197,168,105,.05) 65%,transparent 100%);border:1px solid rgba(197,168,105,.32);box-shadow:0 8px 30px -4px #c5a86947,inset 0 0 16px #c5a8691f;transition:transform .3s var(--ease-spring),box-shadow .3s ease}.auth-crest-halo:hover{transform:scale(1.03);box-shadow:0 12px 36px -4px #c5a86961,inset 0 0 20px #c5a8692e}.auth-crest-inner-ring{display:flex;align-items:center;justify-content:center;width:clamp(62px,14vw,72px);height:clamp(62px,14vw,72px);border-radius:50%;background:#fff;border:1.5px solid rgba(197,168,105,.45);box-shadow:0 4px 16px #0000000f;overflow:hidden}.auth-crest-img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important;display:block}.auth-school-title{font-family:var(--font-serif);font-size:clamp(1.18rem,3.8vw,1.48rem);font-weight:800;letter-spacing:.1em;color:#0c0c0e;margin:0 0 6px;text-transform:uppercase;line-height:1.25;text-shadow:0 1px 2px rgba(0,0,0,.04)}.auth-school-sub{font-family:var(--font-sans);color:#52525b;font-size:clamp(.78rem,2.2vw,.86rem);font-weight:500;line-height:1.45;max-width:360px;margin:0 0 clamp(16px,3.5vw,22px) 0}.staff-only-notice-badge{display:inline-flex;align-items:center;gap:7px;background:#c5a8691f;border:1px solid rgba(197,168,105,.32);border-radius:9999px;padding:5px 15px;font-size:clamp(.7rem,2vw,.74rem);font-weight:600;letter-spacing:.02em;color:#7a5b1c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 2px 10px #c5a8691f;margin-bottom:clamp(18px,4vw,24px);transition:all .2s ease}.staff-only-notice-badge:hover{background:#c5a86929;border-color:#c5a86973}.auth-pulse-dot{width:6.5px;height:6.5px;border-radius:50%;background:#10b981;box-shadow:0 0 #10b98199;animation:auth-pulse-green 2.2s infinite;flex-shrink:0}@keyframes auth-pulse-green{0%{box-shadow:0 0 #10b98199}70%{box-shadow:0 0 0 6px #10b98100}to{box-shadow:0 0 #10b98100}}.auth-badge-icon{font-size:.78rem;line-height:1}.btn-auth-google{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:400px;min-height:52px;padding:13px 22px;background:#0c0c0e;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:14px;font-family:var(--font-sans);font-size:clamp(.86rem,2.5vw,.92rem);font-weight:600;letter-spacing:-.01em;cursor:pointer;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 3px #0000001f,0 10px 28px -4px #00000047,inset 0 1px #ffffff29;overflow:hidden;box-sizing:border-box}.btn-auth-google:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,transparent 60%);pointer-events:none;border-radius:inherit}.btn-auth-google:hover{background:#18181b;transform:translateY(-1.5px);border-color:#ffffff38;box-shadow:0 3px 6px #0000001f,0 16px 36px -4px #0000005c,inset 0 1px #ffffff3d}.btn-auth-google:active{transform:translateY(.5px) scale(.985);box-shadow:0 1px 2px #00000026,0 6px 16px -2px #0000003d}.btn-auth-google-icon-wrapper{display:flex;align-items:center;justify-content:center;width:26px;height:26px;background:#fff;border-radius:50%;flex-shrink:0;box-shadow:0 1px 3px #00000029}.btn-auth-google-text{flex:1;text-align:center}.auth-btn-arrow{color:#ffffff8c;font-size:.95rem;transition:transform .18s ease,color .18s ease}.btn-auth-google:hover .auth-btn-arrow{color:#fff;transform:translate(3px)}.auth-security-guarantee-strip{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.72rem;font-weight:500;color:#71717a;margin-top:clamp(14px,3vw,20px)}.auth-sec-item{display:inline-flex;align-items:center;gap:5px}.auth-sec-dot{color:#d4d4d8}.auth-error-mount{width:100%;max-width:400px;margin-top:14px}.auth-cardless-banner{border-radius:16px;padding:14px 16px;text-align:left;box-sizing:border-box;width:100%;animation:auth-banner-slide-in .26s cubic-bezier(.16,1,.3,1) both}@keyframes auth-banner-slide-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.auth-error-banner-cardless{background:#fee2e2e6;border:1px solid rgba(239,68,68,.36);color:#991b1b;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 30px -6px #ef44442e}.auth-error-banner-cardless .auth-banner-title{color:#7f1d1d}.auth-error-banner-cardless .auth-banner-text{color:#991b1b}.auth-spinner{display:inline-block;width:17px;height:17px;border:2.2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:auth-spin .65s linear infinite;flex-shrink:0;vertical-align:middle}.btn-auth-google:disabled{opacity:.9;cursor:wait;transform:none!important;box-shadow:0 4px 14px #0003!important}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-status-halo{display:flex;align-items:center;justify-content:center;width:68px;height:68px;border-radius:50%;margin-bottom:14px;position:relative}.auth-status-icon{font-size:2.2rem;line-height:1}.auth-status-amber{background:radial-gradient(circle,rgba(245,158,11,.22) 0%,rgba(245,158,11,.05) 65%,transparent 100%);border:1.5px solid rgba(245,158,11,.35);box-shadow:0 0 32px #f59e0b38}.auth-status-crimson{background:radial-gradient(circle,rgba(239,68,68,.22) 0%,rgba(239,68,68,.05) 65%,transparent 100%);border:1.5px solid rgba(239,68,68,.35);box-shadow:0 0 32px #ef444438}.auth-status-badge{display:inline-block;padding:4px 12px;border-radius:9999px;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px}.auth-badge-amber{background:#f59e0b24;border:1px solid rgba(245,158,11,.32);color:#b45309}.auth-badge-crimson{background:#ef444424;border:1px solid rgba(239,68,68,.32);color:#b91c1c}.auth-status-title{font-family:var(--font-serif);font-size:clamp(1.15rem,3.5vw,1.4rem);font-weight:800;color:#0c0c0e;margin:0 0 8px;letter-spacing:.02em}.auth-status-desc{font-size:clamp(.78rem,2.2vw,.85rem);color:#52525b;line-height:1.55;margin:0 0 16px;max-width:400px}.auth-status-infobox{display:flex;align-items:flex-start;gap:8px;padding:10px 14px;border-radius:12px;font-size:.74rem;line-height:1.45;text-align:left;margin-bottom:20px;width:100%;max-width:400px;box-sizing:border-box}.auth-infobox-amber{background:#f59e0b1a;border:1px solid rgba(245,158,11,.25);color:#92400e}.auth-actions-stack{display:flex;flex-direction:column;gap:10px;width:100%;max-width:400px}.btn-auth-primary-action{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:12px 20px;background:#0c0c0e;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:12px;font-family:var(--font-sans);font-size:.86rem;font-weight:600;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);box-shadow:0 4px 14px #0000002e}.btn-auth-primary-action:hover{background:#18181b;transform:translateY(-1px);box-shadow:0 8px 22px #00000042}.btn-auth-primary-action:active{transform:translateY(.5px) scale(.985)}.btn-auth-subtle-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:10px 16px;background:#00000008;color:#3f3f46;border:1px solid rgba(0,0,0,.1);border-radius:12px;font-family:var(--font-sans);font-size:.8rem;font-weight:600;cursor:pointer;transition:all .16s ease}.btn-auth-subtle-action:hover{background:#0000000f;border-color:#0000002e;color:#0c0c0e;transform:translateY(-.5px)}.btn-auth-demo{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px 16px;background:#fff;color:#0c0c0e;border:1.5px solid rgba(0,0,0,.12);border-radius:12px;font-family:var(--font-sans);font-size:.82rem;font-weight:600;cursor:pointer;transition:all .14s ease}@media(max-width:480px){.auth-overlay{padding:16px 12px;align-items:center;overflow:hidden!important}.auth-card,.auth-card.auth-cardless-pane{padding:12px 6px!important}.btn-auth-google{min-height:52px;padding:12px 16px;font-size:.85rem}.staff-only-notice-badge{padding:5px 12px;font-size:.68rem}.auth-crest-halo{padding:6px}.auth-crest-inner-ring{width:60px;height:60px}}@media(min-width:1400px){.auth-viewport-wrapper{max-width:500px}}.toast-container{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{pointer-events:auto;padding:10px 16px;background:var(--accent);color:#fff;font-size:.8125rem;font-weight:500;border-radius:var(--radius-sm);box-shadow:var(--shadow-popover);display:inline-flex;align-items:center;gap:8px;max-width:380px;line-height:1.45;word-break:break-word}.toast.success{background:#064e3b}.toast.error{background:#7f1d1d}.concurrency-modal-backdrop{position:fixed;inset:0;z-index:1200;background:#0a0a0c73;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px;animation:fade-in .2s ease}.concurrency-card{width:100%;max-width:460px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:0 24px 64px -12px #00000038;padding:32px 28px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;animation:scale-in-popover .22s var(--ease-spring)}.concurrency-icon-badge{width:52px;height:52px;border-radius:50%;background:#f4f4f6;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:#6366f1;margin-bottom:16px;animation:pulse-sparkle 2s ease-in-out infinite}.concurrency-card h3{font-size:1.25rem;font-weight:700;letter-spacing:-.02em;color:var(--text-main);margin-bottom:8px}.concurrency-lead{font-size:.875rem;color:var(--text-secondary);line-height:1.5;margin-bottom:6px}.concurrency-desc{font-size:.75rem;color:var(--text-muted);line-height:1.45;max-width:360px;margin-bottom:20px}.concurrency-timer-box{display:inline-flex;align-items:center;gap:8px;background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-full);padding:6px 14px;font-size:.8125rem;color:var(--text-secondary);margin-bottom:14px}.concurrency-timer-box strong{color:#6366f1;font-weight:700}.concurrency-progress-track{width:100%;height:3px;background:#e4e4e7;border-radius:var(--radius-full);overflow:hidden;position:relative;margin-bottom:20px}.concurrency-progress-pulse{position:absolute;top:0;left:0;height:100%;width:40%;background:linear-gradient(90deg,transparent,#6366F1,transparent);animation:shimmer-load 1.6s ease-in-out infinite}@keyframes shimmer-load{0%{transform:translate(-100%)}to{transform:translate(350%)}}.concurrency-actions{display:flex;gap:10px}.staff-only-notice-badge{display:inline-flex;align-items:center;gap:6px;background:#fef3c7;color:#92400e;border:1px solid #FDE68A;padding:4px 12px;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;margin-bottom:16px}.granular-label{display:block;font-size:.6875rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.granular-input{width:100%;padding:7px 10px;border-radius:6px;border:1px solid var(--border);background:#fff;font-family:var(--font-sans);font-size:.8125rem;color:var(--text-main);outline:none}.granular-input:focus{border-color:var(--accent)}.source-grounding-citation{display:inline-flex;align-items:center;gap:4px;font-size:.625rem;font-weight:600;color:#4338ca;background:#eef2ff;border:1px solid rgba(99,102,241,.2);padding:1px 8px;border-radius:12px;margin-left:auto;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media print{.source-grounding-citation{display:none!important}}.source-inspector-viewport{width:100%;max-width:760px;max-height:88vh;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:22px;box-shadow:0 24px 64px -12px #00000047,0 2px 6px #0000000a;display:flex;flex-direction:column;overflow:hidden;animation:scale-in .22s cubic-bezier(.16,1,.3,1);box-sizing:border-box}.inspector-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid rgba(0,0,0,.07);background:#fafbfd}.inspector-header-left{display:flex;align-items:flex-start;gap:14px;flex:1;min-width:0}.inspector-type-badge{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.35rem;flex-shrink:0;box-shadow:0 2px 8px #0000000f}.badge-type-pdf{background:#fef2f2;border:1px solid rgba(239,68,68,.2)}.badge-type-image{background:#f5f3ff;border:1px solid rgba(139,92,246,.2)}.badge-type-link{background:#eff6ff;border:1px solid rgba(59,130,246,.2)}.badge-type-training{background:#fef3c7;border:1px solid rgba(245,158,11,.2)}.inspector-title-stack{flex:1;min-width:0}.inspector-title{font-family:var(--font-sans);font-size:1.15rem;font-weight:700;color:#0f172a;margin:0;line-height:1.35;word-break:break-word}.inspector-meta-row{display:flex;align-items:center;gap:8px;font-size:.74rem;color:#64748b;margin-top:6px;flex-wrap:wrap}.inspector-action-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 24px;background:#fff;border-bottom:1px solid rgba(0,0,0,.06);gap:10px;flex-wrap:wrap}.inspector-grounding-status{display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:600;padding:4px 10px;border-radius:9999px;transition:all .14s ease}.inspector-grounding-status.status-active{background:#ecfdf5;color:#065f46;border:1px solid rgba(16,185,129,.3)}.inspector-grounding-status.status-inactive{background:#f1f5f9;color:#64748b;border:1px solid rgba(0,0,0,.06)}.inspector-controls-right{display:flex;align-items:center;gap:8px}.inspector-search-strip{padding:8px 24px;background:#fafbfd;border-bottom:1px solid rgba(0,0,0,.05)}.inspector-search-input-wrap{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:6px 12px;color:#64748b;transition:border-color .14s ease}.inspector-search-input-wrap:focus-within{border-color:#0c0c0e;box-shadow:0 0 0 1px #0c0c0e}.inspector-search-field{flex:1;border:none;outline:none;background:transparent;font-family:var(--font-sans);font-size:.8125rem;color:#0f172a}.inspector-search-counter{font-size:.72rem;font-weight:600;color:#2563eb}.inspector-body{flex:1;overflow-y:auto;padding:22px 24px;background:#fff;font-family:var(--font-sans);font-size:.88rem;line-height:1.72;color:#1e293b}.inspector-loading-pane{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px;text-align:center}.inspector-text-surface{background:#fafbfd;border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:22px 24px;white-space:pre-wrap;word-break:break-word;font-family:var(--font-sans);font-size:.875rem;line-height:1.75;color:#1e293b;user-select:text}.inspector-case-studies-wrap{display:flex;flex-direction:column;gap:14px}.inspector-case-studies-wrap .case-study-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:16px 18px;box-shadow:0 2px 10px -2px #0000000a}.inspector-case-studies-wrap .case-study-card.intro-overview-card{background:#fafafe;border:1px solid rgba(79,70,229,.15)}.inspector-case-studies-wrap .case-study-formula-box{background:linear-gradient(135deg,#f8fafc,#eef2f6);border:1px solid rgba(37,99,235,.2);border-left:4px solid #2563EB;border-radius:14px;padding:16px 18px}.search-highlight{background:#fef08a;color:#713f12;padding:1px 3px;border-radius:3px;font-weight:600}.inspector-image-preview-pane{display:flex;flex-direction:column;align-items:center;gap:16px}.inspector-image-frame{max-width:100%;max-height:520px;border-radius:12px;overflow:hidden;border:1px solid rgba(0,0,0,.1);box-shadow:0 4px 16px #00000014;background:#000;display:flex;align-items:center;justify-content:center}.inspector-large-img{max-width:100%;max-height:500px;object-fit:contain;display:block}.inspector-img-notes{width:100%}.inspector-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-top:1px solid rgba(0,0,0,.07);background:#fafbfd}.attach-open-hint{color:#2563eb;font-weight:700;text-decoration:underline;text-underline-offset:2px}@media(max-width:640px){.source-inspector-viewport{width:96vw;max-height:92vh;border-radius:18px}.inspector-header{padding:16px 16px 12px}.inspector-action-bar{padding:10px 16px}.inspector-search-strip{padding:8px 16px}.inspector-body{padding:16px}.inspector-text-surface{padding:16px;font-size:.82rem}.inspector-footer{padding:12px 16px}}.assessment-configurator-screen{width:100%;min-height:100vh;background-color:#faf9f6;color:#111827;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;padding-bottom:100px;position:relative;z-index:10;animation:flatFadeIn .2s ease}@keyframes flatFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.flat-configurator-canvas{max-width:760px;margin:0 auto;padding:32px 24px 60px}.flat-top-bar{display:flex;align-items:center;justify-content:flex-start;margin-bottom:22px}.btn-flat-back{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font-size:.85rem;font-weight:600;color:#4b5563;background:transparent;border:1px solid rgba(17,24,39,.12);border-radius:999px;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1);outline:none}.btn-flat-back:hover{color:#111827;border-color:#11182759;background:#11182708;transform:translate(-2px)}.flat-prompt-container{padding:16px 20px;background:#00000006;border-left:3px solid #111827;border-radius:0 8px 8px 0;margin-bottom:30px}.flat-prompt-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.flat-prompt-kicker{font-size:.725rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#854d0e}.flat-prompt-tag{font-size:.725rem;font-weight:600;color:#6b7280}.flat-prompt-text{font-size:.95rem;font-style:italic;line-height:1.5;color:#1f2937;margin:0}.flat-form-body{display:flex;flex-direction:column;gap:0}.flat-row-section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid rgba(0,0,0,.07)}.flat-row-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.flat-field-title{font-size:.975rem;font-weight:650;color:#111827;letter-spacing:-.01em}.flat-title-meta{display:flex;align-items:center;justify-content:space-between;width:100%}.flat-counter-badge{font-size:.775rem;font-weight:650;padding:3px 10px;border-radius:999px;background:#10b9811a;color:#059669}.flat-toggle-switch{display:inline-flex;align-items:center;cursor:pointer;user-select:none}.flat-toggle-switch input{position:absolute;opacity:0;pointer-events:none}.flat-switch-track{width:36px;height:20px;border-radius:999px;background:#e5e7eb;position:relative;transition:background-color .18s ease;display:inline-block;flex-shrink:0}.flat-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .18s ease}.flat-toggle-switch input:checked+.flat-switch-track{background:#111827}.flat-toggle-switch input:checked+.flat-switch-track:after{transform:translate(16px)}.flat-switch-label{font-size:.8rem;font-weight:550;color:#4b5563;margin-left:8px}.flat-pills-shelf{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.flat-pill{padding:7px 15px;font-size:.825rem;font-weight:550;color:#374151;background:#f3f4f6;border:1px solid #E5E7EB;border-radius:999px;cursor:pointer;transition:all .15s ease;outline:none}.flat-pill:hover:not(.active){background:#e5e7eb;color:#111827;border-color:#d1d5db}.flat-pill.active{background:#111827;color:#fff;border-color:#111827;font-weight:600;box-shadow:0 1px 4px #0000001f}.flat-input-wrap{width:100%}.flat-input-field{width:100%;padding:9px 13px;font-size:.9rem;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:8px;outline:none;transition:border-color .15s ease,box-shadow .15s ease;box-sizing:border-box}.flat-input-field:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.flat-input-field-sm{width:100%;padding:7px 11px;font-size:.85rem;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none;box-sizing:border-box}.flat-input-field-sm:focus{border-color:#111827}.flat-select-field{width:100%;padding:9px 13px;font-size:.9rem;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:8px;outline:none;cursor:pointer;box-sizing:border-box}.flat-select-field:focus{border-color:#111827}.flat-textarea-field{width:100%;padding:10px 13px;font-size:.9rem;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:8px;outline:none;resize:vertical;line-height:1.5;box-sizing:border-box}.flat-textarea-field:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.flat-split-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:600px){.flat-split-row{grid-template-columns:1fr}}.flat-col-half{display:flex;flex-direction:column;gap:8px}.flat-duration-strip{display:flex;align-items:center;gap:16px;flex-wrap:wrap;transition:opacity .18s ease}.flat-duration-strip.flat-disabled{opacity:.4;pointer-events:none}.flat-number-group{display:inline-flex;align-items:center;gap:8px}.flat-number-input{width:68px;padding:7px 10px;font-size:.9rem;font-weight:600;text-align:center;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none}.flat-unit-label{font-size:.825rem;font-weight:550;color:#4b5563}.flat-subjects-container{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.flat-subject-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px dashed rgba(0,0,0,.08)}.flat-sub-index{font-size:.825rem;font-weight:700;color:#6b7280;font-family:monospace;width:24px;flex-shrink:0}.flat-subject-name-input{flex:1;min-width:120px;padding:7px 11px;font-size:.875rem;font-weight:550;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none}.flat-subject-name-input:focus{border-color:#111827}.flat-sub-quantities{display:flex;align-items:center;gap:7px;flex-shrink:0}.flat-qty-tag{font-size:.775rem;font-weight:650;color:#4b5563}.flat-qty-input{width:52px;padding:6px;font-size:.85rem;font-weight:600;text-align:center;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none}.flat-format-select{padding:6px 8px;font-size:.825rem;color:#374151;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none;cursor:pointer}.flat-row-remove-btn{width:26px;height:26px;border:none;background:transparent;color:#9ca3af;border-radius:50%;font-size:1.15rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.flat-row-remove-btn:hover{color:#ef4444;background:#ef444414}.flat-action-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;font-size:.825rem;font-weight:600;color:#1f2937;background:transparent;border:1px dashed #CBD5E1;border-radius:6px;cursor:pointer;transition:all .15s ease;margin-top:6px}.flat-action-btn:hover{border-color:#111827;background:#00000006;color:#000}.action-btn-icon{font-weight:700;font-size:.95rem}.flat-sections-container{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.flat-section-row{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-bottom:1px dashed rgba(0,0,0,.08)}.flat-sec-head-line{display:flex;align-items:center;gap:10px}.flat-sec-letter{width:24px;height:24px;border-radius:4px;background:#111827;color:#fff;font-size:.75rem;font-weight:750;display:flex;align-items:center;justify-content:center;flex-shrink:0}.flat-sec-title-input{flex:1;padding:7px 11px;font-size:.875rem;font-weight:600;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none}.flat-sec-title-input:focus{border-color:#111827}.flat-sec-controls-line{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-left:34px}.flat-sec-input-unit{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:550;color:#4b5563}.flat-number-input-sm{width:50px;padding:5px 6px;font-size:.85rem;font-weight:600;text-align:center;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none}.flat-sec-subtotal{font-size:.8rem;font-weight:700;color:#059669;margin-left:auto}.flat-instructions-container{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.flat-instruction-row{display:flex;align-items:center;gap:10px;padding:4px 0}.flat-inst-num{font-size:.825rem;font-weight:650;color:#6b7280;width:20px;flex-shrink:0}.flat-inst-input{flex:1;padding:7px 11px;font-size:.85rem;color:#111827;background:#fff;border:1px solid #D1D5DB;border-radius:6px;outline:none}.flat-inst-input:focus{border-color:#111827}.flat-chips-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.flat-chip-subtle{padding:5px 12px;font-size:.775rem;font-weight:550;color:#4b5563;background:#0000000a;border:1px solid rgba(0,0,0,.06);border-radius:999px;cursor:pointer;transition:all .14s ease}.flat-chip-subtle:hover{background:#00000014;color:#111827}.flat-accordion-wrap{margin:32px 0 24px;border-top:1px solid rgba(0,0,0,.09);border-bottom:1px solid rgba(0,0,0,.09);padding:16px 0}.flat-accordion-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;background:transparent;border:none;cursor:pointer;text-align:left;padding:4px 0;outline:none}.accordion-left{display:flex;align-items:center;gap:8px}.accordion-icon{font-size:.85rem;font-weight:750;color:#4b5563;font-family:monospace}.accordion-heading{font-size:1rem;font-weight:700;color:#111827;letter-spacing:-.01em}.accordion-subtext{font-size:.775rem;color:#6b7280;font-weight:450}.flat-accordion-body{padding:18px 0 8px;display:flex;flex-direction:column;gap:16px;animation:flatFadeIn .18s ease}.flat-sub-item{padding-bottom:16px;border-bottom:1px dashed rgba(0,0,0,.06)}.flat-sub-item:last-child{border-bottom:none;padding-bottom:4px}.flat-sub-title{font-size:.875rem;font-weight:650;color:#1f2937}.flat-desc-note{font-size:.8rem;color:#6b7280;line-height:1.45;margin:6px 0 0}.flat-logo-row{display:flex;align-items:center;gap:14px;margin-top:8px}.flat-logo-box{width:48px;height:48px;border-radius:8px;border:1px dashed #D1D5DB;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.flat-logo-inputs{flex:1;display:flex;flex-direction:column;gap:8px}.flat-logo-btns{display:flex;align-items:center;gap:8px}.flat-uniform-row{display:flex;align-items:center;gap:10px;margin-top:10px}.flat-footer-center{display:flex;justify-content:center;align-items:center;padding:40px 0 20px}.btn-flat-generate{display:inline-flex;align-items:center;gap:9px;padding:13px 40px;font-size:.95rem;font-weight:700;color:#fff;background:#0c0c0e;border:1px solid rgba(255,255,255,.15);border-radius:999px;cursor:pointer;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:0 4px 14px #00000024;outline:none}.btn-flat-generate:hover{background:#27272a;transform:translateY(-1.5px);box-shadow:0 6px 22px #00000038}.btn-flat-generate:active{transform:scale(.98)}@media(max-width:640px){.flat-configurator-canvas{padding:16px 12px 40px}.flat-subject-row{flex-wrap:wrap;gap:8px}.flat-subject-name-input{min-width:140px}.flat-sub-quantities{width:100%;justify-content:flex-start;padding-left:28px;flex-wrap:wrap}.btn-flat-generate{width:100%;justify-content:center;padding:12px 24px}}.flat-disabled{opacity:.42;pointer-events:none;filter:grayscale(.6);transition:opacity .16s ease}.flat-disabled-subtle{opacity:.45;pointer-events:none;filter:grayscale(.5);transition:opacity .16s ease}.flat-pill-disabled{opacity:.45!important;cursor:not-allowed!important;background:#00000005!important;color:#9ca3af!important}.flat-individual-marks-container{display:flex;flex-direction:column;gap:10px;margin-top:14px;background:#00000004;border:1px solid rgba(0,0,0,.07);border-radius:10px;padding:14px 16px;animation:flatFadeIn .16s ease}.individual-marks-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.06)}.individual-header-hint{font-size:.8rem;font-weight:550;color:#4b5563}.individual-subtotal-badge{font-size:.775rem;font-weight:700;color:#059669;background:#10b9811a;padding:3px 10px;border-radius:999px;white-space:nowrap}.individual-questions-list{display:flex;flex-direction:column;gap:8px;max-height:380px;overflow-y:auto;padding-right:4px}.individual-questions-list::-webkit-scrollbar{width:5px}.individual-questions-list::-webkit-scrollbar-track{background:transparent}.individual-questions-list::-webkit-scrollbar-thumb{background:#00000026;border-radius:10px}.individual-q-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:#fff;border:1px solid #E5E7EB;border-radius:8px;transition:all .14s ease}.individual-q-row:hover{border-color:#cbd5e1;box-shadow:0 1px 4px #00000008}.individual-q-meta{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.individual-q-badge{font-size:.75rem;font-weight:750;color:#111827;background:#f3f4f6;padding:3px 8px;border-radius:5px;flex-shrink:0;letter-spacing:-.01em}.individual-q-text{font-size:.84rem;color:#374151;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.individual-q-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.individual-input-group{display:flex;align-items:center;gap:4px}.individual-mark-input{width:48px;padding:5px 4px;font-size:.85rem;font-weight:700;text-align:center;color:#111827;background:#faf9f6;border:1px solid #D1D5DB;border-radius:6px;outline:none;transition:border-color .14s ease}.individual-mark-input:focus{border-color:#111827;background:#fff}.individual-mark-unit{font-size:.75rem;font-weight:600;color:#6b7280}.individual-quick-chips{display:flex;align-items:center;gap:3px}.btn-quick-mark-chip{padding:4px 7px;font-size:.75rem;font-weight:700;color:#1f2937;background:#f3f4f6;border:1px solid #E5E7EB;border-radius:5px;cursor:pointer;transition:all .12s ease;outline:none;user-select:none;line-height:1.1}.btn-quick-mark-chip:hover{background:#111827;color:#fff;border-color:#111827;transform:translateY(-1px)}.btn-quick-mark-chip:active{transform:scale(.96)}.btn-quick-reset{color:#9ca3af;background:transparent;border-color:transparent;font-size:.85rem;padding:4px 6px}.btn-quick-reset:hover{color:#ef4444;background:#ef444414;border-color:transparent;transform:none}@media(max-width:640px){.individual-q-row{flex-direction:column;align-items:stretch;gap:8px}.individual-q-controls{justify-content:space-between}}.flat-format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.flat-format-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:14px 10px;background:#f9fafb;border:1.5px solid #E5E7EB;border-radius:12px;cursor:pointer;transition:all .16s ease;text-align:center;outline:none;user-select:none}.flat-format-card:hover:not(.active){background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px)}.flat-format-card.active{background:#fff;border-color:#111827;box-shadow:0 4px 14px #00000014,0 0 0 1px #111827}.format-card-icon{font-size:1.45rem;line-height:1;margin-bottom:2px}.format-card-title{font-size:.9rem;font-weight:700;color:#111827;letter-spacing:-.01em}.flat-format-card.active .format-card-title{color:#000}.format-card-tag{font-size:.69rem;font-weight:550;color:#6b7280;letter-spacing:.01em}.flat-format-card.active .format-card-tag{color:#374151;font-weight:600}.flat-format-desc-banner{padding:10px 14px;background:#f8fafc;border:1px solid #E2E8F0;border-radius:8px;font-size:.82rem;color:#475569;line-height:1.45}.flat-format-desc-banner strong{color:#0f172a}@media(max-width:640px){.flat-format-grid{grid-template-columns:repeat(2,1fr);gap:8px}.flat-format-card{padding:10px 8px}}.config-tabs-nav-wrapper{margin-bottom:24px;display:flex;justify-content:center;width:100%}.config-segmented-tabs{display:inline-flex;align-items:center;background:#ececee;padding:4px;border-radius:9999px;gap:4px;border:1px solid rgba(0,0,0,.08);box-shadow:inset 0 1px 3px #0000000d;max-width:100%}.config-tab-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;font-family:inherit;font-size:.84rem;font-weight:600;color:#52525b;background:transparent;border:none;border-radius:9999px;cursor:pointer;transition:all .18s cubic-bezier(.16,1,.3,1);white-space:nowrap}.config-tab-btn:hover{color:#0c0c0e}.config-tab-btn.active{background:#0c0c0e;color:#fff;box-shadow:0 2px 8px #00000029}.config-tab-btn .tab-icon{font-size:.95rem;line-height:1}.config-tab-btn .tab-sub-badge{font-size:.68rem;font-weight:600;letter-spacing:.02em;padding:2px 7px;border-radius:9999px;background:#0000000f;color:#71717a}.config-tab-btn.active .tab-sub-badge{background:#fff3;color:#f4f4f6}.config-tab-pane{animation:tabFadeIn .18s ease-out}@keyframes tabFadeIn{0%{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.config-tab-step-prompt{display:flex;justify-content:flex-end;padding-top:20px;margin-top:10px;border-top:1px dashed rgba(0,0,0,.1)}.btn-step-next-tab{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;font-family:inherit;font-size:.84rem;font-weight:600;color:#0c0c0e;background:#fff;border:1px solid rgba(0,0,0,.14);border-radius:9999px;cursor:pointer;transition:all .14s ease;box-shadow:0 1px 3px #0000000a}.btn-step-next-tab:hover{background:#f4f4f6;border-color:#0c0c0e;transform:translate(2px)}@media(max-width:640px){.config-segmented-tabs{width:100%;display:flex}.config-tab-btn{flex:1;justify-content:center;padding:7px 10px;font-size:.76rem;gap:5px}.config-tab-btn .tab-sub-badge{display:none}}@page{size:A4 portrait;margin:0}.physical-a4-pages-container.a4-measuring-mode{position:fixed!important;left:-99999px!important;top:0!important;width:210mm!important;max-width:none!important;display:block!important;visibility:hidden!important;pointer-events:none!important;z-index:-9999!important;padding:0!important;margin:0!important}.physical-a4-pages-container.a4-measuring-mode .physical-a4-sheet,.physical-a4-pages-container.a4-measuring-mode .physical-a4-page,.physical-a4-pages-container.a4-measuring-mode .physical-a4-sheet.physical-a4-page{width:210mm!important;max-width:210mm!important;min-height:297mm!important;height:auto!important;padding:10mm 9mm 9mm!important;margin:0!important;overflow:visible!important;border-radius:0!important}.physical-a4-pages-container.a4-measuring-mode .page-columns-grid{display:flex!important;flex-direction:row!important;gap:0!important;height:auto!important}.physical-a4-pages-container.a4-measuring-mode .page-col{flex:1 1 0%!important;min-width:0!important;width:calc(50% - 9px)!important}.physical-a4-pages-container.a4-measuring-mode .page-col-left{padding-right:14px!important;padding-left:0!important}.physical-a4-pages-container.a4-measuring-mode .page-col-right{padding-left:14px!important;padding-right:0!important}.physical-a4-pages-container.a4-measuring-mode .page-col-single{width:100%!important;flex:1 1 100%!important;padding:0!important}.physical-a4-pages-container.a4-measuring-mode .sheet-question-card,.physical-a4-pages-container.a4-measuring-mode .sheet-card-subjective{display:block!important;padding:0 0 2px!important;margin-bottom:5px!important}.physical-a4-pages-container.a4-measuring-mode .question-card-actions{display:none!important}.physical-a4-pages-container.a4-measuring-mode .sheet-q-text,.physical-a4-pages-container.a4-measuring-mode .sheet-q-stem,.physical-a4-pages-container.a4-measuring-mode .sheet-q-index{font-size:10.2pt!important;line-height:1.44!important}.physical-a4-pages-container.a4-measuring-mode .sheet-option-item{font-size:9.8pt!important;padding:1px 0!important;line-height:1.38!important}.physical-a4-pages-container.a4-measuring-mode .sheet-options-grid{grid-template-columns:repeat(2,1fr)!important;column-gap:12px!important;row-gap:3px!important}.physical-a4-pages-container.a4-measuring-mode .sheet-options-grid.options-stack-1col{grid-template-columns:1fr!important}.physical-a4-pages-container.a4-measuring-mode .tpl-board-header{display:grid!important;grid-template-columns:130px 1fr 130px!important;text-align:initial!important}.physical-a4-pages-container.a4-measuring-mode .tpl-board-info-bar{flex-direction:row!important;justify-content:space-between!important;text-align:left!important}.physical-a4-pages-container.a4-measuring-mode .tpl-classic-student-row{grid-template-columns:1fr 1fr!important}.physical-a4-pages-container.a4-measuring-mode .tpl-modern-student-strip{grid-template-columns:2fr 1fr 1fr!important}.physical-a4-pages-container.a4-measuring-mode .tpl-eco-student-row{display:flex!important;grid-template-columns:none!important}@media print{.global-nav,.preview-command-bar,.studio-container,.studio-centered-viewport,.loading-canvas,.auth-overlay,.toast-container,.drawer-backdrop,.btn,.segmented-pill-group,.kbd-tag,.modal-backdrop-editor,.swap-confirm-modal-backdrop,#concurrency-modal,#bulk-print-modal,.source-grounding-citation,.paper-wrapper.show-page-guides:before,.sheet-question-card .question-card-actions,.sheet-question-card .question-card-actions .btn-card-swap,.sheet-question-card .question-card-actions .btn-card-edit,.question-card-actions,.btn-card-swap,.btn-card-edit,.omr-action-strip,.curated-presets-tray,.recent-blueprints-shelf,.print-dropdown-menu,.template-switcher-group,.command-bar-wrapper,.live-a4-page-breaks-layer,.live-a4-page-break{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:none!important;pointer-events:none!important}*,*:before,*:after{box-sizing:border-box!important}html,body{width:210mm!important;height:auto!important;background:#fff!important;background-image:none!important;color:#000!important;font-family:Inter,-apple-system,sans-serif!important;margin:0!important;padding:0!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}#app{width:100%!important;min-height:0!important}.paper-wrapper{max-width:none!important;width:210mm!important;margin:0!important;padding:0!important;overflow:visible!important;overflow-x:visible!important;animation:none!important}.physical-a4-pages-container{display:block!important;width:210mm!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important}.paper-page-separator-indicator{display:none!important}.physical-a4-sheet,.physical-a4-page,.physical-a4-sheet.physical-a4-page{border:none!important;border-radius:0!important;box-shadow:none!important;padding:10mm 9mm 9mm!important;margin:0!important;width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;box-sizing:border-box!important;page-break-after:always!important;break-after:page!important;page-break-inside:avoid!important;break-inside:avoid!important;display:flex!important;flex-direction:column!important;background:#fff!important;position:relative!important;overflow:hidden!important}.physical-a4-page:last-child,.physical-a4-page:last-of-type,.physical-a4-sheet:last-of-type,.physical-a4-pages-container>.physical-a4-page:last-child,.physical-a4-pages-container>.physical-a4-page:last-of-type,.student-paper-copy:last-child .physical-a4-pages-container>.physical-a4-page:last-of-type{page-break-after:avoid!important;break-after:avoid!important}.physical-a4-page:not([data-page="1"]) .physical-a4-page-body{padding-top:6mm!important}.physical-a4-page-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:100%!important;max-height:100%!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important}.student-paper-copy{page-break-after:auto!important;break-after:auto!important;display:block!important;position:relative!important}.student-paper-copy:not(:last-child) .physical-a4-pages-container>.physical-a4-page:last-of-type{page-break-after:always!important;break-after:page!important}.sheet-watermark{opacity:.08!important;color:#000!important;display:block!important;visibility:visible!important;z-index:0!important}.page-columns-grid{display:flex!important;flex-direction:row!important;width:100%!important;flex:1 1 auto!important;gap:0!important;box-sizing:border-box!important;overflow:visible!important}.page-col{flex:1 1 0%!important;min-width:0!important;width:calc(50% - 9px)!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;overflow:visible!important}.page-col-left{padding-right:14px!important;padding-left:0!important}.page-col-divider{display:block!important;width:1px!important;background:#d0d0d0!important;flex-shrink:0!important;margin:0!important;align-self:stretch!important}.page-col-right{padding-left:14px!important;padding-right:0!important}.page-col-single{width:100%!important;flex:1 1 100%!important;padding:0!important}.sheet-questions-2col{column-count:2!important;column-gap:18px!important;column-rule:.5px solid #D0D0D0!important;column-fill:auto!important;flex:1 1 0%!important;height:100%!important;display:block!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important}.sheet-section-divider{width:100%!important;box-sizing:border-box!important;border-top:1.5px solid #000000!important;border-bottom:1px solid #000000!important;column-span:none!important;grid-column:auto!important;break-inside:avoid!important;page-break-inside:avoid!important;-webkit-column-break-inside:avoid!important;break-before:auto!important;page-break-before:auto!important;break-after:avoid!important;page-break-after:avoid!important;margin:7px 0 5px!important;padding:2.5px 0!important;display:block!important;text-align:center!important}.sheet-section-divider:first-child{margin-top:0!important;break-before:avoid!important;page-break-before:avoid!important}.sheet-section-title{color:#000!important;font-size:10.5pt!important;font-weight:800!important;letter-spacing:.05em!important;break-after:avoid!important;page-break-after:avoid!important}.sheet-question-card,.sheet-card-subjective,.sheet-internal-or-block,.sheet-passage-box,.sheet-q-diagram-wrap,.sheet-q-diagram-grid-dual,.sheet-options-grid,.sheet-option-item{break-inside:avoid!important;page-break-inside:avoid!important;-webkit-column-break-inside:avoid!important;background:transparent!important}.sheet-question-card,.sheet-card-subjective{display:block!important;margin-bottom:5px!important;border:none!important;box-shadow:none!important;border-radius:0!important;padding:0 0 2px!important;min-width:0!important;overflow-wrap:break-word!important;word-break:break-word!important}.page-col>.sheet-question-card:last-child{margin-bottom:0!important}.katex-display{max-width:100%!important;overflow:visible!important;margin:4px 0!important}.sheet-q-index{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important;color:#000!important;font-weight:700!important;margin-right:5px!important;display:inline!important;line-height:inherit!important}.sheet-q-stem{display:inline!important;line-height:inherit!important;font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important}.sheet-q-text{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important;color:#000!important;line-height:1.44!important;margin-bottom:3px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:break-word!important;orphans:3!important;widows:3!important}.sheet-options-grid{font-size:9.6pt!important;color:#000!important;gap:3px 12px!important;display:grid!important;grid-template-columns:1fr 1fr!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}.sheet-options-grid.options-stack-1col,.page-col-left .sheet-options-grid.options-stack-1col,.page-col-right .sheet-options-grid.options-stack-1col{grid-template-columns:1fr!important;row-gap:3px!important}.sheet-option-item{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:9.8pt!important;padding:1px 0!important;line-height:1.38!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow-wrap:break-word!important;word-break:break-word!important;orphans:3!important;widows:3!important}.sheet-opt-text{min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:break-word!important}.sheet-option-item .katex{max-width:100%!important;overflow-wrap:break-word!important}.sheet-lang-para{display:block!important;margin-top:3px!important;line-height:inherit!important}.sheet-lang-para.sheet-lang-secondary{margin-top:5px!important;padding-top:2px!important;border-top:.5px dashed #B0B0B0!important;color:#000!important}.sheet-marks-badge{float:right!important;margin-left:8px!important;margin-bottom:2px!important;margin-top:0!important;font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:9.8pt!important;font-weight:700!important;color:#000!important;white-space:nowrap!important;background:transparent!important;border:none!important;padding:0!important;line-height:inherit!important}.sheet-internal-or-block{margin-top:5px!important;padding-top:3px!important}.sheet-or-divider{text-align:center!important;font-size:8.5pt!important;font-weight:700!important;color:#000!important;margin:3px 0!important;letter-spacing:.05em!important}.sheet-or-text{font-family:Newsreader,Times New Roman,Times,Georgia,serif!important;font-size:10.2pt!important;color:#000!important;line-height:1.44!important;orphans:3!important;widows:3!important}.sheet-q-diagram-wrap{text-align:center!important;margin:4px auto!important;max-width:95%!important;display:block!important}.sheet-q-diagram-img{max-height:115px!important;max-width:100%!important;height:auto!important;object-fit:contain!important;display:inline-block!important;border-radius:2px!important;border:none!important;background:#fff!important}.sheet-q-diagram-grid-dual{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:4px auto!important;max-width:98%!important}.sheet-q-diagram-grid-dual .sheet-q-diagram-img{max-height:95px!important;max-width:100%!important}.tpl-classic-instructions,.tpl-board-instructions,.tpl-eco-instructions,.sheet-instructions-box,.omr-sheet-container{break-inside:avoid!important;page-break-inside:avoid!important}.answer-key-table,.answer-key-print-container,.key-matrix-table{break-inside:auto!important;page-break-inside:auto!important}.key-matrix-table thead,.answer-key-table thead{display:table-header-group!important}.key-matrix-table tr,.answer-key-table tr,.solution-q-card{break-inside:avoid!important;page-break-inside:avoid!important}.tpl-classic{font-family:Georgia,Times New Roman,serif!important}.tpl-classic-header{border-bottom:2px double #000000!important;padding-bottom:10px!important;margin-bottom:10px!important}.tpl-classic-inst-name{font-size:12.5pt!important;color:#000!important}.tpl-classic-inst-sub{color:#333!important;font-size:7.5pt!important}.tpl-classic-exam-title{color:#000!important;font-size:10pt!important}.tpl-classic-subject-title{color:#000!important;font-size:9.5pt!important}.tpl-classic-divider{margin:6px auto 5px!important;height:1.5px!important}.tpl-classic-meta-strip{margin-top:5px!important;gap:16px!important}.tpl-classic-meta-item{color:#000!important;font-size:8pt!important}.tpl-classic-student-row{grid-template-columns:1fr 1fr!important;gap:20px!important;margin-bottom:8px!important;padding:6px 0!important}.tpl-classic-field{color:#000!important;font-size:8pt!important}.tpl-classic-line{border-color:#000!important;min-height:14px!important}.tpl-classic-instructions{background:#f8f8f8!important;border:1px solid #D0D0D0!important;padding:6px 12px!important;margin-bottom:10px!important}.tpl-classic-instructions-list{line-height:1.42!important;font-size:7.8pt!important}.tpl-classic-footer{border-top:2px double #000000!important;color:#333!important}.tpl-modern{font-family:Inter,-apple-system,sans-serif!important}.tpl-modern-header{border-bottom:1px solid #D0D0D0!important;padding-bottom:8px!important;margin-bottom:6px!important}.tpl-modern-inst{color:#000!important;font-size:11pt!important}.tpl-modern-badge{background:#000!important;color:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.tpl-modern-set-badge{color:#000!important;border:1px solid #000000!important;background:#f0f0f0!important}.tpl-modern-title-block{padding:10px 0 6px!important}.tpl-modern-title{color:#000!important;font-size:11.5pt!important;margin-bottom:6px!important}.tpl-modern-chip{color:#000!important;background:#f0f0f0!important;border:1px solid #D0D0D0!important;font-size:7.2pt!important;padding:2.5px 9px!important}.tpl-modern-student-strip{grid-template-columns:2fr 1fr 1fr!important;gap:14px!important;border-color:#d0d0d0!important;padding:6px 0!important;margin-bottom:8px!important}.tpl-modern-field{color:#000!important;font-size:7.6pt!important}.tpl-modern-underline{border-color:#000!important;color:#000!important}.tpl-modern-instructions{padding:4px 0!important;margin-bottom:8px!important;gap:3px 14px!important}.tpl-modern-instruction-item{font-size:7.6pt!important;line-height:1.4!important}.tpl-modern-footer{border-top:1px solid #D0D0D0!important;color:#666!important}.tpl-board{font-family:Inter,-apple-system,sans-serif!important}.tpl-board-top-rule{background:#000!important;height:3px!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;margin-bottom:6px!important}.tpl-board-header{display:grid!important;grid-template-columns:130px 1fr 130px!important;align-items:start!important;margin-bottom:6px!important;gap:10px!important;text-align:initial!important}.tpl-board-series-code{color:#000!important;font-size:7pt!important;text-align:left!important}.tpl-board-set-pill{border:1.5px solid #000000!important;background:#000!important;color:#fff!important;font-weight:800!important;font-size:7.2pt!important;padding:2px 6px!important;margin-top:3px!important}.tpl-copy-flag{font-size:6.5pt!important;color:#333!important;margin-top:2px!important}.tpl-board-roll-cells{display:flex!important;gap:2px!important}.tpl-board-cell{width:12px!important;height:16px!important;border:1px solid #000000!important;background:#fff!important}.roll-label{font-size:6.8pt!important}.roll-subtext{font-size:5.8pt!important;margin-top:2px!important}.paper-seal-crest{width:36px!important;height:36px!important}.tpl-board-crest-wrap{margin-bottom:3px!important}.tpl-board-center-block{text-align:center!important}.tpl-board-inst{color:#000!important;font-size:1.15rem!important;font-family:Cinzel,Playfair Display,Georgia,serif!important;font-weight:800!important;margin:0 0 2px!important;line-height:1.25!important;letter-spacing:.05em!important;text-transform:uppercase!important}.tpl-board-address{font-size:.7rem!important;margin-bottom:3px!important;color:#52525b!important;letter-spacing:.08em!important;font-weight:600!important;text-transform:uppercase!important}.tpl-board-exam-name{font-family:Playfair Display,Georgia,serif!important;color:#18181b!important;font-size:.85rem!important;font-weight:700!important;margin-bottom:2px!important;letter-spacing:.02em!important}.tpl-board-subject-line{color:#000!important;font-size:.85rem!important;font-weight:800!important;margin-top:1px!important;letter-spacing:.04em!important;text-transform:uppercase!important}.tpl-board-info-bar{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;text-align:left!important;background:#fafafa!important;border:1px solid #0C0C0E!important;color:#0c0c0e!important;padding:5px 12px!important;margin-bottom:8px!important;font-size:.78rem!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.tpl-board-instructions{border:1px solid #E4E4E7!important;border-left:3.5px solid #0C0C0E!important;background:#fafafa!important;padding:6px 12px!important;margin-bottom:8px!important;border-radius:0 4px 4px 0!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.tpl-board-instructions-title{color:#0c0c0e!important;font-size:.76rem!important;font-weight:700!important;margin-bottom:2px!important;text-transform:uppercase!important;letter-spacing:.04em!important}.tpl-board-instructions-list{color:#3f3f46!important;font-size:.75rem!important;line-height:1.45!important;margin:0!important;padding-left:16px!important}.tpl-board-instructions-list li{margin-bottom:1px!important}.tpl-board-separator{background:repeating-linear-gradient(90deg,#0C0C0E 0px,#0C0C0E 6px,transparent 6px,transparent 12px)!important;height:1.5px!important;margin-bottom:6px!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.tpl-board-footer-line{color:#000!important}.tpl-board-footer-sub{color:#333!important}.tpl-eco,.tpl-eco.physical-a4-page{font-family:Inter,-apple-system,sans-serif!important;padding:10mm 9mm 9mm!important}.tpl-eco-header{border-bottom:2px solid #000000!important;padding-bottom:6px!important;margin-bottom:8px!important}.tpl-eco-inst{color:#000!important;font-size:11pt!important;margin-bottom:2px!important}.tpl-eco-title{color:#333!important;font-size:8.5pt!important}.tpl-eco-header-meta{color:#000!important}.tpl-eco-student-row{display:flex!important;grid-template-columns:none!important;gap:18px!important;margin-bottom:8px!important}.tpl-eco-field{color:#000!important}.tpl-eco-line{border-color:#000!important}.tpl-eco-instructions{background:#f8f8f8!important;border:1px solid #D0D0D0!important;color:#000!important;padding:5px 10px!important;margin-bottom:8px!important;font-size:7.6pt!important;line-height:1.4!important}.tpl-eco-footer{border-top:1px solid #D0D0D0!important;color:#333!important}.sheet-header-block{border-bottom:2px solid #000000!important;padding-bottom:14px!important;margin-bottom:16px!important}.sheet-institute-name{font-size:14pt!important;color:#000!important}.sheet-institute-sub{font-size:8pt!important;color:#333!important}.sheet-exam-title{font-size:11pt!important;color:#000!important}.sheet-instructions-box{background:#f8f8f8!important;border:1px solid #D0D0D0!important;padding:8px 12px!important;margin-bottom:16px!important}body.printing-solutions-mode #paper-view{display:none!important}body.printing-solutions-mode #solutions-drawer-backdrop{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;height:auto!important;background:#fff!important;animation:none!important}body.printing-solutions-mode .solutions-drawer{max-width:100%!important;width:100%!important;height:auto!important;box-shadow:none!important;border:none!important;padding:10mm 12mm!important;animation:none!important;transform:none!important}body.printing-solutions-mode .drawer-header{border-bottom:2px solid #000000!important;padding:0 0 8px!important;margin-bottom:10px!important}body.printing-solutions-mode .drawer-sub-header,body.printing-solutions-mode #btn-close-drawer{display:none!important}body.printing-solutions-mode .drawer-body{overflow:visible!important;height:auto!important;padding:0!important}body.printing-solutions-mode .solution-q-card{padding:10px 12px!important;margin-bottom:10px!important;border:1px solid #D0D0D0!important;box-shadow:none!important}}
