:root{color:#211a32;background:var(--brand-canvas);font-synthesis:none;--brand-canvas:#f6f4ff;--brand-surface-tinted:#ede9ff;--brand-support:#9b85f7;--brand-primary:#6641f2;--brand-hover:#5936e6;--brand-pressed:#4d2ed4;--surface:#fff;--text:#211a32;--muted:#625c70;--border:#d8d2e3;--success:#167a5a;--danger:#b42318;--code-surface:#201b29;font-family:Poppins,Raleway,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--brand-canvas);min-width:320px}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,select,input,textarea{font:inherit}button,.button-link{background:var(--brand-primary);min-height:44px;color:var(--surface);text-align:center;border:0;border-radius:999px;justify-content:center;align-items:center;padding:.75rem 1.25rem;font-weight:700;text-decoration:none;transition:background-color .16s,color .16s,border-color .16s;display:inline-flex}button:not(:disabled),.button-link{cursor:pointer}button:not(:disabled):hover,.button-link:hover{background:var(--brand-hover)}button:not(:disabled):active,.button-link:active{background:var(--brand-pressed)}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}.site-header a:focus-visible,.site-header button:focus-visible,.site-header select:focus-visible{outline-color:var(--surface)}main{min-height:calc(100vh - 86px)}.site-header{background:var(--brand-pressed);width:100%;color:var(--surface)}.topbar{justify-content:space-between;align-items:center;gap:1.5rem;width:min(100%,1280px);min-height:86px;margin:auto;padding:.7rem 2rem;display:flex}.brand{min-width:0;min-height:52px;color:var(--surface);align-items:center;gap:.75rem;text-decoration:none;display:inline-flex}.ai-tutor-wordmark{object-fit:contain;width:64px;height:64px}.brand-divider{background:var(--brand-support);width:1px;height:36px}.avalia-channel-icon{border:2px solid var(--brand-support);object-fit:contain;border-radius:14px;width:48px;height:48px}.brand-product{letter-spacing:.02em;overflow-wrap:anywhere;font-size:1rem;font-weight:800}.topbar-actions{align-items:center;gap:1.15rem;min-width:0;font-size:.85rem;display:flex}.topbar-actions a,.topbar-actions .text-button{color:var(--surface);font-weight:700;text-decoration:none}.signed-in-email{max-width:16rem;color:var(--brand-surface-tinted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-button{min-height:44px;color:var(--brand-primary);background:0 0;padding:.55rem .75rem}.text-button:not(:disabled):hover,.text-button:not(:disabled):active{background:var(--brand-surface-tinted);color:var(--brand-pressed)}.language{color:var(--brand-surface-tinted);align-items:center;gap:.5rem;display:flex}.language select{border:1px solid var(--brand-support);background:var(--surface);min-width:64px;min-height:44px;color:var(--text);border-radius:999px;padding:.45rem .7rem}.hero{grid-template-columns:minmax(0,1.5fr) minmax(290px,.75fr);align-items:center;gap:clamp(2rem,6vw,5.5rem);width:min(100%,1280px);margin:0 auto;padding:clamp(3rem,7vw,6rem) 2rem 2rem;display:grid}.hero-copy,.hero-rail{min-width:0}.eyebrow,.status-label,.step-number{color:var(--brand-primary);letter-spacing:.12em;text-transform:uppercase;font-size:.75rem;font-weight:800}h1{max-width:780px;color:var(--text);letter-spacing:-.045em;overflow-wrap:anywhere;margin:.5rem 0 1rem;font-size:clamp(2.7rem,6vw,5.7rem);line-height:.98}h2,h3{color:var(--text);overflow-wrap:anywhere}.hero-description{max-width:660px;color:var(--muted);font-size:1.12rem;line-height:1.7}.hero-rail{gap:1rem;display:grid}.mascot-card{aspect-ratio:4/3;background:var(--brand-surface-tinted);border-radius:1.6rem;place-items:center;display:grid;overflow:hidden}.mascot-card img{object-fit:contain;width:100%;height:100%}.status-card,.panel{border:1px solid var(--border);background:var(--surface);border-radius:1.4rem;box-shadow:0 18px 44px #211a3217}.status-card{padding:1.35rem 1.5rem}.status-card[data-configured=true]{border-color:var(--success)}.status-card strong{color:var(--text);overflow-wrap:anywhere;font-size:1.1rem;display:block}.status-card p:last-child,.author-intro,.field-help,.empty-copy,.section-heading p,.auth-description{color:var(--muted);line-height:1.55}.workspace{width:min(100%,1280px);margin:3rem auto 0;padding:2rem}.access-card{border-top:5px solid var(--brand-primary)}.auth-page{place-items:start center;padding:4rem 1rem;display:grid}.auth-card{width:min(100%,29rem)}.auth-card h1{font-size:clamp(2.3rem,8vw,4rem)}.auth-card .notice{margin-top:1rem}.page-grid{gap:1.5rem;margin-top:1rem;display:grid}.page-heading h1{font-size:clamp(2.4rem,5vw,4.5rem)}.panel{padding:1.5rem}.form-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.field{color:var(--text);gap:.45rem;margin:1rem 0;font-size:.85rem;font-weight:700;display:grid}.field.full{grid-column:1/-1}.field input,.field textarea,.choice-editor input[type=text],.inline-editor input,.detail-editor input{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);border-radius:.8rem;padding:.8rem}.field textarea{resize:vertical;min-height:6.5rem}.actions{flex-wrap:wrap;gap:.7rem;margin-top:1rem;display:flex}.secondary{border:1px solid var(--brand-primary);background:var(--surface);color:var(--brand-primary)}.secondary:not(:disabled):hover{border-color:var(--brand-hover);background:var(--brand-surface-tinted);color:var(--brand-hover)}.secondary:not(:disabled):active{border-color:var(--brand-pressed);background:var(--brand-surface-tinted);color:var(--brand-pressed)}.notice{background:var(--brand-surface-tinted);max-width:1280px;color:var(--text);overflow-wrap:anywhere;border-radius:.8rem;margin:0;padding:1rem}.notice.error{border-left:4px solid var(--danger)}.notice.success{border-left:4px solid var(--success)}.notice p{margin-bottom:.25rem}.resource-list,.selection-list{gap:.7rem;padding:0;list-style:none;display:grid}.link-button{color:var(--brand-primary);text-align:left;background:0 0;border-radius:0;justify-content:flex-start;padding:.4rem 0}.link-button:not(:disabled):hover,.link-button:not(:disabled):active{color:var(--brand-hover);background:0 0}.choices{gap:.7rem;margin:1rem 0;display:grid}.choices label,.selection-list label{border:1px solid var(--border);min-height:44px;color:var(--text);border-radius:.8rem;align-items:center;gap:.7rem;padding:.9rem;font-weight:700;display:flex}.question-card,.guided-step{border-top:4px solid var(--brand-support)}.result-card,.review-card,.empty-state{background:linear-gradient(135deg, var(--surface), var(--brand-surface-tinted))}pre{background:var(--code-surface);max-width:100%;color:var(--brand-surface-tinted);border-radius:.8rem;padding:1rem;overflow:auto}.author-heading,.mode-switch,.section-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.author-heading{align-items:end;gap:2rem}.mode-switch{flex:none}.guided-fieldset{border:1px solid var(--border);border-radius:1rem;gap:.8rem;min-width:0;margin:1rem 0;padding:1rem;display:grid}.guided-fieldset legend{color:var(--text);padding:0 .4rem;font-weight:800}.choice-editor{grid-template-columns:auto minmax(7rem,auto) minmax(0,1fr) auto;align-items:center;gap:.7rem;display:grid}.inline-editor{grid-template-columns:minmax(0,1fr) auto;gap:.7rem;display:grid}.detail-editor{grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:.7rem;display:grid}.optional-fields{background:var(--brand-surface-tinted);border-radius:1rem;margin:1.25rem 0;padding:1rem}.optional-fields summary{color:var(--text);cursor:pointer;font-weight:800}.review-card{border-radius:1rem;margin:1.25rem 0;padding:1.25rem}.review-card h3{margin-top:0}.advanced-panel hr{border:0;border-top:1px solid var(--border);margin:2rem 0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.section-heading h2{margin:0;font-size:2rem}.flow-list{grid-template-columns:repeat(7,1fr);gap:.75rem;margin:2rem 0;padding:0;list-style:none;display:grid}.flow-list li{border-top:3px solid var(--brand-support);background:var(--surface);min-width:0;min-height:108px;color:var(--text);overflow-wrap:anywhere;border-radius:.75rem;padding:1rem;font-weight:700;box-shadow:0 8px 24px #211a320f}.flow-list span{color:var(--muted);margin-bottom:1rem;font-size:.75rem;display:block}.empty-state{border:1px dashed var(--border);text-align:center;border-radius:1.4rem;padding:3rem 2rem}.empty-icon{background:var(--brand-primary);width:3.5rem;height:3.5rem;color:var(--surface);border-radius:1rem;place-items:center;margin:auto;font-size:1.6rem;display:grid}.empty-state h3{margin-bottom:.4rem;font-size:1.45rem}.empty-state p{max-width:570px;color:var(--muted);margin:0 auto 1.5rem;line-height:1.55}footer{background:var(--brand-pressed);color:var(--brand-surface-tinted);text-align:center;margin-top:4rem;padding:2rem;font-size:.85rem}@media (width<=900px){.hero{grid-template-columns:1fr;padding-top:3rem}.hero-rail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}.flow-list{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.topbar{flex-direction:column;align-items:stretch;gap:.4rem;min-height:0;padding:.65rem 1rem .75rem}.brand{gap:.55rem}.ai-tutor-wordmark{width:52px;height:52px}.brand-divider{height:30px}.avalia-channel-icon{border-radius:12px;width:42px;height:42px}.brand-product{font-size:.88rem}.topbar-actions{justify-content:flex-end;gap:.55rem}.topbar-actions>a,.topbar-actions>button{padding-left:.55rem;padding-right:.55rem}.signed-in-email,.language>span{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.hero,.workspace{padding-left:1rem;padding-right:1rem}.hero{gap:2rem;padding-top:2.5rem}h1{font-size:clamp(2.5rem,13vw,4.2rem)}.hero-description{font-size:1rem}.hero-rail{grid-template-columns:1fr}.actions>button,.actions>.button-link{flex:12rem}.workspace,.panel{padding:1.15rem}.flow-list,.form-grid{grid-template-columns:1fr}.author-heading,.section-row{flex-direction:column;align-items:stretch}.mode-switch{grid-template-columns:1fr 1fr;display:grid}.choice-editor{grid-template-columns:auto 1fr}.choice-editor input[type=text],.choice-editor .text-button{grid-column:2}.detail-editor{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.question-difficulty{color:var(--brand-pressed);font-weight:700}.answer-sheet-table{border-collapse:collapse;width:100%;margin-top:1rem}.answer-sheet-table th,.answer-sheet-table td{border:1px solid var(--border);text-align:left;padding:.5rem .75rem}.answer-sheet-table th{background:var(--brand-surface-tinted);color:var(--brand-pressed)}@media print{.answer-sheet{break-inside:avoid}}
