:root{font-family:Nunito,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1b2f4e;background:#f3f7fd;font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0;min-width:320px}header{display:flex;align-items:center;justify-content:space-between;padding:25px 6vw;border-bottom:1px solid #d9e4f2;background:#fff;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:26px;letter-spacing:-.5px}.brand img{width:52px;height:47px;object-fit:contain;mix-blend-mode:multiply}.brand b{color:#1e4f96;font-weight:900}.brand span{color:#2b8fd9;font-weight:600}.header-note,.muted,footer{color:#5b6b82}main{max-width:1160px;margin:0 auto;padding:65px 30px;min-height:76vh}.login-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#2b8fd9}h1{font-size:clamp(34px,4vw,54px);line-height:1.15;letter-spacing:-2px;margin:24px 0}h2{font-size:28px;margin:0}.intro p{font-size:18px;max-width:450px}.categories{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}.categories span{border:1px solid #c9dbf0;border-radius:24px;padding:8px 15px;font-size:13px;background:#e8f2fd}.card{padding:34px;border:1px solid #d9e4f2;border-radius:20px;background:#fff;box-shadow:0 16px 45px #1b2f4e0d}.tabs{display:flex;padding:5px;border-radius:10px;background:#eaf2fc;margin:24px 0}button,input{font:inherit}button{cursor:pointer}.tabs button{flex:1;border:0;padding:10px;background:transparent;color:#2f4a72;border-radius:7px}.tabs button[aria-pressed=true]{background:#fff;box-shadow:0 2px 5px #1b2f4e15;font-weight:650}label{display:block;font-size:14px;font-weight:600;margin:16px 0 7px}input{width:100%;padding:12px;border-radius:8px;border:1px solid #c4d5ec;background:#fff}:focus-visible{outline:3px solid #8cc3f0;outline-offset:3px}.primary{background:#1e4f96;color:#fff;border:0;border-radius:8px;width:100%;padding:12px;margin-top:24px}button:disabled{opacity:.55;cursor:not-allowed}.notice{font-size:13px;padding:12px;background:#fff3e3;border-radius:8px;color:#8a4b0f}.small{font-size:12px}.error{color:#a83232;font-size:13px}.student-list{list-style:none;padding:0}.student-list li{border-bottom:1px solid #d9e4f2}.student-list a{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px 0}.progress-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.progress-cards article{padding:16px;border:1px solid #d9e4f2;border-radius:12px}.progress-cards h3{font-size:16px}.progress-cards progress{width:100%;accent-color:#1e4f96}.login-method{border:0;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px 20px}.login-method legend{font-size:14px;font-weight:600;margin-bottom:8px}.login-method label{margin:0;display:flex;align-items:center;gap:6px;font-weight:400}.login-method input{width:auto;accent-color:#1e4f96}nav{display:flex;flex-wrap:wrap;gap:20px;padding:16px 6vw}a{color:#1e4f96}nav a.active{font-weight:700}footer{text-align:center;padding:24px;font-size:12px}@media(max-width:760px){.login-grid{grid-template-columns:1fr;gap:32px}main{padding:30px 20px}.header-note{display:none}.card{padding:24px}h1{letter-spacing:-1px}}select{width:100%;padding:12px;font:inherit;border:1px solid #c4d5ec;border-radius:8px;background:#fff;color:inherit;margin-bottom:16px}fieldset{border:0;padding:0;margin:0;min-width:0}.section-gap{margin-top:36px;padding-top:24px;border-top:1px solid #d9e4f2}.result-entry{padding:16px 0;border-bottom:1px solid #e3ebf6}.result-entry h3{margin-bottom:4px}.result-entry ul{padding-left:20px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px}.actions button,.danger-zone button{padding:10px 16px;border-radius:8px;border:1px solid #c4d5ec}.danger-zone .danger{background:#a83232;color:#fff;border-color:#a83232;margin-top:12px}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:auto}.user-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}.table-scroll,.chart-scroll{overflow-x:auto;margin-top:20px}table{border-collapse:collapse;width:100%;text-align:left}th,td{padding:12px;border-bottom:1px solid #d9e4f2;white-space:nowrap}caption{text-align:left;font-weight:600}.bar-chart{display:flex;align-items:end;gap:18px;min-width:max-content;padding:20px 8px}.chart-column{width:95px;text-align:center}.bar-space{height:160px;display:flex;align-items:end;background:#eaf2fc;margin:8px 12px}.chart-bar{width:100%;background:#1e4f96;min-height:1px;border-radius:5px 5px 0 0}.app-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:76vh}.app-layout main{width:100%;min-width:0;padding:40px 30px}.sidebar{background:#fff;border-right:1px solid #d9e4f2;padding:30px 18px;display:flex;flex-direction:column;gap:20px;align-self:start;position:sticky;top:0}.sidebar-title{margin:0;padding:0 12px;color:#5b6b82;font-size:13px;font-weight:700}.sidebar nav{display:flex;flex-direction:column;gap:8px;padding:0}.sidebar nav a{display:block;padding:12px 16px;border-radius:10px;text-decoration:none}.sidebar nav a:hover{background:#eaf2fc}.sidebar nav a.active{color:#fff;background:#1e4f96}@media(max-width:760px){.app-layout{grid-template-columns:minmax(0,1fr)}.sidebar{position:static;border-right:0;border-bottom:1px solid #d9e4f2;padding:18px 20px;gap:12px}.sidebar nav{flex-direction:row;flex-wrap:wrap}.app-layout main{padding:24px 16px}}.header-account{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px 20px;min-width:0}.header-profile{display:flex;flex-direction:column;text-align:right;min-width:0;overflow-wrap:anywhere}.header-profile span{color:#5b6b82;font-size:13px}.header-logout{padding:10px 16px;border:1px solid #c4d5ec;border-radius:8px;background:#fff;color:#1e4f96;flex-shrink:0}.header-logout:hover{background:#eaf2fc}.header-account-error{flex-basis:100%;text-align:right}@media(max-width:760px){header{flex-wrap:wrap}.header-account{width:100%;justify-content:space-between}.header-profile{text-align:left;flex:1}.header-account-error{text-align:left}}.students-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.students-heading h1{margin-top:0;margin-bottom:12px}.add-student-button{display:inline-block;padding:12px 18px;background:#1e4f96;color:#fff;border-radius:8px;text-decoration:none;font-weight:600;white-space:nowrap}.add-student-button:hover{background:#173f78}.students-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:20px}.students-table thead{background:#eaf2fc}.students-table caption{padding-bottom:12px;color:#5b6b82}.students-table tbody tr:hover{background:#f5f9ff}.student-row-actions{display:flex;gap:12px}.link-button{padding:0;border:0;background:none;color:#1e4f96;text-decoration:underline}@media(max-width:760px){.students-filters{grid-template-columns:1fr;gap:0}}.primary-inline{background:#1e4f96;color:#fff;border:0;border-radius:8px;padding:12px 18px;font-weight:600}.primary-inline:hover{background:#173f78}.exam-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:20px 0;counter-reset:step}.exam-steps li{counter-increment:step;padding:6px 12px;border-radius:20px;background:#eaf2fc;font-size:13px;color:#5b6b82}.exam-steps li:before{content:counter(step) ". "}.exam-steps li.done{color:#1e4f96}.exam-steps li[aria-current=step]{background:#1e4f96;color:#fff;font-weight:600}.math-card{margin:24px 0 8px;padding:32px 24px;border:2px solid #d9e4f2;border-radius:20px;background:#f7faff;text-align:center}.math-count{margin:0 0 16px;color:#5b6b82;font-weight:600}.math-problem{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;font-size:clamp(44px,9vw,72px);font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}.math-problem input{width:3.6em;padding:8px 12px;font-size:inherit;font-weight:700;text-align:center;border:3px solid #8cc3f0;border-radius:16px;background:#fff}.math-problem input:focus{border-color:#1e4f96;outline:none}.math-dots{display:flex;justify-content:center;gap:10px;list-style:none;padding:0;margin:24px 0 0}.math-dots li{width:14px;height:14px;border-radius:50%;background:#d9e4f2}.math-dots li.done{background:#8cc3f0}.math-dots li.current{background:#1e4f96}.reading-text{padding:20px;border:1px solid #d9e4f2;border-radius:12px;background:#fff;font-size:19px;line-height:1.8}.reading-text h4{margin:0 0 8px}.comprehension-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.comprehension-layout .reading-text{position:sticky;top:16px}.question{margin-bottom:20px}.question legend{font-weight:600;margin-bottom:4px}.question .check-label{font-weight:400;margin:6px 0}.timer{font-variant-numeric:tabular-nums;font-weight:600}.study-items,.option-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;list-style:none;padding:0}.study-items li{padding:18px 12px;border-radius:12px;background:#e8f2fd;text-align:center;font-size:20px}.option{padding:16px 12px;border-radius:12px;border:2px solid #c4d5ec;background:#fff;font-size:18px}.option[aria-pressed=true]{border-color:#1e4f96;background:#e1eefc;font-weight:600}@media(max-width:760px){.comprehension-layout{grid-template-columns:1fr}.comprehension-layout .reading-text{position:static}}.exam-page{min-height:100vh;background:#fff}.exam-page-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 24px;border-bottom:1px solid #e3ebf6;color:#5b6b82;font-size:14px}.exam-page-main{max-width:960px;margin:0 auto;padding:32px 24px 64px;min-height:auto}.exam-page-main h1{font-size:clamp(28px,3vw,38px);letter-spacing:-1px;margin:0 0 8px}@media(max-width:760px){.exam-page-bar{padding:12px 16px}.exam-page-main{padding:24px 16px 48px}}.option{position:relative}.order-badge{position:absolute;top:6px;left:8px;width:24px;height:24px;border-radius:50%;background:#1e4f96;color:#fff;font-size:13px;line-height:24px}.small-items li{padding:10px;font-size:16px}.sequence-stage{text-align:center;padding:16px 0}.sequence-item{display:inline-block;min-width:240px;padding:40px 32px;border-radius:20px;background:#e8f2fd;font-size:40px;font-weight:700}.target-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;max-width:640px}.target-grid .option{padding:12px 0;font-size:26px;font-weight:700}.pattern-row{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:16px 0 24px}.pattern-row li{min-width:64px;height:64px;padding:0 10px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e8f2fd;font-size:32px;font-weight:700}.pattern-row .pattern-gap{background:#fff;border:3px dashed #1e4f96;color:#1e4f96}.lesson-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.lesson-card{padding:20px;border:1px solid #d9e4f2;border-radius:14px;min-width:0}.lesson-card h3{margin:0 0 8px;font-size:17px}.lesson-summary{display:flex;align-items:center;gap:16px}.lesson-summary p{margin:2px 0}.lesson-score{font-size:44px;font-weight:700;line-height:1}.delta{font-weight:600}.delta.up{color:#2f7a4a}.delta.down{color:#a83232}.delta.same{color:#46566e}.line-chart{position:relative;margin-top:8px}.line-chart>svg{display:block;width:100%;height:200px;overflow:visible}.source-legend svg{flex-shrink:0}.line-chart .grid{stroke:#e3ebf6;stroke-width:1}.line-chart .axis{fill:#5b6b82;font-size:11px;font-variant-numeric:tabular-nums}.line-chart .series{fill:none;stroke:#9fb0c6;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.line-chart .marker{stroke:#fff;stroke-width:2}.source-legend .marker{stroke:none}.marker.source-Lesson{fill:#1f8a70}.marker.source-General{fill:#d4882b}.marker.source-InitialPlacement{fill:#7b61b0}.source-legend{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;padding:0;margin:6px 0 0;font-size:13px;color:#46566e}.source-legend li{display:flex;align-items:center;gap:6px}.line-chart .end-label{fill:#1b2f4e;font-size:13px;font-weight:700}.line-chart .crosshair{stroke:#9aaabf;stroke-width:1}.line-chart .hit{fill:transparent;cursor:pointer}.line-chart .hit:focus-visible{outline:none;stroke:#8cc3f0;stroke-width:3}.chart-tooltip{position:absolute;transform:translate(-50%,calc(-100% - 14px));display:flex;flex-direction:column;gap:2px;padding:8px 12px;background:#fff;border:1px solid #d9e4f2;border-radius:8px;box-shadow:0 6px 20px #1b2f4e1a;font-size:13px;white-space:nowrap;pointer-events:none;z-index:1}.chart-tooltip strong{font-size:15px}.chart-tooltip.to-left{transform:translate(calc(-100% + 12px),calc(-100% - 14px))}.chart-tooltip.to-right{transform:translate(-12px,calc(-100% - 14px))}.lesson-card details{margin-top:8px;font-size:14px}.lesson-card summary{cursor:pointer;color:#1e4f96}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(max-width:760px){.lesson-charts{grid-template-columns:1fr}.lesson-score{font-size:36px}}.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:24px}@media(max-width:1100px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}.tile{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px;text-align:left;border:2px solid #d9e4f2;border-radius:14px;background:#fff;color:inherit;min-height:132px}.tile:hover{border-color:#8cc3f0}.tile[aria-pressed=true]{border-color:#1e4f96;background:#eef5fe;box-shadow:0 0 0 1px #1e4f96 inset}.tile-title{font-weight:700;font-size:15px}.tile-value{font-size:32px;font-weight:700;line-height:1.1}.tile-empty{color:#5b6b82;margin-top:auto}.tile-meta{color:#5b6b82;font-size:13px}.tile .delta{font-size:13px}.tile-panel{margin-top:20px;padding:24px;border:1px solid #d9e4f2;border-radius:16px}.tile-panel details{margin-top:12px}.tile-panel summary{cursor:pointer;color:#1e4f96}.panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:8px}.placement-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:8px 0 16px}.placement-results div{display:flex;flex-direction:column;padding:10px 12px;border-radius:10px;background:#f3f7fd;font-size:14px}.placement-results strong{font-size:20px}@media(max-width:760px){.tile-panel{padding:16px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}body{background:radial-gradient(1200px 500px at 100% -10%,#fff1e0 0%,transparent 60%),radial-gradient(900px 500px at -10% 110%,#e3f0ff 0%,transparent 60%),#f3f7fd}header{box-shadow:0 2px 12px #1b2f4e0d}.header-note{font-style:italic;color:#2f4a72}.card{border-radius:24px}.primary,.primary-inline,.add-student-button{border-radius:12px;box-shadow:0 3px #173f78;transition:transform .08s,box-shadow .08s}.primary:active,.primary-inline:active,.add-student-button:active{transform:translateY(2px);box-shadow:0 1px #173f78}input,select{border-radius:10px}.sidebar nav a.active{background:linear-gradient(135deg,#1e4f96,#2b8fd9)}.login-logo{width:min(100%,420px);height:auto;display:block;margin-bottom:20px;border-radius:28px;box-shadow:0 12px 32px #1e4f961f}.categories span:nth-child(1){background:#fff1e0;border-color:#f7c48c;color:#8a4b0f}.categories span:nth-child(2){background:#e3f1fd;border-color:#a9d3f5;color:#1b5a8f}.categories span:nth-child(3){background:#f0eafb;border-color:#cbbcec;color:#55408a}.categories span:nth-child(4){background:#e2f5ef;border-color:#a4dccb;color:#17614f}.tile{border-top-width:6px}.tile[data-tone=placement]{border-top-color:#1e4f96}.tile[data-tone=Math]{border-top-color:#f28c1e}.tile[data-tone=SpeedReading]{border-top-color:#2b8fd9}.tile[data-tone=Comprehension]{border-top-color:#7b61b0}.tile[data-tone=MemoryAttention]{border-top-color:#1f8a70}.tile[aria-pressed=true]{background:#eef5fe;border-color:#1e4f96;box-shadow:0 6px 18px #1e4f9626}.exam-page{background:linear-gradient(180deg,#f3f7fd,#fff 260px)}.exam-steps li[aria-current=step]{background:#f28c1e}.math-card{background:#fff;border-color:#c9dbf0;box-shadow:0 8px 24px #1e4f9614}.math-problem input{border-color:#8cc3f0}.math-problem input:focus{border-color:#f28c1e}.math-dots li.current{background:#f28c1e}.option{border-radius:16px}.option[aria-pressed=true]{border-color:#f28c1e;background:#fff3e3}.order-badge{background:#f28c1e}.study-items li,.sequence-item,.pattern-row li{background:#e8f2fd}.pattern-row .pattern-gap{border-color:#f28c1e;color:#f28c1e}.memory-card{background:#1e4f96}.lesson-stats{display:flex;flex-wrap:wrap;gap:8px 24px;margin:4px 0 12px}.lesson-stats strong{font-size:18px}.option{font-size:30px;min-height:72px;line-height:1.2}.target-grid .option{font-size:30px;min-height:0}.actions button:not(.primary-inline):not(.danger){background:#fff;color:#1e4f96;border:2px solid #c4d5ec;border-radius:12px;font-weight:700}.actions button:not(.primary-inline):not(.danger):hover{background:#eef5fe}.exam-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.cancel-exam{padding:10px 16px;border-radius:12px;border:2px solid #e8b4b4;background:#fff;color:#a83232;font-weight:700}.cancel-exam:hover{background:#fdf0f0}.cancel-confirm{margin:8px 0 16px;padding:16px 20px;border:2px solid #e8b4b4;border-radius:16px;background:#fdf3f3}.cancel-confirm p{margin:0}.cancel-confirm .danger{padding:10px 16px;border-radius:12px;border:0;background:#a83232;color:#fff;font-weight:700}.exam-header-actions{display:flex;gap:10px;flex-wrap:wrap}.replace-exam{padding:10px 16px;border-radius:12px;border:2px solid #c4d5ec;background:#fff;color:#1e4f96;font-weight:700}.replace-exam:hover{background:#eef5fe}.replace-confirm{margin:8px 0 16px;padding:16px 20px;border:2px solid #a9d3f5;border-radius:16px;background:#eef5fe}.replace-confirm p{margin:0}.trial-step{font-size:20px;margin:28px 0 10px}.choice-row{display:flex;flex-wrap:wrap;gap:10px}.choice{min-width:110px;padding:14px 18px;border-radius:14px;border:2px solid #c4d5ec;background:#fff;color:#1b2f4e;font-size:17px;font-weight:700}.choice:hover{border-color:#8cc3f0}.choice[aria-pressed=true]{border-color:#f28c1e;background:#fff3e3}.trial-tests{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.trial-tests .tile{min-height:110px}.trial-average{font-size:20px}.trial-average strong{font-size:30px}
