@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{color:#142b35;font-synthesis:none;text-rendering:optimizelegibility;--ink:#142b35;--ink-soft:#53646a;--paper:#fffdf8;--cream:#f4f1e9;--navy:#153e4c;--aqua:#51c3b1;--aqua-pale:#d9f2eb;--coral:#f07b62;--coral-pale:#fee5dd;--sun:#f5c85f;--line:#d8d7ce;--shadow:0 22px 60px #1c383e1a;background:#f4f1e9;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline-offset:2px;outline:3px solid #51c3b180}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em;font-family:Manrope,system-ui,sans-serif}.app-frame{flex-direction:column;min-height:100vh;display:flex}.app-header{border-bottom:1px solid #142b351f;align-items:center;gap:32px;width:min(1180px,100% - 48px);height:88px;margin:0 auto;display:flex}.brand{cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.brand-mark{background:var(--navy);color:#fff;width:42px;height:42px;box-shadow:5px 5px 0 var(--aqua);border-radius:13px 13px 17px;place-items:center;display:grid;position:relative}.brand-mark i{background:var(--sun);border-radius:50%;width:9px;height:9px;position:absolute;top:7px;right:7px}.brand-mark b{font-family:Manrope;font-size:19px}.brand>span:last-child{flex-direction:column;align-items:flex-start;line-height:1;display:flex}.brand strong{font:800 16px/1 Manrope}.brand small{color:var(--coral);letter-spacing:.08em;text-transform:uppercase;margin-top:4px;font:600 13px/1 Manrope}.app-header nav{gap:6px;margin-left:auto;display:flex}.app-header nav button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 17px;font-weight:700}.app-header nav button.active{background:var(--paper);color:var(--navy);box-shadow:0 5px 18px #142b3514}.user-menu{border-left:1px solid var(--line);align-items:center;gap:10px;padding-left:22px;display:flex}.avatar{background:var(--coral-pale);color:#9b3f2d;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:800;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.user-copy{flex-direction:column;max-width:150px;display:flex}.user-copy strong,.user-copy small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.user-copy strong{font-size:13px}.user-copy small{color:var(--ink-soft);font-size:11px}.signout-button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;font-size:12px;text-decoration:underline}main{flex:1}.eyebrow,.tiny-label{color:#397c73;letter-spacing:.14em;text-transform:uppercase;font:800 12px/1.2 Manrope;display:block}.eyebrow{margin-bottom:18px}.tiny-label{margin-bottom:12px;font-size:10px}.primary-button,.secondary-button,.google-button{cursor:pointer;border:1px solid #0000;border-radius:14px;min-height:48px;padding:0 22px;font-weight:800;transition:transform .16s,box-shadow .16s,background .16s}.primary-button{background:var(--navy);color:#fff;box-shadow:0 9px 22px #153e4c33}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.google-button:hover:not(:disabled){transform:translateY(-2px)}.primary-button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}.secondary-button{background:var(--paper);color:var(--navy);border-color:#c9cec9}.full{width:100%}.text-button{color:var(--navy);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;font-weight:800;text-decoration:underline}.form-error{background:var(--coral-pale);color:#8b3526;border-radius:10px;margin:12px 0 0;padding:11px 13px;font-size:13px}.auth-shell{grid-template-columns:1.1fr .9fr;align-items:center;gap:92px;width:min(1120px,100% - 48px);margin:72px auto 90px;display:grid}.auth-note{padding:38px 0;position:relative}.auth-note:before{content:"";z-index:-1;border:1px solid #51c3b166;border-radius:48% 52% 40% 60%;width:260px;height:260px;position:absolute;top:-35px;left:-105px;transform:rotate(18deg)}.auth-note h2{max-width:690px;margin-bottom:20px;font-size:clamp(40px,5vw,66px);line-height:1.02}.auth-note>p{max-width:560px;color:var(--ink-soft);font-size:18px;line-height:1.7}.trust-list{gap:13px;margin-top:38px;display:grid}.trust-list span{align-items:center;gap:13px;font-weight:700;display:flex}.trust-list i{background:var(--aqua-pale);color:#27675f;border-radius:50%;place-items:center;width:31px;height:31px;font:800 10px/1 Manrope;display:grid}.auth-card{background:var(--paper);box-shadow:var(--shadow);border:1px solid #142b3514;border-radius:28px;padding:36px}.auth-heading{align-items:center;gap:14px;margin-bottom:28px;display:flex}.auth-heading h3{margin:0 0 5px;font-size:24px}.auth-heading p{color:var(--ink-soft);margin:0;font-size:14px}.mini-mark{background:var(--aqua-pale);color:#22685f;border-radius:14px;place-items:center;width:43px;height:43px;font-weight:800;display:grid}.google-button{border-color:var(--line);background:#fff;justify-content:center;align-items:center;gap:12px;width:100%;display:flex}.google-button svg{width:19px;height:19px}.auth-divider{color:#839095;text-transform:uppercase;letter-spacing:.1em;align-items:center;gap:15px;margin:24px 0;font-size:11px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-card form{gap:16px;display:grid}.auth-card label,.answer-label{color:#43555b;gap:8px;font-size:12px;font-weight:800;display:grid}.auth-card input,.answer-label textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #ccd3d0;border-radius:12px;padding:13px 14px}.auth-switch{margin:20px auto 0;font-size:12px;display:block}.upload-layout{grid-template-columns:.94fr 1.06fr;align-items:center;gap:88px;width:min(1180px,100% - 48px);min-height:calc(100vh - 170px);margin:0 auto;padding:78px 0 90px;display:grid}.upload-copy{position:relative}.upload-copy:after{content:"";z-index:-1;border:18px solid #f5c85f59;border-radius:50%;width:130px;height:130px;position:absolute;bottom:-70px;right:10px}.upload-copy h1,.results-hero h1,.history-heading h1{margin-bottom:26px;font-size:clamp(44px,5.8vw,75px);line-height:.99}.upload-copy>p{color:var(--ink-soft);max-width:560px;font-size:18px;line-height:1.75}.format-row{flex-wrap:wrap;gap:9px;margin-top:30px;display:flex}.format-row span{color:#50646a;border:1px solid #bdc7c4;border-radius:999px;padding:7px 11px;font:800 10px/1 Manrope}.upload-card{background:var(--paper);box-shadow:var(--shadow);border-radius:30px;padding:26px;position:relative}.upload-card:before{content:"";background:var(--coral);z-index:-1;opacity:.82;border-radius:5px;width:85px;height:34px;position:absolute;inset:-15px 28px auto auto;transform:rotate(3deg)}.dropzone{text-align:center;cursor:pointer;background:#fafaf5;border:2px dashed #a9b9b4;border-radius:21px;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:32px;transition:background .18s,border .18s,transform .18s;display:flex}.dropzone.dragging{background:var(--aqua-pale);border-color:var(--aqua);transform:scale(1.01)}.dropzone.has-file{background:#f8fbf8;border-style:solid}.dropzone strong{overflow-wrap:anywhere;max-width:100%;margin:18px 0 6px;font:800 18px/1.35 Manrope}.dropzone small{color:var(--ink-soft)}.dropzone .text-button{margin-top:18px;font-size:12px}.upload-glyph{background:var(--aqua-pale);color:#2a796e;border-radius:24px;place-items:center;width:74px;height:74px;display:grid}.upload-glyph svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:32px}.file-icon{color:#236a61;width:73px;height:86px;box-shadow:5px 7px 0 var(--aqua-pale);background:#fff;border:1px solid #a9c4be;border-radius:9px 20px 9px 9px;place-items:end center;padding-bottom:15px;display:grid}.file-icon span{font:800 12px/1 Manrope}.analyze-button{min-height:55px;margin-top:18px}.privacy-line{text-align:center;color:var(--ink-soft);margin:15px 0 0;font-size:11px}.privacy-line span{color:var(--aqua);margin-right:4px}.button-spinner{vertical-align:-3px;border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:16px;height:16px;margin-right:7px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.results-shell,.history-shell{width:min(1180px,100% - 48px);margin:0 auto;padding:64px 0 100px}.results-hero{justify-content:space-between;align-items:end;gap:40px;margin-bottom:45px;display:flex}.results-hero h1{max-width:850px;margin-bottom:14px}.results-hero p{color:var(--ink-soft);font-size:18px}.results-hero .secondary-button{flex:none;margin-bottom:10px}.analysis-grid{grid-template-columns:1.6fr .72fr .9fr;gap:16px;display:grid}.analysis-grid article{border-radius:22px;padding:25px}.analysis-main-card{background:var(--navy);color:#fff;grid-row:span 2}.analysis-card-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.analysis-main-card .tiny-label{color:#92d9cf}.analysis-main-card h2{margin-bottom:22px;font-size:34px}.analysis-main-card>p{color:#d6e1e3;line-height:1.65}.saved-badge{color:#bfece5;white-space:nowrap;background:#ffffff1a;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.skill-chips{flex-wrap:wrap;gap:7px;margin:23px 0;display:flex}.skill-chips span{border:1px solid #ffffff2b;border-radius:999px;padding:7px 10px;font-size:11px}.analysis-main-card .source-file{border-top:1px solid #ffffff1f;margin:0;padding-top:18px;font-size:11px}.level-card{background:var(--coral-pale);text-align:center}.level-orbit{border:1px dashed #de816f;border-radius:50%;width:72px;height:72px;margin:6px auto 12px;padding:7px}.level-orbit span{background:var(--coral);color:#fff;border-radius:50%;place-items:center;width:100%;height:100%;font:800 24px/1 Manrope;display:grid}.level-card h3{margin:0 0 5px;font-size:20px}.level-card p{color:#7a5a53;margin:0;font-size:12px}.next-card{background:var(--aqua-pale);flex-direction:column;justify-content:center;display:flex}.next-card blockquote{margin:0;font:700 17px/1.5 Manrope}.practice-heading{justify-content:space-between;align-items:end;margin:74px 0 26px;display:flex}.practice-heading h2{margin:0;font-size:39px}.progress-chip{color:var(--ink-soft);align-items:center;gap:8px;font-size:12px;display:flex}.progress-chip span{background:var(--sun);color:#5a4614;border-radius:50%;place-items:center;min-width:47px;height:47px;font-weight:800;display:grid}.exercise-list{gap:14px;display:grid}.exercise-card{background:var(--paper);border:1px solid #142b351a;border-radius:22px;grid-template-columns:64px 1fr;gap:25px;padding:28px;display:grid;box-shadow:0 8px 30px #142b350b}.exercise-number{background:var(--aqua-pale);color:#2a756a;border-radius:16px;place-items:center;width:50px;height:50px;font:800 14px/1 Manrope;display:grid}.exercise-type{color:var(--coral);letter-spacing:.12em;text-transform:uppercase;font:800 10px/1 Manrope}.exercise-content h3{letter-spacing:-.02em;white-space:pre-wrap;margin:10px 0 20px;font-size:20px;line-height:1.45}.answer-label textarea{resize:vertical;background:#fbfbf7;min-height:84px;font-weight:400;line-height:1.5}.exercise-actions{gap:10px;margin-top:14px;display:flex}.hint-button,.reveal-button{cursor:pointer;background:#fff;border:1px solid #c8d1ce;border-radius:10px;padding:9px 13px;font-size:11px;font-weight:800}.reveal-button{background:var(--navy);color:#fff;border-color:var(--navy)}.feedback-box{border-radius:12px;margin-top:13px;padding:15px 17px}.feedback-box strong,.feedback-box span{letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px;font:800 10px/1 Manrope;display:block}.feedback-box p{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.55}.feedback-box p+span{margin-top:15px}.hint-box{color:#624e1f;background:#fff5d8}.answer-box{background:var(--aqua-pale);color:#21554f}.finish-card{background:var(--sun);border-radius:22px;grid-template-columns:auto 1fr auto;align-items:center;gap:21px;margin-top:28px;padding:27px 30px;display:grid}.finish-mark{background:var(--paper);border-radius:50%;place-items:center;width:50px;height:50px;font-size:20px;font-weight:800;display:grid}.finish-card h2{margin:0 0 3px;font-size:21px}.finish-card p{color:#66521f;margin:0;font-size:13px}.history-heading{justify-content:space-between;align-items:end;gap:32px;margin-bottom:42px;display:flex}.history-heading h1{margin-bottom:12px}.history-heading p{color:var(--ink-soft)}.history-grid{grid-template-columns:repeat(3,1fr);gap:17px;display:grid}.history-card{background:var(--paper);border:1px solid #142b351a;border-radius:22px;flex-direction:column;padding:23px;display:flex;box-shadow:0 8px 28px #142b350d}.history-card-top{justify-content:space-between;align-items:center;display:flex}.history-subject{color:#2c736a;background:var(--aqua-pale);border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800}.icon-button{cursor:pointer;background:#f0f0ea;border:0;border-radius:50%;width:31px;height:31px}.icon-button.danger:hover{background:var(--coral-pale);color:#a13c2a}.history-card h2{margin:21px 0 9px;font-size:22px}.history-card>p{color:var(--ink-soft);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.history-meta{gap:8px;margin:auto 0 18px;display:flex}.history-meta span{border:1px solid var(--line);border-radius:999px;padding:6px 8px;font-size:10px}.history-file{border-top:1px solid #e6e5dd;align-items:center;gap:11px;margin-bottom:14px;padding:14px 0;display:flex}.mini-file{background:var(--coral-pale);color:#a34b38;border-radius:6px 11px 6px 6px;place-items:center;width:37px;height:41px;font:800 8px/1 Manrope;display:grid}.history-file>div:last-child{flex-direction:column;min-width:0;display:flex}.history-file strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.history-file small{color:var(--ink-soft);font-size:9px}.empty-history{text-align:center;border:1px dashed #b7c0bc;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;min-height:480px;padding:40px;display:flex}.empty-history h2{margin:25px 0 8px;font-size:28px}.empty-history p{max-width:440px;color:var(--ink-soft)}.empty-illustration{background:var(--aqua-pale);border:2px solid #9dc8c0;border-radius:14px 30px 14px 14px;place-items:center;width:100px;height:86px;display:grid;transform:rotate(-3deg)}.empty-illustration span{background:var(--navy);color:#fff;border-radius:50%;place-items:center;width:36px;height:36px;font-size:22px;display:grid}.history-loading{grid-template-columns:repeat(3,1fr);gap:17px;display:grid}.history-skeleton{background:linear-gradient(100deg,#eceae2 20%,#f8f6ef 40%,#eceae2 60%) 0 0/200% 100%;border-radius:22px;height:330px;animation:1.3s infinite shimmer}@keyframes shimmer{to{background-position-x:-200%}}.history-error,.floating-error{max-width:1180px;margin:0 auto 20px}footer{width:min(1180px,100% - 48px);color:var(--ink-soft);border-top:1px solid #142b351f;justify-content:space-between;gap:20px;margin:auto auto 0;padding:25px 0 30px;font-size:11px;display:flex}footer span{color:var(--ink);font-weight:800}footer p{margin:0}.app-loading{background:var(--cream);min-height:100vh;color:var(--ink-soft);place-content:center;place-items:center;display:grid}.history-loading-page{min-height:55vh;color:var(--ink-soft);place-items:center;display:grid}.loading-mark{background:var(--navy);color:#fff;width:62px;height:62px;box-shadow:7px 7px 0 var(--aqua);border-radius:20px;place-items:center;animation:1.2s ease-in-out infinite alternate breathe;display:grid}.loading-mark span{font:800 24px/1 Manrope}.app-loading p{margin:24px 0 0}@keyframes breathe{to{transform:translateY(-6px)rotate(2deg)}}@media (width<=920px){.app-header{width:min(100% - 32px,1180px)}.user-copy{display:none}.auth-shell,.upload-layout{grid-template-columns:1fr;gap:45px}.auth-shell{margin-top:35px}.upload-layout{padding-top:50px}.upload-copy h1{max-width:760px}.analysis-grid{grid-template-columns:1fr 1fr}.analysis-main-card{grid-area:auto/span 2}.history-grid,.history-loading{grid-template-columns:repeat(2,1fr)}}@media (width<=650px){.app-header{flex-wrap:wrap;gap:10px;height:auto;min-height:76px;padding:13px 0}.brand>span:last-child,.signout-button{display:none}.app-header nav{order:3;justify-content:center;width:100%}.user-menu{margin-left:auto;padding-left:12px}.auth-shell,.upload-layout,.results-shell,.history-shell{width:min(100% - 28px,1180px)}.auth-shell{gap:25px}.auth-note{padding-top:12px}.auth-note h2,.upload-copy h1,.results-hero h1,.history-heading h1{font-size:38px}.auth-card{border-radius:22px;padding:24px}.upload-layout{padding-top:38px}.upload-card{border-radius:22px;padding:15px}.dropzone{min-height:280px;padding:22px}.results-hero,.history-heading{display:block}.results-hero .secondary-button,.history-heading .primary-button{margin-top:12px}.analysis-grid{grid-template-columns:1fr}.analysis-main-card{grid-column:auto}.analysis-card-heading{display:block}.saved-badge{margin-bottom:17px;display:inline-block}.practice-heading{align-items:center}.practice-heading h2{font-size:30px}.exercise-card{grid-template-columns:1fr;gap:14px;padding:20px}.exercise-number{width:42px;height:42px}.exercise-actions{flex-wrap:wrap}.finish-card{grid-template-columns:auto 1fr}.finish-card .secondary-button{grid-column:span 2}.history-grid,.history-loading{grid-template-columns:1fr}footer{text-align:center;width:min(100% - 28px,1180px);display:block}footer p{margin-top:7px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
