:root{--bg-top:#fff5c6;--bg-bottom:#c4f0ff;--surface:rgba(255,255,255,0.74);--surface-strong:rgba(255,255,255,0.92);--text:#17324d;--muted:#5d7690;--primary:#ff7b54;--primary-strong:#f5582a;--secondary:#3e84ff;--accent:#16c7a1;--yellow:#ffd84d;--border:rgba(23,50,77,0.12);--shadow:0 18px 60px rgba(42,64,94,0.15);--radius-xl:32px;--radius-lg:24px;--radius-md:18px;--container:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:Trebuchet MS,Avenir Next,Segoe UI,sans-serif;color:var(--text);background:radial-gradient(circle at top left,rgba(255,216,77,.4),transparent 32%),radial-gradient(circle at 85% 15%,rgba(255,123,84,.28),transparent 22%),radial-gradient(circle at bottom right,rgba(62,132,255,.22),transparent 26%),linear-gradient(180deg,var(--bg-top),var(--bg-bottom))}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.page{width:min(calc(100% - 32px),var(--container));margin:0 auto;padding:24px 0 56px}.page-home{padding-top:32px}.auth-layout,.chat-layout,.hero-shell,.section,.wizard-layout{animation:riseIn .7s ease both}.eyebrow,.field-title,.fineprint,.hero-badge,.inline-link{letter-spacing:.02em}.eyebrow,.hero-badge{display:inline-flex;align-items:center;gap:8px;width:-moz-fit-content;width:fit-content;max-width:100%;border-radius:999px;border:1px solid rgba(23,50,77,.08);box-shadow:0 14px 36px rgba(23,50,77,.08)}.hero-badge{padding:14px 20px;font-size:1rem;font-weight:800;background:linear-gradient(135deg,rgba(255,249,236,.98),rgba(255,255,255,.92));color:#805a16}.eyebrow{padding:10px 16px;font-size:.82rem;font-weight:900;background:linear-gradient(135deg,rgba(255,247,232,.95),rgba(255,255,255,.92));color:#7a5b26}.auth-layout,.chat-layout,.hero-grid,.wizard-layout{display:grid;grid-gap:24px;gap:24px}.auth-layout,.hero-grid,.wizard-layout{grid-template-columns:1.1fr .9fr}.chat-layout{grid-template-columns:minmax(0,1.5fr) 360px;align-items:start}.glass-panel{background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow)}.auth-form-panel,.auth-sidebar,.chat-header,.chat-thread,.composer,.cta-card,.hero-copy,.progress-panel,.quick-actions-panel,.wizard-form,.wizard-intro{padding:28px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.3rem,5vw,4.9rem);line-height:.98}h2{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.05}h3{font-size:1.3rem;line-height:1.2}.hero-copy{display:flex;flex-direction:column;gap:22px}.pilot-home{min-height:100vh;display:flex;align-items:center}.pilot-hero-grid{width:100%;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);grid-gap:24px;gap:24px;align-items:stretch;animation:riseIn .7s ease both}.pilot-help-card,.pilot-hero-card{padding:clamp(28px,4vw,44px)}.pilot-hero-card{gap:22px}.pilot-help-card,.pilot-hero-card{display:flex;flex-direction:column}.pilot-help-card{justify-content:center;gap:20px}.pilot-help-card p{color:var(--muted);font-size:1.15rem;line-height:1.55}.pilot-step-list{display:grid;grid-gap:12px;gap:12px;margin:0;padding-left:1.4rem;color:var(--text);font-size:1.12rem;font-weight:800;line-height:1.5}.pilot-step-list li::marker{color:var(--primary)}.pilot-main-action{width:-moz-fit-content;width:fit-content;min-width:240px}.pilot-example{display:grid;grid-gap:8px;gap:8px;padding:18px;border-radius:var(--radius-md);background:rgba(255,255,255,.82);border:1px solid var(--border)}.pilot-example span{color:var(--muted);font-weight:800}.pilot-example strong{font-size:1.4rem}.hero-points{display:grid;grid-gap:10px;gap:10px}.hero-point{position:relative;padding-left:18px;font-weight:700}.hero-point:before{content:"";position:absolute;left:0;top:10px;width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--secondary))}.auth-sidebar p,.chat-header p,.cta-card p,.feature-card p,.hero-text,.message-content,.summary-card p,.wizard-intro p{color:var(--muted);font-size:1.04rem;line-height:1.65}.attachment-list,.card-grid,.chip-row,.composer-footer,.header-pills,.hero-actions,.pill-grid,.progress-stats,.role-grid,.stat-row,.tag-list{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:14px 22px;border-radius:18px;font-weight:800;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.button:hover,.chip-button:hover,.pill:hover,.role-card:hover,.starter-card:hover,.upload-button:hover{transform:translateY(-1px)}.button-primary{color:white;background:linear-gradient(135deg,var(--primary),var(--primary-strong));box-shadow:0 14px 30px rgba(245,88,42,.28)}.button-secondary{color:var(--secondary);background:rgba(255,255,255,.94)}.button-full{width:100%}.attachment-pill,.chip,.cta-card,.feature-card,.mini-stat,.preview-card,.starter-card,.stat-card,.summary-card,.tag,.upload-button{border-radius:20px}.mini-stat,.stat-card{min-width:112px;padding:16px;background:rgba(255,255,255,.78)}.mini-stat strong,.stat-card strong{display:block;font-size:1.5rem}.fineprint,.inline-link,.message-meta span,.mini-stat span,.preview-card span,.stat-card span{color:var(--muted)}.hero-preview{position:relative;padding-top:30px}.preview-card{background:rgba(255,255,255,.88);box-shadow:var(--shadow)}.preview-card-main{padding:20px;min-height:480px;display:flex;flex-direction:column;gap:18px}.preview-card-floating{position:absolute;right:-8px;bottom:-14px;padding:18px;max-width:220px}.preview-header{display:flex;gap:8px}.dot{width:12px;height:12px;border-radius:50%}.dot-pink{background:#ff7aa2}.dot-yellow{background:#ffd84d}.dot-blue{background:#69a7ff}.chat-bubble{max-width:86%;padding:16px 18px;border-radius:22px;font-weight:600;line-height:1.45}.bubble-ai{background:linear-gradient(135deg,#eaf6ff,#ffffff)}.bubble-user{margin-left:auto;background:linear-gradient(135deg,#ffe5cd,#fff3d6)}.preview-mascot{margin-top:auto;display:flex;align-items:center;gap:16px;padding:18px;border-radius:24px;background:linear-gradient(135deg,rgba(62,132,255,.12),rgba(22,199,161,.16))}.mascot-face{display:grid;place-items:center;width:74px;height:74px;border-radius:22px;background:linear-gradient(135deg,var(--secondary),var(--accent));color:white;font-size:1.7rem;font-weight:900}.section{margin-top:34px}.section-heading{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.card-grid{display:grid;grid-template-columns:repeat(3,1fr)}.feature-card{padding:24px;min-height:220px;display:flex;flex-direction:column;gap:12px}.cta-card{display:flex;justify-content:space-between;gap:20px;align-items:center}.card-grid,.grid-two,.role-grid{display:grid;grid-gap:14px;gap:14px}.grid-two,.role-grid{grid-template-columns:repeat(2,1fr)}.chip,.mode-switch button,.pill,.role-card,.starter-card,.upload-button{background:rgba(255,255,255,.76);border:1px solid transparent}.role-card{padding:18px;text-align:left;min-height:120px}.role-card span{display:block;margin-top:8px;line-height:1.5;color:var(--muted)}.mode-active,.pill-active,.role-card-active{border-color:rgba(62,132,255,.26);background:rgba(62,132,255,.12);box-shadow:0 12px 30px rgba(62,132,255,.12)}.attachment-pill,.auth-pills span,.header-pills span,.tag{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.84);font-size:.92rem;font-weight:700}.attachment-preview-card{margin:0;padding:8px;width:min(220px,100%);border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.88);display:flex;flex-direction:column;gap:8px}.attachment-preview-image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}.attachment-preview-caption{font-size:.82rem;line-height:1.35;font-weight:700;color:var(--muted);word-break:break-word}.auth-benefits{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.auth-benefit,.auth-note,.overview-card,.panel-note,.profile-preview{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.82)}.auth-benefit strong,.overview-card strong,.panel-note strong,.profile-preview strong{display:block;margin-bottom:8px}.auth-benefit span,.overview-card span,.panel-note p,.profile-preview span{color:var(--muted);line-height:1.5}.mode-switch{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px;padding:6px;margin-bottom:20px;border-radius:20px;background:rgba(255,255,255,.82)}.chip-button,.mode-switch button,.pill,.starter-card{padding:12px 14px;border-radius:16px;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.auth-form,.auth-form-panel,.chat-column,.field-block,.skill-bars,.wizard-form{display:flex;flex-direction:column;gap:18px}.auth-status{padding:14px 16px;border-radius:18px;font-weight:700}.auth-status-error{background:rgba(245,88,42,.12);color:#a2502d}.auth-note strong{display:block;margin-bottom:8px}label{display:flex;flex-direction:column;gap:8px;font-weight:700}.field-title,label span{font-size:.98rem;font-weight:800}.consent-list{display:flex;flex-direction:column;gap:12px}.consent-row{flex-direction:row;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.76);border:1px solid rgba(23,50,77,.08);font-weight:700}.consent-row input{width:18px;height:18px;margin-top:2px}.consent-row span{font-size:.95rem;line-height:1.5}input,select,textarea{width:100%;border:1px solid rgba(23,50,77,.08);border-radius:18px;background:var(--surface-strong);color:var(--text);padding:15px 16px;outline:none}textarea{min-height:120px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:rgba(62,132,255,.5);box-shadow:0 0 0 4px rgba(62,132,255,.12)}.fineprint,.inline-link{font-size:.93rem}.inline-link{font-weight:700}.field-hint{color:var(--muted);font-size:.92rem;line-height:1.5}.progress-track{width:100%;height:13px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.64)}.progress-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--secondary),var(--accent))}.wizard-footer{display:flex;flex-direction:column;gap:12px}.overview-grid,.profile-preview-grid,.wizard-checklist,.wizard-highlight-row{display:grid;grid-gap:12px;gap:12px}.wizard-highlight-row{grid-template-columns:repeat(3,1fr)}.wizard-highlight{padding:12px 14px;border-radius:999px;background:rgba(255,255,255,.82);font-size:.92rem;font-weight:800;text-align:center}.wizard-checklist{margin-top:4px}.checklist-item{position:relative;padding-left:18px;font-weight:700}.checklist-item:before{content:"";position:absolute;left:0;top:10px;width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--secondary))}.profile-preview-grid{grid-template-columns:repeat(2,1fr);margin-top:12px}.overview-grid{grid-template-columns:repeat(3,1fr)}.overview-grid-parent{grid-template-columns:repeat(2,1fr)}.chat-mode-switch{width:min(360px,100%);margin-bottom:20px}.chat-header,.composer,.quick-actions-panel,.topic-panel{display:flex;flex-direction:column;gap:16px}.parent-activity-feed,.parent-dashboard,.parent-main-grid,.parent-stat-grid,.parent-support-cards,.parent-support-grid{display:grid;grid-gap:20px;gap:20px}.parent-dashboard{gap:24px}.parent-hero{display:grid;grid-template-columns:minmax(0,1.5fr) 280px;grid-gap:24px;gap:24px;padding:30px;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(244,251,255,.85))}.parent-hero-copy{display:flex;flex-direction:column;gap:16px}.parent-hero-copy p:last-child{max-width:920px}.parent-hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.parent-activity-item,.parent-empty-note,.parent-focus-box,.parent-hero-note,.parent-reply-message,.parent-stat-card,.parent-support-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.82)}.parent-hero-note{width:100%}.parent-activity-item strong,.parent-focus-box strong,.parent-hero-note strong,.parent-reply-message strong,.parent-stat-card strong,.parent-support-card strong{display:block;margin-bottom:8px}.parent-activity-item p,.parent-empty-note,.parent-focus-box p,.parent-hero-note span,.parent-reply-message p,.parent-stat-card span,.parent-support-card p{color:var(--muted);line-height:1.6}.parent-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.parent-stat-card strong{font-size:2rem;line-height:1}.parent-main-grid{grid-template-columns:1.1fr .9fr}.parent-action-card,.parent-activity-card,.parent-advisor-card,.parent-analytics-card,.parent-chart-card,.parent-focus-card,.parent-plan-card,.parent-reply-card,.parent-summary-card,.parent-topic-card{padding:24px}.parent-focus-card,.parent-summary-card{min-height:100%}.parent-summary-card p{margin-top:12px;color:var(--muted);line-height:1.7}.parent-focus-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:14px}.parent-proof-list{display:grid;grid-gap:10px;gap:10px}.parent-proof-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid rgba(21,54,75,.1);border-radius:14px;background:rgba(255,255,255,.72)}.parent-proof-row>span{display:grid;grid-gap:3px;gap:3px}.parent-proof-row small{color:#6f8490}.parent-proof-row b{flex:0 0 auto;padding:6px 9px;border-radius:999px;color:#8f432f;background:#ffe2d9;font-size:.72rem}.parent-proof-row b[data-status=passed]{color:#17604f;background:#dff5eb}.parent-proof-row b[data-status=pending]{color:#765d09;background:#fff0b3}.parent-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}.parent-support-grid{grid-template-columns:1fr 1fr}.parent-support-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-activity-feed{gap:12px}.parent-activity-item{display:flex;justify-content:space-between;gap:16px}.parent-activity-item span{flex:0 0 auto;color:var(--secondary);font-weight:800}.parent-reply-card{display:flex;flex-direction:column}.parent-reply-message{max-width:100%;margin-top:auto}.composer-parent{padding:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.composer-toolbar{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.composer-tool{display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;background:rgba(255,255,255,.9);border:1px solid rgba(23,50,77,.08);text-align:left;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.composer-tool:hover{transform:translateY(-1px);border-color:rgba(62,132,255,.22);box-shadow:0 12px 28px rgba(23,50,77,.08)}.composer-tool-recording{border-color:rgba(245,88,42,.28);background:linear-gradient(135deg,rgba(255,240,236,.96),rgba(255,255,255,.94))}.composer-tool-icon{flex:0 0 auto;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,rgba(62,132,255,.12),rgba(22,199,161,.14));color:var(--secondary)}.composer-tool-recording .composer-tool-icon{background:linear-gradient(135deg,rgba(255,123,84,.18),rgba(255,216,77,.22));color:var(--primary-strong)}.composer-tool-icon svg{width:22px;height:22px;fill:currentColor}.composer-tool-copy{display:flex;flex-direction:column;gap:4px}.composer-tool-copy strong{font-size:1rem}.composer-tool-copy span{color:var(--muted);font-size:.9rem;line-height:1.4}.composer-dropzone{display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:24px;border:1.5px dashed rgba(62,132,255,.18);background:rgba(255,255,255,.72);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.composer-dropzone-active{border-color:rgba(245,88,42,.34);background:rgba(255,248,241,.92);box-shadow:0 0 0 5px rgba(245,88,42,.08)}.composer-drop-hint{color:var(--muted);font-size:.92rem;line-height:1.5}.composer-warning{color:#a2502d}.recording-banner{padding:12px 14px;border-radius:16px;background:rgba(255,123,84,.12);color:#a2502d;font-weight:800}.topic-panel-header{display:flex;flex-direction:column;gap:6px}.student-tip-list,.topic-chip-list,.topic-grid{display:grid;grid-gap:12px;gap:12px}.topic-grid{grid-template-columns:repeat(3,1fr)}.tag-button,.topic-button{min-height:56px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.9);border:1px solid rgba(23,50,77,.08);font-weight:800;text-align:left;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.tag-button:hover,.topic-button:hover{transform:translateY(-1px);border-color:rgba(62,132,255,.24);box-shadow:0 12px 28px rgba(62,132,255,.1)}.chat-thread{min-height:520px;display:flex;flex-direction:column;gap:16px}.chat-header-parent{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(243,251,255,.84));border-color:rgba(22,199,161,.16)}.chat-header-parent .header-pills span{background:rgba(255,255,255,.94)}.quick-actions-panel-parent,.topic-panel-parent{background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(249,252,255,.8))}.empty-state{padding:10px 0 18px}.starter-list{margin-top:14px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px;gap:12px}.starter-card{text-align:left;min-height:88px}.message-card{max-width:88%;padding:16px 18px;border-radius:24px}.message-ai{background:rgba(255,255,255,.92)}.message-user{margin-left:auto;background:linear-gradient(135deg,#ffedd7,#fff7d9)}.message-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:.88rem}.message-content{display:grid;grid-gap:10px;gap:10px}.message-content li,.message-content p{margin:0;color:var(--muted);line-height:1.6}.message-content ol,.message-content ul{margin:0;padding-left:1.1rem;display:grid;grid-gap:6px;gap:6px}.message-content strong{color:var(--text)}.message-content code{padding:2px 6px;border-radius:8px;font-size:.9em;background:rgba(23,50,77,.08);color:var(--text)}.message-content .katex-display{margin:.25rem 0;overflow-x:auto;overflow-y:hidden}.message-content .katex{font-size:1.03em}.math-visual-card{display:grid;grid-gap:10px;gap:10px;width:min(100%,760px);margin:6px 0 2px;padding:14px;overflow:hidden;border:1px solid rgba(23,53,74,.14);border-radius:20px 20px 20px 8px;background:#fffdf7;box-shadow:0 8px 24px rgba(23,53,74,.08)}.math-visual-card h4{margin:0;color:#17354a;font-family:Fredoka Variable,sans-serif;font-size:1.05rem;font-weight:650}.math-visual-canvas{width:100%;overflow:hidden;border:1px solid rgba(23,53,74,.1);border-radius:14px;background:#fbfaf4}.math-visual-canvas svg{display:block;width:100%;height:auto;min-height:220px;max-height:470px}.math-visual-paper{fill:#fffef9;stroke:rgba(23,53,74,.1)}.math-geometry-grid line,.math-grid-line{stroke:rgba(35,109,145,.12);stroke-width:1}.math-axis-line{stroke:#5a7482;stroke-width:1.8}.math-angle-label,.math-axis-label,.math-axis-tick,.math-point-label,.math-segment-label{fill:#365667;font-family:Nunito Sans Variable,sans-serif;font-size:13px;font-weight:750;paint-order:stroke;stroke:#fffef9;stroke-width:4px;stroke-linejoin:round}.math-axis-label,.math-point-label{fill:#17354a;font-size:15px;font-weight:900}.math-value-label{fill:#d83b31;stroke:#fffef9;stroke-width:7px;stroke-linejoin:round;font-size:20px;font-weight:950}.math-visual-legend{display:flex;flex-wrap:wrap;gap:7px 14px;color:#486575;font-size:.84rem;font-weight:800}.math-visual-legend span{display:inline-flex;align-items:center;gap:7px}.math-visual-legend i{width:18px;height:4px;border-radius:999px}.math-visual-card figcaption{color:#5d7482;font-size:.86rem;line-height:1.45}.math-visual-error{padding:10px 12px;border:1px solid rgba(239,115,84,.25);border-radius:12px;color:#97452f!important;background:#fff1ea;font-size:.88rem!important;font-weight:800}@media (max-width:620px){.math-visual-card{padding:9px;border-radius:16px 16px 16px 7px}.math-visual-canvas svg{min-height:190px}}.typing-state{padding:14px 16px;border-radius:18px;background:rgba(62,132,255,.08);font-weight:700;color:var(--secondary)}.upload-button{position:relative;display:inline-flex;align-items:center;min-height:52px;padding:14px 16px;font-weight:800}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.progress-panel{position:-webkit-sticky;position:sticky;top:24px;display:flex;flex-direction:column;gap:20px}.student-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(247,252,255,.84))}.panel-header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.panel-subtitle{margin-top:8px}.progress-badge{padding:10px 12px;border-radius:999px;background:rgba(22,199,161,.16);color:#0a8c70;font-weight:900}.progress-badge-soft{background:rgba(62,132,255,.12);color:var(--secondary)}.summary-card{padding:18px;background:rgba(255,255,255,.82)}.activity-chart,.analytics-grid{display:grid;grid-gap:12px;gap:12px}.activity-chart{grid-template-columns:repeat(7,1fr);align-items:flex-end}.activity-column{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.activity-column strong,.analytics-card strong{font-size:1rem}.activity-column span,.analytics-card span{color:var(--muted);font-size:.82rem;line-height:1.35}.activity-bar-shell{display:flex;align-items:flex-end;justify-content:center;width:100%;min-height:92px;padding:8px 0;border-radius:18px;background:rgba(255,255,255,.72)}.activity-bar{width:100%;max-width:26px;min-height:12px;border-radius:999px;background:linear-gradient(180deg,var(--secondary),var(--accent));box-shadow:0 10px 20px rgba(62,132,255,.16)}.analytics-grid{grid-template-columns:repeat(2,1fr)}.analytics-card{padding:16px;border-radius:18px;background:rgba(255,255,255,.82)}.panel-note span{color:var(--secondary);font-weight:800}.student-spotlight{padding:18px;border-radius:22px;background:rgba(255,255,255,.82)}.student-spotlight strong{display:block;margin-bottom:8px}.student-spotlight p{color:var(--muted);line-height:1.6}.student-spotlight span{color:var(--secondary);font-weight:800}.student-tip{padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.78);color:var(--text);font-weight:700}.skill-row{display:flex;flex-direction:column;gap:6px}.skill-label{display:flex;justify-content:space-between;gap:10px;font-weight:700}.skill-track{height:10px}.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}@keyframes riseIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1080px){.auth-layout,.card-grid,.chat-layout,.hero-grid,.parent-hero,.parent-main-grid,.parent-support-grid,.pilot-hero-grid,.wizard-layout{grid-template-columns:1fr}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-hero{align-items:flex-start;flex-direction:column}.admin-export-links{justify-items:start}.analytics-grid,.auth-benefits,.composer-toolbar,.overview-grid,.profile-preview-grid,.topic-grid,.wizard-highlight-row{grid-template-columns:1fr}.parent-focus-columns,.parent-stat-grid,.parent-support-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-panel{position:static}}@media (max-width:720px){.page{width:min(calc(100% - 20px),var(--container));padding:18px 0 36px}.auth-form-panel,.auth-sidebar,.chat-header,.chat-thread,.composer,.cta-card,.hero-copy,.progress-panel,.quick-actions-panel,.wizard-form,.wizard-intro{padding:20px}.cta-card,.grid-two,.parent-focus-columns,.parent-stat-grid,.parent-support-cards,.parent-support-grid,.role-grid,.starter-list{grid-template-columns:1fr}.chat-bubble,.message-card{max-width:100%}.preview-card-floating{position:static;margin-top:16px;max-width:none}.pilot-home{align-items:flex-start}.pilot-main-action{width:100%}.admin-page{width:min(calc(100% - 20px),1500px);padding:18px 0 36px}.admin-metrics{grid-template-columns:1fr}.admin-hero,.admin-section{padding:20px}.activity-chart{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.parent-action-card,.parent-activity-card,.parent-advisor-card,.parent-analytics-card,.parent-chart-card,.parent-focus-card,.parent-hero,.parent-plan-card,.parent-reply-card,.parent-summary-card,.parent-topic-card{padding:20px}.parent-hero-side{align-items:flex-start}.composer-footer,.parent-activity-item{flex-direction:column}.composer-footer{align-items:stretch}h1{font-size:2.6rem}}.parent-topbar,.student-topbar{display:flex;align-items:center;gap:12px;padding:12px 20px;background:var(--surface-strong);border-radius:var(--radius-md);margin-bottom:16px}.parent-topbar-brand,.student-topbar-brand{font-weight:700;font-size:1.2rem;color:var(--primary)}.parent-topbar-name,.student-topbar-name{flex:1 1;color:var(--muted);font-size:.95rem}.button-small{font-size:.85rem;padding:6px 14px}.student-page{max-width:720px;margin:0 auto}.student-chat-layout{display:flex;flex-direction:column}.student-thread{flex:1 1;min-height:40vh;max-height:60vh}.student-composer{padding:12px 16px}.student-composer textarea{min-height:48px}.student-composer-footer{gap:8px}.student-toolbar{gap:6px}.icon-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--surface);cursor:pointer;transition:background .15s,border-color .15s}.icon-button:hover{background:var(--surface-strong);border-color:var(--primary)}.icon-button svg{width:18px;height:18px;fill:var(--text)}.icon-button-recording{background:#fee2e2;border-color:#ef4444}.icon-button-recording svg{fill:#ef4444}.child-account-panel{margin-bottom:20px}.child-info p{margin:4px 0}.child-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}.child-form-actions{display:flex;gap:8px}.auth-status-success{background:#dcfce7;color:#166534;padding:10px 14px;border-radius:var(--radius-md);font-size:.9rem}.auth-help-card{display:grid;grid-gap:6px;gap:6px;margin-top:18px;padding:16px;border-radius:var(--radius-md);background:rgba(255,255,255,.78);border:1px solid var(--border)}.auth-help-card span{color:var(--muted);line-height:1.45}.student-page{max-width:1280px}.student-chat-layout{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(0,2.8fr) minmax(180px,.75fr);align-items:start;grid-gap:16px;gap:16px}.student-chat-main{display:flex;flex-direction:column;gap:16px;min-width:0}.student-guide{position:-webkit-sticky;position:sticky;top:16px;display:grid;grid-gap:12px;gap:12px;padding:20px}.student-guide h2{font-size:1.3rem;line-height:1.15}.student-guide ul{display:grid;grid-gap:10px;gap:10px;margin:0;padding-left:1.1rem;color:var(--muted);line-height:1.45}.student-guide li::marker{color:var(--primary)}.student-example-card{display:grid;grid-gap:8px;gap:8px;padding:14px;border-radius:var(--radius-md);background:rgba(255,255,255,.78);border:1px solid var(--border)}.student-example-card span{color:var(--muted);font-size:.9rem}.student-example-card button{text-align:left;border:0;background:transparent;color:var(--secondary);font-weight:800;cursor:pointer}.student-chat-welcome{display:grid;grid-gap:8px;gap:8px;padding:8px 0 18px}.student-chat-welcome p{color:var(--muted);line-height:1.55}.student-button-help{display:grid;grid-gap:10px;gap:10px;padding:14px;border-radius:var(--radius-md);background:rgba(255,255,255,.78);border:1px solid var(--border)}.student-button-help p{margin:0;color:var(--muted);line-height:1.45}.student-button-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.94);border:1px solid var(--border)}.student-button-icon svg{width:22px;height:22px;fill:var(--text)}.student-button-send{display:inline-flex;width:-moz-fit-content;width:fit-content;min-height:40px;align-items:center;justify-content:center;padding:10px 16px;border-radius:14px;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--primary-strong));box-shadow:0 10px 22px rgba(245,88,42,.2)}.admin-page{width:min(calc(100% - 32px),1500px);margin:0 auto;padding:24px 0 56px}.admin-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:28px;margin-bottom:18px}.admin-hero h1{margin-top:12px;font-size:clamp(2rem,4vw,4rem)}.admin-empty,.admin-hero p,.admin-section-heading p{color:var(--muted);line-height:1.55}.admin-export-links{display:grid;justify-items:end;grid-gap:10px;gap:10px;color:var(--muted);font-weight:800}.admin-export-links a{color:var(--secondary)}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin-bottom:18px}.admin-metric-card{display:grid;grid-gap:8px;gap:8px;padding:20px}.admin-metric-card strong{font-size:2.3rem;line-height:1}.admin-metric-card span{color:var(--muted);font-weight:800}.admin-section{padding:24px;margin-bottom:18px}.admin-section-heading{display:grid;grid-gap:8px;gap:8px;margin-bottom:16px}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;min-width:980px;border-collapse:collapse;overflow:hidden;border-radius:18px}.admin-table td,.admin-table th{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);background:rgba(255,255,255,.58);vertical-align:top}.admin-table th{color:var(--muted);font-size:.88rem;text-transform:uppercase;letter-spacing:.04em}.admin-conversation-list,.admin-event-list,.admin-message-list{display:grid;grid-gap:12px;gap:12px}.admin-conversation-card,.admin-event-card{border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.68);overflow:hidden}.admin-conversation-card summary,.admin-event-card summary{display:flex;align-items:center;gap:14px;padding:14px 16px;cursor:pointer;font-weight:800}.admin-conversation-card summary span,.admin-event-card summary span{color:var(--muted);font-weight:700}.admin-event-card summary em{color:var(--secondary);font-style:normal}.admin-event-card pre{margin:0;padding:14px 16px 18px;overflow-x:auto;color:var(--text);background:rgba(255,255,255,.72);border-top:1px solid var(--border)}.admin-message-list{padding:0 16px 16px}.admin-message{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.82)}.admin-message-user{background:linear-gradient(135deg,#ffedd7,#fff7d9)}.admin-message-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--muted);font-size:.9rem}.admin-message p{white-space:pre-wrap;color:var(--text);line-height:1.55}.admin-attachment-list{margin:10px 0 0;padding-left:1.2rem;color:var(--muted)}.admin-empty{padding:14px 16px}.admin-topic-list{display:flex;flex-wrap:wrap;gap:10px}.admin-topic-pill{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid rgba(62,132,255,.16);border-radius:999px;color:var(--text);background:rgba(255,255,255,.82);font-weight:800}.admin-topic-pill strong{color:var(--secondary)}.student-thread{min-height:58vh;max-height:66vh}.student-composer{padding:16px}.student-toolbar{flex:1 1}@media (max-width:1080px){.student-chat-layout{grid-template-columns:1fr}.student-guide{position:static}.student-guide-right{order:2}.student-chat-main{order:1}.student-guide-left{order:0}}@media (max-width:720px){.student-topbar{border-radius:18px}.student-thread{max-height:none;min-height:46vh}.student-composer,.student-guide{padding:18px}}.student-page{width:min(calc(100% - 24px),980px);max-width:980px;height:100dvh;min-height:620px;padding:12px 0;display:flex;flex-direction:column;overflow:hidden}.student-page-loading{justify-content:center}.student-loading-card{align-self:stretch}.student-loading-card h1{font-size:clamp(2rem,6vw,3.5rem)}.student-topbar{flex:0 0 auto;min-height:60px;margin:0 0 10px;padding:9px 14px;border:1px solid var(--border);border-radius:20px;box-shadow:0 10px 34px rgba(42,64,94,.1)}.student-topbar-brand{font-size:1.35rem;font-weight:900}.student-topbar-name{min-width:0;font-size:1rem;font-weight:800}.student-topbar-name,.student-topic-badge{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-topic-badge{max-width:180px;padding:8px 12px;border-radius:999px;color:#0a8069;background:rgba(22,199,161,.13);font-size:.82rem;font-weight:900}.student-help-button,.student-topbar .button-small{flex:0 0 auto;min-width:44px;min-height:44px}.student-help-button{width:44px;height:44px}.student-chat-layout{flex:1 1 auto;display:block;min-height:0}.student-chat-main{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;grid-gap:10px;gap:10px}.student-thread{min-height:0;max-height:none;padding:20px;overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:24px;scrollbar-width:thin}.student-thread .message-card{max-width:min(88%,760px)}.student-thread .message-user{max-width:min(76%,620px)}.student-starter-panel{display:grid;grid-gap:14px;gap:14px;padding-bottom:4px}.student-chat-welcome{padding:2px 2px 0}.student-chat-welcome strong{font-size:1.25rem}.student-chat-welcome p{margin-top:4px}.student-starter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.student-starter-button{min-height:60px;padding:14px 16px;border:1px solid rgba(23,50,77,.09);border-radius:18px;color:var(--text);background:rgba(255,255,255,.88);font-weight:900;text-align:left;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.student-starter-button:hover{transform:translateY(-1px);border-color:rgba(62,132,255,.28);box-shadow:0 12px 26px rgba(62,132,255,.1)}.student-composer{min-width:0;padding:12px;gap:8px;border-radius:24px;box-shadow:0 14px 42px rgba(42,64,94,.14)}.student-composer .composer-dropzone{padding:8px 12px;border-radius:18px}.student-composer textarea{width:100%;min-height:54px;max-height:120px;padding:7px 2px;resize:vertical;border:0;outline:0;background:transparent;color:var(--text);line-height:1.45}.student-composer textarea:focus{box-shadow:none}.student-composer textarea:disabled{opacity:.72}.student-math-keyboard,.student-quick-actions{display:flex;gap:8px;padding:2px;overflow-x:auto;scrollbar-width:none}.student-math-keyboard::-webkit-scrollbar,.student-pending-attachments::-webkit-scrollbar,.student-quick-actions::-webkit-scrollbar{display:none}.student-quick-action{flex:0 0 auto;min-height:38px;padding:8px 12px;border:1px solid rgba(62,132,255,.16);border-radius:999px;color:var(--secondary);background:rgba(255,255,255,.88);font-size:.84rem;font-weight:900}.student-quick-action:disabled{cursor:not-allowed;opacity:.45}.student-composer-footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.student-toolbar{min-width:0;display:flex;align-items:center;gap:7px}.student-toolbar .icon-button{width:44px;height:44px;flex:0 0 auto}.student-math-toggle{color:var(--text);font-size:1.15rem;font-weight:900}.student-math-toggle-active{color:var(--secondary);border-color:rgba(62,132,255,.32);background:rgba(62,132,255,.1)}.student-math-keyboard button{flex:0 0 42px;width:42px;min-height:42px;border:1px solid var(--border);border-radius:13px;color:var(--text);background:rgba(255,255,255,.92);font-size:1.1rem;font-weight:900}.student-send-button{min-width:132px;min-height:46px;padding:10px 18px;border-radius:15px}.student-send-button:disabled,.student-toolbar button:disabled{cursor:not-allowed;opacity:.55;transform:none;box-shadow:none}.student-uploading{color:var(--muted);font-size:.82rem;font-weight:800}.student-pending-attachments{flex-wrap:nowrap;padding:2px;overflow-x:auto;scrollbar-width:none}.student-attachment-item{position:relative;flex:0 0 auto;max-width:220px}.student-pending-attachments .attachment-preview-card{width:134px}.student-pending-attachments .attachment-preview-image{aspect-ratio:16/9}.student-attachment-remove{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:#b14a2b;font-size:1.1rem;font-weight:900;box-shadow:0 6px 14px rgba(75,31,18,.22)}.student-message-attachments{margin-top:12px}.student-active-mode,.student-composer-error{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:14px;font-size:.86rem;font-weight:800}.student-active-mode{color:#0a8069;background:rgba(22,199,161,.11)}.student-active-mode button{width:28px;height:28px;border-radius:50%;color:#0a8069;background:rgba(255,255,255,.76);font-weight:900}.student-composer-error{color:#9a4529;background:rgba(255,123,84,.14)}.student-composer-error span{min-width:0}.student-composer-error button{flex:0 0 auto;min-height:36px;padding:7px 11px;border-radius:11px;color:#fff;background:#a84c2f;font-weight:900}.student-thinking{width:-moz-fit-content;width:fit-content;min-width:122px}.student-thinking-dots{display:flex;gap:5px;padding:3px 0}.student-thinking-dots span{width:8px;height:8px;border-radius:50%;background:var(--secondary);animation:studentThinking 1.1s ease-in-out infinite}.student-thinking-dots span:nth-child(2){animation-delay:.14s}.student-thinking-dots span:nth-child(3){animation-delay:.28s}@keyframes studentThinking{0%,60%,to{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}.student-help-overlay{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(16,35,52,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.student-help-card{position:relative;width:min(100%,560px);display:grid;grid-gap:16px;gap:16px;padding:28px;border:1px solid rgba(255,255,255,.8);border-radius:28px;background:rgba(255,255,255,.96);box-shadow:0 24px 80px rgba(13,33,50,.3)}.student-help-card h2{padding-right:44px;font-size:clamp(1.7rem,6vw,2.3rem)}.student-help-card ul{display:grid;grid-gap:12px;gap:12px;margin:0;padding-left:1.2rem;color:var(--muted);line-height:1.55}.student-help-card li::marker{color:var(--primary)}.student-help-close{position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:50%;color:var(--text);background:rgba(23,50,77,.07);font-size:1.4rem;font-weight:900}.student-login-page{min-height:100dvh;display:grid;align-items:center}.student-login-layout .auth-form-panel,.student-login-layout .auth-sidebar{min-height:360px}.student-login-layout .auth-sidebar{justify-content:center}.student-login-layout .auth-sidebar h1{font-size:clamp(2.5rem,7vw,4.6rem)}@media (max-width:720px){body:has(.student-page){overflow:hidden}.student-page{width:100%;min-height:480px;padding:0}.student-topbar{min-height:56px;margin:0;padding:max(7px,env(safe-area-inset-top)) 10px 7px;border-width:0 0 1px;border-radius:0;box-shadow:0 6px 22px rgba(42,64,94,.08)}.student-topbar-brand{font-size:1.12rem}.student-topbar-name{font-size:.9rem}.student-topic-badge{display:none}.student-topbar .button-small{min-width:0;min-height:42px;padding:8px 11px}.student-chat-main{gap:0}.student-thread{min-height:0;max-height:none;padding:14px 12px 18px;gap:12px;border-width:0;border-radius:0;box-shadow:none;background:rgba(255,255,255,.54)}.student-thread .message-card,.student-thread .message-user{max-width:100%;padding:14px 15px;border-radius:20px}.student-thread .message-user{max-width:88%}.message-content li,.message-content p{line-height:1.5}.message-content .katex-display{padding-bottom:4px}.student-starter-grid{grid-template-columns:1fr 1fr;gap:8px}.student-starter-button{min-height:54px;padding:11px 12px;border-radius:15px;font-size:.9rem}.student-composer{padding:9px 10px max(9px,env(safe-area-inset-bottom));gap:7px;border-width:1px 0 0;border-radius:22px 22px 0 0;box-shadow:0 -12px 32px rgba(42,64,94,.12);background:rgba(248,253,255,.96)}.student-composer .composer-dropzone{padding:6px 10px;border-radius:16px}.student-composer textarea{min-height:46px;max-height:92px;resize:none;font-size:1rem}.student-quick-action{min-height:36px;padding:7px 11px;font-size:.8rem}.student-composer-footer{flex-direction:row;align-items:center}.student-send-button{min-width:112px;min-height:44px;padding:9px 14px}.student-uploading{display:none}.student-pending-attachments .attachment-preview-card{width:112px}.student-help-card{padding:22px;border-radius:24px}.student-login-page{width:min(calc(100% - 20px),var(--container));padding:18px 0 36px;overflow:auto}.student-login-layout .auth-form-panel,.student-login-layout .auth-sidebar{min-height:auto}}@media (max-width:430px){.student-topbar-name{max-width:88px}.student-topbar .button-small{font-size:.78rem}.student-starter-grid{grid-template-columns:1fr}.student-chat-welcome strong{font-size:1.1rem}.student-toolbar .icon-button{width:42px;height:42px}.student-send-button{min-width:104px;padding-inline:12px}}@media (prefers-reduced-motion:reduce){.student-thinking-dots span{animation:none}.student-quick-action,.student-starter-button{transition:none}}