:root{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:#183b4a;background:#f3f7f8;font-size:16px;line-height:1.6;--teal:#186b80;--line:#d6e2e7}*{box-sizing:border-box}body{margin:0}header{background:#fff;min-height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:18px max(24px,calc((100vw - 1260px)/2));gap:16px}a{color:var(--teal);text-underline-offset:4px}button,a.btn{font:inherit;cursor:pointer;border:1px solid #bdced6;border-radius:10px;padding:10px 18px;background:white;color:#245062;text-decoration:none;display:inline-block}button:hover,a.btn:hover{background:#e9f3f6}button:disabled{opacity:.6;cursor:wait}.primary{background:var(--teal)!important;color:white!important;border-color:var(--teal)!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bb9331;outline-offset:3px}.brand{display:flex;align-items:center;gap:12px;color:#163d4e;text-decoration:none;font-size:24px;font-weight:700;white-space:nowrap}.brand small{font-size:13px;font-weight:400;color:#687f88}.coin-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f4dd98;color:#84641d;border:3px double #ad8932}.demo{background:#fff1cc;color:#715417;text-align:center;padding:8px;font-size:13px}#nav{max-width:1260px;margin:24px auto 0;display:flex;gap:8px;padding:0 24px}#nav button.active{background:var(--teal);color:white}main{max-width:1260px;margin:24px auto 50px;padding:0 24px;min-height:60vh}h1{font-size:30px;line-height:1.3;margin:8px 0 16px}h2{font-size:21px;margin:0 0 16px}h3{font-size:17px}p{margin:8px 0 16px}.eyebrow{font-size:12px;letter-spacing:2px;color:#668694;margin-bottom:8px}.muted,small{color:#647e89}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:26px;margin:20px 0;box-shadow:0 5px 20px #24485a05}.login{max-width:490px;margin:65px auto}.login h1{font-size:28px}.login label{display:block;margin:18px 0}.login input{width:100%;margin-top:7px}input,select,textarea{font:inherit;border:1px solid #bacdd5;background:#fff;border-radius:8px;padding:10px 12px;min-height:44px;max-width:100%;color:#183b4a}textarea{width:100%;min-height:140px}.filters,.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}.filters label{display:flex;flex-direction:column;gap:6px;font-size:13px}.filters input,.filters select{min-width:140px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:25px 0;gap:18px}.metric{border-left:3px solid #9abbc9;padding-left:16px}.metric strong{display:block;font-size:30px;line-height:1.3;color:#183b4a}.metric small{font-size:12px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.task{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;align-items:start}.task h3{margin:8px 0;font-size:18px}.task .btn{margin-top:auto}.badge{background:#eaf3f4;color:#2f6673;border-radius:5px;padding:2px 8px;font-size:12px}.report-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin-bottom:18px}.legend span:before{content:'';display:inline-block;width:9px;height:9px;margin-right:5px;background:var(--color)}.bar{display:flex;min-height:28px;background:#e8edf0;margin:4px 0 16px;overflow:hidden;border-radius:4px}.bar span{display:grid;place-items:center;color:white;font-size:13px}.bar span:last-child{color:#3d5964}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th,td{padding:13px 12px;border-bottom:1px solid #e2eaee;vertical-align:top}th{background:#eef4f6;color:#4b6e7d;font-size:12px}td small{display:block}.notice{padding:14px 18px;background:#f0f5f7;border-radius:8px;margin:18px 0}.notice.warn{background:#fff4d7;color:#786128}details{margin:14px 0;border:1px solid var(--line);border-radius:8px;padding:14px}summary{cursor:pointer;font-weight:600}.trajectory{font-size:13px;line-height:1.8}.trajectory li{margin-bottom:8px}.good{color:#14705c}.bad{color:#ae514f}footer{border-top:1px solid var(--line);padding:25px;text-align:center;font-size:12px;color:#6e8691}footer a{display:block}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#773e35;color:white;padding:15px 24px;border-radius:12px;z-index:1000}.credentials{font-family:ui-monospace,monospace;white-space:pre-wrap;background:#f2f6f8;padding:20px;overflow:auto}.empty{padding:40px;text-align:center;color:#708996}#account{font-size:13px;display:flex;align-items:center;gap:12px}@media(max-width:850px){.cards{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:1fr}.brand small{display:none}}@media(max-width:550px){header{padding:14px;flex-wrap:wrap}.brand{font-size:21px}main{padding:0 14px}#nav{padding:0 14px}.panel{padding:18px}.cards{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}h1{font-size:25px}button,a.btn{padding:9px 13px}}

.profile-scope{border-left:3px solid var(--teal);padding-left:14px}.profile-sample-summary{display:flex;flex-wrap:wrap;gap:8px 22px;border:1px solid var(--line);border-radius:10px;background:#f5f9fa;padding:13px 16px;font-size:13px;margin:20px 0}.profile-sample-summary b{font-size:16px;color:#186b80}.profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.profile-card{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--line);border-top:3px solid #5b9da7;border-radius:12px;background:#fcfefe}.profile-card h3{margin:0 0 5px;font-size:18px}.profile-card p{margin:0 0 12px}.profile-metric{font-size:12px;color:#607d87;min-height:38px}.profile-value{display:flex;flex-wrap:wrap;gap:2px 5px;align-items:baseline;margin:0 0 12px}.profile-value strong{font-size:27px;line-height:1.3;color:#186b80;overflow-wrap:anywhere}.profile-value span{font-size:13px;color:#647e89}.profile-label{font-size:13px}.profile-label b{display:inline-block;color:#245e6a;background:#e9f3f4;padding:2px 7px;border-radius:5px}.profile-sample{font-size:12px;color:#647e89}.profile-support{font-size:13px;line-height:1.7}.profile-support b{font-size:12px;color:#54737f}.profile-formula{margin:auto 0 0;padding:10px;font-size:12px;background:#f5f9fa}.profile-formula p{margin:8px 0 0}.profile-formula summary{font-weight:500}.profile-insufficient{border-top-color:#b9cbd0;background:#f8fafb}.profile-insufficient .profile-value strong{font-size:21px;color:#647e89}.profile-applied-rule{font-size:13px;color:#53727c}.profile-settings{background:#fbfdfd;padding:17px;margin:20px 0}.profile-settings>summary{color:var(--teal)}.profile-settings>p{margin-top:14px}.profile-settings fieldset{border:0;padding:0;margin:0;min-width:0}.profile-settings legend{font-weight:600;font-size:14px;margin-bottom:10px;overflow-wrap:anywhere}.profile-name{display:flex;flex-direction:column;gap:6px;max-width:580px;font-size:13px;margin:15px 0}.threshold-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.threshold-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--line);border-radius:9px;padding:14px;background:white;min-width:0}.threshold-row h4{grid-column:1/-1;margin:0;font-size:14px}.threshold-row label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:0}.threshold-row input{width:100%;min-width:0}.profile-settings .actions{margin-bottom:0}.profile-settings .actions span{font-size:12px}.tracking-state{font-size:13px;margin-bottom:0}.profile-auxiliary table{min-width:560px}summary:focus-visible{outline:3px solid #bb9331;outline-offset:3px}@media(max-width:1050px){.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metric{min-height:0}}@media(max-width:650px){.threshold-grid{grid-template-columns:1fr}.profile-sample-summary{gap:8px 16px}.profile-value strong{font-size:25px}.profile-settings{padding:13px}}@media(max-width:550px){.profile-grid{grid-template-columns:1fr}.profile-card{padding:16px}.profile-value strong{font-size:29px}.profile-insufficient .profile-value strong{font-size:21px}#workspace .filters label{max-width:100%;min-width:0}#workspace .filters select,#workspace .filters input{min-width:0;width:100%}#workspace .filters label:has(#studentSelect),#workspace .filters label:has(#trackBook),#workspace .filters label:has(#trackChapter){width:100%}}

/* Book entry and chapter navigation. Existing report and account flows remain intact. */
:root{--ink:#173c47;--soft:#eef5f4;--gold:#ebce82}body{background:#f5f8f8}.brand-name{display:flex;flex-direction:column;line-height:1.25}.brand-name small{display:block;font-size:10px;letter-spacing:1.2px;margin-top:6px}.coin-mark{border-radius:13px;background:#e6f2ef;color:#216a6b;border:1px solid #bbd8d1;width:43px;height:45px;font-family:serif;font-size:26px}.home-login-link{font-size:13px;font-weight:600;text-decoration:none;border-bottom:1px solid #b9cecc;padding:5px 0}.home-login-link span{margin-left:13px}.public-home #nav{display:none}.public-home main{margin-top:26px}.home-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;color:#739088;font-size:12px;letter-spacing:.7px}.section-tag{color:#276869;border-left:3px solid #c7a85a;padding-left:10px;font-weight:600;font-size:13px}.entry-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:24px;align-items:stretch}.learning-hero{position:relative;overflow:hidden;border-radius:20px;background:#155a60;color:#f9f9ef;padding:48px 43px 30px;min-height:490px;display:flex;flex-direction:column;isolation:isolate}.learning-hero .eyebrow{color:#9dc9bf;font-size:10px;letter-spacing:2px;z-index:1}.learning-hero h1{font-size:43px;line-height:1.32;letter-spacing:1px;margin:20px 0;z-index:1}.hero-description{font-size:15px;line-height:1.9;color:#d9e9e3;max-width:410px;z-index:1}.hero-stats{display:flex;gap:35px;margin:17px 0 27px;z-index:1}.hero-stats>div{display:flex;flex-direction:column;gap:3px}.hero-stats strong{font-size:32px;font-weight:500;color:#f2d990;line-height:1.2}.hero-stats span{font-size:12px;color:#c9dfd6}.hero-caption{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff27;padding-top:20px;margin-top:auto;font-size:12px;color:#cfe3db;z-index:1}.tiny-coin{color:#edcf83;font-size:21px}.hero-orbit{position:absolute;width:330px;height:330px;right:-95px;top:65px;z-index:0;opacity:.22;transform:rotate(-24deg)}.hero-orbit span{display:block;position:absolute;inset:42px 5px;border:1px solid #acd7c9;border-radius:50%}.hero-orbit span:nth-child(2){transform:rotate(60deg)}.hero-orbit span:nth-child(3){transform:rotate(120deg)}.hero-orbit:after{content:'';position:absolute;width:14px;height:14px;top:89px;right:25px;background:#edcf83;border-radius:50%}.hero-orbit i{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;font-family:Georgia,serif;font-size:55px;color:#b7dcd0;transform:rotate(24deg)}.entry-login.panel{margin:0;padding:35px 32px;border-radius:20px;background:#fff;border-color:#dce6e4;box-shadow:none}.entry-login h2{font-size:24px;margin:13px 0 12px;letter-spacing:.3px}.entry-login>.muted{font-size:13px;line-height:1.8;max-width:300px}.entry-login form{margin-top:25px}.entry-login label{display:block;font-size:13px;color:#4a6870;margin:15px 0}.entry-login input{display:block;width:100%;margin-top:8px;padding:12px 14px;border-color:#d7e2e0;border-radius:9px;background:#fbfdfc;font-size:14px}.entry-login button{width:100%;margin-top:9px;padding:12px 18px;text-align:left;display:flex;justify-content:space-between;border-radius:9px;font-size:14px}.entry-login .primary{background:#1c7074!important;border-color:#1c7074!important}.login-help{font-size:11px;line-height:1.9;color:#748b90;margin:17px 0 0}.demo-accounts{font-size:12px;background:#fffcf3}.home-section{margin-top:42px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:18px}.section-heading h2{margin:0;font-size:22px;letter-spacing:.2px}.section-heading .eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:5px}.section-heading>.muted{font-size:12px;margin:0;line-height:1.8}.learning-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.learning-steps article{display:flex;align-items:center;gap:14px;padding:21px 22px;border:1px solid #dce6e3;border-radius:12px;background:#fff}.step-number{font-family:Georgia,serif;font-size:25px;color:#b0bbb1}.learning-steps h3{margin:0 0 4px;font-size:17px}.learning-steps p{font-size:11px;color:#6d8485;margin:0}.step-glyph{color:#608c85;font-size:24px;margin-left:auto}.book-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.chapter-overview{position:relative;display:flex;flex-direction:column;min-height:160px;padding:22px;border:1px solid #dbe5e2;border-radius:12px;background:#f0f5f1}.chapter-index{font-size:11px;color:#6b8b80;letter-spacing:1px}.chapter-overview h3{font-size:16px;margin:13px 0 18px;line-height:1.6}.chapter-overview p{margin:auto 0 0;font-size:11px;color:#6c827c}.chapter-overview p strong{font-size:15px;color:#456e63}.chapter-overview p>span{float:right;color:#7a9d91;font-size:17px}.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:28px 0 12px;border-top:1px solid #dce5e3}.audience-grid article{display:flex;align-items:flex-start;gap:15px}.audience-icon{flex-shrink:0;background:#e5eeea;border-radius:10px;width:38px;height:38px;display:grid;place-items:center;color:#497a6c;font-size:16px;font-family:serif}.audience-grid h3{font-size:14px;margin:0 0 6px}.audience-grid p{font-size:12px;color:#728583;line-height:1.85;margin:0;max-width:425px}.public-home footer{font-size:11px;background:#edf3f1;color:#6c8782;line-height:1.9}.public-home footer a{margin-top:6px}.task-chapter{margin-top:26px}.task-chapter-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:14px;border-bottom:1px solid #d6e2e7;padding-bottom:12px}.task-chapter-heading h2{font-size:19px;margin:0}.task-chapter-heading>span{font-size:12px;color:#70838c}.task{border-top:3px solid #aacac3}.task h3{line-height:1.5}.library-heading{margin-bottom:14px}.library-total{background:#e8f2ef;padding:5px 12px;border-radius:6px;font-size:13px;color:#367369;white-space:nowrap}.chapter-library{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.chapter-choice{display:flex;flex-direction:column;align-items:start;text-align:left;padding:16px;background:#f7faf9;border-color:#dce6e4;border-radius:10px;min-width:0;gap:7px}.chapter-choice span{font-family:Georgia,serif;font-size:23px;color:#9eada7;line-height:1}.chapter-choice strong{font-size:13px;line-height:1.6}.chapter-choice small{font-size:11px}.chapter-choice.selected{border-color:#3c8984;background:#edf7f3;box-shadow:inset 0 0 0 1px #3c8984}.chapter-choice.selected span{color:#2d7e77}.chapter-choice:hover{background:#edf5f2}#assign .filters label{min-width:0;flex:1}#assign .filters select{width:100%;min-width:0}#assign>label{display:block;font-size:13px}#assign>label>input{display:block;margin-top:7px;width:min(100%,550px)}#contentInfo{font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}#contentInfo .btn{font-size:12px}#nav{flex-wrap:wrap}#account{flex-wrap:wrap}#account>span{overflow-wrap:anywhere}
@media(max-width:1000px){.learning-hero{padding:36px 30px}.learning-hero h1{font-size:36px}.hero-stats{gap:28px}.entry-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:18px}.entry-login.panel{padding:29px 24px}.learning-steps article{padding:18px 15px;gap:10px}.step-glyph{display:none}.book-map,.chapter-library{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-overview{min-height:145px}.brand small{display:block}}
@media(max-width:700px){.entry-grid{grid-template-columns:1fr}.learning-hero{min-height:410px;padding:32px 28px 25px}.learning-hero h1{font-size:36px;margin:16px 0}.hero-description{max-width:380px}.hero-orbit{right:-70px;top:20px}.entry-login.panel{padding:28px}.entry-login>.muted{max-width:none}.entry-login form{margin-top:20px}.home-intro>span:last-child{display:none}.section-heading{align-items:flex-start;flex-direction:column;gap:10px}.section-heading>.muted br{display:none}.learning-steps{grid-template-columns:1fr;gap:10px}.learning-steps article{padding:18px 22px;gap:18px}.step-glyph{display:block}.learning-steps p{font-size:12px}.section-heading h2{font-size:21px}.home-section{margin-top:32px}.audience-grid{grid-template-columns:1fr;gap:23px}.audience-grid p{max-width:none}.task-chapter-heading{align-items:flex-start;flex-direction:column;gap:5px}.library-heading{flex-direction:row;align-items:center}.library-heading h2{font-size:18px}.library-total{font-size:11px}.chapter-choice{padding:14px}#assign .filters label{flex-basis:100%}}
@media(max-width:400px){.brand{font-size:19px;gap:9px}.brand-name small{font-size:8px}.coin-mark{width:36px;height:38px;font-size:23px}.home-login-link{font-size:12px}.learning-hero{padding:28px 24px}.learning-hero h1{font-size:32px}.hero-stats{gap:24px}.hero-caption{font-size:11px}.entry-login.panel{padding:24px}.chapter-overview{padding:17px;min-height:168px}.chapter-overview h3{font-size:14px}.library-heading{flex-wrap:wrap}.chapter-choice strong{font-size:12px}}
