:root{--color-brand-primary: #4f46e5;--color-brand-primary-hover: #4338ca;--color-brand-primary-light: #eef2ff;--color-brand-secondary: #6366f1;--color-brand-accent: #f59e0b;--color-brand-accent-light: #fef3c7;--color-success: #10b981;--color-success-light: #ecfdf5;--color-success-border: #a7f3d0;--color-warning: #f59e0b;--color-warning-light: #fffbeb;--color-warning-border: #fde68a;--color-danger: #ef4444;--color-danger-light: #fef2f2;--color-danger-border: #fecaca;--color-info: #3b82f6;--color-info-light: #eff6ff;--color-bg-page: #f8fafc;--color-bg-card: #ffffff;--color-bg-container-low: #f1f5f9;--color-bg-container-high: #e2e8f0;--color-border-subtle: #e2e8f0;--color-border-strong: #cbd5e1;--color-border-focus: #4f46e5;--color-text-primary: #0f172a;--color-text-secondary: #475569;--color-text-muted: #64748b;--color-text-disabled: #94a3b8;--color-text-inverse: #ffffff;--color-text-brand: #4f46e5;--font-family-display: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-family-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-2xl: 20px;--radius-full: 9999px;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .04);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .04);--shadow-focus: 0 0 0 3px rgba(79, 70, 229, .25);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--touch-target-min: 44px}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}*{box-sizing:border-box}body{margin:0;min-width:320px;color:var(--color-text-primary);background:var(--color-bg-page);font-family:var(--font-family-body)}button,input,textarea,select{font:inherit}.app-shell{display:grid;min-height:100vh;place-items:center;padding:clamp(16px,5vw,40px);background:radial-gradient(circle at top right,var(--color-brand-primary-light),transparent 38%),var(--color-bg-page)}.shell-card{width:min(100%,860px);min-height:420px;padding:clamp(20px,6vw,40px);border:1px solid var(--color-border-subtle);border-radius:var(--radius-2xl);background:var(--color-bg-card);box-shadow:var(--shadow-lg)}.shell-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{margin:0;color:var(--color-text-brand);font-weight:800;letter-spacing:.08em;text-transform:uppercase}.language-button,.primary-button{min-height:44px;border-radius:var(--radius-md);cursor:pointer;font-weight:700}.language-button{padding:8px 12px;border:1px solid var(--color-border-strong);color:var(--color-text-brand);background:var(--color-brand-primary-light)}.primary-button{padding:10px 16px;border:0;color:var(--color-text-inverse);background:var(--color-brand-primary)}.language-button:focus-visible,.primary-button:focus-visible{outline:3px solid var(--color-brand-accent);outline-offset:3px}.screen{display:grid;align-content:center;min-height:320px}h1{margin:18px 0 12px;color:var(--color-text-primary);font-size:clamp(2rem,8vw,3.4rem);line-height:1.08}.screen>p{margin:0;color:var(--color-text-secondary);font-size:1.05rem;line-height:1.6}.spinner{width:36px;height:36px;border:4px solid var(--color-brand-primary-light);border-top-color:var(--color-brand-primary);border-radius:50%;animation:spin .9s linear infinite}.primary-button{justify-self:start;margin-top:26px}.greeting{margin-bottom:20px!important}.anonymous-warning{margin:8px 0 20px;padding:16px;border:1px solid var(--color-warning-border);border-radius:var(--radius-lg);background:var(--color-warning-light);color:#78350f}.anonymous-warning p{margin:0;line-height:1.5}.anonymous-warning .warning-title{margin-bottom:6px;font-weight:800}.ready-body{margin-bottom:18px!important}.identity-badge{width:fit-content;padding:7px 10px;border-radius:999px;color:var(--color-text-brand);background:var(--color-info-light);font-size:.9rem;font-weight:700}.create-content-button{margin-top:24px}.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}.home-actions .primary-button{margin-top:0}.library-list{display:grid;gap:12px;margin-top:24px}.library-card{display:grid;gap:10px;padding:16px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-xl);background:var(--color-bg-card);box-shadow:var(--shadow-sm)}.library-card button{min-height:var(--touch-target-min);padding:12px 14px;border:0;border-radius:var(--radius-md);color:var(--color-text-primary);background:transparent;text-align:left;cursor:pointer;font-size:1.05rem;font-weight:700}.library-card button:hover{background:var(--color-brand-primary-light)}.library-card-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:var(--color-text-muted);font-size:.85rem}.status-badge{padding:4px 8px;border-radius:var(--radius-full);color:var(--color-text-brand);background:var(--color-brand-primary-light);font-weight:700}.draft-editor{padding-top:18px}.editor-header{display:flex;justify-content:space-between;align-items:start;gap:16px}.editor-header h1{font-size:clamp(2rem,7vw,3rem)}.editor-header p,.editor-empty{color:var(--color-text-secondary);line-height:1.5}.editor-metadata,.editor-actions,.editor-items{display:grid;gap:16px;margin-top:24px}.editor-metadata{grid-template-columns:minmax(0,1fr) minmax(180px,.35fr)}.editor-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-metadata label,.draft-item label,fieldset label{display:grid;gap:7px;color:var(--color-text-secondary);font-weight:700}input,textarea,select{width:100%;border:1px solid var(--color-border-strong);border-radius:var(--radius-md);padding:10px 12px;color:var(--color-text-primary);background:var(--color-bg-card)}textarea{min-height:92px;resize:vertical}.draft-item{display:grid;gap:15px;padding:18px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-xl);background:var(--color-bg-card)}.draft-item header,.choice-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.draft-item h2{margin:0;font-size:1.1rem}fieldset{display:grid;gap:10px;padding:14px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg)}legend{padding:0 5px;color:var(--color-text-secondary);font-weight:700}.choice-row>label:first-child{flex:1}.correct-choice{display:flex!important;align-items:center;gap:7px;white-space:nowrap}.correct-choice input{width:auto}.secondary-button,.text-button{min-height:var(--touch-target-min);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);cursor:pointer;color:var(--color-text-brand);background:var(--color-brand-primary-light);font-weight:700}.secondary-button{padding:8px 12px}.text-button{min-height:auto;border:0;padding:5px;color:var(--color-danger);background:transparent}.draft-editor>.primary-button{margin-top:20px}.shared-player{display:grid;gap:18px;padding-top:20px}.shared-player h1{margin:0;font-size:clamp(2rem,7vw,3rem)}.shared-progress{margin:0;color:var(--color-text-secondary);font-weight:700}.autosave-badge{width:fit-content;min-height:28px;margin:0;padding:5px 10px;border-radius:var(--radius-full);color:var(--color-text-secondary);background:var(--color-bg-container-low);font-size:.82rem;font-weight:700}.autosave-saving{color:#92400e;background:var(--color-warning-light)}.autosave-saved{color:#047857;background:var(--color-success-light)}.autosave-error{color:var(--color-danger);background:var(--color-danger-light)}.shared-question{display:grid;gap:18px;padding:20px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-xl);background:var(--color-bg-card)}.shared-question h2{margin:0;color:var(--color-text-primary);font-size:clamp(1.25rem,4vw,1.7rem);line-height:1.35}.shared-choices{gap:12px}.shared-choice{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);cursor:pointer;color:var(--color-text-secondary);font-weight:600;background:var(--color-bg-card)}.shared-choice input{width:auto}.shared-answer{display:grid;gap:8px;color:var(--color-text-secondary);font-weight:700}.shared-result{display:grid;gap:12px;text-align:center}.shared-result h1,.shared-result p{margin:0}.csv-importer{display:grid;gap:16px;padding-top:20px}.csv-importer>label{display:grid;gap:6px;color:var(--color-text-secondary);font-weight:700}.csv-importer textarea{min-height:220px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.file-picker input{font-weight:400}.csv-preview{display:grid;gap:10px;padding:16px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg);background:var(--color-bg-card)}.csv-preview h2,.csv-preview p{margin:0}.share-link{display:grid;gap:8px;margin:18px 0 0;padding:16px;overflow-wrap:anywhere;border:1px solid var(--color-success-border);border-radius:var(--radius-xl);color:#047857;background:var(--color-success-light);font-weight:700}.share-link a{color:var(--color-text-brand);font-weight:700}.shared-navigation{display:flex;justify-content:space-between;gap:12px}.shared-navigation .primary-button{margin-top:0}.shared-navigation button:disabled{cursor:not-allowed;opacity:.45}.shared-inactive{display:grid;gap:6px;padding:14px 16px;border:1px solid var(--color-warning-border);border-radius:var(--radius-lg);background:var(--color-warning-light);color:#78350f}.shared-inactive .secondary-button{justify-self:start;margin-top:4px}.editor-notice{margin:18px 0 0;padding:12px;border-radius:var(--radius-md);font-weight:700}.editor-notice.success{color:#047857;background:var(--color-success-light)}.editor-notice.error{color:var(--color-danger);background:var(--color-danger-light)}.language-button:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible,.text-button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--color-brand-accent);outline-offset:3px}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}@media(max-width:560px){.editor-header,.choice-row{align-items:stretch;flex-direction:column}.editor-metadata,.editor-actions{grid-template-columns:1fr}.choice-row>label:first-child{width:100%}.shared-navigation{flex-direction:column}.shared-navigation button{width:100%}}@media(max-width:400px){.shell-card{min-height:100vh;border:0;border-radius:0}.app-shell{padding:0}h1{font-size:2.1rem}}.shell-card{width:min(100%,1180px);min-height:min(760px,calc(100vh - 48px));padding:0;overflow:hidden}.shell-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;min-height:72px;padding:12px clamp(20px,4vw,40px);border-bottom:1px solid var(--color-border-subtle);background:#fffffff0}.app-brand{display:inline-flex;align-items:center;gap:10px;color:var(--color-text-primary);text-decoration:none}.app-brand-copy{display:grid;gap:2px}.app-brand-copy strong{color:var(--color-text-primary);font-size:1.05rem;letter-spacing:-.02em}.app-brand-copy strong em{color:var(--color-brand-primary);font-style:normal}.app-brand-copy small{color:var(--color-text-muted);font-size:.72rem;font-weight:600}.brand-mark{display:inline-grid;width:40px;height:40px;color:var(--color-brand-primary);filter:drop-shadow(0 3px 0 #3730a3)}.brand-mark svg{width:100%;height:100%}.shell-navigation{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}.shell-navigation button,.shell-navigation a{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:0;border-radius:var(--radius-md);color:var(--color-text-secondary);background:transparent;cursor:pointer;font-size:.86rem;font-weight:700;text-decoration:none;white-space:nowrap}.shell-navigation button:hover,.shell-navigation a:hover{color:var(--color-text-primary);background:var(--color-bg-container-low)}.shell-navigation button.is-active,.shell-navigation a.is-active{color:var(--color-text-inverse);background:var(--color-brand-primary);box-shadow:0 3px #3730a3}.shell-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px}.shell-status{display:inline-flex;align-items:center;gap:7px;color:var(--color-text-muted);font-size:.75rem;font-weight:700;white-space:nowrap}.shell-status span{width:7px;height:7px;border-radius:50%;background:var(--color-brand-accent)}.shell-content{padding:clamp(24px,5vw,48px)}.screen{min-height:0}.ready-screen{align-content:start;max-width:920px;margin:0 auto}.home-hero{padding:clamp(12px,2vw,24px) 0 12px}.home-hero h1{max-width:620px;margin:12px 0 10px;font-size:clamp(2.2rem,6vw,4rem);letter-spacing:-.045em}.home-hero .greeting{color:var(--color-text-secondary);font-size:1.08rem}.home-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px;margin-top:28px}.action-card{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;min-height:72px!important;margin-top:0!important;padding:16px 18px!important;text-align:left}.action-card-icon{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:12px;color:var(--color-brand-primary);background:var(--color-brand-primary-light);font-size:1.4rem;line-height:1}.action-card-primary .action-card-icon{color:var(--color-text-inverse);background:#ffffff2e}.action-card-primary{box-shadow:0 4px #3730a3}.library-screen{max-width:1020px;margin:0 auto}.library-list{grid-template-columns:repeat(2,minmax(0,1fr))}.library-card{min-height:128px;align-content:space-between;padding:20px;transition:transform .16s ease,box-shadow .16s ease}.library-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.library-card button{padding:0;font-size:1.14rem}.library-card button:hover{background:transparent}.status-badge{width:fit-content}.editor-header{align-items:center}.editor-header h1{margin-top:0}.draft-editor,.csv-importer{max-width:1020px;margin:0 auto}.editor-actions{grid-template-columns:repeat(4,minmax(0,1fr));padding:16px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-xl);background:var(--color-bg-container-low)}.editor-actions .secondary-button{background:var(--color-bg-card)}.editor-items{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.draft-item{padding:20px;box-shadow:var(--shadow-sm)}.draft-item header{padding-bottom:4px}.csv-importer{gap:20px}.csv-importer>label{padding:16px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-xl);background:var(--color-bg-card)}.csv-importer>label textarea{margin-top:4px}.csv-preview{box-shadow:var(--shadow-md)}.shared-player{max-width:820px;margin:0 auto;gap:16px}.player-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.player-heading h1{margin:8px 0 0;font-size:clamp(1.65rem,4vw,2.5rem);letter-spacing:-.035em}.player-progress-row{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--color-text-muted);font-size:.86rem;font-weight:700}.player-progress-row span{color:var(--color-brand-primary);font-variant-numeric:tabular-nums}.progress-track{height:8px;overflow:hidden;border-radius:var(--radius-full);background:var(--color-bg-container-low)}.progress-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--color-brand-primary),var(--color-brand-secondary));transition:width .2s ease}.question-meta{display:flex;align-items:center;gap:10px;color:var(--color-text-muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.question-number{display:inline-grid;width:32px;height:32px;place-items:center;border-radius:50%;color:var(--color-text-inverse);background:var(--color-brand-primary)}.question-label{font-variant-numeric:tabular-nums}.shared-question{padding:clamp(20px,4vw,32px);border-radius:var(--radius-2xl);box-shadow:var(--shadow-md)}.shared-question h2{font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.45}.shared-choice{min-height:56px;padding:10px 14px;border-radius:var(--radius-lg)}.shared-choice:has(input:checked){border-color:var(--color-brand-primary);background:var(--color-brand-primary-light);box-shadow:var(--shadow-focus)}.choice-index{display:inline-grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:50%;color:var(--color-text-secondary);background:var(--color-bg-container-low);font-size:.85rem;font-weight:800}.shared-choice>span{pointer-events:none}.shared-choice:has(input:checked) .choice-index{color:var(--color-text-inverse);background:var(--color-brand-primary)}.shared-choice{position:relative}.shared-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:auto;cursor:pointer}.shared-choice:has(input:focus-visible){outline:3px solid var(--color-brand-accent);outline-offset:3px}.shared-answer textarea{min-height:132px;border-radius:var(--radius-lg)}.shared-inactive{border-left:4px solid var(--color-brand-accent)}.shared-navigation{margin-top:4px}.shared-navigation .secondary-button,.shared-navigation .primary-button{min-width:150px}.shared-status{max-width:560px;margin:0 auto;padding:48px 16px;text-align:center}.shared-result{max-width:560px;margin:0 auto;padding:32px 0;justify-items:center}.result-check{display:grid;width:60px;height:60px;place-items:center;border-radius:50%;color:var(--color-text-inverse);background:var(--color-success);font-size:2rem;font-weight:800;box-shadow:0 5px #047857}.result-score-card{display:grid;width:min(100%,360px);gap:6px;padding:28px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-2xl);background:var(--color-bg-card);box-shadow:var(--shadow-md);text-align:center}.result-score-card strong{color:var(--color-brand-primary);font-size:2.5rem;letter-spacing:-.05em}.result-score-card span{color:var(--color-text-secondary)}.result-score-card.is-pending{border-color:var(--color-warning-border);background:var(--color-warning-light)}.result-outcome{margin:0;padding:8px 14px;border-radius:var(--radius-full);font-weight:800}.result-outcome.is-passed{color:#047857;background:var(--color-success-light)}.result-outcome.is-practising{color:#92400e;background:var(--color-warning-light)}@media(max-width:900px){.shell-header{grid-template-columns:auto 1fr auto;gap:12px}.shell-navigation{justify-content:flex-start;overflow-x:auto}.shell-navigation button,.shell-navigation a{flex:0 0 auto}.editor-items{grid-template-columns:1fr}}@media(max-width:680px){.shell-header{grid-template-columns:1fr auto}.shell-navigation{grid-column:1 / -1;grid-row:2;justify-content:flex-start}.shell-tools{grid-column:2;grid-row:1}.shell-status{display:none}.shell-content{padding:24px 16px}.home-action-grid,.library-list,.editor-actions{grid-template-columns:1fr}.player-heading{flex-direction:column}.player-heading .autosave-badge{order:-1}.shared-navigation .secondary-button,.shared-navigation .primary-button{width:100%}}:root{--stitch-surface: #f8f9ff;--stitch-container: #e5eeff;--stitch-container-low: #eff4ff;--stitch-ink: #0b1c30;--stitch-muted: #464555;--stitch-primary: #3525cd;--stitch-primary-container: #4f46e5;--stitch-success: #005338}body{background:var(--stitch-surface);color:var(--stitch-ink)}.app-shell{display:block;min-height:100vh;padding:0;background:var(--stitch-surface)}.shell-card{width:100%;min-height:100vh;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.shell-header{position:sticky;top:0;z-index:20;min-height:80px;grid-template-columns:auto minmax(0,1fr) auto;padding:12px max(24px,calc((100vw - 1280px)/2));border:0;box-shadow:0 1px 8px #0b1c300a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-brand-copy strong{color:var(--stitch-primary);font-size:1.12rem;font-weight:800}.app-brand-copy strong em{color:inherit}.app-brand-copy small{color:var(--stitch-muted)}.brand-mark{filter:drop-shadow(0 3px 0 #3323cc)}.brand-mark img{display:block;width:100%;height:100%}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 24}.shell-navigation{justify-content:flex-start}.shell-navigation button,.shell-navigation a{min-height:42px;padding:10px 16px;color:var(--stitch-muted);font-size:.9rem}.shell-navigation button.is-active,.shell-navigation a.is-active{background:var(--stitch-primary-container);box-shadow:0 3px #3323cc}.shell-status{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border:0;border-radius:999px;color:#684000;background:#ffddb8;font:inherit;font-size:.75rem;font-weight:700;white-space:nowrap}.shell-status.is-registered{color:var(--stitch-primary);background:var(--stitch-container);cursor:pointer}.shell-status .shell-avatar{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;background:var(--stitch-primary-container);font-size:.72rem;font-weight:800}.shell-content{width:min(100%,1440px);margin:0 auto;padding:clamp(28px,4vw,64px) max(24px,calc((100vw - 1280px)/2))}.temporary-session-banner{display:flex;align-items:center;gap:12px;margin:-28px calc(max(24px,(100vw - 1280px) / 2)*-1) 36px;padding:12px max(24px,calc((100vw - 1280px)/2));color:#4a2b00;background:#fff0e2}.temporary-session-banner p{margin:0;line-height:1.5}.temporary-session-banner>div:first-child{display:flex;align-items:center;gap:10px}.temporary-session-banner>div:first-child>.material-symbols-outlined{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:50%;color:#855300;background:#ffddb8}.session-actions{display:flex;flex:0 0 auto;gap:8px;margin-left:auto}.session-actions button{min-height:38px;padding:7px 14px;border:0;border-radius:8px;color:#684000;background:#ffffffd9;font-weight:700;cursor:pointer}.session-actions button:last-child{color:#2a1700;background:#fea619;box-shadow:0 3px #b27400}.home-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.82fr);gap:clamp(24px,5vw,80px);align-items:center;padding:clamp(32px,5vw,72px);border-radius:20px;background:linear-gradient(110deg,#eeecff,#f6f8ff 55%,#e8f0ff)}.home-hero-copy{max-width:680px}.home-kicker{display:inline-block;padding:6px 14px;border-radius:999px;color:#005236;background:#fff;font-size:.78rem;font-weight:800;letter-spacing:.04em}.home-hero h1{margin:22px 0 12px;font-size:clamp(2.2rem,4vw,3.8rem);letter-spacing:-.055em}.home-hero h1 em{color:var(--stitch-primary-container);font-style:normal}.home-hero p{margin:0;color:var(--stitch-muted);font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.55}.home-benefits{display:flex;flex-wrap:wrap;gap:18px;padding:0;margin:28px 0 0;color:var(--stitch-muted);list-style:none;font-size:.9rem}.home-benefits li{display:flex;align-items:center;gap:5px}.home-benefits li:first-child{color:var(--stitch-success)}.home-benefits li:nth-child(2){color:var(--stitch-primary-container)}.home-benefits li:nth-child(3){color:#855300}.home-hero-image{position:relative;min-height:250px;margin:0;overflow:hidden;border-radius:18px;box-shadow:0 14px 22px #0b1c302e}.home-hero-image:after{position:absolute;inset:auto 0 0;height:42%;content:"";background:linear-gradient(transparent,#0b1c30bd)}.home-hero-image img{display:block;width:100%;height:100%;min-height:250px;object-fit:cover}.home-hero-image figcaption{position:absolute;z-index:1;right:18px;bottom:16px;left:18px;display:flex;align-items:end;justify-content:space-between;color:#fff}.home-hero-image figcaption span{display:grid;gap:2px}.home-hero-image figcaption small{color:#eaf1ff}.quick-actions{margin-top:48px}.quick-actions>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.quick-actions h2{margin:0;padding-left:16px;border-left:8px solid var(--stitch-primary-container);font-size:1.35rem}.quick-actions header span{color:var(--stitch-muted);font-size:.9rem}.home-action-grid{gap:24px;margin-top:18px}.action-card{display:grid!important;grid-template-rows:auto 1fr auto;align-content:start;min-height:368px!important;padding:28px!important;border:1px solid #edf0f7;border-radius:18px;color:var(--stitch-ink);background:#fff;box-shadow:0 3px 8px #0b1c300a}.action-card-top{display:flex;align-items:start;justify-content:space-between;gap:12px}.action-card-badge{padding:5px 9px;border-radius:999px;color:var(--stitch-primary-container);background:#e2dfff;font-size:.72rem;font-weight:800}.action-card-success .action-card-badge{color:#005236;background:#b8f8dc}.action-card-warning .action-card-badge{color:#93000a;background:#ffdad6}.action-card-copy{align-self:start;padding-top:20px}.action-card-copy h3{margin:0 0 8px;font-size:1.15rem}.action-card-copy p{margin:0;color:var(--stitch-muted);font-size:.88rem;line-height:1.55}.action-card-icon{width:54px;height:54px;border-radius:16px;color:var(--stitch-primary);background:#e2dfff}.action-card-primary{color:var(--stitch-ink);background:#fff;box-shadow:0 3px 8px #0b1c300a}.action-card-primary .action-card-icon{color:var(--stitch-primary);background:#e2dfff}.action-card:hover{transform:translateY(-3px);box-shadow:0 12px 22px #0b1c301a}.action-card button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:43px;border:0;border-radius:11px;color:#fff;background:var(--stitch-primary-container);box-shadow:0 4px #3323cc;font-weight:800;cursor:pointer}.action-card-success button,.action-card-warning button{color:var(--stitch-ink);background:var(--stitch-container);box-shadow:0 3px #d3e4fe}.action-card-success .action-card-icon{color:#005338;background:#b8f8dc}.action-card-warning .action-card-icon{color:#855300;background:#ffddb8}.quota-meter{display:grid;gap:8px;margin-top:18px}.quota-meter span{display:flex;justify-content:space-between;color:var(--stitch-muted);font-size:.72rem}.quota-meter>i{display:block;height:9px;overflow:hidden;border-radius:999px;background:var(--stitch-container)}.quota-meter>i>i{display:block;width:0;height:100%;background:#fea619}.recent-exercises{margin-top:46px}.recent-exercises>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.recent-exercises h2{margin:0;padding-left:16px;border-left:8px solid #006e4b;font-size:1.35rem}.recent-exercises>header button{display:flex;align-items:center;gap:2px;border:0;color:var(--stitch-primary);background:transparent;font-weight:800;cursor:pointer}.recent-empty{display:flex;align-items:center;gap:16px;margin-top:18px;padding:25px 34px;border-radius:18px;background:#fff;box-shadow:0 3px 8px #0b1c300a}.recent-empty>span,.safe-space>span{display:grid;width:54px;height:54px;flex:0 0 54px;place-items:center;border-radius:16px;color:var(--stitch-primary-container);background:var(--stitch-container);font-size:1.65rem}.recent-empty p{flex:1;margin:0;color:var(--stitch-muted)}.recent-empty button{padding:9px 12px;border:0;border-radius:10px;color:var(--stitch-primary);background:var(--stitch-container);font-weight:800;cursor:pointer}.recent-list{display:grid;gap:10px;margin-top:18px}.recent-item{display:flex;align-items:center;gap:14px;width:100%;min-height:74px;padding:12px 16px;border:0;border-radius:15px;color:var(--stitch-ink);background:#fff;box-shadow:0 3px 8px #0b1c300a;text-align:left;cursor:pointer}.recent-item:hover{box-shadow:0 8px 18px #0b1c3017;transform:translateY(-1px)}.recent-item-icon{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border-radius:13px;color:var(--stitch-primary);background:var(--stitch-container)}.recent-item-copy{display:grid;min-width:0;gap:4px;flex:1}.recent-item-copy strong{overflow:hidden;font-size:.92rem;text-overflow:ellipsis;white-space:nowrap}.recent-item-copy small{color:var(--stitch-muted);font-size:.75rem}.recent-item-status{color:var(--stitch-primary)}.safe-space{display:flex;align-items:center;gap:16px;margin-top:42px;padding:26px;border-radius:18px;background:#e5eeff}.safe-space>div{display:grid;gap:3px}.safe-space strong{font-size:1.1rem}.safe-space p{margin:0;color:var(--stitch-muted)}.safe-space small{display:flex;align-items:center;gap:5px;margin-left:auto;font-weight:800}.home-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:36px calc(max(24px,(100vw - 1280px) / 2)*-1) -64px;padding:28px max(24px,calc((100vw - 1280px)/2));color:var(--stitch-muted);background:#e5eeff;font-size:.82rem}.home-footer>span{display:flex;align-items:center;gap:8px}.home-footer .brand-mark{width:28px;height:28px}.home-footer-release{flex-wrap:wrap;gap:4px 14px!important;color:var(--stitch-ink);font-weight:700}.home-footer-release span{white-space:nowrap}.home-footer nav{display:flex;gap:24px}.home-footer button{border:0;color:var(--stitch-ink);background:transparent;font:inherit;cursor:pointer}.app-notice{position:fixed;z-index:50;right:24px;bottom:24px;display:flex;align-items:center;gap:8px;padding:13px 16px;border-radius:12px;color:#fff;background:#213145;box-shadow:0 8px 24px #0b1c3038;font-weight:800}.library-screen,.draft-editor,.csv-importer{max-width:none}.library-screen .editor-header,.csv-importer .editor-header{align-items:end;padding-bottom:28px}.library-screen .editor-header h1,.csv-importer .editor-header h1{font-size:clamp(2.2rem,4vw,3.4rem);letter-spacing:-.05em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.library-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:30px}.library-hero .eyebrow{display:flex;align-items:center;gap:6px;color:var(--stitch-primary)}.library-hero h1{margin:14px 0 8px;font-size:clamp(2.2rem,4vw,3.4rem);letter-spacing:-.055em}.library-hero p:last-child{max-width:740px;margin:0;color:var(--stitch-muted);font-size:1.05rem}.library-hero-actions{display:flex;gap:10px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:38px}.library-toolbar label{position:relative;display:flex;align-items:center;width:min(100%,540px);color:var(--stitch-muted)}.library-toolbar label>.material-symbols-outlined{position:absolute;left:18px}.library-toolbar input{min-height:58px;padding-left:52px;border:0;border-radius:16px;background:#fff;box-shadow:0 2px 7px #0b1c300a}.library-filter-summary{display:flex;gap:4px;padding:5px;border-radius:14px;background:var(--stitch-container)}.library-filter-summary span{padding:11px 14px;border-radius:10px;color:var(--stitch-muted);font-size:.9rem;font-weight:700;white-space:nowrap}.library-filter-summary span:first-child{color:var(--stitch-primary);background:#fff;box-shadow:0 1px 3px #0b1c301a}.library-filter-summary b{display:inline-grid;min-width:21px;place-items:center;margin-left:5px;border-radius:99px;background:#e2dfff}.library-list{gap:28px}.library-card{display:grid;grid-template-rows:auto auto 1fr auto;min-height:300px;padding:28px;border-top:6px solid var(--stitch-success);border-radius:18px;background:#fff}.library-card:nth-child(2n){border-top-color:#fea619}.library-card-heading,.library-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.library-card-icon{display:grid;width:56px;height:56px;place-items:center;border-radius:16px;color:var(--stitch-primary);background:#e2dfff;font-size:1.75rem}.library-card button{color:var(--stitch-ink);font-size:1.3rem;line-height:1.25}.library-card>button{padding:18px 0}.library-card-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px;border-radius:14px;color:var(--stitch-muted);background:var(--stitch-container-low);font-size:.82rem}.library-card-metrics span{display:grid;gap:4px;text-align:center}.library-card-metrics b{color:var(--stitch-ink);font-size:1.1rem}.library-card-footer{padding-top:20px;color:var(--stitch-muted);font-size:.86rem}.library-card-footer button{display:grid;width:42px;height:42px;place-items:center;padding:0;border-radius:12px;color:#fff;background:var(--stitch-primary-container)}.library-empty{padding:48px;border-radius:18px;color:var(--stitch-muted);background:#fff;text-align:center}.status-badge{color:#005236;background:#6ffbbe}.draft-editor{padding-bottom:80px}.editor-header{padding:20px 0}.editor-topbar{position:sticky;top:80px;z-index:10;margin:-20px -40px 22px;padding:18px 40px;border-left:5px solid var(--stitch-primary-container);background:#fffffff2;box-shadow:0 2px 9px #0b1c300d}.editor-topbar h1{font-size:clamp(1.5rem,2.5vw,2.25rem)}.editor-topbar p{margin:5px 0 0;color:var(--stitch-muted);font-size:.86rem}.editor-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}.editor-sidebar{position:sticky;top:180px;display:grid;gap:10px;padding:20px;border-radius:16px;background:#fff;box-shadow:0 2px 10px #0b1c300d}.editor-sidebar>p{margin:0;color:var(--stitch-muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.editor-sidebar>strong{color:var(--stitch-primary);font-size:2rem}.editor-sidebar>span{color:var(--stitch-muted);font-size:.82rem}.editor-sidebar-items{display:grid;gap:7px;margin-top:9px}.editor-sidebar-items span{display:flex;align-items:center;gap:8px;overflow:hidden;padding:9px;border-radius:9px;color:var(--stitch-muted);background:var(--stitch-container-low);font-size:.8rem;white-space:nowrap;text-overflow:ellipsis}.editor-sidebar-items b{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:7px;color:#fff;background:var(--stitch-primary-container)}.editor-canvas{min-width:0}.editor-metadata,.editor-actions{border-radius:16px}.draft-item{border:0;border-radius:16px;background:#fff;box-shadow:0 2px 10px #0b1c300d}.csv-importer>label,.csv-preview{border:0;border-radius:16px;box-shadow:0 2px 10px #0b1c300d}.shared-player{max-width:764px}.shared-player:before{display:block;content:"EduQuiz Kid";color:var(--stitch-primary);font-size:1.35rem;font-weight:800}.player-heading{padding:0 20px}.player-heading h1{font-size:clamp(1.7rem,4vw,2.7rem)}.progress-track{height:7px;margin:0 -40px;border-radius:0;background:#e5eeff}.progress-fill{border-radius:0;background:var(--stitch-primary-container)}.shared-question{padding:30px;border:1px solid #e1e7f0;border-radius:18px;box-shadow:0 2px 8px #0b1c300d}.shared-question h2{font-size:clamp(1.25rem,2.5vw,1.65rem)}.shared-choice{min-height:64px;border:2px solid #e1e7f0;border-radius:14px;background:#fff}.shared-choice:has(input:checked){border-color:#5b4bff;background:#eff1ff;box-shadow:none}.choice-index{background:#eff4ff}.shared-choice:has(input:checked) .choice-index{background:var(--stitch-primary-container)}.shared-navigation{display:flex;justify-content:space-between;gap:14px}.shared-navigation .primary-button{margin-left:auto;background:var(--stitch-primary-container);box-shadow:0 3px #3323cc}.result-score-card{width:min(100%,440px);padding:36px 28px;border:0;border-radius:18px;background:linear-gradient(180deg,#eff4ff,#fff)}.result-score-card strong{font-size:3rem}@media(max-width:760px){.shell-header{padding:10px 18px}.shell-content{padding:24px 16px}.temporary-session-banner{margin:-24px -16px 24px;padding:12px 16px}.home-hero{grid-template-columns:1fr;padding:28px 22px}.home-hero-image,.home-hero-image img{min-height:190px}.home-action-grid{gap:14px}.action-card{min-height:0!important;padding:20px!important}.temporary-session-banner,.safe-space,.home-footer{align-items:flex-start;flex-direction:column}.session-actions{margin-left:42px}.safe-space small{margin-left:0}.home-footer{margin:28px -16px -24px;padding:22px 16px}.home-footer nav{flex-wrap:wrap;gap:14px}.recent-empty{align-items:flex-start;flex-direction:column}.recent-empty button{width:100%}.quick-actions>header{align-items:start;flex-direction:column}.editor-topbar{top:0;margin:-20px -16px 18px;padding:16px}.editor-workspace{grid-template-columns:1fr}.editor-sidebar{position:static;grid-template-columns:auto auto 1fr;align-items:center}.editor-sidebar-items{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.progress-track{margin:0 -16px}}.csv-screen{gap:28px}.csv-page-header{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:12px}.csv-heading-copy{max-width:800px}.csv-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;color:var(--stitch-primary);background:var(--stitch-container);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.csv-heading-copy h1{margin:14px 0 8px;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.05em}.csv-heading-copy p{max-width:760px;margin:0;color:var(--stitch-muted);line-height:1.55}.csv-page-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:end}.csv-page-actions .secondary-button,.template-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.template-button{min-height:44px;padding:9px 14px;border:0;border-radius:10px;color:var(--stitch-primary);background:var(--stitch-container);font-weight:800;cursor:pointer}.csv-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.csv-source-column{min-width:0}.csv-section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.csv-section-label h2{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--stitch-ink);font-size:1.05rem}.csv-section-label h2 .material-symbols-outlined{color:var(--stitch-primary);font-size:1.3rem}.csv-ready-pill{padding:4px 9px;border-radius:999px;color:#005236;background:#b8f8dc;font-size:.68rem;font-weight:800}.csv-dropzone{position:relative;display:flex;min-height:264px;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:28px;overflow:hidden;border:2px dashed #cbd7ef;border-radius:16px;color:var(--stitch-ink);background:#fff;text-align:center;cursor:pointer;box-shadow:0 2px 9px #0b1c300a}.csv-dropzone:hover{border-color:var(--stitch-primary);background:#fbfbff}.csv-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.csv-dropzone-icon{display:grid;width:64px;height:64px;place-items:center;border-radius:50%;color:var(--stitch-primary);background:var(--stitch-container)}.csv-dropzone-icon .material-symbols-outlined{font-size:2rem}.csv-dropzone strong{font-size:1rem}.csv-file-link{color:var(--stitch-primary);font-weight:800}.csv-dropzone small{max-width:360px;color:var(--stitch-muted);line-height:1.5}.csv-textarea-wrap{position:relative;min-height:264px;padding:8px;border-radius:16px;background:#fff;box-shadow:0 2px 9px #0b1c300a}.csv-textarea-wrap textarea{width:100%;height:100%;min-height:248px;resize:none;border:0;border-radius:11px;color:var(--stitch-ink);background:var(--stitch-container-low);font-family:var(--font-family-mono);font-size:.8rem;line-height:1.6}.csv-textarea-wrap textarea:focus{outline:3px solid rgb(53 37 205 / 18%)}.csv-raw-label{position:absolute;right:18px;bottom:16px;padding:3px 7px;border-radius:4px;color:var(--stitch-muted);background:#d3e4fecc;font-family:var(--font-family-mono);font-size:.64rem;font-weight:700;pointer-events:none}.inline-action{display:inline-flex;align-items:center;gap:4px;border:0;color:var(--stitch-primary);background:transparent;font-size:.75rem;font-weight:800;cursor:pointer}.csv-validation-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.csv-validate-button{display:inline-flex;align-items:center;gap:8px;margin-top:0;box-shadow:0 3px #3323cc}.csv-validation-actions .editor-notice{display:inline-flex;align-items:center;gap:7px;margin:0}.csv-empty-hint{margin:-8px 0 0;color:var(--stitch-muted);font-size:.88rem}.csv-preview-card{gap:0;padding:0;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 3px 12px #0b1c300f}.csv-success-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:#6ffbbe3d}.csv-success-banner>div{display:flex;align-items:center;gap:12px}.csv-success-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;color:#fff;background:#006e4b}.csv-success-banner strong,.csv-success-banner small{display:block}.csv-success-banner strong{color:var(--stitch-ink)}.csv-success-banner small{margin-top:3px;color:var(--stitch-muted)}.csv-normalized{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;color:#005236;background:#fff;font-size:.72rem;font-weight:800;white-space:nowrap}.csv-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:var(--stitch-container-low)}.csv-preview-heading h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--stitch-ink);font-size:1.05rem}.csv-preview-heading h2 .material-symbols-outlined{color:var(--stitch-muted)}.csv-preview-heading p{margin:4px 0 0;color:var(--stitch-muted);font-size:.8rem}.csv-count-badge{padding:5px 9px;border-radius:999px;color:var(--stitch-muted);background:#fff;font-size:.72rem;font-weight:800;white-space:nowrap}.csv-preview-grid{display:grid}.csv-preview-row{display:grid;grid-template-columns:44px 92px minmax(0,1fr) 56px;align-items:center;gap:12px;min-height:58px;padding:8px 20px;border-bottom:1px solid #edf0f7;color:var(--stitch-ink);font-size:.82rem}.csv-preview-row:nth-child(odd){background:#eff4ff52}.csv-row-index{color:var(--stitch-muted);font-family:var(--font-family-mono);font-weight:800;text-align:center}.csv-row-type{width:fit-content;padding:3px 7px;border-radius:999px;color:var(--stitch-primary);background:#e2dfff;font-size:.66rem;font-weight:800}.csv-row-points{color:var(--stitch-muted);font-family:var(--font-family-mono);font-weight:800;text-align:right}.csv-preview-footer{display:flex;align-items:center;gap:18px;padding:16px 20px;color:var(--stitch-muted);background:var(--stitch-container-low);font-size:.78rem}.csv-preview-footer>span{display:inline-flex;align-items:center;gap:6px;flex:1}.csv-preview-footer>span .material-symbols-outlined{color:#006e4b;font-size:1rem}.csv-preview-footer strong{color:var(--stitch-ink);white-space:nowrap}.csv-preview-footer .primary-button{margin:0;white-space:nowrap}.stitch-player{max-width:820px;gap:0}.stitch-player:before{display:none;content:none}.player-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:58px;padding:0 4px 18px;border-bottom:1px solid #e3e9f4}.header-status-group{display:flex;align-items:center;justify-content:flex-end;gap:8px}.header-status-group .autosave-badge,.timer-badge{display:inline-flex;align-items:center;gap:5px}.timer-badge{min-height:28px;margin:0;padding:5px 10px;border-radius:var(--radius-full);color:#005236;background:#b8f8dc;font-size:.78rem;font-weight:700;white-space:nowrap}.timer-badge .material-symbols-outlined{font-size:1rem}.timer-badge strong{font-variant-numeric:tabular-nums}.timer-badge.timer-warning{color:#684000;background:#ffddb8}.player-brand{display:inline-flex;align-items:center;gap:8px;color:var(--stitch-primary);font-weight:800;white-space:nowrap}.player-brand-badge{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;color:#fff;background:var(--stitch-primary-container);box-shadow:0 2px #3323cc}.player-brand-badge .material-symbols-outlined{font-size:1.1rem}.player-title h1{margin:0;overflow:hidden;color:var(--stitch-ink);font-size:clamp(1rem,2.5vw,1.3rem);letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}.player-topbar .autosave-badge{display:inline-flex;align-items:center;gap:5px;justify-self:end}.player-topbar .autosave-badge .material-symbols-outlined{font-size:1rem}.player-progress-wrap{padding:16px 0 0}.player-progress-wrap .progress-track{margin:0;height:7px}.player-container{max-width:760px;margin:28px auto 0;padding:0 16px 12px}.stitch-question-card{margin-bottom:0}.stitch-question-card h2{margin:8px 0 18px;color:var(--stitch-ink);font-size:clamp(1.25rem,2.6vw,1.55rem)}.stitch-question-card .question-number{display:inline-grid;width:auto;height:auto;padding:4px 9px;border-radius:999px;background:var(--stitch-container);color:var(--stitch-primary)}.stitch-question-card .question-label{text-transform:none;letter-spacing:0}.shared-inactive{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;border-left:4px solid var(--color-brand-accent)}.shared-inactive>div{display:grid;gap:4px}.shared-inactive strong{display:inline-flex;align-items:center;gap:6px}.shared-inactive strong .material-symbols-outlined{font-size:1.1rem}.shared-inactive span{color:#78350f;font-size:.84rem}.shared-inactive .secondary-button{display:inline-flex;align-items:center;gap:5px;margin:0;white-space:nowrap}.player-footer{margin-top:22px}.player-footer button{display:inline-flex;align-items:center;gap:7px}.player-footer .primary-button{box-shadow:0 3px #3323cc}.stitch-result{display:grid;place-items:center;min-height:480px;padding:22px 0}.result-card-shell{width:min(100%,520px);overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 12px 30px #0b1c301a}.result-card-header{position:relative;padding:28px 24px 22px;overflow:hidden;background:linear-gradient(180deg,var(--stitch-container-low),#fff);text-align:center}.result-card-header:before,.result-card-header:after{position:absolute;width:140px;height:140px;border-radius:50%;content:"";filter:blur(18px);opacity:.42;pointer-events:none}.result-card-header:before{top:-70px;right:-45px;background:#ffddb8}.result-card-header:after{bottom:-80px;left:-40px;background:#e2dfff}.result-card-header>*{position:relative;z-index:1}.result-card-header h1{margin:10px 0 0;font-size:clamp(1.35rem,3vw,1.8rem)}.result-card-header .eyebrow{margin-top:14px;font-size:.72rem}.result-student{display:inline-flex;align-items:center;gap:5px;margin:10px 0 0;padding:5px 9px;border-radius:999px;color:var(--stitch-muted);background:var(--stitch-container);font-size:.72rem}.result-student .material-symbols-outlined{color:var(--stitch-primary);font-size:.95rem}.result-celebration{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;color:#684000;background:#ffddb8;font-size:.72rem;font-weight:800}.result-score-card{display:grid;justify-items:center;gap:10px;width:auto;padding:22px 24px 28px;border-radius:0;background:#fff;box-shadow:none}.result-score-card>span{color:var(--stitch-muted);font-weight:700}.score-ring{--score-progress: 0%;display:grid;width:164px;height:164px;place-items:center;border-radius:50%;background:conic-gradient(#006e4b var(--score-progress),#d3e4fe 0);transform:rotate(-90deg)}.score-ring>div{display:grid;width:132px;height:132px;place-items:center;align-content:center;gap:3px;border-radius:50%;background:#fff;transform:rotate(90deg)}.score-ring strong{color:var(--stitch-primary);font-size:2rem;letter-spacing:-.06em}.score-ring span{color:var(--stitch-muted);font-size:.7rem;font-weight:800}.result-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 24px 20px}.result-metrics>div{display:flex;align-items:center;gap:8px;padding:10px;border-radius:9px;color:var(--stitch-primary);background:var(--stitch-container);text-align:left}.result-metrics>div>span:last-child{display:grid;gap:2px;color:var(--stitch-muted);font-size:.68rem}.result-metrics strong{color:var(--stitch-ink);font-size:.8rem}.result-outcome{display:inline-flex;align-items:center;gap:6px;margin:0 24px 26px;padding:8px 14px;border-radius:999px;font-weight:800}.result-outcome.is-passed{color:#005236;background:#b8f8dc}.result-outcome.is-practising{color:#684000;background:#ffddb8}.publish-success-card{display:grid;gap:22px;margin-top:28px;padding:24px;border-radius:18px;background:#fff;box-shadow:0 4px 14px #0b1c3012}.publish-success-heading{display:flex;align-items:flex-start;gap:14px}.publish-success-heading h2{margin:5px 0 8px;color:var(--stitch-ink);font-size:1.35rem}.publish-success-heading>div:last-child{min-width:0}.publish-success-heading>div:last-child>span{display:block;overflow-wrap:anywhere;color:var(--stitch-muted);font-size:.8rem}.publish-success-icon{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border-radius:14px;color:#fff;background:#006e4b;box-shadow:0 3px #005236}.publish-success-actions{display:flex;gap:10px;flex-wrap:wrap}.publish-success-actions .primary-button,.publish-success-actions .secondary-button{display:inline-flex;align-items:center;gap:7px;margin:0;text-decoration:none}.publish-summary-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px}.publish-overview,.publish-link-panel{padding:20px;border-radius:15px;background:var(--stitch-container-low)}.publish-course-badge{display:inline-flex;gap:6px;padding:5px 9px;border-radius:7px;color:#684000;background:#ffddb8;font-size:.7rem;font-weight:800}.publish-overview h3{margin:16px 0 6px;color:var(--stitch-ink);font-size:1.25rem;line-height:1.25}.publish-overview>p{margin:0 0 16px;color:var(--stitch-muted);font-size:.82rem}.publish-config-list{display:grid;gap:8px}.publish-config-list>div{display:flex;align-items:center;gap:9px;padding:10px;border-radius:9px;background:#fff}.publish-config-list>div>.material-symbols-outlined{color:var(--stitch-primary);font-size:1.15rem}.publish-config-list>div>span:last-child{display:grid;gap:2px;color:var(--stitch-muted);font-size:.7rem}.publish-config-list b{color:var(--stitch-ink);font-size:.8rem}.publish-link-panel{background:#fff;box-shadow:0 2px 8px #0b1c300a}.publish-link-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.publish-link-heading h3{margin:0;color:var(--stitch-ink);font-size:1.15rem}.publish-active-pill{padding:5px 8px;border-radius:999px;color:#005236;background:#b8f8dc;font-size:.68rem;font-weight:800;white-space:nowrap}.publish-link-panel label{display:grid;gap:7px;margin-top:18px;color:var(--stitch-muted);font-size:.78rem;font-weight:800}.publish-link-row{display:flex;gap:8px}.publish-link-row input{min-width:0;border:0;background:var(--stitch-container-low);font-family:var(--font-family-mono);font-size:.72rem}.publish-link-row .primary-button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;margin:0}.publish-qr-placeholder{display:grid;min-height:124px;place-items:center;align-content:center;gap:7px;margin-top:16px;border:2px dashed #cad6f2;border-radius:12px;color:var(--stitch-primary);background:var(--stitch-container-low);text-align:center}.publish-qr-placeholder .material-symbols-outlined{font-size:2.6rem}.publish-qr-placeholder p{margin:0;color:var(--stitch-muted);font-size:.72rem}.publish-link-panel .publish-success-actions{margin-top:16px}.library-hero-actions{align-items:center;flex-wrap:wrap}.library-hero-actions .primary-button,.library-hero-actions .secondary-button{display:inline-flex;align-items:center;gap:7px;margin:0;text-decoration:none}.library-back-button{flex-basis:100%;margin-left:auto}.quota-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:18px;margin:0 0 36px;padding:24px 28px;border-radius:18px;background:linear-gradient(110deg,var(--stitch-container-low),#f9f7ff);box-shadow:0 2px 8px #0b1c3008}.quota-banner-icon{display:grid;width:58px;height:58px;place-items:center;border-radius:16px;color:#855300;background:#ffddb8;font-size:1.6rem}.quota-banner h2{margin:0 0 5px;color:var(--stitch-ink);font-size:1.15rem}.quota-banner p{margin:0;color:var(--stitch-muted);font-size:.84rem;line-height:1.45}.quota-progress{height:9px;margin-top:12px;overflow:hidden;border-radius:999px;background:#d3e4fe}.quota-progress i{display:block;height:100%;border-radius:inherit;background:#fea619}.quota-state{padding:5px 9px;border-radius:999px;color:#93000a;background:#ffdad6;font-size:.7rem;font-weight:800;white-space:nowrap}.quota-actions{display:flex;gap:9px}.quota-actions button{margin:0;white-space:nowrap}.accent-button{min-height:44px;padding:9px 15px;border:0;border-radius:10px;color:#2a1700;background:#fea619;box-shadow:0 3px #b27400;font-weight:800;cursor:pointer}.library-card-heading{position:relative}.card-menu-button{display:grid;width:34px;height:34px;place-items:center;margin-left:auto;padding:0!important;color:var(--stitch-muted)!important;background:transparent!important}.library-card-title{min-height:58px}.library-card-update{display:flex;align-items:center;gap:5px;padding-top:17px;color:var(--stitch-muted);font-size:.78rem}.library-card-update span{display:inline-flex;align-items:center;gap:5px}.library-card-update .material-symbols-outlined{font-size:1rem}.library-card-footer{align-items:end}.library-card-footer>span{max-width:40%;color:var(--stitch-muted);font-size:.78rem}.library-card-footer>div{display:flex;gap:8px}.library-card-footer>div button{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:8px 12px;font-size:.75rem}.library-card-footer>div .primary-button{color:#fff;background:var(--stitch-primary-container);box-shadow:0 3px #3323cc}.status-badge.is-published{color:#005236;background:#6ffbbe}.status-badge.is-draft{color:#684000;background:#ffddb8}.library-tip{display:flex;align-items:center;gap:16px;margin-top:54px;padding:24px 28px;border-radius:18px;background:#fff;box-shadow:0 2px 8px #0b1c300a}.library-tip-icon{display:grid;width:52px;height:52px;flex:0 0 52px;place-items:center;border-radius:15px;color:#005338;background:#6ffbbe;font-size:1.45rem}.library-tip h2{margin:0 0 3px;color:var(--stitch-ink);font-size:1.05rem}.library-tip p{margin:0;color:var(--stitch-muted);font-size:.82rem}.library-tip button{display:inline-flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap}.editor-title-block{min-width:0}.editor-status-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.editor-status-badges>span{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;color:var(--stitch-primary);background:var(--stitch-container);font-size:.68rem;font-weight:800}.editor-status-badges .editor-saved-badge{color:#005236;background:#b8f8dc}.editor-status-badges .material-symbols-outlined{font-size:.9rem}.editor-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:end}.editor-header-actions .primary-button,.editor-header-actions .secondary-button{display:inline-flex;align-items:center;gap:6px;margin:0;text-decoration:none}.editor-header-actions .primary-button{box-shadow:0 3px #3323cc}.editor-sync-banner{display:flex;align-items:center;gap:8px;margin:-8px 0 18px;padding:10px 12px;border-radius:11px;color:var(--stitch-muted);background:#fff;box-shadow:0 2px 8px #0b1c300a;font-size:.75rem}.editor-sync-banner>.material-symbols-outlined{color:var(--stitch-primary)}.editor-sync-banner p{flex:1;margin:0;line-height:1.4}.editor-sync-banner strong{color:var(--stitch-primary);font-family:var(--font-family-mono)}.editor-sync-banner>span{white-space:nowrap}.editor-sync-banner button{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:7px;color:var(--stitch-muted);background:transparent;cursor:pointer}.editor-sync-banner button:hover{color:var(--stitch-primary);background:var(--stitch-container-low)}.editor-sidebar-add{display:flex;align-items:center;gap:7px;width:100%;margin-top:4px;padding:9px;border:0;border-radius:9px;color:var(--stitch-primary);background:var(--stitch-container-low);font-weight:800;cursor:pointer}.editor-sidebar-add:hover{background:var(--stitch-container)}.editor-sidebar-add .material-symbols-outlined{font-size:1rem}.editor-settings{display:grid;gap:10px;margin-top:8px;padding-top:16px;border-top:1px solid #edf0f7}.editor-settings strong{color:var(--stitch-ink);font-size:.8rem}.editor-settings label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--stitch-muted);font-size:.74rem;font-weight:600}.editor-settings input{width:34px;height:20px;accent-color:var(--stitch-primary-container)}.editor-question-card,.editor-card-editor{padding:0;overflow:hidden}.question-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--stitch-container-low)}.question-card-header>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}.question-editor-number{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:9px;color:#fff;background:var(--stitch-primary);box-shadow:0 2px #3323cc;font-weight:800}.question-type-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;color:var(--stitch-primary);background:var(--stitch-container);font-size:.72rem;font-weight:800}.question-type-badge .material-symbols-outlined{font-size:.9rem}.question-card-tools{display:flex;align-items:center;gap:8px}.question-card-tools>label{display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:8px;color:var(--stitch-muted);background:#fff;font-size:.72rem}.question-card-tools input{width:42px;padding:2px;border:0;color:var(--stitch-primary);background:transparent;font-weight:800;text-align:center}.question-card-tools .text-button,.question-card-header>.text-button{display:grid;width:32px;height:32px;place-items:center;padding:0;color:var(--stitch-muted)}.question-card-tools .text-button:hover,.question-card-header>.text-button:hover{color:#93000a;background:#ffdad6}.question-card-body{display:grid;gap:20px;padding:20px}.prompt-field>span,.question-card-body>label>span{color:var(--stitch-muted);font-size:.7rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.prompt-field textarea{min-height:110px;border:0;border-radius:12px;background:var(--stitch-container-low);font-size:1rem;font-weight:600}.editor-guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.editor-guidance-grid label{display:grid;gap:7px;color:var(--stitch-muted);font-size:.74rem;font-weight:800}.editor-guidance-grid textarea{min-height:86px;border:0;background:var(--stitch-container-low)}.image-field{display:grid;gap:7px;color:var(--stitch-muted);font-size:.74rem;font-weight:800}.image-field input{border:0;background:var(--stitch-container-low)}.editor-choice-fieldset{display:grid;gap:10px;padding:0;border:0}.editor-choice-fieldset legend{padding:0;color:var(--stitch-muted);font-size:.7rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.editor-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editor-choice-fieldset .choice-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 11px;border-radius:11px;background:var(--stitch-container-low)}.editor-choice-fieldset .choice-row.is-correct{background:#6ffbbe4d}.choice-editor-index{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;color:var(--stitch-muted);background:#d3e4fe;font-size:.78rem;font-weight:800}.choice-row.is-correct .choice-editor-index{color:#fff;background:#006e4b}.editor-choice-fieldset .choice-row>label:first-of-type{min-width:0;color:transparent;font-size:0}.editor-choice-fieldset .choice-row>label:first-of-type input{padding:5px 0;border:0;background:transparent;font-size:.85rem}.editor-choice-fieldset .correct-choice{display:grid!important;width:28px;height:28px;place-items:center;padding:0;color:var(--stitch-muted)}.editor-choice-fieldset .correct-choice input{position:absolute;width:1px;height:1px;opacity:0}.editor-choice-fieldset .correct-choice .material-symbols-outlined{font-size:1.2rem}.editor-choice-fieldset .choice-row.is-correct .correct-choice{color:#006e4b}.editor-choice-fieldset>.secondary-button{display:inline-flex;align-items:center;gap:5px;justify-self:start;margin:2px 0 0}@media(max-width:760px){.editor-header-actions{justify-content:start}.editor-header-actions .text-button{margin-left:auto}.editor-sync-banner{align-items:flex-start;flex-wrap:wrap}.editor-sync-banner>span{margin-left:22px}}@media(max-width:760px){.publish-summary-grid{grid-template-columns:1fr}.publish-link-row{flex-direction:column}.publish-link-row .primary-button{justify-content:center}}@media(max-width:620px){.editor-guidance-grid,.editor-choice-grid{grid-template-columns:1fr}.question-card-header{align-items:flex-start;flex-direction:column}.question-card-tools{width:100%;justify-content:space-between}.question-card-body{padding:16px}}@media(max-width:420px){.result-metrics{grid-template-columns:1fr}}.quiz-landing{width:min(100%,520px);margin:0 auto;padding:4px 0 22px}.quiz-landing-brand{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.quiz-landing-brand>div{display:inline-flex;align-items:center;gap:8px;color:var(--stitch-primary)}.quiz-landing-brand-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;color:#fff;background:var(--stitch-primary-container);box-shadow:0 2px #3323cc}.quiz-landing-brand strong{font-size:1.05rem;letter-spacing:-.02em}.quiz-landing-locale{padding:6px 10px;border-radius:999px;color:var(--stitch-muted);background:var(--stitch-container);font-size:.72rem;font-weight:800}.quiz-landing-locale{display:inline-flex;gap:2px;padding:3px}.quiz-landing-locale button{min-width:30px;padding:5px 6px;border:0;border-radius:999px;color:var(--stitch-muted);background:transparent;font-size:.68rem;font-weight:800;cursor:pointer}.quiz-landing-locale button.is-active{color:var(--stitch-primary);background:#fff;box-shadow:0 1px 3px #0b1c301a}.shared-shell-header{display:none}.quiz-landing-card{position:relative;display:grid;gap:18px;padding:18px;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 5px 16px #0b1c3017}.quiz-landing-card:before,.quiz-landing-card:after{position:absolute;border-radius:50%;content:"";filter:blur(22px);opacity:.55;pointer-events:none}.quiz-landing-card:before{width:150px;height:150px;top:-60px;right:-48px;background:var(--stitch-container)}.quiz-landing-card:after{width:110px;height:110px;bottom:-52px;left:-42px;background:#ffddb8;opacity:.3}.quiz-landing-card>*{position:relative;z-index:1}.quiz-landing-pills{display:flex;flex-wrap:wrap;gap:7px}.quiz-landing-pills span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;color:var(--stitch-muted);background:var(--stitch-container-low);font-size:.72rem;font-weight:800}.quiz-landing-pills span:first-child{color:var(--stitch-primary);background:var(--stitch-container)}.quiz-landing-pills .material-symbols-outlined{font-size:1rem}.quiz-landing-heading h1{margin:0;color:var(--stitch-ink);font-size:clamp(1.45rem,4vw,2rem);line-height:1.2;letter-spacing:-.045em}.quiz-landing-heading p{display:flex;align-items:center;gap:7px;margin:10px 0 0;color:var(--stitch-muted);font-size:.85rem}.quiz-landing-person{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;color:#855300;background:#ffddb8}.quiz-landing-person .material-symbols-outlined{font-size:.9rem}.quiz-resume-banner{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:11px;color:var(--stitch-ink);background:var(--stitch-container)}.quiz-resume-icon{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:50%;color:#fff;background:var(--stitch-primary-container)}.quiz-resume-banner>div{min-width:0;flex:1}.quiz-resume-banner strong{color:var(--stitch-primary);font-size:.84rem}.quiz-resume-banner p{margin:4px 0 0;color:var(--stitch-muted);font-size:.78rem;line-height:1.45}.quiz-autosave-pill{padding:4px 7px;border-radius:999px;color:#005236;background:#b8f8dc;font-size:.64rem;font-weight:800;white-space:nowrap}.quiz-name-field{display:grid;gap:7px;color:var(--stitch-ink);font-size:.82rem;font-weight:800}.quiz-name-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.quiz-name-field>span small{color:var(--stitch-muted);font-size:.68rem;font-weight:700}.quiz-name-field>div{position:relative}.quiz-name-field>div>.material-symbols-outlined{position:absolute;top:50%;left:14px;color:var(--stitch-primary);transform:translateY(-50%)}.quiz-name-field input{min-height:48px;padding-left:44px;border:0;border-radius:10px;color:var(--stitch-ink);background:var(--stitch-container-low)}.quiz-name-field input:focus{outline:3px solid rgb(53 37 205 / 18%)}.quiz-name-field.has-error input{outline:3px solid rgb(186 26 26 / 20%)}.quiz-name-field em{color:#93000a;font-size:.72rem;font-style:normal}.quiz-instructions{display:grid;gap:10px;padding:13px;border-radius:11px;background:var(--stitch-container-low)}.quiz-instructions>strong{display:flex;align-items:center;gap:6px;color:#855300;font-size:.84rem}.quiz-instructions ul{display:grid;gap:7px;margin:0;padding:0 0 0 4px;list-style:none}.quiz-instructions li{display:flex;align-items:flex-start;gap:7px;color:var(--stitch-ink);font-size:.78rem;line-height:1.4}.quiz-instructions li:before{width:15px;height:15px;flex:0 0 15px;border-radius:50%;content:"✓";color:#005338;background:#b8f8dc;font-size:.62rem;font-weight:900;text-align:center}.quiz-start-area{display:grid;gap:7px;padding-top:2px}.quiz-start-area .primary-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin:0;box-shadow:0 4px #3323cc}.quiz-start-area p{margin:0;color:var(--stitch-muted);font-size:.72rem;text-align:center}.quiz-safe-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:16px 0 0;color:var(--stitch-muted);font-size:.72rem}.quiz-safe-note .material-symbols-outlined{font-size:1rem}@media(max-width:900px){.quota-banner{grid-template-columns:auto minmax(0,1fr)}.quota-state{justify-self:start}.quota-actions{grid-column:2}}@media(max-width:720px){.csv-page-header{align-items:stretch;flex-direction:column}.csv-page-actions{justify-content:start}.csv-workspace{grid-template-columns:1fr}.csv-preview-footer{align-items:stretch;flex-wrap:wrap}.csv-preview-footer>span{flex-basis:100%}.csv-preview-row{grid-template-columns:36px 80px minmax(0,1fr) 44px;gap:8px;padding-inline:12px}.player-topbar{grid-template-columns:auto 1fr}.player-topbar .header-status-group{grid-column:1 / -1;justify-self:start;flex-wrap:wrap}.player-title{min-width:0}.shared-inactive{align-items:stretch;flex-direction:column}.shared-inactive .secondary-button{align-self:flex-start}.quota-banner{grid-template-columns:1fr;padding:20px}.quota-banner-icon,.quota-state{justify-self:start}.quota-actions{grid-column:auto;flex-wrap:wrap}.library-hero-actions{justify-content:start}.library-tip{align-items:flex-start;flex-direction:column}.library-tip button{margin-left:0;width:100%}.library-card-footer{align-items:flex-start;flex-direction:column;gap:12px}.library-card-footer>span{max-width:none}.library-card-footer>div{width:100%}.library-card-footer>div button{flex:1;justify-content:center}}@media(max-width:560px){.library-card-metrics{grid-template-columns:1fr}}.history-screen{max-width:1020px;margin:0 auto}.history-header{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:24px}.history-header h1{margin:12px 0 8px;color:var(--stitch-ink);font-size:clamp(2rem,4vw,3rem);letter-spacing:-.05em}.history-header p:not(.eyebrow){max-width:680px;margin:0;color:var(--stitch-muted);line-height:1.55}.history-header .eyebrow{display:flex;align-items:center;gap:6px;margin:0;color:var(--stitch-primary);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.history-list{display:grid;gap:12px}.history-card{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #e4e8f2;border-radius:16px;background:#fff;box-shadow:0 3px 12px #0b1c300d}.history-card-icon{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:13px;color:var(--stitch-primary);background:var(--stitch-container)}.history-card-main{min-width:0;flex:1}.history-card-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.history-card-heading h2{margin:0;overflow:hidden;color:var(--stitch-ink);font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.history-card-main>p{margin:5px 0 10px;color:var(--stitch-muted);font-size:.78rem}.history-status{padding:4px 8px;border-radius:999px;color:#005236;background:#b8f8dc;font-size:.66rem;font-weight:800}.history-status-in_progress{color:#855300;background:#ffddb8}.history-status-abandoned,.history-status-timed_out{color:#7c2d12;background:#ffe0d5}.history-card-meta{display:flex;gap:18px;color:var(--stitch-muted);font-size:.76rem}.history-card-meta strong{margin-right:4px;color:var(--stitch-ink);font-size:.88rem}.history-detail-button{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto}.history-pagination{display:flex;justify-content:center;padding:20px 0}.history-state,.history-empty{padding:48px 20px;color:var(--stitch-muted);text-align:center}.history-error{display:grid;justify-items:center;gap:12px}.history-empty-icon{display:grid;width:56px;height:56px;margin:0 auto 14px;place-items:center;border-radius:50%;color:var(--stitch-primary);background:var(--stitch-container)}.history-empty h2{margin:0 0 6px;color:var(--stitch-ink);font-size:1.1rem}.history-empty p{margin:0}.history-modal-backdrop{position:fixed;z-index:30;inset:0;display:grid;place-items:center;padding:20px;background:#0a12237a}.history-modal{width:min(620px,100%);max-height:min(640px,90vh);overflow:auto;padding:24px;border-radius:18px;background:#fff;box-shadow:0 24px 80px #0a122347}.history-modal>header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.history-modal h2{margin:8px 0 0;color:var(--stitch-ink);font-size:1.35rem}.history-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-detail-grid>div{display:grid;gap:5px;padding:14px;border-radius:12px;background:var(--stitch-container-low)}.history-detail-grid span{color:var(--stitch-muted);font-size:.72rem;font-weight:700}.history-detail-grid strong{color:var(--stitch-ink);font-size:.9rem}@media(max-width:720px){.history-header{align-items:stretch;flex-direction:column}.history-card{align-items:flex-start;flex-wrap:wrap}.history-card-main{flex-basis:calc(100% - 62px)}.history-detail-button{margin-left:62px}.history-detail-grid{grid-template-columns:1fr}}.admin-root{min-height:100vh;background:#f8f9ff;color:#0b1c30;font-family:Plus Jakarta Sans,sans-serif}.admin-shell{display:flex}.admin-sidebar{position:fixed;inset:0 auto 0 0;z-index:10;width:248px;display:flex;flex-direction:column;padding:24px 16px;background:#fff;border-right:1px solid #e5eeff}.admin-brand{display:flex;align-items:center;gap:10px;color:#0b1c30;text-decoration:none;padding:4px 8px 28px}.admin-brand-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:#3525cd;color:#fff;font-weight:800}.admin-brand strong,.admin-brand small{display:block}.admin-brand strong{font-size:16px;letter-spacing:-.02em}.admin-brand small{margin-top:3px;color:#777587;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.admin-sidebar nav{display:grid;gap:4px}.admin-sidebar nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;color:#464555;font-size:13px;font-weight:700;text-decoration:none}.admin-sidebar nav a:hover,.admin-sidebar nav a.is-active{background:#e2dfff;color:#3525cd}.admin-sidebar-footer{display:flex;align-items:center;gap:8px;margin-top:auto;padding:12px;color:#464555;font-size:12px;font-weight:700}.admin-health-dot{width:8px;height:8px;border-radius:50%;background:#006e4b;box-shadow:0 0 0 4px #d8f7e7}.admin-canvas{width:calc(100% - 248px);margin-left:248px}.admin-topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;min-height:68px;padding:0 36px;background:#ffffffe6;border-bottom:1px solid #e5eeff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.admin-topbar-title{padding:7px 12px;border-radius:999px;background:#eff4ff;color:#3525cd;font-size:12px;font-weight:800}.admin-topbar-actions{display:flex;align-items:center;gap:10px}.admin-locale-button,.admin-logout,.admin-secondary-button{border:1px solid #c7c4d8;border-radius:9px;background:#fff;color:#3525cd;padding:8px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.admin-avatar{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#3525cd;color:#fff;font-size:13px;font-weight:800}.admin-account{max-width:180px;overflow:hidden;color:#0b1c30;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.admin-main{max-width:1280px;margin:0 auto;padding:40px 36px 56px}.admin-page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.admin-eyebrow,.admin-panel-kicker{color:#3525cd;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.admin-page-heading h1{margin:6px 0 5px;font-size:clamp(26px,4vw,38px);letter-spacing:-.04em}.admin-page-heading p{margin:0;color:#464555;font-size:14px}.admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.admin-metric-card,.admin-panel{border:1px solid #e5eeff;border-radius:16px;background:#fff;box-shadow:0 8px 24px #141e500a}.admin-metric-card{display:grid;gap:8px;padding:20px}.admin-metric-icon{width:38px;color:#3525cd}.admin-metric-card strong{font-size:31px;letter-spacing:-.04em}.admin-metric-card>span:last-child{color:#777587;font-size:12px;font-weight:700}.admin-health-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding:24px;background:#0b1c30;color:#fff}.admin-health-panel h2{margin:7px 0 5px;font-size:21px}.admin-health-panel p{margin:0;color:#d3e4fe;font-size:13px}.admin-health-badge{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#d8f7e7;color:#006e4b;font-size:12px;font-weight:800;white-space:nowrap}.admin-health-badge i{width:8px;height:8px;border-radius:50%;background:#006e4b}.admin-panel{padding:22px}.admin-table-panel{overflow:hidden;padding:0}.admin-table-summary{padding:18px 22px;color:#777587;font-size:12px;font-weight:700;border-bottom:1px solid #eff4ff}.admin-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.admin-filter-bar input,.admin-filter-bar select{min-width:150px;padding:10px 12px;border:1px solid #c7c4d8;border-radius:9px;background:#fff;font:inherit;font-size:12px}.admin-filter-bar label{flex:1 1 220px}.admin-filter-bar label input{width:100%;box-sizing:border-box}.admin-tabs{display:flex;gap:8px;margin-bottom:16px}.admin-tabs button{border:0;border-bottom:2px solid transparent;padding:8px 12px;background:transparent;color:#777587;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.admin-tabs button.is-active{border-color:#3525cd;color:#3525cd}.admin-table-link{border:0;background:transparent;color:#3525cd;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.admin-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;color:#777587;font-size:12px;font-weight:700}.admin-pagination>div{display:flex;gap:8px}.admin-panel-close{position:absolute;top:16px;right:16px;border:0;background:transparent;color:#3525cd;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.admin-modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:24px;background:#0b1c308f}.admin-modal{position:relative;width:min(100%,560px);max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:28px;border:1px solid #e5eeff;border-radius:18px;background:#fff;box-shadow:0 24px 80px #0b1c303d}.admin-detail-modal{display:flex;flex-direction:column;width:min(100%,760px);max-height:min(800px,calc(100vh - 48px));padding:0;overflow:hidden}.admin-detail-modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex:0 0 auto;padding:24px 28px 18px;border-bottom:1px solid #eff4ff}.admin-detail-modal-header h2{max-width:calc(100% - 56px);margin:6px 0 0;color:#0b1c30;font-size:clamp(20px,3vw,26px);letter-spacing:-.03em;overflow-wrap:anywhere}.admin-detail-modal-header .admin-panel-close{position:static;flex:0 0 auto;padding:8px 0}.admin-detail-modal-body{min-height:0;overflow-y:auto;padding:22px 28px 28px}.admin-detail-form{display:grid;gap:14px;margin-top:18px}.admin-detail-form label{display:grid;gap:7px;color:#464555;font-size:12px;font-weight:800}.admin-detail-form input,.admin-detail-form select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #c7c4d8;border-radius:9px;background:#fff;color:#0b1c30;font:inherit;font-size:13px}.admin-detail-form h3{margin:4px 0 0;color:#0b1c30;font-size:15px}.admin-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.admin-modal>h2{margin:0 0 12px}.admin-modal>p{color:#464555;font-size:13px;line-height:1.55}.admin-modal code{display:block;max-height:160px;margin:14px 0;overflow:auto;padding:12px;border-radius:9px;background:#eff4ff;color:#0b1c30;font-size:12px;word-break:break-all}.admin-metadata-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.admin-metadata-grid>div{display:grid;gap:4px;padding:14px;border-radius:12px;background:#eff4ff}.admin-metadata-grid span{color:#777587;font-size:11px;font-weight:700}.admin-metadata-grid strong{font-size:13px}.admin-detail-columns{display:flex;flex-wrap:wrap;gap:12px}.admin-detail-columns>div{min-width:120px;padding:12px;border-radius:10px;background:#eff4ff}.admin-detail-columns p{margin:5px 0 0}.admin-table-scroll{overflow-x:auto}.admin-table-scroll table{width:100%;border-collapse:collapse;min-width:680px}.admin-table-scroll th,.admin-table-scroll td{padding:15px 22px;text-align:left;border-bottom:1px solid #eff4ff;font-size:13px}.admin-table-scroll th{background:#eff4ff;color:#464555;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.admin-table-scroll td strong,.admin-table-scroll td small{display:block}.admin-table-scroll td small{margin-top:3px;color:#777587;font-size:11px}.admin-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eff4ff;color:#464555;font-size:11px;font-weight:800}.admin-pill.is-admin{background:#e2dfff;color:#3525cd}.admin-empty,.admin-state{padding:50px 20px;text-align:center;color:#777587;font-size:14px}.admin-state{min-height:240px;display:grid;place-items:center;align-content:center;gap:14px}.admin-spinner{width:24px;height:24px;border:3px solid #d3e4fe;border-top-color:#3525cd;border-radius:50%;animation:admin-spin .8s linear infinite}@keyframes admin-spin{to{transform:rotate(360deg)}}.admin-error-state p{margin:0}.admin-sensitive-note,.admin-login-note{color:#777587;font-size:12px}.admin-system-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.admin-panel h2{margin:0 0 16px;font-size:18px}.admin-definition-list{display:grid;gap:10px;margin:0}.admin-definition-list div{display:flex;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid #eff4ff}.admin-definition-list dt{color:#777587;font-size:12px}.admin-definition-list dd{margin:0;color:#0b1c30;font-size:12px;font-weight:800}.admin-schema-list,.admin-audit-list{display:grid;gap:8px;padding:0;margin:0;list-style:none}.admin-schema-list li,.admin-audit-list li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eff4ff;font-size:12px}.admin-schema-list small,.admin-audit-list small,.admin-audit-list span{color:#777587}.admin-login-page{display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#e2dfff,transparent 40%),#f8f9ff}.admin-login-card{width:min(100%,430px);display:grid;gap:15px;padding:34px;border:1px solid #e5eeff;border-radius:20px;background:#fff;box-shadow:0 18px 50px #141e5014}.admin-login-brand{padding:0}.admin-login-card h1{margin:12px 0 0;font-size:28px;letter-spacing:-.04em}.admin-login-card p{margin:0;color:#777587;font-size:13px}.admin-login-card label{display:grid;gap:7px;color:#464555;font-size:12px;font-weight:800}.admin-login-card input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #c7c4d8;border-radius:9px;font:inherit;font-size:14px}.admin-primary-button{border:0;border-radius:10px;padding:12px 16px;background:#3525cd;color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.admin-primary-button:disabled{opacity:.6;cursor:wait}.admin-error{color:#ba1a1a!important}@media(max-width:900px){.admin-sidebar{position:static;width:210px}.admin-canvas{width:calc(100% - 210px);margin-left:0}.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-topbar{padding:0 20px}.admin-main{padding:28px 20px 44px}}@media(max-width:640px){.admin-shell{display:block}.admin-sidebar{width:auto;padding:14px}.admin-sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-sidebar nav a{justify-content:center;padding:9px 4px;font-size:0}.admin-sidebar nav a .material-symbols-outlined{font-size:20px}.admin-sidebar-footer{display:none}.admin-canvas{width:100%}.admin-topbar{padding:10px 14px}.admin-topbar-title,.admin-account{display:none}.admin-page-heading{align-items:start;flex-direction:column}.admin-metric-grid,.admin-system-grid,.admin-metadata-grid{grid-template-columns:1fr}.admin-health-panel,.admin-pagination{align-items:start;flex-direction:column}.admin-modal-backdrop{padding:10px}.admin-modal{max-height:calc(100vh - 20px);padding:22px}.admin-detail-modal{max-height:calc(100vh - 20px);padding:0}.admin-detail-modal-header{padding:20px 20px 14px}.admin-detail-modal-body{padding:18px 20px 22px}}.identity-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:#14183273;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.identity-modal{width:min(100%,460px);padding:28px;border:1px solid var(--color-border-subtle,#e2e8f0);border-radius:24px;background:#fff;box-shadow:0 28px 80px #1c205240}.identity-modal header{display:flex;justify-content:space-between;gap:16px;align-items:start}.identity-modal h2{margin:3px 0 0}.identity-eyebrow{color:var(--color-brand-primary,#4f46e5);font-size:12px;font-weight:800}.identity-close{border:0;background:transparent;font-size:28px}.identity-modal form{display:grid;gap:14px;margin-top:20px}.identity-modal label{display:grid;gap:6px;font-weight:700;font-size:14px}.identity-modal input,.identity-modal select{padding:12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}.identity-modal footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.identity-modal footer button{border:0;background:transparent;color:var(--color-brand-primary,#4f46e5);font-weight:700}.identity-warning{padding:12px;border-radius:10px;background:#fff7ed;color:#9a3412}.identity-message{color:#0f766e;font-size:14px}.blueprint-root{--blueprint-brand: #2563b8;--blueprint-ink: #172b46;--blueprint-muted: #52647a;--blueprint-line: #cbd5e1;box-sizing:border-box;min-height:100vh;width:100%;background:#f4f7fb;color:var(--blueprint-ink);font-family:Plus Jakarta Sans,sans-serif;line-height:1.65;overflow-wrap:anywhere}.blueprint-root *,.blueprint-root *:before,.blueprint-root *:after{box-sizing:border-box;min-width:0}.blueprint-root h1,.blueprint-root h2,.blueprint-root h3{color:var(--blueprint-ink);line-height:1.3;letter-spacing:-.02em;margin:0 0 1rem}.blueprint-root h1{font-size:clamp(1.6rem,3vw,2.25rem)}.blueprint-root h2{font-size:1.65rem}.blueprint-root h3{font-size:1.15rem}.blueprint-root p{margin:.5rem 0 1.2rem}.blueprint-root a{color:#174c91}.blueprint-root button,.blueprint-root input{font:inherit}.blueprint-root button{min-height:44px;padding:.6rem 1rem;border:1px solid var(--blueprint-line);border-radius:9px;background:#fff;color:var(--blueprint-ink);cursor:pointer}.blueprint-root button:disabled{opacity:.65;cursor:wait}.blueprint-root :focus-visible,.blueprint-root h2:focus{outline:3px solid #2774d9;outline-offset:3px}.blueprint-root ul,.blueprint-root ol{padding-left:1.4rem}.blueprint-root li{margin:.4rem 0}.blueprint-gate{display:grid;place-items:center;padding:1.25rem}.blueprint-gate-card{width:min(100%,540px);background:#fff;padding:clamp(1.25rem,4vw,2.5rem);border:1px solid var(--blueprint-line);border-radius:20px;box-shadow:0 12px 40px #183d6610}.blueprint-eyebrow{color:var(--blueprint-muted);font-size:.8rem;font-weight:700;letter-spacing:.06em}.blueprint-gate form{display:grid;gap:.7rem;margin:1.5rem 0}.blueprint-gate input{min-height:48px;width:100%;padding:.7rem;border:1px solid #8193a9;border-radius:8px;background:#fff;color:var(--blueprint-ink)}.blueprint-gate button[type=submit]{background:var(--blueprint-brand);color:#fff;border-color:var(--blueprint-brand)}.blueprint-gate [role=alert]{color:#a51d28}.blueprint-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.blueprint-actions a{display:inline-flex;min-height:44px;align-items:center}.blueprint-recovery{padding:2rem}.blueprint-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1.5rem 2rem;background:#fff;border-bottom:1px solid var(--blueprint-line)}.blueprint-header p{margin:.25rem 0;color:var(--blueprint-muted)}.blueprint-header h1{margin:.3rem 0}.blueprint-layout{display:grid;grid-template-columns:280px minmax(0,1fr);max-width:1500px;margin:auto}.blueprint-sidebar{padding:1rem;position:sticky;top:0;max-height:100vh;overflow-y:auto;align-self:start}.blueprint-tree,.blueprint-tree ul{list-style:none;padding:0;margin:0}.blueprint-tree button{width:100%;text-align:left;font-weight:700;background:transparent;border-color:transparent}.blueprint-tree ul{padding-left:.85rem}.blueprint-tree a{display:block;min-height:44px;padding:.6rem .75rem;border-radius:7px;text-decoration:none;font-size:.9rem}.blueprint-tree a[aria-current=page]{color:#163e76;background:#dceafb;font-weight:700}.blueprint-main{padding:2rem}.blueprint-article{max-width:1100px;padding:clamp(1rem,3vw,2.5rem);background:#fff;border:1px solid var(--blueprint-line);border-radius:14px}.blueprint-summary{color:var(--blueprint-muted);font-size:1.1rem}.blueprint-feature,.blueprint-diagram,.blueprint-notice{margin:1.5rem 0;padding:1.25rem;border:1px solid var(--blueprint-line);border-radius:12px;background:#f8faff}.blueprint-feature dt{font-weight:700;margin-top:.75rem}.blueprint-feature dd{margin-left:0}.blueprint-status{display:inline-block;width:fit-content;font-size:.75rem;line-height:1.5;padding:.2rem .5rem;border:1px solid #a7bdd6;border-radius:6px;color:#284c70;background:#ecf4ff}.blueprint-status-planned,.blueprint-status-deployment-template{color:#724414;border-style:dashed;background:#fff6e7;border-color:#b38b53}.blueprint-status-partial{color:#754220;background:#fff1e8}.blueprint-nodes{list-style:none;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.75rem}.blueprint-node{display:flex;flex-direction:column;gap:.5rem;padding:.85rem;border:1px solid #a7bdd6;border-radius:8px;background:#fff}.blueprint-node-planned,.blueprint-node-deployment-template{border-style:dashed}.blueprint-edges{font-size:.9rem}.blueprint-diagram summary{cursor:pointer;padding:.7rem 0;min-height:44px;font-weight:700}.blueprint-diagram pre{max-width:100%;overflow:auto;padding:1rem;background:#eaf0f8;font-size:.8rem;white-space:pre}.blueprint-table-scroll{max-width:100%;overflow-x:auto;margin:1.5rem 0;border:1px solid var(--blueprint-line);border-radius:8px}.blueprint-root table{width:100%;min-width:640px;border-collapse:collapse;font-size:.9rem;background:#fff}.blueprint-root caption{text-align:left;padding:1rem;font-weight:700;background:#edf3fa}.blueprint-root th,.blueprint-root td{text-align:left;vertical-align:top;padding:.85rem;border:1px solid var(--blueprint-line);max-width:480px}.blueprint-root th{background:#f3f7fc}.blueprint-sources{font-size:.82rem;color:var(--blueprint-muted)}.blueprint-sources code{white-space:normal;overflow-wrap:anywhere}.blueprint-sources small{display:block}.blueprint-evidence{margin-top:2rem;color:var(--blueprint-muted);font-size:.85rem}.blueprint-menu-button,.blueprint-close-menu{display:none}.blueprint-skip{position:fixed;top:-120px;left:1rem;z-index:10;padding:.8rem;background:#fff}.blueprint-skip:focus{top:1rem}@media(max-width:899px){.blueprint-header{padding:1.25rem}.blueprint-layout{display:block}.blueprint-sidebar{display:none;position:static;max-height:none;border-bottom:1px solid var(--blueprint-line);background:#fff}.blueprint-sidebar.is-open{display:block}.blueprint-menu-button,.blueprint-close-menu{display:inline-block}.blueprint-main{padding:1rem}.blueprint-diagram,.blueprint-feature{padding:.85rem}}@media(prefers-reduced-motion:reduce){.blueprint-root *{scroll-behavior:auto;transition:none;animation:none}}
