@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#19334e;--muted:#61758a;--paper:#f4f7fb;--blue:#164e7f;--gold:#d2a052;--line:#dce5ee;--white:#fff;--soft:#eaf1f8;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b58123;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:'Manrope',system-ui,sans-serif}h1{font-size:36px;line-height:1.2;letter-spacing:-1.2px;font-weight:800}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px;line-height:1.45}p{line-height:1.65}small{line-height:1.6}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:800}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:12px 18px;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none;min-height:44px;transition:background .15s,transform .15s}.btn:hover{background:#edf3f9;transform:translateY(-1px)}.btn.primary{background:var(--blue);color:white;border-color:var(--blue)}.btn.primary:hover{background:#103d65}.btn.gold{background:var(--gold);color:#142e49;border-color:var(--gold)}.btn.ghost{background:transparent;border-color:transparent}.btn.small{padding:8px 12px;min-height:38px;font-size:12px}.btn.danger{color:#a03128}.icon{width:19px;height:19px;flex:none;vertical-align:middle}.pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;letter-spacing:.4px;font-weight:700;padding:5px 9px;border-radius:5px;white-space:nowrap;background:var(--soft);color:#245c89}.pill.gold{background:#f9f0d8;color:#856322}.pill.outline{border:1px solid #7596b4;background:transparent;color:#e8f1fb}.tagline{font-size:11px;color:#718397}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:14px}.skip:focus{top:10px}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:24px 18px;z-index:10}.brand{display:flex;justify-content:center;align-items:center;height:134px;overflow:hidden}.brand img{width:202px;height:auto;object-fit:contain}.side-label{font-size:10px;color:#718397;letter-spacing:1.7px;padding:22px 15px 14px;font-weight:700}.nav-btn{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 16px;margin-bottom:7px;border:0;border-radius:8px;background:transparent;font-size:13px;color:#60738a;font-weight:600;min-height:47px}.nav-btn:hover{background:#f0f5fa}.nav-btn.active{background:#e8f0f8;color:#164e7f}.side-footer{margin-top:auto;padding:18px 12px 0;border-top:1px solid var(--line)}.side-footer p{font-size:11px;color:#65788c;margin-bottom:16px}.avatar{background:#e3edf7;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:12px;font-weight:700;flex:none}.profile b{font-size:12px}.profile small{font-size:10px;color:#65788c;display:block}.shell{margin-left:238px}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.8)}.crumb{font-size:12px;color:#718195}.crumb b{color:#37516c;font-weight:500}.topbar-right{font-size:11px}.private-dot{width:6px;height:6px;background:#c79343;border-radius:50%;display:inline-block}.content{max-width:1320px;margin:0 auto;padding:34px 40px 28px}.intro{margin-bottom:26px}.intro h1{margin-bottom:9px}.intro p{font-size:13px;margin:0}.hero{border-radius:14px;background:var(--blue);color:white;min-height:265px;position:relative;overflow:hidden;padding:33px 36px;margin-bottom:24px;display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.hero h2{font-size:30px;line-height:1.25;max-width:430px;margin:17px 0 13px;letter-spacing:-.9px}.hero p{color:#d2e2f1;font-size:12px;max-width:340px;margin-bottom:22px}.hero-art{position:absolute;inset:0 0 0 52%;pointer-events:none;opacity:.9}.hero-art svg{height:100%;width:100%}.hero-copy{position:relative;z-index:1}.hero-label{position:absolute;right:29px;bottom:24px;color:#dcc092;font:10px monospace;letter-spacing:2px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 21px;display:flex;align-items:center;gap:15px}.stat-icon{display:grid;place-items:center;width:40px;height:40px;background:#edf3fa;color:#285e8b;border-radius:10px}.stat b{font-size:22px;font-family:Manrope,system-ui}.stat span{font-size:11px;color:#63758a;display:block;margin-top:2px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:16px}.section-head h2{margin:0}.section-head p{margin:5px 0 0;font-size:12px;color:var(--muted)}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.module{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px;text-align:left;display:flex;flex-direction:column;min-height:202px;transition:border-color .15s,transform .15s}.module:hover{border-color:#b58d4d;transform:translateY(-3px)}.module-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.module-num{font-size:10px;letter-spacing:1px;color:#647990}.module h3{margin:0 0 7px;font-size:15px}.module p{font-size:11px;line-height:1.7;color:#677b90;margin:0 0 18px}.module-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#5a7189;margin-top:auto;padding-top:13px;border-top:1px solid #e8eef5}.module-glyph{width:32px;height:32px;display:grid;place-items:center;background:#eef4fa;border-radius:8px;color:#2f648f}.progress{height:5px;background:#e5edf6;border-radius:10px;overflow:hidden}.progress>span{display:block;height:100%;background:#c99848;border-radius:10px;transition:width .2s}.prototype-note{margin-top:28px;padding-top:17px;border-top:1px solid var(--line);font-size:11px;color:#65798e;display:flex;align-items:center;gap:8px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.field{display:block;font-size:12px;font-weight:600;margin-bottom:18px}.field input,.field select,.field textarea,.filters input,.filters select{display:block;width:100%;margin-top:8px;border:1px solid #ccd9e6;background:#fff;border-radius:7px;min-height:46px;padding:11px 13px;color:var(--ink)}.field textarea{min-height:95px;resize:vertical}.field small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.filters input{margin:0;flex:1;min-width:160px}.filters select{margin:0;width:auto}.resource-list{display:grid;gap:10px}.resource{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px 19px}.resource-icon{width:43px;height:48px;display:grid;place-items:center;background:#f5f0e1;color:#a4803e;border-radius:6px;flex:none}.resource-copy{flex:1;min-width:0}.resource-copy h3{font-size:13px;margin:0 0 5px;overflow-wrap:anywhere}.resource-copy p{font-size:10px;margin:0;color:#60768d}.resource-actions{display:flex;gap:5px;flex-wrap:wrap}.empty{text-align:center;padding:55px 25px;border:1px dashed #c8d7e6;border-radius:10px;background:#fff}.empty h3{margin:15px 0 7px}.empty p{color:var(--muted);font-size:13px;margin-bottom:0}.practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:26px}.practice-card{padding:28px}.practice-card h2{font-size:23px;margin:18px 0 10px}.practice-card p{font-size:13px;color:var(--muted)}.practice-meta{display:flex;gap:18px;padding:18px 0 23px;font-size:11px;color:#637990}.practice-card .btn{width:100%}.attempt{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.attempt:last-child{border:0}.score{font-size:18px;font-weight:800;color:#195786}.callout{border-left:3px solid var(--gold);background:#f7f4e9;padding:14px 17px;font-size:12px;color:#685d40;margin:18px 0;line-height:1.65}.admin-toolbar{display:flex;gap:8px;flex-wrap:wrap}.admin-sub{font-size:12px;margin:0 0 23px;color:var(--muted)}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:var(--blue);color:#fff;padding:60px 9%;display:flex;flex-direction:column;position:relative;overflow:hidden;justify-content:center}.login-story .eyebrow{color:#e6bd78}.login-story h1{font-size:clamp(37px,4vw,60px);line-height:1.15;margin:26px 0 24px;max-width:530px}.login-story h1 span{color:#edc47f}.login-story p{font-size:14px;color:#d2e2f1;max-width:400px}.login-story .hero-art{inset:40% -38% -30% 5%;opacity:.38}.login-story .row{margin-top:24px;font-size:11px;color:#dbe7f2;gap:20px}.login-panel{display:flex;align-items:center;justify-content:center;padding:42px 36px;background:#fff}.login-form{width:100%;max-width:370px}.login-logo{display:block;margin:0 auto 24px;width:250px;height:auto;object-fit:contain}.login-form h2{font-size:28px;margin:17px 0 8px}.login-form p{font-size:13px;color:var(--muted)}.login-form .btn.primary{width:100%;margin-top:4px}.role-tabs{display:flex;background:#eaf0f7;border-radius:7px;padding:4px;margin:23px 0}.role-tabs button{width:50%;border:0;background:none;border-radius:5px;padding:10px;font-size:12px;color:#5e7389}.role-tabs button.active{background:white;color:#164e7f;box-shadow:0 1px 5px #14385810;font-weight:700}.demo-code{font-size:11px;padding:12px 14px;margin:18px 0;background:#faf3e7;border-radius:7px;color:#77705a;line-height:1.7}.error{font-size:12px;color:#a3372f;margin:10px 0;line-height:1.5}.login-foot{font-size:10px!important;margin-top:24px;line-height:1.8!important}.mobile-brand,.mobile-menu{display:none}dialog{border:1px solid var(--line);border-radius:15px;padding:0;width:min(730px,calc(100% - 30px));max-height:88vh;box-shadow:0 20px 90px #071b2a38;color:var(--ink)}dialog::backdrop{background:#102a45d9;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;border-bottom:1px solid var(--line);gap:12px;position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:19px;margin:0}.modal-body{padding:27px 28px}.modal-body p,.modal-body li{font-size:13px;line-height:1.8}.modal-body h3{margin-top:25px}.modal-body .resource{padding:14px;margin-top:10px}.modal-body .source{font-size:11px;color:#647c94}.close{border:0;background:#edf2f8;width:34px;height:34px;border-radius:50%;font-size:20px;flex:none}.lesson-block{background:#f1f5fa;border-radius:9px;padding:16px 20px;margin:15px 0}.lesson-block b{font-size:12px}.lesson-block p{margin:5px 0 0}.options{display:grid;gap:10px;margin:22px 0}.answer{padding:15px;border:1px solid #d4e0ec;background:white;border-radius:9px;text-align:left;display:flex;gap:12px;font-size:13px;align-items:center}.answer.selected{border-color:#286393;background:#eaf2fa}.answer-letter{border:1px solid #ccdce9;width:27px;height:27px;display:grid;place-items:center;border-radius:5px;font-size:11px;flex:none}.answer.selected .answer-letter{background:var(--blue);color:white;border-color:var(--blue)}.question-nav{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.question-nav button{width:32px;height:32px;border:1px solid var(--line);border-radius:5px;background:white;font-size:11px}.question-nav button.filled{background:#e1edf8}.question-nav button.current{background:var(--blue);color:white}.quiz-title{font-size:19px!important;line-height:1.6!important;margin:18px 0}.review{padding:15px 0;border-top:1px solid var(--line)}.review h3{font-size:13px;margin:0 0 8px}.review p{font-size:12px;margin:5px 0}.good{color:#195786}.bad{color:#a3372f}.big-score{font-size:56px;font-family:Manrope,system-ui;font-weight:800;color:var(--blue);text-align:center;margin:5px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .field{margin:0 0 18px}.check{font-size:12px;display:flex;align-items:center;gap:9px;margin:15px 0}.check input{width:17px;height:17px;accent-color:var(--blue)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);background:var(--blue);color:white;padding:13px 21px;border-radius:9px;box-shadow:0 5px 25px #15395725;z-index:99;font-size:12px;opacity:0;transition:.2s;pointer-events:none;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.storage-warning{background:#f9dddd;color:#832c23;padding:14px;font-size:13px}.footer-link{font-size:11px;color:#4e6f8e}.no-margin{margin:0!important}
@media(min-width:1450px){.content{padding-top:43px}.hero{min-height:290px}.module{min-height:225px}}
@media(max-width:1120px){.sidebar{width:207px;padding:20px 12px}.shell{margin-left:207px}.content{padding:28px}.topbar{padding:0 28px}.hero{padding:28px}.hero h2{font-size:27px}.module-grid{grid-template-columns:repeat(2,1fr)}.stat{padding:16px;gap:10px}.stat-icon{width:32px}.stat span{font-size:10px}.resource-actions .btn{padding:8px}}
@media(max-width:760px){.sidebar{display:none;top:66px;bottom:0;width:260px;box-shadow:12px 0 35px #102e4b26}.sidebar.open{display:flex}.sidebar .brand{display:none}.shell{margin-left:0}.topbar{height:66px;padding:0 20px;position:sticky;top:0;z-index:10;background:#fff}.crumb{display:none}.mobile-brand{display:block;font-size:14px;font-weight:800;letter-spacing:2px}.mobile-brand small{display:block;letter-spacing:1px;font-size:8px;color:#977a3e}.mobile-menu{display:block;border:0;background:none;padding:8px;margin-left:-8px}.topbar-right .mode-text{display:none}.content{padding:25px 20px}.intro h1{font-size:29px}.intro{margin-bottom:20px}.hero{padding:25px;display:block;min-height:255px}.hero h2{font-size:26px;max-width:290px}.hero p{max-width:230px}.hero-art{inset:10% -38% -5% 40%;opacity:.32}.hero-label{display:none}.stats{gap:8px;margin-bottom:26px}.stat{display:block;padding:14px 10px;text-align:center}.stat-icon{display:none}.stat b{font-size:23px}.stat span{font-size:9px;line-height:1.6}.module-grid{gap:11px}.module{padding:16px;min-height:202px}.module h3{font-size:13px}.module p{font-size:10px}.module-num{font-size:9px}.module-bottom{font-size:9px}.module .pill{font-size:8px}.module-top{margin-bottom:18px}.section-head h2{font-size:19px}.section-head{align-items:flex-start}.practice-grid{grid-template-columns:1fr}.resource{padding:14px 12px;gap:10px;flex-wrap:wrap}.resource-icon{width:32px;height:39px}.resource-actions{margin-left:auto}.resource-copy h3{font-size:12px}.resource-copy p{font-size:9px}.filters{gap:8px}.filters input{flex-basis:100%}.filters select{flex:1;width:0;font-size:12px}.login{grid-template-columns:1fr}.login-story{padding:35px 30px 32px;min-height:260px}.login-story h1{font-size:33px;margin:16px 0}.login-story p{font-size:12px;margin:0}.login-story .row{display:none}.login-panel{padding:18px 28px 35px}.login-logo{width:210px;height:auto;margin:12px auto 24px}.login-form h2{font-size:24px;margin-top:0}.role-tabs{margin:20px 0}.modal-head{padding:18px 20px}.modal-head h2{font-size:17px}.modal-body{padding:22px 20px}.form-grid{grid-template-columns:1fr;gap:0}.prototype-note{line-height:1.7;align-items:flex-start}.admin-toolbar{margin-bottom:10px}.admin-head{display:block}.admin-head .admin-toolbar{margin-top:18px}.card{padding:20px}.login-story .hero-art{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.course-text{white-space:pre-line;font-size:13px;line-height:1.75}.course-text h3{white-space:normal;margin:15px 0 0;font-size:15px}
.assessment-feature{display:flex;justify-content:space-between;gap:30px;margin-bottom:28px;background:#edf3fa;border-color:#cad9e8}.assessment-feature h2{font-size:25px;margin:17px 0 10px}.assessment-feature p{font-size:13px;color:var(--muted);margin-bottom:0;max-width:530px}.assessment-feature .practice-meta{padding-bottom:0}.assessment-feature-actions{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:185px}.assessment-modules{display:grid;gap:12px}.assessment-module{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.assessment-module>summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:19px 22px;list-style:none;font-size:12px}.assessment-module>summary::after{content:'+';font-size:22px;color:#6483a0}.assessment-module[open]>summary::after{content:'−'}.assessment-module>summary>span:first-child{flex:1}.assessment-module summary small{display:block;font-size:10px;color:#637d96;letter-spacing:.4px;margin-bottom:5px}.assessment-module summary strong{font-size:14px}.assessment-module>.resource-list{padding:0 16px 17px}.assessment-module .resource{background:#f8fafd}.assessment-note{font-size:11px;color:var(--muted);margin:17px 0}.assessment-time{font-size:12px;font-weight:600;color:#526f8a}.assessment-mode{border:1px solid var(--line);border-radius:8px;padding:17px 20px;margin:18px 0}.assessment-mode legend{font-size:12px;font-weight:700;padding:0 8px}.assessment-mode small{font-size:11px;color:var(--muted)}.assessment-question-map{border-top:1px solid var(--line);padding-top:17px;margin-top:23px}.assessment-question-map summary{font-size:12px;cursor:pointer;font-weight:600}.assessment-question-map small{font-size:10px;color:var(--muted)}.question-nav button.flagged{border:2px solid #b78b35}.assessment-bottom{border-top:1px solid var(--line);margin-top:18px;padding-top:13px}.assessment-result-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center;margin:20px 0}.assessment-result-counts>span{background:#edf3fa;border-radius:8px;padding:14px;font-size:11px;color:#59758e}.assessment-result-counts b{display:block;font-size:23px;color:var(--ink);margin-bottom:5px}
@media(max-width:760px){.assessment-feature{display:block}.assessment-feature-actions{margin-top:22px}.assessment-feature h2{font-size:23px}.assessment-module>summary{padding:17px 16px}.assessment-module summary strong{font-size:13px}.assessment-module>.resource-list{padding:0 10px 12px}.attempt{gap:12px;align-items:flex-start}.attempt>div:first-child{min-width:0;overflow-wrap:anywhere}.attempt>.row{gap:7px}.attempt .score{font-size:16px}.assessment-note{line-height:1.7}.assessment-result-counts>span{padding:12px 6px}.assessment-bottom{gap:10px}}

/* Perrin blue-and-gold branding and the full student reference booklet. */
.hero,.login-story{background:linear-gradient(125deg,#123c65 0%,#164e7f 62%,#1c5d92 100%)}
.nav-btn.active{box-shadow:inset 3px 0 0 var(--gold)}
.mobile-brand{color:var(--blue)}
.course-reference{display:flex;align-items:center;gap:16px;padding:20px 24px;margin-bottom:24px;border:1px solid #e5d4b3;border-left:4px solid var(--gold);border-radius:10px;background:#fffdf8}
.course-reference .reference-icon{width:44px;height:48px;display:grid;place-items:center;flex:none;background:#f6ecd9;color:var(--blue);border-radius:8px}
.course-reference .reference-copy{flex:1;min-width:0}
.course-reference h2{font-size:17px;margin:0 0 5px;letter-spacing:-.3px}
.course-reference p{font-size:13px;margin:0;color:var(--muted)}
@media(max-width:760px){.course-reference{padding:17px 16px;gap:12px;flex-wrap:wrap}.course-reference .reference-copy{flex-basis:calc(100% - 60px)}.course-reference h2{font-size:16px}.course-reference .btn{width:100%}.course-reference p{font-size:12px}}

.answer-feedback{margin-top:16px;padding:16px;border-left:3px solid #b58a38;background:#f4f7fb;border-radius:4px;color:#24394f}.answer-feedback p{margin:0 0 10px}.answer-feedback ul{margin:0;padding-left:20px}.answer-feedback li{margin:8px 0;overflow-wrap:anywhere}.answer-feedback a{color:#164e7f;text-decoration:underline}.answer-feedback small{font-size:12px}
