@font-face{font-family:__Cairo_f16418;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/350b852752f8489d-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec7,u+10ec9-10eee,u+10ef?,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:__Cairo_f16418;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/5ec84f17416dda4d-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Cairo_f16418;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/01f0c602c274ea55-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Cairo_f16418;font-style:normal;font-weight:900;font-display:swap;src:url(/_next/static/media/350b852752f8489d-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec7,u+10ec9-10eee,u+10ef?,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:__Cairo_f16418;font-style:normal;font-weight:900;font-display:swap;src:url(/_next/static/media/5ec84f17416dda4d-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Cairo_f16418;font-style:normal;font-weight:900;font-display:swap;src:url(/_next/static/media/01f0c602c274ea55-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Cairo_Fallback_f16418;src:local("Arial");ascent-override:137.65%;descent-override:60.32%;line-gap-override:0.00%;size-adjust:94.66%}.__className_f16418{font-family:__Cairo_f16418,__Cairo_Fallback_f16418;font-style:normal}.__variable_f16418{--font-cairo:"__Cairo_f16418","__Cairo_Fallback_f16418"}@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@300..700&family=Baloo+Bhaijaan+2:wght@500..800&display=swap");:root{--color-bg:#f4f6fb;--color-desk:#eef2fb;--color-desk-dot:#b9c3dd;--color-text:#1c2340;--color-muted:#545c78;--color-muted-light:#aeb6cb;--color-accent:#2557c4;--color-accent-hover:#1d47a3;--color-accent-light:#2557c4;--color-accent-tint:#e7eefb;--color-accent2:#2557c4;--color-cta-bg:#ffe58a;--color-cta-text:#1c2340;--color-surface:#eef1f8;--color-surface-border:#d5dbe8;--color-surface-border-light:#e8ecf4;--color-paper:#fbfcfe;--color-rule:#dbe4f3;--color-margin:#e2675d;--color-success-bg:#e3f5ec;--color-success-text:#17784f;--color-warning-bg:#fff3de;--color-warning-border:#f5ddb0;--color-warning-text:#b4790e;--color-danger-bg:#fbe1de;--color-danger-border:#f3c7c1;--color-danger-text:#b0332a;--mark-correct-text:#1a6b47;--mark-correct-tint:#e7f4ed;--mark-correct-border:#a7d3bb;--mark-correct:#1f7a52;--mark-partly-text:#8a5300;--mark-partly-tint:#fdf2dc;--mark-partly-border:#ebc887;--mark-partly:#9a5d00;--mark-notyet-text:#a83a52;--mark-notyet-tint:#fcecef;--mark-notyet-border:#efb8c4;--mark-notyet:#b9475f;--color-test:#2557c4;--color-plan:#2557c4;--color-tutors:#2557c4;--color-progress:#1f7a52;--color-highlight:#ffe58a;--font-display:"Readex Pro",system-ui,sans-serif;--font-body:"Readex Pro",system-ui,sans-serif;--font-headline:var(--font-cairo),system-ui,sans-serif;--font-mono:var(--font-body);--radius-lg:12px;--radius-md:8px;--radius-sm:6px;--radius-pill:999px;--ease-out:cubic-bezier(0.23,1,0.32,1);--ease-in-out:cubic-bezier(0.77,0,0.175,1);--duration-press:160ms;--duration-hover:150ms;--duration-enter:220ms}:root[data-theme=young]{--color-bg:#f3f8ff;--mark-correct-tint:#e3f6e4;--mark-correct-border:#9fd8a3;--mark-partly-text:#7d4c00;--mark-partly-tint:#fff3c9;--mark-partly-border:#f2cf6b;--mark-notyet-text:#a3334d;--mark-notyet-tint:#ffe9ef;--mark-notyet-border:#f5b3c5;--color-text:#3a2e4d;--color-muted:#5f5470;--color-muted-light:#c9c0d6;--color-accent:#1f6fc0;--color-accent-hover:#185a9e;--color-accent-light:#2fa6ff;--color-accent-tint:#e3f1ff;--color-accent2:#ff5c8a;--color-cta-bg:#ff8a3d;--color-cta-text:#3a2e4d;--color-surface:#e9f2fd;--color-surface-border:#3a2e4d;--color-surface-border-light:#d5e3f5;--color-paper:#fff;--color-rule:#c9dcf5;--color-margin:#f2a7b8;--color-test:#ff5c8a;--color-plan:#7444e0;--color-tutors:#3f9a42;--color-progress:#3f9a42;--color-highlight:#ffc93c;--font-display:"Baloo Bhaijaan 2",system-ui,sans-serif;--font-body:"Baloo Bhaijaan 2",system-ui,sans-serif;--radius-lg:18px;--radius-md:14px}[data-theme=young] button{border:3px solid var(--color-text);box-shadow:0 6px 14px -6px rgba(58,46,77,.45);font-weight:800;padding:12px 22px;font-size:16px;min-height:48px;transition:transform var(--duration-press) var(--ease-out),background-color var(--duration-hover) ease}[data-theme=young] button:active:not(:disabled){transform:scale(.94)}[data-theme=young] button:disabled{border-color:var(--color-muted-light);box-shadow:none}[data-theme=young] .chip,[data-theme=young] .ghost-button,[data-theme=young] .signout-button{border-width:2px;box-shadow:none;padding:8px 16px;font-size:14px;min-height:40px}@media (prefers-reduced-motion:reduce){[data-theme=young] button:active:not(:disabled){transform:none}}[data-theme=young] .theme-picker-card{border-bottom:none;box-shadow:none;padding:26px 20px;font-size:inherit;font-weight:400;transition:transform var(--duration-press) var(--ease-out)}[data-theme=young] input[type=date],[data-theme=young] input[type=email],[data-theme=young] input[type=password],[data-theme=young] input[type=text],[data-theme=young] select,[data-theme=young] textarea{padding:13px 14px;font-size:15px}[data-theme=young] .card:not(.spotlight):not(.featured):not(.tutor-promo){border:2px solid var(--color-surface-border);box-shadow:none}*{box-sizing:border-box}body{margin:0;font-family:var(--font-body);background:var(--color-bg);color:var(--color-text)}main{max-width:1120px;margin:0;padding:40px 48px}h1{font-family:var(--font-display);font-size:26px;font-weight:800;letter-spacing:-.01em;margin:0 0 4px}.subtitle{color:var(--color-muted);font-size:14px;margin-bottom:32px}.card{background:#fff;border:none;border-radius:var(--radius-lg);padding:20px;margin-bottom:20px;box-shadow:0 10px 24px -14px rgba(30,27,46,.14)}.card h2{font-family:var(--font-display);font-size:16px;font-weight:800;margin:0 0 12px}input[type=date],input[type=email],input[type=file],input[type=password],input[type=text],select,textarea{width:100%;font-size:14px;padding:10px;border:1px solid var(--color-surface-border);border-radius:var(--radius-sm);font-family:var(--font-body);margin-bottom:14px;background:#fff;color:var(--color-text)}textarea{resize:vertical;min-height:70px}button{margin-top:12px;background:var(--color-accent);color:#fff;border:none;padding:10px 18px;border-radius:var(--radius-pill);font-family:var(--font-display);font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 8px 16px -8px rgba(37,99,235,.55);transition:transform var(--duration-press) var(--ease-out),background-color var(--duration-hover) ease,border-color var(--duration-hover) ease,color var(--duration-hover) ease}button:active:not(:disabled){transform:scale(.97)}@media (hover:hover) and (pointer:fine){button:hover{background:var(--color-accent-hover)}button:disabled:hover{background:var(--color-muted-light)}}button:disabled{background:var(--color-muted-light);cursor:not-allowed}.status{margin-top:12px;font-size:13px;color:var(--color-muted);white-space:pre-wrap}.status.error{color:var(--color-danger-text)}.answer{margin-top:12px;padding:14px;background:var(--color-surface);border-radius:var(--radius-md);font-size:14px;line-height:1.6}.answer p{margin:0 0 10px}.answer p:last-child{margin-bottom:0}.answer ol,.answer ul{margin:0 0 10px;padding-left:20px}[dir=rtl] .answer.study-plan ol,[dir=rtl] .answer.study-plan ul{padding-left:0;padding-right:20px}.answer strong{font-weight:600}.study-plan h2{font-size:14px;margin:18px 0 8px}.study-plan h2:first-child{margin-top:0}.tag{display:inline-block;font-size:11px;padding:4px 10px;border-radius:var(--radius-pill);margin-top:10px;font-weight:700}.tag.grounded{background:var(--color-success-bg);color:var(--color-success-text)}.tag.ungrounded{background:var(--color-warning-bg);color:var(--color-warning-text)}.auth-main{max-width:400px;margin:0 auto;padding:64px 24px}.welcome-main{max-width:720px;margin:0 auto;padding:72px 24px;display:flex;flex-direction:column;align-items:center}.theme-picker{width:100%;max-width:640px}.theme-picker-title{font-family:Baloo Bhaijaan\ 2,system-ui,sans-serif;font-size:26px;font-weight:700;text-align:center;margin:0 0 6px}.theme-picker-subtitle{text-align:center;margin-bottom:28px!important}.theme-picker-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.theme-picker-card{border-radius:26px;padding:26px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;cursor:pointer;font-family:Baloo Bhaijaan\ 2,system-ui,sans-serif;transition:transform var(--duration-press) var(--ease-out);margin-top:0}@media (hover:hover) and (pointer:fine){.theme-picker-card:hover:not(:disabled){transform:translateY(-2px)}}.theme-picker-card:active:not(:disabled){transform:scale(.98)}.theme-picker-card:disabled{cursor:default;opacity:.7}.theme-picker-young{background:#3da9fc;border:none;color:#fff;box-shadow:none}.theme-picker-standard{background:#fff;border:2px solid #e5ded0;color:#2a231d;box-shadow:none}.theme-picker-card h2{font-family:Baloo Bhaijaan\ 2,system-ui,sans-serif;font-size:20px;font-weight:700;margin:10px 0 8px}.theme-picker-card p{font-size:13.5px;line-height:1.4;margin:0 0 18px}.theme-picker-young p{color:hsla(0,0%,100%,.9)}.theme-picker-standard p{color:#7a6c5d}.theme-picker-logo{width:64px;height:64px;border-radius:18px;background:#5457e5;color:#fff;font-family:Readex Pro,system-ui,sans-serif;font-weight:700;font-size:28px;display:flex;align-items:center;justify-content:center}.theme-picker-cta{display:inline-block;background:#ffc93c;color:#3a2e4d;font-family:Baloo Bhaijaan\ 2,system-ui,sans-serif;font-weight:700;font-size:14px;padding:11px 24px;border-radius:999px;border-bottom:4px solid #e0a521}.theme-picker-cta-standard{background:#5457e5;color:#fff;border-bottom:none}.theme-picker-card.selected{outline:3px solid var(--color-accent,#6c4ce0);outline-offset:3px}.theme-picker-footnote{text-align:center;margin-top:24px!important;margin-bottom:0!important}@media (max-width:560px){.theme-picker-grid{grid-template-columns:1fr}}.auth-card h1{font-size:20px;margin:0 0 20px}.field-label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.auth-card a{color:var(--color-accent);font-weight:600}.signout-button{margin-top:0;background:#fff;color:var(--color-text);border:1px solid var(--color-surface-border);padding:8px 16px;border-radius:var(--radius-pill);font-family:var(--font-body);font-size:12px;font-weight:600;box-shadow:none}@media (hover:hover) and (pointer:fine){.signout-button:hover{background:#fff;border-color:var(--color-muted-light)}}.app-shell{display:flex;min-height:100vh;min-height:100dvh}.app-content{flex:1 1 auto;min-width:0}.app-nav{display:flex;flex-direction:column;gap:4px}.app-nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;font-size:14px;font-weight:700;color:#4a4560;text-decoration:none;transition:background-color var(--duration-hover) ease,color var(--duration-hover) ease}@media (hover:hover) and (pointer:fine){.app-nav-link:not(.active):hover{background:var(--color-accent-tint);color:var(--color-text)}}.app-nav-link svg{flex:0 0 auto}.app-nav-link.active{color:#fff;background:var(--color-accent);box-shadow:0 6px 14px -6px rgba(37,99,235,.5)}.card.spotlight{padding:18px}.grade-correct{background:var(--mark-correct-tint);border:1px solid var(--mark-correct-border)}.grade-incorrect{background:var(--mark-notyet-tint);border:1px solid var(--mark-notyet-border)}.grade-partial{background:var(--mark-partly-tint);border:1px solid var(--mark-partly-border)}.grade-suggestion{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(0,0,0,.12);font-size:14px;line-height:1.6}.grade-suggestion p{display:inline;margin:0}.ghost-button{background:#fff;color:var(--color-text);border:1px solid var(--color-surface-border);box-shadow:none}@media (hover:hover) and (pointer:fine){.ghost-button:hover{background:#fff;border-color:var(--color-muted-light)}}.topic-picker{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--color-surface-border-light)}.grade-setup-row{display:flex;align-items:center;gap:8px}.grade-setup-row select{width:auto;flex:0 0 auto;margin-bottom:0}.grade-setup-row button{margin-top:0}.grade-badge-row{margin-bottom:12px;display:flex;align-items:center;gap:8px}.tag.grade-badge{color:var(--color-accent)}.chip,.tag.grade-badge{background:var(--color-surface);margin-top:0}.chip{color:var(--color-text);border:1px solid var(--color-surface-border);padding:6px 12px;border-radius:var(--radius-pill);font-size:13px;cursor:pointer;box-shadow:none}@media (hover:hover) and (pointer:fine){.chip:hover{background:var(--color-surface-border-light)}}.topic-browser{padding-top:12px;border-top:1px dashed var(--color-surface-border)}.hint-area,.topic-browser{margin-top:12px}.hint-box{background:var(--color-warning-bg);border:1px solid var(--color-warning-border);border-radius:var(--radius-sm);padding:12px 14px;font-size:14px;line-height:1.6}.hint-box p{margin:0}.hint-label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-warning-text);margin-bottom:4px}.concept-list,.upcoming-list{list-style:none;margin:0 0 8px;padding:0}.upcoming-list-item{border-bottom:1px solid var(--color-surface-border-light)}.upcoming-list-item:last-child{border-bottom:none}.upcoming-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.upcoming-list-title{font-size:14px;font-weight:600}.upcoming-list-item .subtitle{margin:2px 0 0}.upcoming-list-item button{margin-top:0;flex:0 0 auto}.tag.upcoming-type-exam{background:var(--color-danger-bg);color:var(--color-danger-text)}.tag.upcoming-type-quiz{background:var(--color-warning-bg);color:var(--color-warning-text)}.tag.upcoming-type-homework{background:var(--color-surface);color:var(--color-accent)}.tag.upcoming-type-project{background:var(--color-success-bg);color:var(--color-success-text)}.due-date-hint{margin-bottom:10px}.due-date-row{display:flex;gap:12px}.due-date-row>div{flex:1 1;min-width:0}.ghost-button.danger{color:var(--color-danger-text);border-color:var(--color-danger-border)}.concept-row{justify-content:space-between;gap:12px;padding:10px 0}.concept-row,.concept-row-main{display:flex;align-items:center}.concept-row-main{gap:8px;min-width:0}.concept-status-icon{flex:0 0 auto;width:20px;text-align:center;font-weight:700;color:var(--color-muted-light)}.concept-mastered .concept-status-icon{color:var(--color-success-text)}.concept-label{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.concept-streak{margin:0;flex:0 0 auto}.tag.concept-mastered-tag{background:var(--color-success-bg);color:var(--color-success-text);margin-top:0}.concept-row-links{display:flex;gap:12px;flex:0 0 auto}.concept-progress-note{margin:10px 0 0}.tag.box-1{background:var(--color-danger-bg);color:var(--color-danger-text)}.mastery-bar{height:8px;background:var(--color-surface-border-light);margin-top:6px}.mastery-bar,.mastery-bar-fill{display:block;width:100%;border-radius:var(--radius-pill);overflow:hidden}.mastery-bar-fill{height:100%;background:linear-gradient(90deg,var(--color-accent),var(--color-accent-light));transform:translateX(-100%);transition:transform .7s var(--ease-out);position:relative}.mastery-bar-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.35) 50%,transparent);transform:translateX(-100%);animation:mastery-bar-shimmer 3s linear infinite}.mastery-bar-fill.complete{background:linear-gradient(90deg,var(--color-success-text),#35a85c)}[dir=rtl] .mastery-bar{transform:scaleX(-1)}@keyframes mastery-bar-shimmer{0%{transform:translateX(-100%)}60%,to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.mastery-bar-fill{transition:none}.mastery-bar-fill:after{animation:none}}.progress-caption{margin-top:8px}.greeting{font-size:30px;margin-bottom:6px}.conversation-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.conversation-chip{margin-top:0;flex:0 0 auto;max-width:220px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:#fff;color:var(--color-text);border:1px solid var(--color-surface-border);border-radius:var(--radius-md);padding:8px 14px;font-family:var(--font-body);cursor:pointer;text-align:left}@media (hover:hover) and (pointer:fine){.conversation-chip:not(.active):hover{background:#fff;border-color:var(--color-muted-light)}}.conversation-chip.active{border-color:var(--color-accent);background:var(--color-accent-tint)}.conversation-chip-title{font-size:13px;font-weight:600}.conversation-chip-material,.conversation-chip-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.conversation-chip-material{font-size:11px;color:var(--color-muted)}.chat-card{display:flex;flex-direction:column}.chat-material-banner{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--color-accent);background:#fff;border:1px solid var(--color-surface-border);border-radius:var(--radius-sm);padding:8px 12px;margin-bottom:14px}.chat-material-banner svg{flex:0 0 auto}.chat-messages{display:flex;flex-direction:column;gap:12px;max-height:420px;overflow-y:auto;padding-right:2px;margin-bottom:14px}.chat-bubble{max-width:88%;padding:12px 14px;border-radius:var(--radius-md);font-size:14px;line-height:1.6}.chat-bubble.user{align-self:flex-end;background:var(--color-accent);color:#fff}.chat-bubble.user p{margin:0;white-space:pre-wrap}.chat-bubble.assistant{align-self:flex-start;background:#fff;border:1px solid var(--color-surface-border)}.chat-bubble.assistant p{margin:0 0 10px}.chat-bubble.assistant p:last-child{margin-bottom:0}.chat-bubble.assistant .tag{margin-top:10px}.chat-bubble.thinking{color:var(--color-muted);font-style:italic}.chat-composer{display:flex;gap:10px}.chat-composer textarea{margin-bottom:0;min-height:48px}.chat-composer button{margin-top:0;flex:0 0 auto}@media (max-width:860px){.app-shell{flex-direction:column;min-height:0}.app-nav{flex-direction:row;flex-wrap:wrap;gap:6px;flex:1 1 auto}.app-nav-link{padding:8px 14px;border-radius:var(--radius-pill)}main{padding:28px 20px;max-width:100%}}input[type=date],input[type=email],input[type=password],input[type=text],select,textarea{border-width:1.5px;transition:border-color var(--duration-hover) ease,box-shadow var(--duration-hover) ease}input[type=date]:focus,input[type=email]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 4px var(--color-accent-tint)}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7590' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid var(--color-accent-hover);outline-offset:2px}.page-hero{--hero-color:var(--color-accent);position:relative;overflow:hidden;display:flex;align-items:center;gap:18px;padding:24px 26px;margin-bottom:22px;border-radius:26px;color:#fff;background:linear-gradient(120deg,var(--hero-color),color-mix(in srgb,var(--hero-color) 70%,#fff));box-shadow:0 18px 34px -22px color-mix(in srgb,var(--hero-color) 80%,#000)}.page-hero:after,.page-hero:before{content:"";position:absolute;border-radius:50%;background:hsla(0,0%,100%,.14);pointer-events:none}.page-hero:before{width:220px;height:220px;right:-60px;top:-90px}.page-hero:after{width:120px;height:120px;right:150px;bottom:-70px;background:hsla(0,0%,100%,.1)}.page-hero-help{--hero-color:var(--color-accent2)}.page-hero-practice{--hero-color:var(--color-accent)}.page-hero-test{--hero-color:var(--color-test)}.page-hero-plan{--hero-color:var(--color-plan)}.page-hero-tutors{--hero-color:var(--color-tutors)}.page-hero-icon{position:relative;z-index:1;flex:0 0 auto;width:58px;height:58px;border-radius:18px;background:hsla(0,0%,100%,.24);display:flex;align-items:center;justify-content:center}.page-hero-icon svg{width:28px;height:28px}[data-theme=young] .page-hero-icon{width:auto;height:auto}[data-theme=young] .page-hero-icon svg{width:60px;height:60px}.page-hero-text{position:relative;z-index:1;flex:1 1 auto;min-width:0;text-shadow:0 1px 2px rgba(30,27,46,.14)}.page-hero h1{color:#fff;font-size:28px;margin:0;overflow-wrap:anywhere}.page-hero p{margin:4px 0 0;font-size:14.5px;color:hsla(0,0%,100%,.9);font-weight:600}.page-hero-aside{position:relative;z-index:1;flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.page-hero-aside button{margin-top:0;background:#fff;color:var(--color-text);box-shadow:0 8px 16px -8px rgba(0,0,0,.3)}.page-hero-aside button.hero-button-ghost{background:rgba(30,27,46,.16);color:#fff;box-shadow:none}@media (hover:hover) and (pointer:fine){.page-hero-aside button:hover{background:#f5f3ff}.page-hero-aside button.hero-button-ghost:hover{background:rgba(30,27,46,.24)}}[data-theme=young] .page-hero-aside button{border-bottom-color:rgba(0,0,0,.15)}.page-hero p a{color:#fff;text-decoration:underline;text-underline-offset:3px}.question-actions{margin-top:18px}.input-with-icon input[type=text]::placeholder{font-weight:500}.button-inline{gap:8px}.button-inline,.page-hero-back{display:inline-flex;align-items:center}.page-hero-back{position:relative;z-index:1;gap:6px;color:#fff;font-size:13px;font-weight:700;text-decoration:none;opacity:.92;margin-top:8px}.page-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-gap:22px;gap:22px;align-items:start}.page-grid .card{margin-bottom:0}.page-grid-main,.page-grid-side{display:flex;flex-direction:column;gap:20px;min-width:0}.section-title{display:flex;align-items:center;gap:10px;margin:0 0 14px}.section-title h2{margin:0}.section-title-icon{width:30px;height:30px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--section-color,var(--color-accent));flex:0 0 auto}.section-title-icon svg{width:16px;height:16px}.tone-help{--section-color:var(--color-accent2)}.tone-practice{--section-color:var(--color-accent)}.tone-test{--section-color:var(--color-test)}.tone-plan{--section-color:var(--color-plan)}.tone-tutors{--section-color:var(--color-tutors)}.input-with-icon{position:relative}.input-with-icon svg{position:absolute;inset-inline-start:16px;top:17px;color:var(--color-muted);pointer-events:none}.input-with-icon input[type=text]{padding-block:15px;padding-inline:46px 16px;font-size:16px;font-weight:600;border-radius:var(--radius-md)}.field-hint{font-size:12.5px;color:var(--color-muted);margin:-6px 0 14px}.form-divider{display:flex;align-items:center;gap:12px;margin:6px 0 16px;color:var(--color-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.form-divider:after,.form-divider:before{content:"";flex:1 1 auto;height:1px;background:var(--color-surface-border)}.setup-card .topic-picker{border-bottom:none;padding-bottom:0;margin-bottom:18px}.button-lg{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 26px;font-size:15px}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}.button-row button{margin-top:0}.study-go-arrow{display:inline-flex}[dir=rtl] .study-go-arrow{transform:scaleX(-1)}.how-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.how-list li{display:flex;gap:12px;align-items:flex-start;font-size:13.5px;line-height:1.45}.how-list strong{display:block;font-size:14px;margin-bottom:1px}.how-list strong,.how-step{font-family:var(--font-display)}.how-step{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--color-accent-tint);color:var(--section-color,var(--color-accent));font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}.how-list p{margin:0;color:var(--color-muted)}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.question-meta .tag{margin-top:0}.question-number{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:var(--radius-pill);background:var(--color-accent-tint);color:var(--section-color,var(--color-accent));font-family:var(--font-display);font-weight:800;font-size:12.5px}.question-text{font-size:18px;line-height:1.55;font-weight:600;padding:18px 20px;background:var(--color-surface);border-radius:var(--radius-md);margin-bottom:16px}.question-text p{margin:0 0 8px}.question-text p:last-child{margin-bottom:0}.answer-label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}.chip.hint-toggle{display:inline-flex;align-items:center;gap:6px;background:var(--color-warning-bg);border-color:var(--color-warning-border);color:var(--color-warning-text);font-weight:700}@media (hover:hover) and (pointer:fine){.chip.hint-toggle:hover{background:#ffebc4}}.hint-area{margin:0 0 14px}.hint-box{display:flex;gap:12px;align-items:flex-start;border-radius:var(--radius-md)}.hint-box-icon{flex:0 0 auto;width:30px;height:30px;border-radius:10px;background:#ffc93c;color:#6b4e00;display:flex;align-items:center;justify-content:center}.feedback-card{display:flex;gap:14px;align-items:flex-start;margin-top:18px;padding:18px;border-radius:var(--radius-md);font-size:14.5px;line-height:1.6}.feedback-icon{flex:0 0 auto;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.feedback-body{min-width:0;flex:1 1 auto}.feedback-title{display:block;font-family:var(--font-display);font-size:17px;font-weight:800;margin-bottom:2px}.feedback-body p{margin:0 0 8px}.feedback-body p:last-child{margin-bottom:0}.feedback-card.grade-correct .feedback-icon{background:var(--mark-correct)}.feedback-card.grade-correct .feedback-title{color:var(--mark-correct-text)}.feedback-card.grade-partial .feedback-icon{background:var(--mark-partly)}.feedback-card.grade-partial .feedback-title{color:var(--mark-partly-text)}.feedback-card.grade-incorrect .feedback-icon{background:var(--mark-notyet)}.feedback-card.grade-incorrect .feedback-title{color:var(--mark-notyet-text)}.loading-row{display:flex;align-items:center;gap:12px;color:var(--color-muted);font-weight:600;font-size:14px;padding:6px 0}.loading-dots{display:inline-flex;gap:5px}.loading-dots span{width:8px;height:8px;border-radius:50%;background:var(--section-color,var(--color-accent));animation:loading-dot 1.2s ease-in-out infinite}.loading-dots span:nth-child(2){animation-delay:.15s}.loading-dots span:nth-child(3){animation-delay:.3s}@keyframes loading-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;padding:26px 20px;border:2px dashed color-mix(in srgb,var(--section-color,var(--color-accent)) 38%,#fff);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--section-color,var(--color-accent)) 5%,#fff);cursor:pointer;transition:border-color var(--duration-hover) ease,background-color var(--duration-hover) ease,transform var(--duration-press) var(--ease-out);margin-bottom:14px}.dropzone-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.dropzone:focus-within{border-color:var(--section-color,var(--color-accent));box-shadow:0 0 0 4px var(--color-accent-tint)}@media (hover:hover) and (pointer:fine){.dropzone:hover{border-color:var(--section-color,var(--color-accent));background:color-mix(in srgb,var(--section-color,var(--color-accent)) 9%,#fff)}}.dropzone:active{transform:scale(.99)}.dropzone.is-dragover{border-style:solid;border-color:var(--section-color,var(--color-accent));background:color-mix(in srgb,var(--section-color,var(--color-accent)) 12%,#fff)}.dropzone.is-disabled{cursor:default;opacity:.6}.dropzone-icon{width:50px;height:50px;border-radius:16px;background:var(--section-color,var(--color-accent));color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:8px;box-shadow:0 10px 18px -8px color-mix(in srgb,var(--section-color,var(--color-accent)) 70%,#000)}.dropzone-title{font-family:var(--font-display);font-size:16px;font-weight:800}.dropzone-sub{font-size:13.5px;color:var(--color-muted)}.dropzone-browse{color:var(--section-color,var(--color-accent));font-weight:700;text-decoration:underline;text-underline-offset:3px}.dropzone-types{margin-top:6px;font-size:12px;color:var(--color-muted);font-weight:600}.dropzone.has-file{padding:14px 16px;border-style:solid;align-items:stretch}.dropzone-file{display:flex;align-items:center;gap:12px;text-align:left}.dropzone-file-icon{flex:0 0 auto;width:40px;height:40px;border-radius:12px;background:var(--section-color,var(--color-accent));color:#fff;display:flex;align-items:center;justify-content:center}.dropzone-file-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.dropzone-file-name{font-weight:700;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropzone-file-size{font-size:12px;color:var(--color-muted)}.dropzone-change{flex:0 0 auto;font-size:13px;font-weight:700;color:var(--section-color,var(--color-accent))}.upload-ready{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:var(--radius-sm);background:var(--color-success-bg);color:var(--color-success-text);font-size:13.5px;font-weight:700;margin-top:10px}.chat-layout{display:grid;grid-template-columns:240px minmax(0,1fr);grid-gap:22px;gap:22px;align-items:start}.chat-sidebar{padding:16px}.chat-layout .card{margin-bottom:0}@media (pointer:coarse){.composer-hint{display:none}}.chat-sidebar h2{font-size:14px;margin:2px 4px 12px}.chat-sidebar .conversation-list{flex-direction:column;overflow-x:visible;max-height:520px;overflow-y:auto}.chat-sidebar .conversation-chip{max-width:none;width:100%}.conversation-chip.new-chat{flex-direction:row;align-items:center;gap:8px;border-style:dashed;color:var(--color-accent2);font-weight:700}.chat-card{padding:22px;min-height:520px}.attach-panel{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--color-surface-border-light)}.attach-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.attach-panel-head h2{margin:0;font-size:15px}.attach-panel-head span{font-size:12px;color:var(--color-muted);font-weight:600}.chat-messages{flex:1 1 auto;min-height:220px;max-height:460px}.chat-welcome{display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 10px 6px;margin:auto 0}.chat-welcome-icon{width:56px;height:56px;border-radius:18px;background:var(--color-accent2);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:12px;box-shadow:0 12px 22px -10px color-mix(in srgb,var(--color-accent2) 70%,#000)}.chat-welcome h3{font-family:var(--font-display);font-size:19px;font-weight:800;margin:0 0 4px}.chat-welcome p{margin:0 0 16px;color:var(--color-muted);font-size:14px;max-width:440px}.chat-bubble.user{background:linear-gradient(120deg,var(--color-accent),var(--color-accent-light));border-bottom-right-radius:6px}.chat-bubble.assistant{border-bottom-left-radius:6px;background:var(--color-surface);border-color:transparent}.chat-bubble.thinking{font-style:normal;padding:10px 14px}.chat-bubble.thinking .loading-row{padding:0}.chat-composer{align-items:flex-end;gap:8px;padding:8px 8px 8px 16px;border:1.5px solid var(--color-surface-border);border-radius:22px;background:#fff;transition:border-color var(--duration-hover) ease,box-shadow var(--duration-hover) ease}.chat-composer:focus-within{border-color:var(--color-accent);box-shadow:0 0 0 4px var(--color-accent-tint)}.chat-composer textarea,.chat-composer textarea:focus{border:none;box-shadow:none;padding:8px 0;min-height:40px;max-height:160px;resize:none;background:transparent;font-size:15px}.chat-composer button{display:inline-flex;align-items:center;gap:6px;padding:11px 18px}.composer-hint{font-size:11.5px;color:var(--color-muted);margin:8px 4px 0;font-weight:600}.segmented{display:inline-flex;gap:6px;margin-bottom:18px}.chip.segmented-option{padding:9px 18px;font-weight:700;background:#fff;border:1.5px solid var(--color-surface-border)}.chip.segmented-option.selected{background:var(--section-color,var(--color-accent));border-color:var(--section-color,var(--color-accent));color:#fff}.result-card{position:relative;padding-block:20px;padding-inline:24px 20px;overflow:hidden}.result-card:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:5px}.result-card.result-correct:before{background:var(--mark-correct)}.result-card.result-partial:before{background:var(--mark-partly)}.result-card.result-incorrect:before{background:var(--mark-notyet)}.result-card .question-text{font-size:15.5px;-webkit-border-start:none;border-inline-start:none;padding:14px 16px;margin-bottom:12px}.your-answer{font-size:14px;margin:0 0 4px}.your-answer span{color:var(--color-muted);font-weight:700}.result-card .feedback-card{margin-top:12px}.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:14px;gap:14px}.plan-card{margin:0;display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:start;padding:18px;background:#fff;color:var(--color-text);border:1.5px solid var(--color-surface-border);border-radius:var(--radius-lg);box-shadow:0 10px 24px -18px rgba(30,27,46,.25);font-family:var(--font-body);font-weight:400;font-size:14px}@media (hover:hover) and (pointer:fine){.plan-card:hover{background:#fff;border-color:var(--color-plan)}}.plan-card-top{gap:10px}.plan-card-icon,.plan-card-top{display:flex;align-items:center}.plan-card-icon{flex:0 0 auto;width:36px;height:36px;border-radius:11px;background:var(--color-plan);color:#fff;justify-content:center}.plan-card-title{font-family:var(--font-display);font-weight:800;font-size:15px;line-height:1.3}.plan-card .mastery-bar{margin-top:0}.plan-card-meta{font-size:12.5px;color:var(--color-muted);font-weight:600}.plan-card-open{margin-top:auto;display:inline-flex;align-items:center;gap:4px;color:var(--color-plan);font-weight:800;font-size:13px;font-family:var(--font-display)}[data-theme=young] .plan-card{border-bottom:1.5px solid var(--color-surface-border);padding:18px;font-size:14px;font-weight:400}.empty-state{flex-direction:column;text-align:center;padding:26px 16px}.empty-state,.empty-state-icon{display:flex;align-items:center}.empty-state-icon{width:56px;height:56px;border-radius:18px;background:var(--color-accent-tint);color:var(--section-color,var(--color-accent));justify-content:center;margin-bottom:12px}.empty-state h3{font-family:var(--font-display);font-size:17px;margin:0 0 4px}.empty-state p{margin:0 0 14px;color:var(--color-muted);font-size:14px;max-width:360px}.empty-state button{margin-top:0}.includes-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.includes-list li{display:flex;align-items:flex-start;line-height:1.4;gap:10px;font-size:14px;font-weight:600}.includes-list svg{color:var(--color-plan);flex:0 0 auto}.progress-summary{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}.progress-summary strong{font-family:var(--font-display);font-size:26px;font-weight:800}.progress-summary span{color:var(--color-muted);font-weight:600;font-size:13.5px}.concept-list .concept-row{padding:12px 0;border-bottom:1px solid var(--color-surface-border-light)}.concept-list .concept-row:last-child{border-bottom:none}.concept-status-icon{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--color-surface-border-light);color:var(--color-muted)}.concept-mastered .concept-status-icon{background:#22b35e;color:#fff}.concept-practicing .concept-status-icon{background:var(--color-warning-bg);color:var(--color-warning-text)}.concept-label{font-weight:600}.pill-link{display:inline-flex;align-items:center;padding:6px 12px;border-radius:var(--radius-pill);font-size:12.5px;font-weight:700;text-decoration:none;background:var(--color-accent-tint);color:var(--color-accent);transition:transform var(--duration-press) var(--ease-out),background-color var(--duration-hover) ease}.pill-link.pill-test{background:color-mix(in srgb,var(--color-test) 14%,#fff);color:color-mix(in srgb,var(--color-test) 75%,#000)}.pill-link:active{transform:scale(.96)}.concept-row-links{gap:6px}.plan-body-card{padding:24px}.plan-body-card .answer.study-plan{background:none;padding:0;margin-top:14px;font-size:14.5px}.plan-body-card .study-plan h2{font-family:var(--font-display);font-size:16px;color:var(--color-plan);margin-top:22px}.plan-body-card .study-plan h2:first-child{margin-top:0}.subject-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.chip.subject-pill{background:#fff;border:1.5px solid var(--color-surface-border);font-weight:700}.chip.subject-pill.selected{background:var(--color-tutors);border-color:var(--color-tutors);color:#fff}.rating{display:inline-flex;align-items:center;gap:4px;color:#d48a00}.tutor-bio{font-size:14.5px;line-height:1.65;margin:0}@media (max-width:1040px){.chat-layout,.page-grid{grid-template-columns:minmax(0,1fr)}.chat-sidebar .conversation-list{flex-direction:row;overflow-x:auto;overflow-y:visible;max-height:none}.chat-sidebar .conversation-chip{width:auto;max-width:220px}}@media (max-width:640px){.page-hero{flex-wrap:wrap;padding:20px;gap:14px}.page-hero-icon{width:48px;height:48px;border-radius:15px}.page-hero h1{font-size:23px}.page-hero-aside{width:100%;justify-content:flex-start}.chat-card{min-height:0;padding:16px}.concept-row{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.loading-dots span{animation:none;opacity:.6}.dropzone:active,.pill-link:active{transform:none}}:root{--subject-math:#2557c4;--subject-english:#c98a00;--subject-biology:#1f7a52;--subject-chemistry:#0b7285}:root[data-theme=young]{--subject-math:#2fa6ff;--subject-english:#e0a100;--subject-biology:#3f9a42;--subject-chemistry:#3f9a42}.subject-math{--subject:var(--subject-math)}.subject-english{--subject:var(--subject-english)}svg .duo{fill:currentColor;fill-opacity:0}.chat-welcome-icon .duo,.empty-state-icon .duo,.page-hero-icon .duo,.plan-card-icon .duo,.prompt-card-icon .duo,.question-number .duo,.section-title-icon .duo,.subject-icon .duo{fill-opacity:.22}.page-hero-icon{background:#fff;color:var(--hero-color);transform:rotate(-6deg);box-shadow:0 12px 22px -12px rgba(30,27,46,.45)}.page-hero-icon:after{content:"";position:absolute;top:-5px;right:-5px;width:14px;height:14px;border-radius:50%;background:#ffc93c;box-shadow:0 0 0 3px hsla(0,0%,100%,.45)}.page-hero-icon svg{width:32px;height:32px}[data-theme=young] .page-hero-icon{background:transparent;box-shadow:none;transform:none}[data-theme=young] .page-hero-icon:after{display:none}.chat-welcome-icon svg{width:28px;height:28px}.topic-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.topic-picker-title{font-family:var(--font-display);font-weight:800;font-size:14.5px}.chip.grade-pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px solid var(--color-surface-border);font-weight:700;padding:6px 12px}.chip.grade-pill svg,.grade-pill-change{color:var(--color-accent)}.grade-pill-change{font-size:12px;-webkit-margin-start:2px;margin-inline-start:2px}.subject-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:12px;gap:12px;margin-bottom:12px}.subject-panel{background:color-mix(in srgb,var(--subject) 7%,#fff);border:1.5px solid color-mix(in srgb,var(--subject) 18%,#fff);border-radius:20px;padding:14px}.subject-panel-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.subject-icon{flex:0 0 auto;width:34px;height:34px;border-radius:11px;background:var(--subject);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 14px -8px color-mix(in srgb,var(--subject) 80%,#000)}.subject-name{font-family:var(--font-display);font-weight:800;font-size:14.5px;color:color-mix(in srgb,var(--subject) 65%,#1e1b2e)}.topic-tiles{display:flex;flex-direction:column;gap:8px}.topic-tile{margin:0;display:flex;align-items:center;gap:10px;width:100%;text-align:start;background:#fff;color:var(--color-text);border:1.5px solid transparent;border-radius:14px;padding:11px 12px;box-shadow:0 6px 14px -12px rgba(30,27,46,.4);font-family:var(--font-body);font-weight:400;font-size:14px;transition:transform var(--duration-press) var(--ease-out),border-color var(--duration-hover) ease,background-color var(--duration-hover) ease,color var(--duration-hover) ease}@media (hover:hover) and (pointer:fine){.topic-tile:hover{background:#fff;border-color:var(--subject);transform:translateY(-1px)}.topic-tile:hover .topic-tile-mark{transform:translateX(2px)}[dir=rtl] .topic-tile:hover .topic-tile-mark{transform:translateX(-2px)}.topic-tile.selected:hover{background:var(--subject)}}.topic-tile:active{transform:scale(.98)}.topic-tile-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}.topic-tile-label{font-family:var(--font-display);font-weight:700;font-size:14px}.topic-tile-sub{font-size:12px;color:var(--color-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topic-tile-mark{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--subject) 12%,#fff);color:var(--subject);display:flex;align-items:center;justify-content:center;transition:transform var(--duration-press) var(--ease-out)}.topic-tile.selected{background:var(--subject);border-color:var(--subject);color:#fff}.topic-tile.selected .topic-tile-sub{color:hsla(0,0%,100%,.85)}.topic-tile.selected .topic-tile-mark{background:#fff;color:var(--subject)}[data-theme=young] .topic-tile{border-bottom:4px solid color-mix(in srgb,var(--subject) 35%,#fff);padding:12px 14px;font-size:15px;font-weight:400;box-shadow:none}[data-theme=young] .topic-tile.selected{border-bottom-color:color-mix(in srgb,var(--subject) 70%,#000)}.chip.browse-toggle{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px dashed var(--color-surface-border);color:var(--color-muted);font-weight:700;margin-bottom:4px}@media (hover:hover) and (pointer:fine){.chip.browse-toggle:hover{background:#fff;color:var(--color-text);border-color:var(--color-muted-light)}}.subject-switch{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.chip.subject-switch-option{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px solid var(--color-surface-border);font-weight:700}.chip.subject-switch-option svg{color:var(--subject)}.chip.subject-switch-option.selected{background:var(--subject);border-color:var(--subject);color:#fff}.chip.subject-switch-option.selected svg{color:#fff}.grade-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:6px;gap:6px;max-width:380px;margin:2px 0 4px}.chip.grade-option{padding:9px 0;text-align:center;font-family:var(--font-display);font-weight:800;font-size:14px;background:#fff;border:1.5px solid var(--color-surface-border)}.chip.grade-option.selected{background:var(--color-accent);border-color:var(--color-accent);color:#fff}[data-theme=young] .chip.grade-option{padding:9px 0}.prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;width:100%;max-width:620px}.prompt-card{--tone:var(--color-accent);margin:0;display:flex;align-items:flex-start;gap:12px;text-align:left;padding:14px;background:#fff;color:var(--color-text);border:1.5px solid var(--color-surface-border);border-radius:18px;box-shadow:0 8px 18px -14px rgba(30,27,46,.35);font-family:var(--font-body);font-weight:400;font-size:14px;transition:transform var(--duration-press) var(--ease-out),border-color var(--duration-hover) ease}@media (hover:hover) and (pointer:fine){.prompt-card:hover{background:#fff;border-color:var(--tone);transform:translateY(-2px)}}.prompt-card:active{transform:scale(.98)}.prompt-card.tone-violet{--tone:var(--color-accent)}.prompt-card.tone-teal{--tone:var(--color-test)}.prompt-card.tone-orange{--tone:var(--subject-chemistry)}.prompt-card.tone-pink{--tone:var(--color-accent2)}.prompt-card.tone-blue{--tone:var(--subject-math)}.prompt-card.tone-rose{--tone:var(--subject-english)}.prompt-card.tone-green{--tone:var(--subject-biology)}.prompt-card-icon{flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:var(--tone);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 14px -8px color-mix(in srgb,var(--tone) 80%,#000)}.prompt-card-text{min-width:0}.prompt-card-title{display:block;font-family:var(--font-display);font-weight:800;font-size:14px;color:color-mix(in srgb,var(--tone) 70%,#1e1b2e)}.prompt-card-prompt{display:block;font-size:13px;line-height:1.4;color:var(--color-muted);margin-top:2px}[data-theme=young] .prompt-card{border-bottom:4px solid color-mix(in srgb,var(--tone) 35%,#fff);padding:14px;font-size:14px;font-weight:400}@media (max-width:640px){.prompt-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.prompt-card:active,.topic-tile:active{transform:none}}.card.spotlight{position:relative;overflow:hidden}.card.spotlight:before{content:"";position:absolute;width:200px;height:200px;right:-60px;top:-90px;border-radius:50%;background:hsla(0,0%,100%,.14);pointer-events:none}.card.spotlight>*{position:relative;z-index:1}@media (hover:hover) and (pointer:fine){.pill-link:hover{filter:brightness(.97)}}.tone-card-practice{--card:var(--color-accent)}.tone-card-test{--card:var(--color-test)}.tone-card-plan{--card:var(--color-plan)}.tone-card-tutors{--card:var(--color-tutors)}.button-inline{white-space:nowrap}@media (max-width:640px){.upcoming-list-item{flex-wrap:wrap}.upcoming-list-item>.pill-link{margin-left:60px}}.chat-bubble,.hint-box{transition:opacity var(--duration-enter) var(--ease-out),transform var(--duration-enter) var(--ease-out)}@starting-style{.chat-bubble,.hint-box{opacity:0;transform:translateY(6px)}}.grade-correct,.grade-incorrect,.grade-partial{transition:opacity .14s var(--ease-out)}@starting-style{.grade-correct,.grade-incorrect,.grade-partial{opacity:0}}.chat-bubble.user{transition-duration:.12s}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}[role=button],a,button{touch-action:manipulation}button{-moz-user-select:none;user-select:none;-webkit-user-select:none}.chat-messages,.conversation-list{overscroll-behavior:contain}@media (pointer:coarse){html[data-theme] input:not([type=file]),html[data-theme] select,html[data-theme] textarea{font-size:16px}}@media (prefers-reduced-motion:reduce){.theme-picker-card:active:not(:disabled),button:active:not(:disabled){transform:none}@starting-style{.chat-bubble,.hint-box{transform:none}}.grade-correct,.grade-incorrect,.grade-partial{transition:none}}.app-shell{flex-direction:column}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:20;background:var(--color-bg);border-bottom:1px solid var(--color-surface-border)}.app-header-inner{max-width:1240px;margin:0 auto;padding:0 32px;display:flex;align-items:center;gap:8px 32px;min-height:68px}.app-wordmark{font-family:var(--font-display);font-weight:700;font-size:24px;letter-spacing:-.03em;color:var(--color-text);text-decoration:none}.app-wordmark-dot{color:var(--color-accent)}.app-header .app-nav{flex-direction:row;flex-wrap:wrap;gap:4px;flex:1 1 auto}.app-header .app-nav-link{gap:8px;padding:22px 12px 20px;border-radius:0;font-weight:500;color:var(--color-muted);border-bottom:2px solid transparent;transition:color var(--duration-hover) ease,border-color var(--duration-hover) ease}.app-header .app-nav-link svg{display:none}[data-theme=young] .app-header .app-nav-link svg{display:block}.app-header .app-nav-link.active{color:var(--color-text);font-weight:600;background:transparent;border-bottom-color:var(--color-accent);box-shadow:none}@media (hover:hover) and (pointer:fine){.app-header .app-nav-link:not(.active):hover{background:transparent;color:var(--color-text)}}.app-account{display:flex;align-items:center;gap:12px;margin-left:auto}.app-account-link{gap:10px;min-height:44px;font-size:14px;font-weight:500;text-decoration:none}.app-account-link,.app-avatar{display:flex;align-items:center;color:var(--color-text)}.app-avatar{width:32px;height:32px;flex:0 0 auto;border-radius:10px;background:var(--color-highlight);justify-content:center;font-family:var(--font-display);font-weight:700;font-size:15px;text-transform:uppercase}.app-account-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-account .signout-button{margin-top:0}.app-content main{max-width:1240px;margin:0 auto;padding:48px 32px 72px}[data-theme=standard] .card{border:1px solid var(--color-surface-border);box-shadow:none}[data-theme=standard] .card h2,[data-theme=standard] h1{font-weight:600;letter-spacing:-.02em}[data-theme=standard] button{border-radius:12px;font-family:var(--font-body);font-weight:600;box-shadow:none}[data-theme=standard] .page-hero{--hero-color:var(--color-accent);color:var(--color-text);background:#fff;border:1px solid var(--color-surface-border);border-radius:22px;box-shadow:none}[data-theme=standard] .page-hero-icon:after,[data-theme=standard] .page-hero:after,[data-theme=standard] .page-hero:before{display:none}[data-theme=standard] .page-hero-text{text-shadow:none}[data-theme=standard] .page-hero h1{color:var(--color-text);font-size:30px;letter-spacing:-.03em}[data-theme=standard] .page-hero p{color:var(--color-muted);font-weight:500}[data-theme=standard] .page-hero p a{color:var(--color-accent)}[data-theme=standard] .page-hero-icon{background:var(--color-accent-tint);color:var(--color-accent);transform:none;box-shadow:none}[data-theme=standard] .page-hero-aside button{background:var(--color-accent);color:#fff;box-shadow:none}[data-theme=standard] .page-hero-aside button.hero-button-ghost{background:#fff;color:var(--color-text);border:1px solid var(--color-surface-border)}@media (hover:hover) and (pointer:fine){[data-theme=standard] .page-hero-aside button:hover{background:var(--color-accent-hover)}[data-theme=standard] .page-hero-aside button.hero-button-ghost:hover{background:var(--color-surface)}}[data-theme=standard] .chat-bubble.user{background:#e3ecff;color:var(--color-text)}.ask-sources{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 56px;font-size:13px;color:var(--color-muted)}.source-chip{max-width:240px;padding:4px 10px;border-radius:8px;background:var(--color-surface);color:var(--color-text);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ask-sources a{color:var(--color-accent);font-weight:600}.home-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}.home-section-head a{padding:8px 0;font-size:13px;font-weight:500;color:var(--color-muted)}.due-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.text-link{padding:12px 14px;border-radius:10px;font-size:14px;font-weight:600;color:var(--color-text);text-decoration:none;transition:background-color var(--duration-hover) ease}.text-link.muted{font-weight:500;color:var(--color-muted)}.text-link.nudge{padding:10px 14px;color:var(--color-accent);background:var(--color-accent-tint)}@media (hover:hover) and (pointer:fine){.text-link:hover{background:var(--color-surface)}.text-link.nudge:hover{background:#d8e5ff}}.deadline-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--color-surface-border);border-radius:18px}.deadline-item{display:flex;gap:16px;padding:18px 20px;border-bottom:1px solid var(--color-surface-border-light)}.deadline-item:last-child{border-bottom:none}.deadline-main{flex:1 1 auto;min-width:0}.deadline-title{display:block;margin-bottom:4px;font-size:15px;font-weight:600;color:var(--color-text);text-decoration:none;overflow-wrap:anywhere}.deadline-sub{margin-bottom:10px;font-size:13px;color:var(--color-muted)}.deadline-cta{font-size:13px;font-weight:600;color:var(--color-accent)}.readiness-bar{height:6px;margin-bottom:6px;border-radius:3px;background:var(--color-surface);overflow:hidden}.readiness-fill{display:block;height:100%;border-radius:3px;background:var(--color-progress)}.readiness-caption{font-family:var(--font-mono);font-size:12px;color:var(--color-muted)}.progress-grid{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px 24px;gap:20px 24px}.progress-grid dt{margin-bottom:4px;font-size:13px;color:var(--color-muted)}.progress-grid dd{margin:0;font-family:var(--font-mono);font-size:28px;letter-spacing:-.02em}@media (max-width:860px){.app-header-inner{padding:0 16px;min-height:60px}.app-header .app-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:0;gap:0;padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--color-surface-border)}.app-header .app-nav-link{flex-direction:column;justify-content:center;gap:4px;min-height:52px;padding:6px 2px;border-radius:0;border-bottom:none;font-size:11px;text-align:center;line-height:1.15}.app-header .app-nav-link svg{display:block;width:22px;height:22px}.app-header .app-nav-link.active{color:var(--color-accent)}.app-account-name{display:none}.app-content{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.app-content main{padding:24px 16px 32px}.ask-sources{margin-bottom:36px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}[data-theme=standard] .chat-bubble.assistant{max-width:680px;padding:4px 0;background:transparent;border:none;font-size:16px;line-height:1.65}[data-theme=standard] .chat-bubble.user{max-width:min(520px,88%);padding:14px 18px;border-radius:18px 18px 6px 18px;font-size:15px;line-height:1.5}.answer-source{display:inline-flex;align-items:center;gap:8px;max-width:100%;margin-bottom:10px;padding:5px 10px;border-radius:8px;font-size:13px;font-weight:600;overflow-wrap:anywhere}.answer-source svg{flex:0 0 auto}.answer-source.is-grounded{background:var(--color-highlight);color:var(--color-text)}.answer-source.is-general{padding:4px 10px;border:1px dashed var(--color-muted-light);color:var(--color-muted)}.answer-plan-offer{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:14px;padding:0 18px;border-radius:12px;background:var(--color-accent);color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:transform var(--duration-press) var(--ease-out),background-color var(--duration-hover) ease}.answer-plan-offer:active{transform:scale(.97)}@media (hover:hover) and (pointer:fine){.answer-plan-offer:hover{background:var(--color-accent-hover)}}.text-link{transition:transform var(--duration-press) var(--ease-out),background-color var(--duration-hover) ease}.text-link:active{transform:scale(.97)}@media (prefers-reduced-motion:reduce){.answer-plan-offer:active,.text-link:active{transform:none}}::selection{background:color-mix(in srgb,var(--color-accent) 22%,transparent);color:var(--color-text)}input,textarea{caret-color:var(--color-accent)}.progress-grid dd,.readiness-caption{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.home-section-head a{display:inline-flex;align-items:center;min-height:44px;padding:0}