/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
:root{--ink:#173044;--muted:#607482;--blue:#146dbe;--navy:#123e68;--line:#dce5eb;--paper:#f4f7f9;--green:#12694d;--orange:#996111;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;font-size:16px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,3.4vw,3rem);line-height:1.15;letter-spacing:-.045em;margin-bottom:20px}h2{font-size:1.5rem;line-height:1.3;letter-spacing:-.02em}h3{font-size:1.12rem;line-height:1.4}a{color:var(--blue);text-underline-offset:4px}a:hover{color:var(--navy)}button,input,textarea,select{font:inherit}button,input[type=submit],summary{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input:not([type=radio]):not([type=checkbox]):not([type=submit]),select,textarea{width:100%;padding:11px 13px;background:white;border:1px solid #bbcbd6;border-radius:9px;color:var(--ink)}input[type=radio],input[type=checkbox]{accent-color:var(--blue);width:19px;height:19px;flex-shrink:0}textarea{resize:vertical}label{font-weight:550}input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #e7a941;outline-offset:3px}fieldset{border:0;padding:0;margin:0;min-width:0}form{margin:0}.container{max-width:1240px;margin:auto;padding:32px 28px 64px}.site-header{min-height:88px;padding:18px max(28px,calc((100vw - 1184px)/2));display:flex;align-items:center;gap:36px;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:1.4rem;font-weight:800;text-decoration:none;line-height:1.25;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:1.7px;margin-top:5px;color:var(--muted)}.brand-mark{display:grid;place-items:center;background:var(--blue);color:white;border-radius:13px;width:45px;height:45px;font-size:1.7rem;font-weight:800}.site-header nav{display:flex;gap:26px;margin-left:auto;align-items:center}.site-header nav a{font-size:.92rem;color:var(--muted);text-decoration:none;font-weight:550;padding:8px 0}.site-header nav a.active{color:var(--blue);border-bottom:2px solid var(--blue)}.profile-pill{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:600;color:var(--ink);font-size:.9rem}.avatar{display:grid;place-items:center;width:82px;height:82px;background:#e0effc;color:#1768a6;border-radius:50%;font-size:2rem;font-weight:750}.avatar.maria{background:#f2e4ef;color:#93528a}.avatar.small{width:32px;height:32px;font-size:.9rem}.site-footer{max-width:1184px;margin:0 auto;border-top:1px solid var(--line);padding:24px 0 36px;display:flex;justify-content:space-between;gap:20px;font-size:.75rem;color:var(--muted)}.site-footer .text-button{font-size:.75rem}.hero{display:grid;grid-template-columns:1fr 235px;gap:50px;align-items:center;background:#e8f1f9;border:1px solid #d4e4f1;border-radius:24px;padding:44px 48px;margin-bottom:38px}.hero p{max-width:550px;color:#526d80;font-size:1.05rem}.eyebrow{font-size:.7rem;letter-spacing:1.5px;font-weight:750;color:var(--blue);display:block;margin-bottom:13px;text-transform:uppercase}.hero-progress{display:flex;flex-direction:column;align-items:center;gap:6px;padding:24px;border-radius:18px;background:#fff9;color:var(--muted)}.progress-number{font-size:4rem;line-height:1.2;font-weight:750;color:var(--navy);letter-spacing:-3px}.progress-number small{font-size:1.6rem;letter-spacing:0}.hero-progress small{font-size:.75rem}progress{display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#e3eaf0;accent-color:var(--blue)}progress::-webkit-progress-bar{background:#e3eaf0}progress::-webkit-progress-value{background:var(--blue);border-radius:8px}progress::-moz-progress-bar{background:var(--blue)}.hero-progress progress{margin:14px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--blue);border-radius:10px;background:var(--blue);color:white;font-size:.9rem;font-weight:650;line-height:1.4;padding:12px 19px;text-decoration:none;min-height:45px}.button:hover{background:#105b9f;color:white}.button.secondary{background:white;border-color:#c9d9e5;color:var(--navy)}.button.secondary:hover{background:#edf4fa}.button.compact{padding:8px 13px;min-height:36px;font-size:.8rem}.text-button{border:0;background:none;color:var(--blue);padding:6px 0;font-weight:600}.text-link{font-size:.88rem;font-weight:650;text-decoration:none}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 3px 12px #18334803}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.chapter-card{display:flex;flex-direction:column;min-height:295px}.chapter-card h3{margin:18px 0 8px}.chapter-card h3 a{color:var(--ink);text-decoration:none}.chapter-card p{font-size:.88rem}.chapter-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.75rem;gap:15px}.chapter-number{background:#eaf3fb;color:var(--blue);font-size:.88rem;font-weight:750;border-radius:9px;display:grid;place-items:center;width:38px;height:38px}.chapter-bottom{display:flex;align-items:center;gap:12px;margin-top:auto;margin-bottom:15px;font-size:.75rem;color:var(--muted)}.chapter-card .actions{justify-content:space-between}.muted{color:var(--muted)}.fine{font-size:.8rem}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:32px 0 23px}.section-heading h2,.section-heading h1{margin-bottom:8px}.section-heading .eyebrow{margin-bottom:7px}.search-form{display:flex;gap:8px;min-width:300px}.section-title{margin-top:38px;margin-bottom:22px}.annex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.annex{text-decoration:none}.annex h3{color:var(--ink)}.annex span{font-size:.84rem}.flash{padding:14px 20px;border-radius:10px;margin-bottom:22px;border:1px solid #c9deef;background:#e7f2fc;font-size:.9rem}.flash.alert{background:#fff3e2;border-color:#f1d6a5}.stack{display:flex;flex-direction:column;gap:16px}.stack>p:last-child,.card>p:last-child{margin-bottom:0}.spaced{margin-top:22px}.centered{text-align:center}.page-heading{margin:28px 0 36px}.page-heading p{color:var(--muted);max-width:730px}.centered p{margin-left:auto;margin-right:auto}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:780px;margin:40px auto 24px}.profile-card{display:flex;flex-direction:column;align-items:center;padding:36px;text-align:center}.profile-card h2{margin:22px 0 7px}.profile-card p{font-size:.9rem}.auth-card{max-width:480px;margin:40px auto;padding:38px}.auth-card h1{font-size:2.4rem}.breadcrumbs{font-size:.84rem;color:var(--muted)}.chapter-title{font-size:2.1rem}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.reader{padding:0;overflow:hidden}.reader-toolbar{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);flex-wrap:wrap}.inline-form{display:flex;align-items:center;gap:6px;font-size:.75rem}.inline-form input.page-input{max-width:70px;padding:5px}.pdf-frame{width:100%;height:78vh;min-height:500px;border:0;display:block;background:#e0e3e7}.pdf-note{padding:15px 20px;font-size:.75rem;color:var(--muted);margin:0}.reader-layout aside h2{font-size:1.25rem}.reader-layout aside .button{width:100%}.reader-layout aside{align-self:start}.reader-layout aside .text-link{display:block}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.stat-grid .card{display:flex;flex-direction:column}.stat{display:block;font-size:2.8rem;font-weight:750;letter-spacing:-2px;color:var(--navy);line-height:1.3}.stat-grid span{font-size:.88rem;color:var(--muted)}.history-item{display:flex;justify-content:space-between;gap:18px;align-items:center;text-decoration:none}.history-item h3{color:var(--ink);margin:0 0 5px}.badge{display:inline-block;padding:7px 12px;border-radius:8px;font-size:.8rem;background:#e9f2f9;color:var(--navy);font-weight:600}.success{background:#e8f5ee;color:var(--green)}.warning{background:#fff3dd;color:var(--orange)}.practice-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.practice-grid .card{padding:36px}.featured{border-top:4px solid var(--blue)}.practice-grid .stat-grid{grid-template-columns:1fr 1fr;margin:28px 0}.check-label{display:flex;align-items:center;gap:12px;font-size:.9rem}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.question-card{padding:35px}.question-card h2{font-size:1.55rem;margin:25px 0}.options{display:flex;flex-direction:column;gap:12px}.option{border:1px solid #d4e0e9;padding:16px;display:flex;align-items:center;gap:13px;border-radius:11px;font-size:.95rem;font-weight:450;cursor:pointer}.option:has(input:checked){border-color:var(--blue);background:#edf5fc}.option:has(input:disabled){cursor:default}.option-letter{font-size:.85rem;font-weight:700;color:var(--muted)}.feedback{padding:22px;border-radius:12px;margin-top:24px}.feedback p{font-size:.9rem}.quiz-layout aside{align-self:start}.question-map{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.question-dot{position:relative;text-align:center;padding:6px 0;border:1px solid var(--line);border-radius:7px;text-decoration:none;font-size:.85rem;color:var(--muted)}.question-dot.answered{background:#ddecf9;color:var(--blue)}.question-dot.current{outline:2px solid var(--navy);outline-offset:1px}.question-dot.flagged:after{content:"";position:absolute;right:2px;top:2px;width:6px;height:6px;border-radius:50%;background:#c17d22}.result-hero{padding:40px;background:#eaf3fa}.result-score{display:block;color:var(--blue);font-size:4.5rem;line-height:1.4;letter-spacing:-3px}.result-score small{font-size:1.4rem;letter-spacing:0;font-weight:500}.review-card h3{margin:18px 0}.review-card p{font-size:.92rem}.tutor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.tutor-layout aside{align-self:start;position:sticky;top:20px}.tutor-notice p{font-size:.85rem;margin:8px 0 0}.conversation-turn{display:flex;flex-direction:column;gap:15px}.bubble{padding:24px;border-radius:18px;max-width:95%}.bubble p{white-space:pre-line;margin:0 0 14px}.bubble.user{align-self:flex-end;background:#deecf9;min-width:40%}.bubble.assistant{align-self:flex-start;background:white;border:1px solid var(--line);width:100%}.bubble .eyebrow{font-size:.63rem}.source{box-shadow:none;padding:22px}.source .excerpt{font-size:.88rem;line-height:1.75;white-space:pre-line}.source h3{font-size:1rem}.source a{font-size:.85rem}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:0;left:0;background:white;padding:16px;z-index:20}summary{font-weight:600;font-size:.9rem}details[open]>summary{margin-bottom:10px}
.section-heading>div:first-child{flex:1;min-width:260px}.section-heading>.search-form{flex:0 1 430px}.search-form input[type=search]{min-width:0}.hero-progress .progress-number small{font-size:1.6rem}.inline-form label{white-space:nowrap}
@media(max-width:1000px){.site-header{gap:20px;padding:18px 24px;flex-wrap:wrap}.site-header nav{gap:19px}.brand small{display:none}.hero{padding:32px;gap:28px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-layout,.quiz-layout,.tutor-layout{grid-template-columns:minmax(0,1fr) 250px}.section-heading{align-items:flex-start;flex-wrap:wrap}.site-footer{margin:0 28px;flex-wrap:wrap}.tutor-layout aside{position:static}}
@media(max-width:720px){.container{padding:22px 18px 44px}.site-header{padding:14px 18px;gap:14px}.site-header nav{order:3;width:100%;justify-content:space-between;gap:10px;overflow-x:auto}.profile-menu{margin-left:auto}.site-header nav a{font-size:.84rem}.hero{grid-template-columns:1fr;padding:26px;gap:22px}.hero-progress{display:none}.hero h1{font-size:2rem}.chapter-grid,.annex-grid,.profile-grid,.practice-grid,.reader-layout,.quiz-layout,.tutor-layout{grid-template-columns:1fr}.chapter-card{min-height:245px}.section-heading{margin-top:24px}.section-heading h2{font-size:1.4rem}.search-form{width:100%;min-width:0}.reader-layout aside{display:grid;grid-template-columns:1fr}.pdf-frame{height:65vh;min-height:380px}.reader-toolbar{justify-content:center}.profile-card,.practice-grid .card,.question-card{padding:25px}.profile-grid{max-width:420px;gap:18px}.stat-grid{gap:10px}.stat-grid .card{padding:16px}.stat{font-size:2.1rem}.stat-grid span{font-size:.76rem}.history-item{align-items:flex-start;flex-direction:column}.history-item h3{font-size:1rem}.question-map{grid-template-columns:repeat(7,1fr)}.result-hero{padding:28px}.result-score{font-size:3.5rem}.bubble{max-width:100%;padding:20px}.page-heading{margin-top:20px}.auth-card{padding:27px}.site-footer{margin:0 18px;gap:9px}.chapter-title{font-size:1.8rem}.tutor-layout aside{grid-row:1}.tutor-layout select{font-size:.85rem}.option{padding:13px}.actions .button{font-size:.82rem}}
