/* ISG 2 · compact, colourful interface; all assets served locally. */
@font-face{font-family:'ISG Sans';src:url('fonts/onest-Variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#263d33;--muted:#768c83;--green:#52d69f;--deep:#38b07e;--mint:#e2fff3;--blue:#64d5a6;--line:#e7f2ed;--shadow:0 7px 22px #2b5d4805;--radius:20px;font-family:'ISG Sans','Segoe UI',Arial,sans-serif;font-size:15px;background:#f4faf8}
body{background:radial-gradient(ellipse at 96% 0%,#e7fff5 0,transparent 36%),radial-gradient(ellipse at 15% 95%,#fff7cc 0,transparent 36%),#f4faf8;color:var(--ink)}
.icon{width:21px;height:21px;display:inline-block;vertical-align:middle;flex-shrink:0}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}a{color:#51ce9a}h1,h2,h3{color:#263d33}h1{font-size:clamp(1.7rem,2.6vw,2.35rem);letter-spacing:-1px}h2{font-size:1.12rem;letter-spacing:-.3px}h3{font-size:1.05rem}p{line-height:1.65}.glass{background:#ffffffd9;border:1px solid #e7f2ed;box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.app-shell{padding:14px;gap:20px}.sidebar{width:230px;top:14px;height:calc(100dvh - 28px);padding:20px 14px;overflow:hidden;background:#ffffffec;border-radius:22px}.brand{gap:11px;margin:0 8px 25px;font-size:1.85rem;letter-spacing:-1px;line-height:1}.brand img{width:44px;height:53px;filter:drop-shadow(0 3px 4px #192f2c16)}.brand small{display:block;font-size:.56rem;letter-spacing:1.5px;margin-top:8px;font-weight:700;color:#90aa9f}.sidebar-label{font-size:.57rem;letter-spacing:1.55px;color:#a0b4ac;padding:0 14px 14px}.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d1f0e3 transparent}.nav-link{width:100%;border:0;background:transparent;min-height:43px;padding:11px 13px;margin-bottom:5px;border-radius:12px;gap:11px;font-size:.79rem;font-weight:550;color:#789287;text-align:left}.nav-link>.icon{width:19px;height:19px}.nav-link:hover{background:#eefef7;color:#4dcc97;transform:none}.nav-link.active{color:#50cc98;background:#e9fff6;box-shadow:none;font-weight:700}.nav-dot{width:6px;height:6px;border-radius:50%;background:#66dfad;margin-left:auto;flex-shrink:0}.sidebar-bottom{margin-top:12px;flex-shrink:0;border-top:1px solid #ebf5f1;padding-top:12px}.logout-link{color:#b17483}.logout-link:hover{background:#fff0f2;color:#b65c73}.rail-note{display:flex;align-items:center;gap:8px;padding:12px 10px 0;font-size:.59rem;color:#9bb8ac}.rail-note .icon{color:#99d0b9;width:17px;height:17px}.topbar{min-height:62px;margin:0 4px 17px;gap:12px}.topbar-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.school-name{font-size:.85rem;line-height:1.4}.school-name span{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:.65rem;color:#93aaa0}.school-name span i{width:4px;height:4px;border-radius:50%;background:#a4e0c7}.account{margin:0;color:var(--ink);gap:10px}.account strong{font-size:.79rem}.account small{color:#91aaa0;font-size:.64rem}.avatar{background:linear-gradient(135deg,#d8ffef,#e7fff5);width:38px;height:38px;border-radius:13px;color:#59c598}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e1f1ea;border-radius:12px;background:#fff9;color:#7a9f90}.icon-btn:hover{background:#e7fff5;color:#4bc894}#menu-toggle{display:none}.content{max-width:1500px;margin:0 auto}.page-heading{margin:7px 0 20px}.page-heading h1{margin-bottom:6px}.page-heading p{font-size:.82rem;margin:0}.eyebrow{color:#8ab8a5;font-size:.58rem;letter-spacing:1.6px}.section-heading{margin:20px 0 14px;gap:12px}.section-heading h2{display:flex;align-items:center;gap:9px;margin:0}.section-heading h2>.icon{color:#8cc5ad;width:20px}.text-link{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;color:#60cda0}.text-link .icon{width:16px;height:16px}.panel{padding:22px;margin-bottom:20px;border-radius:20px}.panel>.section-heading:first-child{margin-top:0}.panel h2{margin-bottom:16px}.panel>.section-heading h2{margin-bottom:0}.grid{gap:16px}.stats{margin:18px 0 20px}.stat{padding:19px 21px;border-radius:19px;position:relative;animation:isg-rise .45s ease both;overflow:hidden}.stat:nth-child(2){animation-delay:.07s}.stat:nth-child(3){animation-delay:.14s}.stat:after{display:none}.stat-top{display:flex;align-items:center;gap:11px}.stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;flex-shrink:0;background:var(--tone,#e8fff5);color:var(--tone-ink,#62c79d)}.stat-icon .icon{width:20px;height:20px}.stat-label{font-size:.79rem;color:#738980;font-weight:550}.stat>strong{font-size:2.05rem;line-height:1.2;font-weight:750;margin:13px 0 7px;letter-spacing:-1px}.stat>small{font-size:.65rem;color:#9bb0a7}.tone-purple{--tone:#e7fff5;--tone-ink:#60cb9e;--card-accent:#a8eed1}.tone-yellow{--tone:#fff2b9;--tone-ink:#aa8735;--card-accent:#eac663}.tone-mint{--tone:#def5e8;--tone-ink:#4d9878;--card-accent:#9dd9bb}.tone-blue{--tone:#e4fff4;--tone-ink:#64d1a4;--card-accent:#a4e9cc}.stat.tone-yellow{background:linear-gradient(120deg,#fffdf3,#fffaf0)}.stat.tone-purple{background:linear-gradient(120deg,#fbfffd,#f1fff9)}.stat.tone-mint{background:linear-gradient(120deg,#fdfffe,#f3fbf6)}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 23px}.quick-actions a{display:flex;align-items:center;gap:10px;padding:13px 15px;background:#ffffffaa;border:1px solid #e3f1eb;border-radius:14px;font-size:.76rem;font-weight:550;color:#658477;transition:background .2s,transform .2s}.quick-actions a:hover{background:#e7fff5;transform:translateY(-2px)}.quick-actions a>.icon:first-child{color:#87ccaf;width:19px}.quick-actions a>.icon:last-child{width:16px;margin-left:auto;color:#9dc5b4}.hero{min-height:230px;padding:29px 35px;border-radius:24px;color:#355a4b;background:radial-gradient(ellipse at 82% 18%,#fff4b7,transparent 43%),linear-gradient(115deg,#e2fff3,#eefef7 60%,#f7f0d6);border:1px solid #ddf4ea;box-shadow:0 8px 22px #416b5a05}.hero h1{font-size:clamp(2rem,3.2vw,3rem);letter-spacing:-1.6px;font-weight:760;color:#305646;margin:13px 0 10px}.hero h1 span{color:#6ac8a1}.hero p{color:#82a395;font-size:.79rem;max-width:380px;margin-bottom:18px}.hero .pill{color:#7bae99;border:0;background:#fff9;padding:7px 10px;font-size:.54rem;letter-spacing:1.2px;gap:7px}.hero .pill .icon{width:14px;height:14px}.hero .btn{font-size:.75rem;min-height:40px;padding:10px 16px}.hero-mark{width:230px;align-self:center;transform:rotate(4deg);display:flex;flex-direction:column;align-items:center;position:relative;isolation:isolate}.hero-mark:before{display:none}.hero-mark img{height:175px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 12px 12px #5071631b);animation:isg-float 7s ease-in-out infinite}.hero-orbit{position:absolute;border-radius:50%;z-index:-1;border:1px solid #b3e6d150;inset:-10px 10px;transform:rotate(15deg)}.orbit-two{inset:8px -8px;transform:rotate(-20deg);border-color:#d2b65940}.hero-mark>.hero-sticker{display:flex;align-items:center;gap:7px;background:#fffbd7;padding:8px 13px;border-radius:12px;box-shadow:0 5px 12px #5e8f7b09;color:#ab9144;font-size:.56rem;letter-spacing:1px;margin-top:6px;transform:rotate(-7deg);z-index:2}.hero-sticker .icon{height:15px;width:15px}.test-grid{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}.test-card{padding:20px;border-radius:19px;transition:transform .22s,box-shadow .22s,border-color .22s;animation:isg-rise .5s ease both}.test-card:nth-child(2){animation-delay:.06s}.test-card:nth-child(3){animation-delay:.12s}.test-card:nth-child(4){animation-delay:.18s}.test-card:hover{transform:translateY(-5px);box-shadow:0 15px 28px #47826912;border-color:var(--card-accent)}.test-card:before{height:3px;left:20px;right:20px;background:linear-gradient(90deg,var(--card-accent,#a5ecce),transparent)}.card-top{margin-bottom:15px}.subject-icon{height:40px;width:40px;border-radius:13px;background:var(--tone,#e8fff5);color:var(--tone-ink,#71b89a);font-size:initial}.subject-icon .icon{width:23px;height:23px;transition:transform .2s}.test-card:hover .subject-icon .icon{transform:rotate(-8deg) scale(1.08)}.test-card h3{font-size:1.06rem;line-height:1.5;min-height:2.9em;margin-bottom:13px;color:#3d574c}.test-card .overline{color:#a0b5ac;font-size:.61rem;letter-spacing:1px}.test-meta{gap:15px;font-size:.68rem;color:#a0b3ab}.test-meta span{display:inline-flex;gap:5px;align-items:center}.test-meta .icon{width:14px;height:14px}.deadline{margin:15px 0;padding:12px 0;border-color:#e5f3ed}.deadline small{color:#9aafa6;font-size:.64rem}.deadline strong{font-size:.74rem;color:#738f83}.score-line{color:#94afa4;font-size:.67rem}.score-line span{display:inline-flex;align-items:center;gap:4px}.score-line .icon{width:13px;height:13px}.tag{background:#edf9f4;color:#81af9c;font-size:.61rem;font-weight:600;padding:6px 10px}.test-card .tag{background:var(--tone);color:var(--tone-ink)}.btn{min-height:42px;padding:10px 16px;border-radius:12px;font-size:.77rem;font-weight:650;gap:7px;transition:transform .18s,box-shadow .18s,background .18s}.btn .icon{width:17px;height:17px}.primary{color:#fff;background:linear-gradient(110deg,#70d7ac,#8adebb);box-shadow:0 4px 9px #74cca716}.primary:hover{background:linear-gradient(110deg,#5acb9c,#74d2ab)}.secondary{background:#eafbf4;color:#74ba9d;border-color:#dcf4ea}.white{background:#fffdf7;color:#7dbaa1;border-color:#fff}.subtle{background:#f6fbf9;border-color:#e3f0eb;color:#98aea5}.disabled{background:#eff6f3;color:#adbfb8}.danger{background:#fff2f4;border-color:#f6dce3;color:#bd7c8d}.archive-btn{background:#fff8df;border-color:#f4e8b9;color:#b49851}.btn:disabled{opacity:.47}.btn.compact{min-height:34px;padding:7px 11px;font-size:.67rem;border-radius:10px}.btn.compact .icon{height:15px;width:15px}.btn:hover:not(:disabled):not(.disabled){box-shadow:0 7px 14px #49796512}label{font-size:.76rem;color:#80918a;font-weight:600;margin-bottom:15px}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{min-height:42px;margin-top:7px;padding:11px 12px;border-radius:11px;border-color:#e1eee9;background:#fff;color:#546f64;font-size:.82rem}input::placeholder,textarea::placeholder{color:#b7c9c2}input[type=checkbox],input[type=radio]{accent-color:#7fd2af;width:17px;height:17px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a6e7cc;outline-offset:3px}.filter-bar{padding:16px;gap:12px;border-radius:16px;margin-bottom:20px}.filter-bar label{min-width:130px}.chips{gap:8px;margin:13px 0 19px}.check-chip{background:#f7fefb;border-color:#e0f2ea;color:#8bae9f;font-size:.75rem}.alert{display:flex;align-items:flex-start;gap:10px;font-size:.8rem;padding:13px 16px;border-radius:13px}.alert .icon{width:17px;height:17px;margin-top:3px}.alert.success{background:#eef8f1;border-color:#dfefe4;color:#70a287}.alert.info{background:#eefbf6;border-color:#def5eb;color:#8bb7a5}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:31px 20px;font-size:.79rem;color:#a6beb4}.empty>.icon{height:30px;width:30px;color:#b4d5c7}.table-wrap{border-radius:12px}table{font-size:.77rem}th{background:#f8fcfa;color:#9db3aa;font-size:.62rem;padding:12px 11px;border-bottom:1px solid #e8f3ee;letter-spacing:.4px}td{padding:13px 11px;border-color:#edf6f2;color:#899f96}td strong{font-size:.76rem;color:#6c8a7e}td small{font-size:.62rem;color:#a4bcb2}tbody tr:hover{background:#fafffd}.recent-results{margin-top:22px}.manage-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:0 0 18px}.manage-heading p{margin:0;font-size:.68rem;color:#9db8ad}.segmented{display:inline-flex;align-items:center;gap:4px;background:#e5f4ee;padding:5px;border-radius:13px}.segmented a{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:10px;font-size:.75rem;color:#a0beb2;font-weight:600}.segmented .selected{background:#fff;box-shadow:0 3px 7px #538b7408;color:#7cbba1}.segmented b{display:grid;place-items:center;min-width:22px;height:19px;padding:0 5px;border-radius:6px;background:#ebf8f3;font-size:.6rem;font-weight:600;color:#92bcab}.segmented .icon{height:16px;width:16px}.taxonomy-grid{align-items:start}.taxonomy-panel{margin:0;min-width:0;padding:20px}.taxonomy-panel .section-heading{margin:0 0 16px}.taxonomy-panel h2{font-size:1.04rem;gap:10px}.section-icon{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:10px}.section-icon .icon{height:18px;width:18px}.section-icon.purple{background:#e5faf1;color:#8bcfb3}.section-icon.yellow{background:#fff4c9;color:#bca25e}.section-icon.mint{background:#e6f5ed;color:#8cbaa5}.count-badge{display:inline-grid;place-items:center;min-width:23px;height:21px;border-radius:7px;background:#eff8f4;color:#a8c7ba;font-size:.65rem;font-weight:600}.entity-add{display:flex;gap:9px;padding:12px;background:#f6fdfa;border-radius:13px;margin-bottom:13px}.entity-add input{margin:0!important;flex:1;min-width:0}.entity-add .btn{flex-shrink:0;min-height:42px;padding:10px 13px}.entity-search{position:relative;margin-bottom:10px}.entity-search>.icon{position:absolute;left:12px;top:13px;width:17px;height:17px;color:#b0ccc0}.entity-search input{padding-left:37px!important;margin:0!important;background:#fff!important;font-size:.74rem!important;border-color:#e7f3ee!important}.entity-list{max-height:570px;overflow-y:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#d9efe6 transparent}.entity-row{border:1px solid #e7f4ef;border-radius:14px;padding:13px;margin:10px 0;background:linear-gradient(120deg,#fff,#fbfffd);transition:border-color .2s,box-shadow .2s;animation:isg-rise .35s ease both}.entity-row:hover{border-color:#cde9dd;box-shadow:0 5px 12px #65a58a06}.entity-main{display:flex;align-items:center;gap:10px;margin-bottom:12px}.entity-avatar{width:34px;height:34px;border-radius:11px;background:#eafbf4;color:#96c7b3;display:grid;place-items:center;flex-shrink:0}.taxonomy-panel:nth-child(2) .entity-avatar{background:#fff6d6;color:#beaa76}.entity-avatar .icon{height:18px;width:18px}.entity-main strong{font-size:.85rem;color:#739e8c;overflow-wrap:anywhere}.entity-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:5px;color:#adcabe;font-size:.61rem}.entity-meta span+span:before{content:'·';margin-right:10px;color:#cce3d9}.entity-controls{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.entity-controls form{margin:0}.entity-controls .btn{white-space:nowrap}.rename-details{position:relative;min-width:0}.rename-details summary{list-style:none}.rename-details summary::-webkit-details-marker{display:none}.rename-details[open]{width:100%;order:-1}.rename-details[open] summary{width:max-content;margin-bottom:10px}.rename-form{display:flex;gap:8px;align-items:flex-end;padding:10px;background:#f2fcf8;border-radius:12px;margin-bottom:8px!important}.rename-form label{flex:1;min-width:0;margin:0;font-size:.67rem}.rename-form input{font-size:.76rem!important;min-height:36px!important;padding:8px 10px!important}.entity-footnote{display:flex;align-items:flex-start;gap:6px;margin:10px 0 0;color:#a8c4b8;font-size:.58rem;line-height:1.65}.entity-footnote .icon{width:13px;height:13px;margin-top:2px}.assignment-panel{margin-top:20px}.assignment-form{display:grid;grid-template-columns:1.2fr 1fr .8fr auto;gap:13px;padding:14px;background:#f7fcfa;border-radius:14px;margin-bottom:16px}.assignment-form label{margin:0}.assignment-form .align-bottom{margin:0}.assignment-form .btn{align-self:end}.tabs{margin:14px 0 18px}.tab{font-size:.76rem;padding:10px 14px}.tab.active{background:#e4fbf1;color:#8bcfb3}.question-card{padding:24px;border-radius:18px;animation:isg-rise .3s ease both}.question-card h3{font-size:1.08rem;color:#638677}.answer-option{border-color:#e0f0e9;background:#fafffd;color:#759d8c;padding:13px;font-size:.94rem}.answer-option:has(input:checked){background:#e7fcf3;border-color:#aedfcb;box-shadow:none}.option-letter{color:#a7cfbe}.test-sticky{background:#fffc;min-height:78px;border-color:#e3f7ef;padding:16px 21px}.test-sticky h2{font-size:.96rem}#timer{color:#85c2a9;font-size:1.5rem}.test-sticky small{font-size:.6rem;color:#a6c9ba}.question-nav a{background:#fff;border-color:#dff7ed;color:#a9d1c0}.question-nav a.answered{background:#97d1b9;color:white;border-color:#97d1b9}.match-row{background:#f3fdf9;color:#8fbca9}.finish-bar{padding:16px 20px}.score-ring{border-color:#e2f6ee;border-top-color:#a3dcc4;border-right-color:#a3dcc4}.score-ring strong{color:#7cb9a0}.track .green{background:linear-gradient(90deg,#b3dfc8,#87bba5)}.track .amber{background:linear-gradient(90deg,#f4e3a8,#dfc57d)}.track .red{background:linear-gradient(90deg,#ecc4c1,#d5a0aa)}.review-option.correct{background:#f1f8f3;border-color:#deeee3}.review-option.incorrect{background:#fff4f3;border-color:#f1dedf}.good{color:#86af99}.bad{color:#cb9ca5}.explanation{background:#eefbf6;color:#9ac5b3}.explanation p{color:#9ac5b3}.trend-column>div{background:#effbf6}.trend-column>div>span{background:linear-gradient(0deg,#95d2b9,#cbefe0)}.leader-row{border-color:#e6f6ef}.leader-row.is-me{background:#edfcf6}.leader-value{color:#95cdb6}.rank{background:#eef8f4;color:#afcfc2}.rank-1{background:#fff5c9;color:#c8b16c}.rank-2{background:#eaf9f3;color:#9eb0ca}.rank-3{background:#f6e9e1;color:#cfb19b}.rank-1 .icon{height:21px;width:21px}.leader-name small{color:#a7c7ba}.profile-actions{display:flex;gap:10px;flex-wrap:wrap}dialog{border:1px solid #dcf4ea;border-radius:21px;padding:26px;color:#8dc4ad;max-width:min(450px,calc(100vw - 30px));box-shadow:0 20px 70px #478a6e20}dialog h2{color:#7ebaa1;font-size:1.3rem}dialog p{font-size:.81rem;color:#a6cdbd}dialog::backdrop{background:#4477625c;backdrop-filter:blur(5px)}.dialog-emblem{display:grid;place-items:center;width:46px;height:46px;background:#fff0e4;color:#d4b28d;border-radius:15px;margin-bottom:17px}.dialog-actions{display:flex;gap:10px;margin-top:22px}.dialog-actions .btn{flex:1}.login-layout{grid-template-columns:1.1fr 1fr;gap:6vw;padding:4vw 8vw}.login-story .pill{background:#e5fbf2;border-color:#d7f5e8;color:#94c3af}.login-story h1{font-size:clamp(2.3rem,4.2vw,4.1rem);color:#7cb79e;letter-spacing:-1.8px}.login-story h1 span{color:#a4d9c3}.login-story p{color:#a9cfbf}.orb{height:230px;background:radial-gradient(ellipse,#f4e6b9,transparent 70%)}.orb img{height:195px;max-height:195px;filter:drop-shadow(0 12px 13px #70a38e19)}.story-features{color:#a9d2c1}.login-card{padding:35px;max-width:430px;background:#ffffffdd}.login-card h2{font-size:1.75rem;color:#84bca5}.login-card>p{color:#a7cdbd}.install{margin:30px auto;max-width:690px;padding:30px}.install .logo{width:65px}.install h1{color:#8abea8}.install>p{font-size:.82rem}.login-card .eyebrow,.install .eyebrow{color:#a1cebb}footer{font-size:.59rem;color:#b2d0c4;padding:23px 0 7px;letter-spacing:.7px}#toast{background:#88c4ab;color:#fff;border-radius:13px;font-size:.76rem;box-shadow:0 7px 20px #609c8319}
@keyframes isg-rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes isg-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(-2deg)}}
@media(min-width:1550px){.app-shell{padding:18px;gap:24px}.sidebar{top:18px;width:240px;height:calc(100dvh - 36px)}.content{padding:0 5px}.hero{padding:30px 38px}.test-card{padding:22px}.stats{margin-top:20px}}
@media(max-width:1150px){.sidebar{width:205px;padding:18px 11px}.app-shell{gap:16px}.nav-link{font-size:.73rem;gap:9px;padding:11px}.brand{margin-bottom:22px}.hero-mark{width:190px}.hero-mark img{height:155px}.three{grid-template-columns:repeat(2,minmax(0,1fr))}.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-actions{gap:9px}.quick-actions a{padding:12px;font-size:.68rem}.taxonomy-grid{grid-template-columns:1fr}.entity-list{max-height:450px}.entity-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.entity-main{margin:0}.entity-controls{justify-content:flex-end}.entity-footnote{grid-column:1/-1;margin-top:3px}.assignment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment-form .btn{width:100%}.hero h1{font-size:2.4rem}.stat{padding:16px}.stat-label{font-size:.68rem}.stat>strong{font-size:1.8rem}.stat-icon{height:32px;width:32px}.stat>small{font-size:.59rem}.stat-top{gap:8px}}
@media(max-width:850px){.sidebar{position:fixed;top:12px;left:12px;width:245px;height:calc(100dvh - 24px);z-index:30;transform:translateX(-285px);background:#fcfffefa}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #34544755}.sidebar nav{overflow-y:auto}.sidebar .nav-link{font-size:.81rem;min-height:45px}.app-shell{padding:12px;gap:0}#menu-toggle{display:inline-flex}.topbar{min-height:57px;margin-bottom:17px}.topbar-actions{gap:12px}.hero-mark{width:210px}.taxonomy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entity-row{display:block}.entity-main{margin-bottom:12px}.entity-controls{justify-content:flex-start}.entity-footnote{margin-top:10px}.login-layout{padding:35px;gap:30px}.login-card{padding:28px}.account strong{font-size:.73rem}.school-name{font-size:.78rem}.topbar .school-name span{font-size:.6rem}.hero h1{font-size:2.6rem}}
@media(max-width:600px){:root{font-size:15px}.app-shell{padding:10px}.topbar{min-height:54px;margin:0 2px 15px;gap:8px}.topbar .school-name{font-size:.65rem;max-width:130px;line-height:1.5}.topbar .school-name span{font-size:.53rem;gap:5px}.topbar-actions{gap:8px}.account .avatar{width:33px;height:33px;border-radius:11px}.account>span:last-child{display:none}.top-logout .icon-btn{width:33px;height:33px;border-radius:10px}#menu-toggle{width:33px;height:33px;border-radius:10px}.icon-btn .icon{width:17px;height:17px}.hero{padding:23px;min-height:250px;border-radius:21px;align-items:center}.hero h1{font-size:2.3rem;letter-spacing:-1.2px;line-height:1.13;margin:13px 0 11px}.hero p{font-size:.7rem;max-width:215px;line-height:1.7}.hero>.hero-mark{position:absolute;right:-25px;bottom:27px;width:130px;opacity:.2;transform:rotate(5deg)}.hero-mark img{height:155px}.hero-mark>.hero-sticker{display:none}.hero .pill{font-size:.47rem;letter-spacing:.6px;padding:6px 8px}.hero .btn{font-size:.71rem;min-height:39px;padding:10px 13px}.stats.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 19px}.stat{padding:12px 10px;border-radius:15px}.stat-top{flex-direction:column;align-items:flex-start;gap:9px}.stat-icon{height:29px;width:29px;border-radius:9px}.stat-icon .icon{height:16px;width:16px}.stat-label{font-size:.6rem;line-height:1.5;min-height:18px;white-space:normal}.stat>strong{font-size:1.55rem;margin:8px 0 0}.stat>small{display:none}.quick-actions{grid-template-columns:1fr;gap:8px;margin-bottom:20px}.quick-actions a{padding:12px 15px;border-radius:12px;font-size:.73rem}.quick-actions .icon{width:17px;height:17px}.section-heading{margin:18px 0 13px}.section-heading h2{font-size:1.03rem;gap:7px}.section-heading h2>.icon{height:17px;width:17px}.section-heading .text-link{font-size:.64rem;gap:4px}.section-heading .text-link .icon{width:13px;height:13px}.grid.three,.grid.two,.taxonomy-grid{grid-template-columns:1fr}.grid{gap:13px}.test-grid{grid-template-columns:1fr}.test-card{padding:19px;border-radius:18px}.test-card h3{font-size:1.07rem;min-height:0;margin-bottom:14px}.test-card:before{left:19px;right:19px}.test-card .btn{min-height:43px}.subject-icon{width:37px;height:37px;border-radius:12px}.tag{font-size:.59rem}.test-meta{font-size:.7rem}.deadline small{font-size:.64rem}.deadline strong{font-size:.75rem}.panel{padding:18px;border-radius:18px;margin-bottom:17px}.page-heading{margin:4px 2px 18px}.page-heading h1{font-size:1.65rem;line-height:1.2;letter-spacing:-.7px}.page-heading p{font-size:.73rem}.manage-heading{margin-bottom:15px;gap:10px}.manage-heading p{font-size:.62rem;line-height:1.7}.segmented{width:100%;justify-content:stretch}.segmented a{flex:1;justify-content:center;font-size:.72rem;padding:9px}.taxonomy-panel{padding:17px;margin:0}.taxonomy-panel h2{font-size:1.01rem}.taxonomy-panel .section-heading{margin-bottom:13px}.entity-add{padding:10px;gap:7px}.entity-add input{font-size:.76rem!important}.entity-add .btn{min-height:42px;padding:10px 12px;font-size:.71rem}.entity-add .icon{width:15px;height:15px}.entity-list{max-height:460px}.entity-row{padding:12px}.entity-main strong{font-size:.85rem}.entity-meta{font-size:.59rem;gap:8px}.entity-meta span+span:before{margin-right:8px}.entity-controls{gap:6px}.entity-controls .btn.compact{font-size:.64rem;min-height:33px;padding:7px 9px;gap:5px}.entity-controls .btn .icon{width:14px;height:14px}.entity-footnote{font-size:.57rem}.assignment-panel{margin-top:17px}.assignment-form{grid-template-columns:1fr;gap:11px;padding:12px}.assignment-form label{font-size:.71rem}.assignment-form .btn{margin-top:2px}.table-wrap{margin-left:-3px;margin-right:-3px}th{padding:11px 9px;font-size:.58rem}td{padding:12px 9px;font-size:.73rem}td strong{font-size:.71rem}.filter-bar{padding:13px;gap:11px}.filter-bar label{min-width:125px;font-size:.7rem}.filter-bar .btn{flex:1}.toolbar .btn{flex:1}.question-card{padding:18px;border-radius:17px}.question-card h3{font-size:1.05rem;line-height:1.7}.answer-option{font-size:.94rem;line-height:1.7;gap:9px;padding:12px}.answer-option input{height:18px;width:18px}.match-row{grid-template-columns:1fr;gap:9px;padding:12px}.test-sticky{padding:13px 15px;top:5px;border-radius:15px}.test-sticky h2{max-width:185px;font-size:.8rem}.test-sticky small{font-size:.54rem;max-width:108px;line-height:1.6}#timer{font-size:1.3rem}.test-sticky .eyebrow{font-size:.47rem}.question-nav{gap:6px}.question-nav a{width:31px;height:31px;font-size:.65rem;border-radius:9px}.finish-bar{padding:14px;gap:12px}.finish-bar .btn{width:100%;min-height:44px}.finish-bar p{font-size:.75rem}.result-hero{padding:24px;gap:18px}.score-ring{width:130px;height:130px;border-width:10px}.score-ring strong{font-size:1.8rem}.result-hero h2{font-size:1.3rem}.topic-bar>div:first-child{font-size:.75rem}.topic-bar small{font-size:.6rem}.leaderboard{padding:10px}.leader-row{gap:10px;padding:15px 6px}.leader-name strong{font-size:.78rem}.leader-name small{font-size:.59rem;line-height:1.6}.leader-value{font-size:.9rem}.rank{height:31px;width:31px;border-radius:9px}.bank-row{gap:13px;padding:17px 0}.bank-item summary{gap:9px;padding:16px 0}.bank-item summary strong{font-size:.8rem}.bank-detail{padding:8px 0 15px 25px}.bank-detail p{font-size:.8rem}.login-layout{padding:20px 15px;gap:14px}.login-story h1{font-size:2.15rem;letter-spacing:-1px;margin:16px 0 10px}.login-story .pill{font-size:.55rem;padding:6px 9px}.login-story p,.story-features{display:none}.orb{height:85px}.orb img{height:80px;max-height:80px;transform:none}.login-card{padding:25px;border-radius:20px}.login-card h2{font-size:1.5rem}.login-card>p{font-size:.75rem;margin-bottom:20px}.login-card .muted{font-size:.65rem}.install{margin:12px;padding:23px;border-radius:20px}.install .logo{width:52px}.install>p{font-size:.73rem}.install h1{font-size:1.8rem}.dialog-actions{flex-wrap:wrap}.dialog-actions .btn{min-width:120px}.recent-results{margin-top:18px}.btn{min-height:42px}.question-image{max-height:270px}footer{padding:18px 0 7px;font-size:.55rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep pastel surfaces while maintaining readable labels and controls. */
h1,h2,h3,.install h1,.login-card h2{color:#2b453a}.login-story h1{color:#335446}.login-story h1 span{color:#62b794}.login-story p,.login-card>p,.install>p,.explanation p{color:#718f83}.page-heading p,p,.muted{color:#728d82}.primary{background:linear-gradient(110deg,#50b98d,#5ec097);color:#fff}.primary:hover{background:linear-gradient(110deg,#40a67c,#51b48b)}.secondary{color:#579c7f}.subtle{color:#739084}.archive-btn{color:#95782e}.danger{color:#ac6174}label{color:#667f75}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{color:#475f55}.entity-main strong{color:#517465}.entity-meta,.entity-footnote{color:#769387}.entity-controls .subtle{color:#709a88}.manage-heading p{color:#809d91}.segmented a{color:#819e92}.segmented .selected{color:#559178}.entity-search input::placeholder{color:#9ab5aa}.entity-avatar{color:#85b8a3}.taxonomy-panel h2,.assignment-panel h2{color:#516f62}.table-wrap td{color:#718d81}.table-wrap td strong{color:#567c6c}.table-wrap td small,.table-wrap th{color:#87a89a}.tag{color:#71a690}.stat-label{color:#6a877b}.stat>strong{color:#345044}.stat>small{color:#8eaca0}.test-card h3{color:#516f62}.test-meta,.deadline small,.deadline strong,.score-line{color:#8aafa0}.leader-name strong{color:#5b8071}.leader-name small{color:#88ae9e}.leader-value{color:#76b59b}.question-card h3{color:#516f62}.answer-option{color:#6a9181}.answer-option:has(input:checked){color:#50806c}.text-link{color:#74b399}.btn:focus-visible{outline-color:#9ad4bc}.rail-note{color:#98b6aa}.entity-list .filter-empty{color:#90b7a7}

/* Readable supporting text on pastel backgrounds. */
.entity-meta,.entity-footnote,.manage-heading p,.segmented a,.table-wrap td small,.table-wrap th,.stat>small,.test-meta,.deadline small,.deadline strong,.score-line,.leader-name small,.rail-note,.entity-list .filter-empty{color:#678076}.tag,.text-link,.entity-controls .subtle{color:#538671}.archive-btn{color:#80601c}.danger{color:#943d56}.answer-option{color:#496b5d}.entity-search input::placeholder{color:#71897f}

dialog,dialog h2{color:#324f43}dialog p{color:#648074}.nav-link{color:#587b6c}.topbar,.school-name{color:#4c6b5e}.stat-label{color:#567468}.test-sticky small,.eyebrow,footer,.login-card .eyebrow,.install .eyebrow{color:#678a7b}.rank{color:#5c8172}.rank-1{color:#87691b}.rank-2{color:#566b88}.rank-3{color:#8d654a}.good{color:#327555}.bad{color:#a23e55}.option-letter{color:#598a76}.question-nav a{color:#548671}.dialog-actions .btn{min-height:44px}
/* ISG v3 · subject selection, 100-point exam format, consistent custom dropdowns. */
.subject-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}.subject-group-heading h3{margin:0;font-size:.94rem}.subject-badges{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 15px}.subject-badge{display:inline-flex;gap:8px;align-items:center;padding:9px 12px;border:1px solid #def3ea;border-radius:12px;background:#ecfdf6;color:#50806c;font-size:.77rem;font-weight:600}.subject-badge.core{background:#fff9df;border-color:#f0e7bc;color:#80672a}.subject-badge .icon{width:16px;height:16px}.subject-badge small{display:block;margin-top:3px;font-size:.65rem;font-weight:400;opacity:.85}.test-card .subject-badges{gap:5px;margin:0 0 17px}.test-card .subject-badge{font-size:.68rem;padding:6px 8px;border-radius:8px;gap:5px}.test-card .subject-badge .icon{width:13px;height:13px}.test-card .test-meta{flex-wrap:wrap;gap:14px}.bundle-tests{align-items:start}.bundle-tests .test-card h3{min-height:0}.student-subject-setup{margin:18px 0 22px;padding:0 0 2px}.selection-count{padding:7px 12px;border-radius:10px;background:#e7fbf3;color:#58a585;font-size:.82rem}.selection-count.complete{background:#e2f4e9;color:#357353}.elective-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:12px 0 20px}.elective-option{display:flex;gap:11px;align-items:center;position:relative;min-height:64px;padding:12px 13px;border:1px solid #e1f1ea;background:#fbfffd;border-radius:14px;cursor:pointer;font-size:.82rem;font-weight:600;transition:background .18s,border-color .18s,transform .18s}.elective-option:hover{background:#effef8;border-color:#b9e4d2;transform:translateY(-2px)}.elective-option>input{position:absolute;opacity:0;width:1px;height:1px}.elective-option:has(input:checked){background:#e5fdf3;border-color:#9ad4bc;color:#458e70}.elective-option:has(input:focus-visible){outline:3px solid #a7dfc8;outline-offset:3px}.elective-icon{display:grid;place-items:center;background:#e8f8f1;width:35px;height:35px;border-radius:10px;flex-shrink:0;color:#74b69b}.elective-option>i{margin-left:auto;display:grid;place-items:center;width:20px;height:20px;border:1px solid #cfebdf;border-radius:7px;font-style:normal;flex-shrink:0}.elective-option>i .icon{width:14px;height:14px;opacity:0}.elective-option:has(input:checked)>i{background:#65be99;border-color:#65be99;color:#fff}.elective-option:has(input:checked)>i .icon{opacity:1}.choice-pills{display:flex!important;flex-wrap:wrap;gap:5px;margin-top:7px}.choice-pills>span{display:inline-block;background:#e7faf2;color:#518f75;border:1px solid #daf5ea;padding:4px 8px;border-radius:7px;font-size:.68rem;font-weight:550;line-height:1.4}.leader-name .choice-pills>span:nth-child(2){background:#fff6d4;border-color:#efe4b8;color:#866b26}.leader-row{align-items:center}.leader-name{min-width:0;flex:1}.leader-value{white-space:nowrap;flex-shrink:0;font-size:1.2rem}.readiness-note{display:flex;align-items:flex-start;gap:8px;padding:11px 13px;background:#fff8df;border:1px solid #f0e4b9;color:#806728;border-radius:10px;font-size:.75rem;line-height:1.6}.readiness-note .icon{height:16px;width:16px;flex-shrink:0;margin-top:2px}.format-badge{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding:14px 17px;background:#fff7d4;border:1px solid #f1e5b6;border-radius:13px;align-content:center;color:#866b29}.format-badge>.icon{grid-row:span 2;align-self:center}.format-badge strong{font-size:1rem}.format-badge span{font-size:.72rem}.mini-kind{display:inline-block;margin:4px 0 2px;padding:3px 7px;font-size:.62rem;border-radius:6px;font-weight:600;background:#e8fbf3;color:#5b9c81}.mini-kind.core{background:#fff5d0;color:#8c7129}.subject-kind-form{display:flex;align-items:center;gap:6px;margin:8px 0!important}.subject-kind-form label{margin:0;flex:1;min-width:0;max-width:190px}.subject-kind-form .select-trigger{min-height:34px;padding:7px 10px;font-size:.7rem}.subject-kind-label{flex-basis:100%;margin:0!important}.entity-add:has(.subject-kind-label){flex-wrap:wrap}.entity-add .subject-kind-label{width:100%;order:3}.entity-add .subject-kind-label .isg-select{width:100%}.subject-progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0 0 20px}.subject-progress{padding:14px;background:#fff;border:1px solid #e0f3eb;border-radius:13px;color:#587e6e;display:flex;flex-direction:column;gap:11px;transition:background .2s,border-color .2s}.subject-progress.selected{background:#e8fcf4;border-color:#a5dec6}.subject-progress>span{display:flex;gap:8px;align-items:center;font-size:.77rem;font-weight:600}.subject-progress .icon{width:16px;height:16px}.subject-progress strong{font-size:1.15rem;color:#55967b}.subject-progress>i{height:4px;background:#e1f3ec;border-radius:3px;overflow:hidden}.subject-progress>i:before{content:'';display:block;width:var(--progress);height:100%;background:#8bd1b4;border-radius:3px}.test-subject-tabs{display:flex;gap:8px;overflow-x:auto;margin:15px 0;padding-bottom:7px;scrollbar-width:thin}.test-subject-tabs a{display:inline-flex;gap:7px;align-items:center;padding:10px 13px;border:1px solid #ddefe8;border-radius:11px;background:#fff;color:#588975;font-size:.76rem;white-space:nowrap}.test-subject-tabs .icon{width:16px;height:16px}.question-labels{display:flex;flex-wrap:wrap;gap:7px}.question-nav{max-height:130px;overflow-y:auto;padding:3px;scrollbar-width:thin}
/* Native field remains the source of truth; dropdown surface is entirely local. */
.isg-select{display:block;position:relative;min-width:0;width:100%;margin-top:7px}.isg-select .enhanced-select{position:absolute!important;inset:0!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0!important;padding:0!important;border:0!important;pointer-events:none!important;margin:0!important;clip-path:inset(50%)}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:12px 14px;font:inherit;font-size:.82rem;font-weight:450;text-align:left;border:1px solid #ddece6;border-radius:12px;background:#fff;color:#486a5c;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s;box-shadow:0 2px 5px #3b745c03}.select-trigger:hover{border-color:#b4e1ce;background:#f9fffc}.select-trigger[aria-expanded=true]{border-color:#9ad7be;box-shadow:0 0 0 3px #c3eedc4d;background:#f9fffc}.select-trigger:focus-visible{outline:3px solid #c3eedc;outline-offset:2px}.select-trigger[aria-invalid=true]{border-color:#c65e79}.select-trigger:disabled{opacity:.55;cursor:not-allowed}.select-trigger .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.select-trigger>svg{width:18px;height:18px;stroke:#79af98;stroke-width:1.8;fill:none;flex-shrink:0;transition:transform .18s}.select-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.select-trigger.placeholder{color:#7b9a8d}.select-popup{position:fixed;z-index:1000;padding:8px;border:1px solid #d7efe5;border-radius:16px;background:#fcfffe;box-shadow:0 15px 45px #3a856629,0 3px 10px #3a856610;animation:select-in .14s ease-out;overflow:hidden;color:#406254;font-family:'ISG Sans','Segoe UI',sans-serif}.select-popup[hidden]{display:none!important}.select-search-wrap{display:flex;align-items:center;gap:9px;background:#effbf6;border:1px solid #e1f5ed;border-radius:10px;padding:0 10px;margin-bottom:7px}.select-search-wrap>svg{width:17px;height:17px;stroke:#82bca4;stroke-width:1.8;fill:none;flex-shrink:0}.select-search-wrap input[type=search]{padding:10px 0!important;min-height:38px!important;width:100%;border:0!important;border-radius:0;background:transparent!important;font-size:.79rem!important;box-shadow:none!important;outline:none}.select-options{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7ecdd transparent;outline:none;padding:1px}.select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:10px 11px;font-size:.8rem;line-height:1.5;border:1px solid transparent;border-radius:9px;cursor:pointer;margin:2px 0}.select-option:hover,.select-option.focused{background:#eafaf3;border-color:#d8f2e7;color:#508e74}.select-option[aria-selected=true]{background:#e3fcf2;color:#509a7b;font-weight:650}.select-check{opacity:0;color:#63ba96;font-size:.9rem}.select-option[aria-selected=true] .select-check{opacity:1}.select-empty{margin:18px 7px;font-size:.79rem;text-align:center;color:#7ca594}.match-row .isg-select{margin-top:0}.filter-bar .isg-select{min-width:140px} @keyframes select-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.elective-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.elective-option{padding:10px;gap:7px;min-height:66px;font-size:.73rem;flex-wrap:wrap}.elective-option>.elective-icon{width:27px;height:27px}.elective-option>.elective-icon .icon{width:16px;height:16px}.elective-option>span:nth-of-type(2){flex:1;min-width:80px}.elective-option>i{position:absolute;right:7px;top:7px;width:15px;height:15px}.elective-option>i .icon{width:11px;height:11px}.subject-badge{padding:8px 10px;font-size:.72rem}.subject-badge small{font-size:.62rem}.subject-group-heading{flex-wrap:wrap;gap:7px}.subject-group-heading h3{font-size:.87rem}.leader-value{font-size:.91rem}.choice-pills>span{font-size:.62rem}.leader-name strong{font-size:.83rem}.select-trigger{min-height:44px;font-size:.8rem;padding:11px 12px}.select-option{min-height:44px;font-size:.82rem}.select-popup{border-radius:13px}.select-search-wrap input[type=search]{font-size:.82rem!important}.subject-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-progress{padding:12px;gap:8px}.subject-progress>span{font-size:.7rem}.test-card .subject-badge{font-size:.67rem}.test-meta{font-size:.75rem}.format-badge{min-height:70px}.question-labels{max-width:85%}.test-subject-tabs a{font-size:.73rem}.entity-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.select-popup{animation:none}.elective-option{transition:none}}
.pending-students{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:14px}.pending-student{padding:13px 15px;background:#f7fefb;border:1px solid #e2f5ed;border-radius:12px;font-size:.78rem}.pending-student>strong{display:block;color:#4f7766}.pending-student>span,.pending-student>small{display:block;margin-top:5px;font-size:.7rem;color:#7a9e8f}
.accounts-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:15px}.accounts-toolbar .filter-bar{padding:0;margin:0;flex:1}.accounts-toolbar>form{margin:0}.accounts-toolbar>.filter-bar{min-width:250px}.teacher-subject-setup{background:#fff9e5;border-color:#f0e5bd;margin-top:20px}.teacher-subject-setup label{max-width:440px}.question-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;flex-shrink:0}.question-actions form{margin:0}@media(max-width:600px){.accounts-toolbar{align-items:stretch}.accounts-toolbar>form:last-child,.accounts-toolbar>form:last-child .btn{width:100%}.question-actions{width:100%}}
/* ISG v5 · focused, responsive question-by-question testing. */
body[data-page=take]{background:radial-gradient(ellipse at 10% 4%,#e7fff5,transparent 48%),radial-gradient(ellipse at 98% 90%,#fff5d8,transparent 45%),#f5fbf8}body[data-page=take] .sidebar,body[data-page=take] .topbar,body[data-page=take] .ambient{display:none}body[data-page=take] .app-shell{display:block;padding:20px}body[data-page=take] .workspace{width:100%;min-width:0}body[data-page=take] .content{max-width:1360px;width:100%;margin:0 auto;padding:0}body[data-page=take] footer{font-size:12px;padding:25px 0}.quiz-root{font-size:16px;color:#294338;line-height:1.5}.quiz-root button,.quiz-root input,.quiz-root select{font-family:inherit}.quiz-root [hidden]{display:none!important}.quiz-hud{display:flex;align-items:center;gap:22px;position:sticky;top:12px;z-index:20;padding:16px 22px;border-radius:20px;background:#fffffff0;box-shadow:0 6px 25px #53836f0a}.quiz-identity{display:flex;align-items:center;gap:13px;min-width:0;flex:1}.quiz-home{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e1f3ec;border-radius:13px;background:#f3fffa;color:#60ae8e;flex-shrink:0}.quiz-home:hover{background:#e4fcf2}.quiz-eyebrow{display:block;font-size:11px;letter-spacing:1.4px;color:#7b9e8f;font-weight:650;margin-bottom:4px}.quiz-hud h1{font-size:19px;letter-spacing:-.4px;line-height:1.4;margin:0;color:#2a4a3d;overflow-wrap:anywhere}.quiz-total{width:125px;flex-shrink:0}.quiz-total>strong{font-size:14px;color:#508f75;display:block;margin-bottom:6px}.quiz-total progress{display:block;width:100%;height:6px;border:0;border-radius:9px;overflow:hidden;background:#e5f7f0;appearance:none}.quiz-total progress::-webkit-progress-bar{background:#e5f7f0;border-radius:9px}.quiz-total progress::-webkit-progress-value{background:linear-gradient(90deg,#86ceb0,#52af88);border-radius:9px;transition:width .4s}.quiz-total progress::-moz-progress-bar{background:#73c4a2;border-radius:9px}.quiz-clock{display:flex;align-items:center;gap:11px;background:#edfff8;border:1px solid #dbf7eb;border-radius:14px;padding:9px 15px;min-width:136px;color:#57ae8a;flex-shrink:0}.quiz-clock>.icon{width:23px;height:23px}.quiz-clock strong{font-size:27px;line-height:1.1;letter-spacing:.8px;font-variant-numeric:tabular-nums;color:#50a783}.quiz-clock span{display:block;font-size:11px;color:#7eae9a;margin-top:4px}.quiz-clock.urgent{background:#fff0f0;border-color:#edc0c4;color:#b54c5d}.quiz-clock.urgent strong{color:#b54c5d}.quiz-clock.urgent span{color:#ac6370}.quiz-finish.btn{min-height:46px;padding:11px 17px;font-size:14px;white-space:nowrap}.quiz-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 2px 14px}.quiz-section-title h2{font-size:18px;letter-spacing:-.4px;margin:0 0 3px}.quiz-section-title span{font-size:12px;color:#7a9b8d}.quiz-section-title .quiz-total-note{font-size:12px;white-space:nowrap}.quiz-subjects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:0 0 24px}.quiz-subject{--subject:#79cdaa;--subject-soft:#e4fdf3;--subject-ink:#509e7e;position:relative;isolation:isolate;display:flex;align-items:center;gap:11px;min-width:0;min-height:91px;padding:16px 13px;border:1px solid #dfefe8;border-radius:16px;background:#ffffffb8;text-align:left;color:var(--subject-ink);cursor:pointer;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}.quiz-subject.tone-amber{--subject:#deba51;--subject-soft:#fff2c5;--subject-ink:#8b6e20}.quiz-subject.tone-cyan{--subject:#62b7ce;--subject-soft:#ddf3fa;--subject-ink:#367d93}.quiz-subject.tone-rose{--subject:#cf86a4;--subject-soft:#fce4ef;--subject-ink:#a25679}.quiz-subject.tone-mint{--subject:#6fb99c;--subject-soft:#dff4e9;--subject-ink:#367c60}.subject-fill{position:absolute;z-index:-1;top:0;bottom:0;left:0;width:var(--fill,0%);background:var(--subject-soft);transition:width .65s cubic-bezier(.2,.75,.2,1)}.quiz-subject:hover{border-color:var(--subject);transform:translateY(-2px)}.quiz-subject.active{border-color:var(--subject);box-shadow:0 0 0 2px color-mix(in srgb,var(--subject) 25%,transparent),0 5px 16px #4b856d0a}.quiz-subject.active:after{content:'';position:absolute;left:16px;right:16px;bottom:0;height:3px;background:var(--subject);border-radius:3px 3px 0 0}.subject-symbol{display:grid;place-items:center;width:35px;height:39px;flex-shrink:0;border:1px solid color-mix(in srgb,var(--subject) 30%,transparent);border-radius:11px;background:#ffffff80}.subject-symbol .icon{width:20px;height:20px}.subject-copy{display:block;min-width:0;flex:1}.subject-copy>strong{font-size:13px;line-height:1.4;display:block;min-height:36px;overflow-wrap:anywhere}.subject-copy>span{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:6px;font-size:11px}.subject-copy b{font-weight:600}.subject-copy [data-subject-percent]{font-weight:750}.subject-complete{position:absolute;right:7px;top:5px;opacity:0;transform:scale(.4);transition:opacity .25s,transform .35s}.subject-complete .icon{width:14px;height:14px}.quiz-subject.complete .subject-complete{opacity:1;transform:scale(1)}.subject-celebrate{animation:quiz-complete .55s ease}.quiz-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start}.quiz-map-panel{padding:21px;border-radius:20px;position:sticky;top:110px}.quiz-map-panel summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer}.quiz-map-panel summary::-webkit-details-marker{display:none}.quiz-map-panel summary strong{font-size:16px;color:#365e4d;display:block;line-height:1.5}.quiz-map-panel summary small{font-size:12px;display:block;margin-top:5px;color:#759e8d}.quiz-map-panel summary>.icon{width:19px;height:19px;color:#74ad95}.quiz-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:21px}.quiz-number{display:grid;place-items:center;aspect-ratio:1;min-height:42px;width:100%;border:1px solid #dceee6;border-radius:11px;background:#fff;color:#708e82;font-size:15px;font-weight:650;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .18s}.quiz-number:hover{transform:translateY(-2px);border-color:#9bd7be}.quiz-number.answered{background:#daf2e3;border-color:#96d0ad;color:#287349}.quiz-number.current,.quiz-number.current.answered{background:#c7475b;border-color:#b83d50;color:white;box-shadow:0 4px 10px #cf6e7933}.quiz-number:focus-visible,.quiz-subject:focus-visible{outline:3px solid #72c7a4;outline-offset:3px}.quiz-legend{display:flex;flex-wrap:wrap;gap:9px 12px;margin-top:18px;padding-top:15px;border-top:1px solid #e5f3ed}.quiz-legend>span{display:flex;align-items:center;gap:6px;font-size:10px;color:#79978b}.quiz-legend i{height:8px;width:8px;border:1px solid #cee5db;background:#fff;border-radius:3px}.quiz-legend i.legend-current{background:#c7475b;border-color:#c7475b}.quiz-legend i.legend-answered{background:#a8dab9;border-color:#a8dab9}.quiz-gap-button{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:19px;min-height:43px;width:100%;border:1px solid #dcf0e8;background:#f3fffa;color:#62947f;border-radius:11px;padding:9px;font-size:12px;font-weight:600;cursor:pointer}.quiz-gap-button>.icon{width:16px;height:16px}.quiz-save-state{display:flex;align-items:center;gap:7px;margin-top:18px;color:#6c897d;font-size:11px;line-height:1.5}#save-dot{height:7px;width:7px;border-radius:50%;background:#78b997;flex-shrink:0}#save-dot[data-state=saving]{background:#c5a24a;animation:quiz-saving 1s ease-in-out infinite}#save-dot[data-state=offline]{background:#d18162}.quiz-reassurance{font-size:11px!important;line-height:1.7;color:#8bab9e!important;margin:13px 0 0}.quiz-stage{min-width:0;scroll-margin-top:115px}.quiz-root .quiz-question{margin:0;padding:30px;border-radius:22px;background:#ffffffed;box-shadow:0 7px 24px #44836908;border-color:#dff2ea;animation:none}.quiz-question-top{display:flex;align-items:center;gap:12px;margin-bottom:24px}.quiz-question-number{font-size:24px;font-weight:750;letter-spacing:-.6px;color:#60ae8e;background:#e8fcf4;border-radius:12px;padding:7px 13px;white-space:nowrap}.quiz-question-number small{font-size:14px;font-weight:500;color:#89b7a4}.quiz-question-subject{color:#7ca996;font-size:12px;line-height:1.5;flex:1}.quiz-points{color:#86a799;background:#f6fcfa;border:1px solid #e3f3ec;border-radius:9px;font-size:12px;padding:6px 10px;white-space:nowrap}.quiz-root .quiz-question-title{font-size:clamp(20px,1.8vw,26px);line-height:1.65;font-weight:650;letter-spacing:-.25px;margin:0 0 15px;color:#304e42;overflow-wrap:anywhere;outline:none}.quiz-answer-hint{font-size:13px!important;color:#7da293!important;margin:0 0 22px}.quiz-root .quiz-answer{min-height:66px;padding:15px 17px;gap:14px;margin:10px 0;border:1px solid #dff0e9;border-radius:14px;background:#fcfffe;line-height:1.65;font-size:18px;color:#4a7060;cursor:pointer;transition:background .2s,border-color .2s,transform .18s,box-shadow .2s;position:relative}.quiz-root .quiz-answer:hover{border-color:#afdfcb;background:#f5fffb;transform:translateX(3px)}.quiz-answer>input{position:absolute;opacity:0;width:1px;height:1px}.quiz-answer-letter{display:grid;place-items:center;min-width:34px;height:34px;border:1px solid #d7efe5;border-radius:10px;font-size:14px;font-weight:700;color:#82b39f;background:white;align-self:flex-start;margin-top:1px}.quiz-answer-text{flex:1;min-width:0;overflow-wrap:anywhere}.quiz-answer-check{display:grid;place-items:center;height:23px;width:23px;border:1px solid #d5ebe2;border-radius:50%;background:white;flex-shrink:0;align-self:flex-start;margin-top:6px}.quiz-answer-check .icon{width:15px;height:15px;opacity:0}.quiz-answer:has(input[type=checkbox]) .quiz-answer-check{border-radius:7px}.quiz-root .quiz-answer:has(input:checked){border-color:#95d0b7;background:#e6fdf3;color:#417e65;box-shadow:0 2px 10px #76ba9e0b}.quiz-answer:has(input:checked) .quiz-answer-letter{background:#82c8ab;color:white;border-color:#82c8ab}.quiz-answer:has(input:checked) .quiz-answer-check{background:#82c8ab;border-color:#82c8ab;color:white}.quiz-answer:has(input:checked) .quiz-answer-check .icon{opacity:1}.quiz-answer:has(input:focus-visible){outline:3px solid #a8dec8;outline-offset:3px}.quiz-root .quiz-clear{display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;border-radius:7px;color:#839f93;font-size:12px;padding:10px 0;margin:14px 0 0;min-height:40px;cursor:pointer}.quiz-clear .icon{height:14px;width:14px}.quiz-root .quiz-match-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,1fr);gap:18px;align-items:center;padding:16px;background:#f6fffb;border:1px solid #dff4eb;border-radius:14px;margin:12px 0;font-size:18px;color:#507465}.quiz-match-row>span{display:flex;align-items:center;gap:11px;overflow-wrap:anywhere}.quiz-match-row>span>b{display:grid;place-items:center;height:30px;width:30px;flex-shrink:0;background:#e3faf0;border-radius:9px;color:#79b69d;font-size:13px}.quiz-root .quiz-match-row .select-trigger{font-size:16px;min-height:50px}.quiz-root .question-image{max-height:400px;max-width:100%;object-fit:contain;margin:18px auto 24px;display:block;border-radius:12px}.quiz-root .option-image{max-width:100%;max-height:180px;object-fit:contain}.quiz-stepper{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;padding:16px 20px;border:1px solid #dff2ea;border-radius:16px;background:#ffffffd9;box-shadow:0 3px 10px #47836a05}.quiz-stepper .btn{font-size:15px;min-height:47px;min-width:140px;padding:12px 17px;gap:9px}.quiz-stepper .btn:disabled{opacity:.4;cursor:not-allowed;transform:none}#current-position{color:#7a9d8e;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.quiz-bottom-progress{text-align:center;font-size:12px!important;color:#87ab9c!important;margin:17px 0 0}.quiz-root .quiz-review{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 36px);overflow:auto;padding:28px;border-radius:22px;color:#436356}.quiz-review h2{font-size:24px;line-height:1.4;margin:16px 0 11px}.quiz-review p{font-size:14px;line-height:1.8;margin-bottom:18px}.quiz-review-icon{display:grid;place-items:center;height:48px;width:48px;border-radius:15px;background:#e3faf0;color:#72bc9d}.quiz-review-icon .icon{width:27px;height:27px}.review-subject{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:1px solid #e0f2ea;background:#f6fffb;padding:13px 15px;border-radius:12px;font:inherit;font-size:14px;color:#63927e;text-align:left;margin:8px 0;cursor:pointer}.review-subject strong{white-space:nowrap;color:#ad7a51;font-size:14px}.review-subject.done{background:#eff9f2;border-color:#d5ebdd;color:#5d8d6c}.review-subject.done strong{color:#4c8f65}.quiz-review-actions{display:flex;gap:12px;margin-top:22px}.quiz-review-actions .btn{flex:1;min-height:46px;font-size:14px}.quiz-root button:disabled{cursor:wait}.quiz-root button[aria-current]{cursor:pointer}@keyframes quiz-complete{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px);box-shadow:0 6px 18px #72ac9420}}@keyframes quiz-saving{50%{opacity:.35}}
@media(min-width:1450px){.quiz-root .quiz-question{padding:35px 40px}.quiz-workspace{grid-template-columns:310px minmax(0,1fr)}.quiz-map-panel{padding:23px}.quiz-subject{padding:17px 16px}.subject-copy>strong{font-size:14px}}
@media(max-width:1100px){.quiz-subjects{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding:3px 3px 10px;margin-left:-3px;margin-right:-3px}.quiz-subject{flex:0 0 190px;scroll-snap-align:center;min-height:86px}.quiz-workspace{grid-template-columns:250px minmax(0,1fr);gap:16px}.quiz-map-panel{padding:17px}.quiz-numbers{gap:7px}.quiz-number{min-height:37px;font-size:14px}.quiz-hud{gap:16px;padding:14px 17px}.quiz-total{width:90px}.quiz-root .quiz-question{padding:24px}.quiz-hud h1{font-size:17px}.quiz-root .quiz-answer{font-size:17px}.quiz-stepper{padding:13px}.quiz-stepper .btn{min-width:125px}}
@media(max-width:1049px){.quiz-workspace{grid-template-columns:1fr}.quiz-map-panel{position:static;padding:15px 18px}.quiz-number-groups{max-width:none}.quiz-numbers{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin-top:17px}.quiz-number{aspect-ratio:auto;min-height:44px;font-size:16px}.quiz-gap-button{width:auto;min-width:210px;margin-top:13px;padding:10px 13px}.quiz-save-state{margin-top:11px;position:absolute;bottom:19px;right:20px;max-width:48%}.quiz-map-panel{position:relative}.quiz-reassurance{display:none}.quiz-map-panel summary strong{font-size:16px}.quiz-map-panel summary small{font-size:12px}.quiz-legend{margin-bottom:9px}.quiz-total{display:none}.quiz-stage{scroll-margin-top:105px}.quiz-root .quiz-question-title{font-size:23px}}
@media(max-width:600px){body[data-page=take] .app-shell{padding:10px}.quiz-root{font-size:16px}.quiz-hud{top:5px;padding:11px 12px;gap:9px;border-radius:15px;flex-wrap:wrap}.quiz-identity{gap:9px;flex-basis:calc(100% - 118px)}.quiz-home{width:33px;height:36px;border-radius:10px}.quiz-home>.icon{width:18px;height:18px}.quiz-eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:2px}.quiz-hud h1{font-size:15px;line-height:1.4;max-width:200px}.quiz-clock{padding:8px 9px;gap:6px;min-width:101px;border-radius:11px;margin-left:auto}.quiz-clock>.icon{width:17px;height:17px}.quiz-clock strong{font-size:23px;letter-spacing:.1px}.quiz-clock span{font-size:9px;margin-top:2px}.quiz-hud .quiz-total{display:block;width:auto;flex:1}.quiz-total>strong{font-size:12px;margin-bottom:4px}.quiz-total progress{height:5px}.quiz-finish.btn{min-height:35px;padding:7px 13px;font-size:12px;border-radius:10px}.quiz-finish>.icon{width:15px;height:15px}.quiz-section-title{margin:20px 2px 10px}.quiz-section-title h2{font-size:16px}.quiz-section-title span{font-size:10px;line-height:1.5}.quiz-section-title .quiz-total-note{font-size:10px}.quiz-subjects{gap:9px;margin-bottom:13px;padding-bottom:10px}.quiz-subject{flex-basis:176px;min-height:82px;padding:12px;border-radius:13px;gap:9px}.subject-copy>strong{font-size:13px;min-height:34px}.subject-copy>span{font-size:11px;margin-top:4px}.subject-symbol{width:30px;height:34px}.subject-symbol>.icon{width:18px;height:18px}.quiz-map-panel{padding:14px;border-radius:16px}.quiz-map-panel summary strong{font-size:15px}.quiz-map-panel summary small{font-size:11px;margin-top:3px}.quiz-save-state{position:static;margin-top:11px;max-width:none;font-size:11px}.quiz-gap-button{min-width:0;font-size:12px;min-height:39px;width:100%;margin-top:12px}.quiz-numbers{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:15px}.quiz-number{min-height:43px;font-size:16px;border-radius:10px}.quiz-legend>span{font-size:10px}.quiz-workspace{gap:16px}.quiz-root .quiz-question{padding:20px 17px;border-radius:18px}.quiz-question-top{gap:9px;margin-bottom:18px;flex-wrap:wrap}.quiz-question-number{font-size:21px;padding:5px 10px;border-radius:10px}.quiz-question-number small{font-size:13px}.quiz-question-subject{font-size:12px;line-height:1.5;min-width:90px}.quiz-points{font-size:11px;padding:5px 8px}.quiz-root .quiz-question-title{font-size:20px;line-height:1.65;letter-spacing:0;margin-bottom:13px}.quiz-answer-hint{font-size:12px!important;line-height:1.6;margin-bottom:18px}.quiz-root .quiz-answer{font-size:17px;line-height:1.65;padding:13px 12px;gap:10px;min-height:62px;border-radius:13px;margin:9px 0}.quiz-answer-letter{min-width:29px;height:31px;font-size:13px;border-radius:9px}.quiz-answer-check{height:20px;width:20px;margin-top:6px}.quiz-answer-check>.icon{width:13px;height:13px}.quiz-root .quiz-clear{font-size:12px;min-height:43px}.quiz-root .quiz-match-row{grid-template-columns:1fr;gap:12px;font-size:17px;padding:13px}.quiz-root .quiz-match-row .select-trigger{font-size:16px;min-height:49px}.quiz-stepper{gap:9px;padding:12px;border-radius:15px;margin-top:14px}.quiz-stepper .btn{font-size:13px;min-width:0;min-height:46px;padding:12px;flex:1;gap:7px}.quiz-stepper .icon{width:17px;height:17px}#current-position{font-size:12px;min-width:37px;text-align:center}.quiz-stage{scroll-margin-top:135px}.quiz-bottom-progress{font-size:11px!important}.quiz-root .question-image{max-height:300px}.quiz-root .quiz-review{padding:23px 20px}.quiz-review h2{font-size:21px}.quiz-review p{font-size:13px}.review-subject{padding:12px;font-size:13px;min-height:49px}.quiz-review-actions .btn{font-size:13px;min-height:45px}.quiz-root .quiz-answer:hover{transform:none}.quiz-root .quiz-match-row select{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.quiz-root *,.quiz-root *:before,.quiz-root *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.quiz-hud h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.quiz-root[aria-busy=true] .quiz-home{pointer-events:none;opacity:.6}@media(max-width:600px){.quiz-stage{scroll-margin-top:155px}}@media(max-width:380px){.quiz-stepper #current-position{display:none}.quiz-stepper .btn{min-height:47px}.quiz-root .quiz-answer{gap:8px;padding:13px 10px}}
/* ISG v6 · immediate analysis, weekly history and learning trajectories. */
.band-green{--status:#3f9b71;--status-soft:#e4f5ea;--status-ink:#2f7452}.band-amber{--status:#cfaa39;--status-soft:#fff5d0;--status-ink:#8b6c19}.band-red{--status:#d2697d;--status-soft:#fce8ed;--status-ink:#a34d62}.result-pill{display:inline-flex;align-items:center;justify-content:center;min-width:55px;padding:7px 11px;border-radius:10px;background:var(--status-soft,#ebfaf4);color:var(--status-ink,#53977b);font-size:13px;font-weight:750;line-height:1.4;white-space:nowrap}.report-chip{display:inline-block;padding:7px 11px;border:1px solid #dff1ea;border-radius:10px;background:#f4fdf9;color:#729f8c;font-size:11px;font-weight:550;line-height:1.5}.report-footnote{font-size:11px!important;color:#84a798!important;margin:13px 0 0;line-height:1.7}.report-filters>summary{display:flex;gap:9px;align-items:center;font-weight:650;color:#578371;cursor:pointer;list-style:none}.report-filters>summary::-webkit-details-marker{display:none}.report-filters>summary .icon{width:19px;height:19px}.report-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:20px 0 16px}.report-filter-grid label{font-size:12px;margin:0}.report-filter-grid input{font-size:13px;min-height:43px}.report-filters .toolbar{margin-bottom:0}.report-filters .btn{font-size:12px;min-height:42px}.report-chart .section-heading{margin-top:0}.report-chart .section-heading h2{margin:0}.report-chart>p{font-size:12px;line-height:1.7}.dynamics-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c3e7d8 transparent}.dynamics-svg{display:block;width:100%;height:auto;max-height:310px;overflow:visible;font-family:'ISG Sans','Segoe UI',sans-serif}.chart-grid{stroke:#e6f5ef;stroke-width:1;stroke-dasharray:4 5}.chart-line{stroke:#8acbb0;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.chart-axis{fill:#8bad9f;font-size:11px}.chart-value{fill:#669d86;font-size:12px;font-weight:650}.chart-label{fill:#739e8c;font-size:12px;font-weight:600}.chart-point circle{fill:var(--status);stroke:white;stroke-width:3;transition:r .18s,filter .18s}.chart-point:hover circle{r:10px;filter:drop-shadow(0 3px 6px #65917f33)}.report-chart .report-footnote{margin-top:7px}.trajectory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:13px;margin-top:17px}.trajectory-card{padding:18px;border:1px solid #e1f1ea;border-radius:16px;background:linear-gradient(140deg,#ffffff,var(--status-soft));min-width:0}.trajectory-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.trajectory-top>span{font-size:11px;color:#789d8e;line-height:1.5}.trajectory-card h3{font-size:16px;line-height:1.5;margin:14px 0;color:#446b5b}.report-track{height:7px;border-radius:9px;overflow:hidden;background:#e3efea;margin:12px 0}.report-track>span{display:block;height:100%;background:var(--status,#87caae);border-radius:9px;animation:report-fill .6s ease both;transform-origin:left}.trajectory-target{font-size:12px!important;font-weight:600;color:var(--status-ink)!important;margin:10px 0}.trajectory-card>small{font-size:10px;color:#8aab9d;line-height:1.7}.trajectory-change{font-size:11px!important;color:#759c8c!important;line-height:1.7;margin:12px 0 8px}.topic-history{display:flex;gap:6px;overflow-x:auto;padding:3px 0 8px;scrollbar-width:thin}.topic-history>span{display:block;flex-shrink:0;padding:7px 9px;border-radius:9px;border:1px solid #ffffffc0;background:var(--status-soft);color:var(--status-ink);font-size:10px;line-height:1.4}.topic-history b{display:block;font-size:12px;margin-top:4px}.learning-action{display:flex;gap:7px;align-items:flex-start;background:#ffffffad;padding:11px 12px;border-radius:10px;font-size:11px!important;color:#628c7b!important;line-height:1.7;margin:13px 0 0}.learning-action .icon{width:15px;height:15px;flex-shrink:0;margin-top:2px}.week-history{border-radius:18px;margin-bottom:12px;overflow:hidden}.week-history>summary{display:flex;align-items:center;gap:15px;padding:19px 22px;cursor:pointer;list-style:none;background:#ffffffb0;transition:background .2s}.week-history>summary::-webkit-details-marker{display:none}.week-history>summary:hover{background:#f5fffb}.week-icon{display:grid;place-items:center;height:43px;width:43px;border-radius:13px;background:#e8fbf3;color:#86c5ab;flex-shrink:0}.week-icon .icon{width:22px;height:22px}.week-title{min-width:0;flex:1}.week-title>strong{display:block;font-size:18px;color:#548973;line-height:1.5}.week-title>small{display:block;font-size:11px;color:#8aafa0;line-height:1.6;margin-top:4px}.week-count{font-size:11px;color:#93b7a8;white-space:nowrap}.week-chevron{color:#86b8a3;transition:transform .2s}.week-chevron .icon{width:18px;height:18px}.week-history[open] .week-chevron{transform:rotate(90deg)}.week-content{padding:20px;border-top:1px solid #e4f5ee;background:#fafffd}.subject-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;margin:0 0 22px}.week-content>.subject-report-grid{margin:0}.subject-report-card{display:block;background:linear-gradient(135deg,#fff,var(--status-soft));padding:20px;border:1px solid #e1ede8;border-radius:16px;transition:transform .2s,box-shadow .2s;color:var(--status-ink);min-width:0}.subject-report-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #58887412}.subject-report-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--status-soft);color:var(--status)}.subject-report-icon .icon{width:20px;height:20px}.subject-report-card h3{font-size:14px;line-height:1.5;min-height:42px;color:#598975;margin:13px 0 15px}.subject-report-card>strong{display:block;font-size:24px;font-weight:750;color:var(--status-ink);letter-spacing:-.5px}.subject-report-card>strong>small{font-size:11px;font-weight:450;margin-left:7px;letter-spacing:0}.subject-report-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.subject-report-bottom>span:last-child{font-size:11px;color:#7aad98;white-space:nowrap}.subject-report-bottom .icon{width:14px;height:14px}.report-subject-links{display:flex;flex-wrap:wrap;gap:6px;max-width:550px}.report-subject-links>a{display:inline-flex;align-items:center;gap:7px;padding:6px 8px;border-radius:8px;background:var(--status-soft);color:var(--status-ink);font-size:11px;line-height:1.5}.report-history .table-wrap td{font-size:12px}.report-history .btn{margin:3px}.report-history .table-wrap td>.result-pill{margin-bottom:5px}.result-overview{display:flex;align-items:center;gap:30px;background:linear-gradient(115deg,#fff,var(--status-soft));padding:28px 32px}.analysis-ring{--pct:0;display:grid;place-items:center;width:155px;height:155px;border-radius:50%;background:conic-gradient(var(--status) calc(var(--pct)*1%),#e3eee9 0);flex-shrink:0;padding:10px}.analysis-ring>div{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fffafc;border-radius:50%;height:100%;width:100%}.analysis-ring strong{font-size:33px;letter-spacing:-1px;color:var(--status-ink)}.analysis-ring span{font-size:12px;color:#8ab0a0;margin-top:4px}.result-overview-copy h2{font-size:29px;letter-spacing:-.8px;color:var(--status-ink);margin:12px 0 5px}.result-overview-copy p{font-size:13px;margin:0 0 18px;color:#80a998}.result-overview .toolbar{margin-bottom:0}.result-overview .btn{font-size:12px;min-height:42px}.result-subject-tabs{display:flex;gap:8px;overflow-x:auto;margin:8px 0 22px;padding:3px 2px 10px;scrollbar-width:thin}.result-subject-tabs>a{display:flex;align-items:center;gap:10px;white-space:nowrap;padding:11px 14px;border:1px solid #dcefe7;background:#fff;border-radius:12px;color:#7baa96;font-size:12px}.result-subject-tabs>a>b{font-size:11px;border-radius:6px;padding:4px 6px;background:var(--status-soft,#e5faf1);color:var(--status-ink,#72ac94)}.result-subject-tabs>a.active{background:var(--status-soft,#e3fbf1);border-color:var(--status,#9acfb9);color:var(--status-ink,#5b997f)}.report-topic{padding:17px 0;border-bottom:1px solid #e6f6ef}.report-topic:last-child{border:0}.report-topic>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px}.report-topic strong{font-size:14px;color:#548b74;line-height:1.6}.report-topic>small{font-size:11px;color:#8ab1a1;line-height:1.7}.analysis-hint{display:flex;gap:9px;align-items:center;padding:17px 20px;background:#eafcf4;border-radius:13px;color:#7faf9b;font-size:13px}.analysis-hint .icon{width:19px;height:19px}.review-question{border:1px solid #deefe8;border-radius:15px;margin:12px 0;background:#fff;overflow:hidden}.review-question>summary{display:flex;align-items:center;gap:13px;padding:16px;cursor:pointer;list-style:none;background:linear-gradient(110deg,#fff,var(--status-soft))}.review-question>summary::-webkit-details-marker{display:none}.review-q-number{display:grid;place-items:center;height:31px;width:31px;border-radius:10px;background:var(--status-soft);color:var(--status-ink);font-size:13px;font-weight:700;flex-shrink:0}.review-q-copy{display:block;min-width:0;flex:1}.review-q-copy>small{display:block;font-size:10px;color:#8bad9f;margin-bottom:5px}.review-q-copy>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;color:#5b8574;line-height:1.7;font-weight:550}.review-q-body{padding:20px;border-top:1px solid #e6f5ef}.review-q-body .review-option{font-size:15px;line-height:1.8}.review-q-body p{font-size:14px;line-height:1.8}.review-q-body .correct-answer-text{color:#508b67}.answer-correct-label{font-size:10px;color:#4b8b64;margin-left:9px}.chosen-label{display:block;font-size:10px;color:#89af9f;margin:5px 0}.review-q-body .explanation{border-radius:12px;padding:15px;margin-top:16px;background:#effdf7}.review-q-body .explanation p{font-size:13px;color:#729c8b}.report-success{display:flex;align-items:center;gap:10px;padding:20px;border:1px solid #d5e9db;background:#eef9f1;color:#599575;border-radius:13px;font-size:14px}@keyframes report-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:850px){.trajectory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.result-overview{padding:25px;gap:23px}.analysis-ring{width:135px;height:135px}.analysis-ring strong{font-size:29px}.result-overview-copy h2{font-size:26px}}
@media(max-width:600px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:16px}.report-filter-grid label{font-size:11px}.report-filter-grid input{min-height:43px;font-size:14px!important}.report-filters .toolbar{gap:8px}.report-filters .toolbar>.btn{font-size:11px;min-height:42px;flex:auto}.report-filters .toolbar>.btn:last-child{width:100%}.trajectory-grid{grid-template-columns:1fr}.trajectory-card{padding:17px}.trajectory-card h3{font-size:16px}.trajectory-top>span{font-size:12px}.learning-action{font-size:12px!important}.trajectory-card>small{font-size:11px}.trajectory-change{font-size:11px!important}.trajectory-target{font-size:13px!important}.week-history>summary{gap:10px;padding:16px 13px;flex-wrap:wrap}.week-icon{height:36px;width:36px;border-radius:11px}.week-icon .icon{height:18px;width:18px}.week-title>strong{font-size:17px}.week-title>small{font-size:10px}.week-count{display:none}.week-title{min-width:110px}.week-content{padding:13px}.subject-report-grid{gap:10px}.subject-report-card{padding:15px;border-radius:14px}.subject-report-card h3{font-size:13px;min-height:42px}.subject-report-card>strong{font-size:22px}.subject-report-bottom{flex-wrap:wrap;gap:7px}.subject-report-bottom>span:last-child{font-size:10px}.result-pill{font-size:12px;padding:6px 9px;min-width:48px}.report-chip{font-size:10px}.result-overview{padding:22px 18px;gap:17px;align-items:center;flex-wrap:wrap}.analysis-ring{height:112px;width:112px;padding:8px}.analysis-ring strong{font-size:25px}.analysis-ring span{font-size:11px}.result-overview-copy{flex:1;min-width:150px}.result-overview-copy h2{font-size:24px;margin-top:10px}.result-overview-copy p{font-size:12px;line-height:1.7}.result-overview .btn{font-size:11px;min-height:41px;padding:10px 12px}.result-subject-tabs>a{font-size:12px;padding:10px 12px}.report-topic strong{font-size:14px}.report-topic>small{font-size:11px}.report-topic .result-pill{flex-shrink:0}.report-chart>p{font-size:12px}.report-chart .report-footnote{font-size:10px!important}.review-question>summary{padding:13px;gap:9px}.review-q-copy>strong{font-size:13px}.review-q-number{height:28px;width:28px;font-size:12px;border-radius:8px}.review-q-body{padding:15px}.review-q-body .review-option{font-size:15px;padding:11px}.review-q-body .explanation p{font-size:13px}.analysis-hint{font-size:12px;line-height:1.8}.subject-report-icon{width:31px;height:31px}.report-history>.section-heading{align-items:flex-start;flex-direction:column;gap:7px}}
/* Keep the analysis readable on softly coloured surfaces. */
.report-topic strong,.review-q-copy>strong,.subject-report-card h3{color:#426e5c}.week-title>strong{color:#437460}.trajectory-card h3{color:#365f4e}.review-q-body p,.review-q-body .explanation p{color:#537e6c}.trajectory-top>span,.report-topic>small,.trajectory-change,.report-filter-grid label{color:#668e7d!important}.result-overview-copy p,.analysis-hint{color:#618f7c}.report-footnote,.week-title>small{color:#719888!important}.result-subject-tabs>a{color:#5b8f79}
@media(prefers-reduced-motion:reduce){.report-track>span,.subject-report-card,.week-chevron,.chart-point circle{animation:none!important;transition:none!important}}
.stat.band-green,.stat.band-amber,.stat.band-red{background:linear-gradient(130deg,#fff,var(--status-soft))}.stat.band-green>strong,.stat.band-amber>strong,.stat.band-red>strong{color:var(--status-ink)}
/* Bank selection: question and key have separate actions. */
.bank-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px 0;position:sticky;top:0;z-index:3;background:var(--surface,#f8fffc);border-radius:16px}.bank-tools strong{margin-left:auto;color:#51a582}.bank-item{border-radius:16px;transition:background .18s,border-color .18s}.bank-item.selected{background:#e7fff5;box-shadow:inset 3px 0 #60d5a4}.bank-item summary{cursor:pointer;min-height:80px}.bank-key{flex:none!important;min-width:44px;min-height:44px;font-size:24px!important;align-self:center}.bank-key[aria-expanded=true]{background:#fff1b9;color:#765700}.bank-item summary>span{min-width:0;overflow-wrap:anywhere}.draft-status:empty{display:none}.bundle-tests .subject-badges{display:flex;flex-wrap:wrap}
@media(max-width:600px){.bank-tools .btn{flex:1 1 40%}.bank-tools strong{width:100%;margin:0}.bank-item summary{gap:10px;padding:14px 8px}.bank-item summary strong{font-size:16px}}
/* ISG v8: logo green, clear navigation and errors. */
:root{--green:#147657;--deep:#0b503e;--mint:#e0f2e9;--ink:#173e32;--muted:#61796f;--line:#deebe4}
body{background:radial-gradient(ellipse at 96% 0%,#dfefe5 0,transparent 40%),radial-gradient(ellipse at 15% 95%,#fff8db 0,transparent 36%),#f3f8f4}
.btn.primary{background:linear-gradient(135deg,#147657,#0b503e);color:#fff}.btn.primary:hover{background:linear-gradient(135deg,#0f664a,#083e30)}
.page-back{display:flex;margin:0 0 15px}.back-link{gap:10px;min-height:44px}.back-link>span:first-child{font-size:22px;line-height:1}.page-back .btn{flex:none}
.alert:not(.success),.editor-error{color:#922f24;background:#fff0eb;border:1px solid #e9b2a5;border-left:4px solid #bc4534;border-radius:14px;padding:16px 18px;font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;scroll-margin-top:24px}
#editor-status:empty{display:none}.page-back+.page-heading{margin-top:0}.bank-item.selected{background:#e1f2e8;box-shadow:inset 3px 0 #147657}.bank-tools strong{color:#0e6448}
@media(max-width:600px){.page-back{margin-bottom:12px}.page-back .btn{font-size:.9rem;padding:10px 14px}}
/* Teacher editor: write on the left, compact ready list on the right. */
#question-editor{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:18px;align-items:start}#question-editor .panel{min-width:0;margin:0;padding:22px}.editor-queue{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow:auto}.editor-queue .section-heading{display:block}.editor-queue .section-heading h2{margin:18px 0 12px}.editor-queue #save-questions{width:100%;white-space:normal;min-height:48px}.editor-queue .queue-item{padding:12px;background:#f6faf7;border:1px solid #dceae2;border-radius:12px;margin:10px 0}.queue-item summary{font-weight:650;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.editor-draftbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px;font-size:.78rem;color:#547464}.editor-capacity{padding:14px;border-radius:12px;background:#e5f4ec;color:#175a40;font-weight:650;font-size:.88rem;line-height:1.6}.editor-capacity.capacity-error{background:#fff0e8;color:#a34028}.save-destination{padding:14px;border:1px solid #dceae2;border-radius:12px;margin-top:14px}.save-destination legend{font-weight:650;padding:0 5px;font-size:.8rem}.save-destination label{display:flex;align-items:center;gap:10px;margin:10px 0;font-size:.85rem}.save-destination input{width:20px;height:20px;margin:0;flex:none}.editor-extra{margin:14px 0;border:1px solid #e0ebe5;border-radius:12px;padding:12px}.editor-extra summary{cursor:pointer;font-size:.85rem;font-weight:650}.editor-extra .upload-box{margin:10px 0;padding:12px}.editor-extra .question-image{max-height:180px}.field-error{display:block!important;color:#a52e24!important;font-size:.82rem!important;line-height:1.5;margin:6px 0}[aria-invalid=true]{border-color:#c64534!important;outline:2px solid #f8d5cb;outline-offset:2px}.editor-mobile-tabs{display:none}#question-editor .grid.three{grid-template-columns:1fr 1fr}#question-editor .grid.three>label:last-child{grid-column:1/-1}#question-editor textarea#q-body{min-height:110px}#question-editor .option-edit{gap:9px;margin:10px 0}#question-editor .option-edit input[type=text]{min-height:45px}#question-editor #q-explanation{min-height:85px}#question-editor .question-actions{flex-wrap:wrap}
@media(max-width:900px){#question-editor{grid-template-columns:1fr}.editor-mobile-tabs{display:flex;gap:10px;position:sticky;top:0;z-index:5;background:#f3f8f4;padding:10px 0}.editor-mobile-tabs .btn{flex:1;font-size:.85rem}.editor-queue{position:static;max-height:none}#question-editor[data-pane=write] .editor-queue{display:none}#question-editor[data-pane=list] .editor-write{display:none}#question-editor .panel{padding:17px}#question-editor .grid.three{grid-template-columns:1fr}#question-editor .grid.three>label:last-child{grid-column:auto}.editor-draftbar{flex-wrap:wrap}}
/* Subject studio: green text tools, blue formulas/import, amber shared material. */
.zone-label{display:inline-flex;align-items:center;border-radius:8px;padding:5px 9px;font-weight:700;font-size:.72rem;line-height:1.4}.zone-green{background:#dcf3e6;color:#155e43}.zone-blue{background:#e5efff;color:#244e83}.zone-amber{background:#fff1c8;color:#785b0b}.studio-zone{border:1px solid #e7d79f;border-radius:15px;background:#fffdf3;padding:15px;margin:18px 0}.studio-zone>summary{font-weight:650;cursor:pointer;line-height:1.8}.studio-zone label{margin:12px 0}.studio-subject{font-size:.76rem;color:#426e5c;padding:10px 0}.rich-toolbar{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0 6px;align-items:center}.rich-toolbar button{font:inherit;font-size:.7rem;color:#245c47;background:#f1f8f4;border:1px solid #d5e6dc;border-radius:8px;padding:7px 9px;cursor:pointer;min-height:33px}.rich-toolbar button:hover{background:#dcefe4}.rich-toolbar .tool-formula{background:#eaf1ff;color:#315d91;border-color:#cbdcf5}.rich-line{min-height:1.3em;line-height:1.8;overflow-wrap:anywhere}.rich-line+.rich-line{margin-top:.25em}.rich-code{white-space:pre;overflow:auto;padding:16px;border-radius:12px;background:#152f2c;color:#e0f3e9;font-size:.9rem;line-height:1.7;max-width:100%}.rich-table{overflow:auto;max-width:100%;margin:14px 0}.rich-table table{width:100%;border-collapse:collapse}.rich-table td{border:1px solid #cddfd4;padding:10px 12px;min-width:90px;font-size:inherit}.rich-table tr:first-child{background:#e8f3ed;font-weight:700}.katex-display{overflow-x:auto;overflow-y:hidden;padding:9px 2px;max-width:100%}.katex{font-size:1.12em}.rich-image{display:block;height:auto;margin:10px 0;max-width:100%}.matching-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.matching-columns>section{min-width:0}.matching-columns h3{font-size:.85rem}.match-build-row{border:1px solid #cfdfed;border-radius:12px;background:#f7fbff;padding:12px;margin:10px 0}.match-build-row label{font-size:.8rem}.match-build-row textarea{min-height:70px}.matching-policy{border:1px solid #d8e5ee;border-radius:12px;margin:15px 0;padding:14px}.matching-policy>label:first-of-type{display:flex;gap:10px;align-items:center;font-size:.84rem}.matching-policy input[type=checkbox]{width:20px;height:20px;flex:none}.studio-dialog{border:1px solid #cee0d5;border-radius:22px;box-shadow:0 25px 100px #183e3940;background:#fff;max-width:840px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;padding:25px;color:#183f30}.studio-dialog::backdrop{background:#12382a7d;backdrop-filter:blur(4px)}.formula-presets{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.formula-view{min-height:85px;padding:16px;border:1px solid #dce8ef;background:#f4f8ff;border-radius:12px;overflow:auto}.studio-dialog .dialog-actions{margin-top:18px}.preview-device{margin:18px auto;background:#fbfdfb;border:1px solid #dce8df;border-radius:18px;padding:22px;transition:max-width .2s;max-width:100%}.preview-device.mobile{max-width:390px;border:7px solid #254c3c;padding:16px}.preview-answer{display:flex;align-items:flex-start;gap:12px;border:1px solid #d9e6dd;border-radius:12px;padding:14px;margin:12px 0}.preview-answer input{width:20px;height:20px;flex:none;margin-top:5px}.preview-answer>.rich-line{flex:1}.preview-match{border:1px solid #d6e3ed;padding:12px;border-radius:12px;margin:10px 0}.preview-match select{margin-top:10px}.preview-scoring{display:block;color:#6b7c72;line-height:1.6}.matching-pool{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;background:#eef5ff;border-radius:14px;padding:14px;margin:18px 0}.matching-pool>div{background:#fff;border:1px solid #d3e0f0;border-radius:10px;padding:11px;min-width:0}.matching-pool b{display:inline-flex;color:#285b8b;background:#e5effd;padding:3px 9px;border-radius:7px;margin-bottom:5px}.shared-passage{background:#fffcf0;border:1px solid #e8dbab;border-radius:15px;margin:14px 0 22px;overflow:hidden}.shared-passage>summary{padding:14px 16px;cursor:pointer;color:#705719;font-weight:650;line-height:1.6}.passage-body{padding:0 18px 18px;max-height:50dvh;overflow:auto;font-size:1rem;line-height:1.85}.queue-material-tag{font-size:.75rem;padding:7px 9px;border-radius:8px;background:#fff1c8;color:#775c0e;margin:10px 0}.studio-preview-button{width:100%;margin:0 0 10px}.import-card{padding:15px;border-radius:14px;border:1px solid #d5e2ee;background:#f7fbff;margin:15px 0}.import-invalid{border-color:#e8b5a6;background:#fff8f4}.import-valid{border-color:#bcd9c6}.import-card .section-heading{align-items:center;flex-wrap:wrap;gap:10px}.import-card textarea{background:#fff;font-family:inherit;margin:10px 0}.import-card>.inline{font-size:.82rem;display:flex;align-items:center;gap:10px}.import-card>.inline input{width:21px;height:21px;flex:none}.import-question-preview{border-top:1px solid #d9e4dc;margin-top:12px;padding:10px 0;max-height:430px;overflow:auto}.import-review-head p{font-size:.82rem}.rich-question{font-size:1.1rem;line-height:1.85}.quiz-question-title.rich-question{font-size:clamp(1.1rem,2vw,1.35rem);font-weight:600}.quiz-answer-text .rich-line{display:block}.quiz-match-row>span .rich-line{display:inline}.quiz-match-row>span{min-width:0}.preview-device.mobile .matching-pool{grid-template-columns:1fr}.preview-device.mobile .rich-question{font-size:1rem}
@media(max-width:1200px){#question-editor{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}.matching-columns{grid-template-columns:1fr}}
@media(max-width:900px){#question-editor{grid-template-columns:1fr}.matching-columns{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.matching-columns{grid-template-columns:1fr}.studio-dialog{padding:17px;border-radius:16px}.preview-device{padding:13px}.passage-body{max-height:43dvh;padding:0 13px 14px}.shared-passage>summary{font-size:.9rem}.rich-toolbar button{font-size:.75rem;min-height:38px}.studio-zone .grid.two{grid-template-columns:1fr}.rich-question{font-size:1.03rem}.import-card{padding:12px}}
.option-content textarea[data-option]{width:100%;min-height:64px;resize:vertical;line-height:1.7;font:inherit;padding:12px}.option-edit{align-items:flex-start}.option-edit>input{margin-top:44px}.option-upload{margin-top:35px}.option-more-tools{position:relative;font-size:.7rem;color:#426f5d;cursor:pointer}.option-more-tools[open]{padding:6px;border:1px solid #d7e7dd;border-radius:10px;background:#fff}.option-more-tools button{margin:3px}.option-more-tools summary{padding:7px}.matching-score-note{font-size:.84rem;line-height:1.65;color:#3d607c;background:#edf5ff;border-radius:10px;padding:11px 14px}.rich-toolbar button:focus-visible{outline:3px solid #a6c7ed;outline-offset:2px}
.matching-key-pair{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;padding:12px;border-bottom:1px solid #dce7df}.matching-review-pair{border:1px solid #d8e6dd;border-radius:12px;padding:14px;margin:12px 0}.matching-review-pair p{font-size:.82rem;margin:8px 0 3px}.matching-review-pair .correct-answer-text{color:#17734b}
/* Bank topic library */
.bank-topic-library{margin:22px 0}.bank-topic-library>.section-heading{align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:18px}.bank-topic-library h2{display:flex;gap:10px;align-items:center;margin:6px 0 0;font-size:1.3rem}.topic-total{display:inline-flex;align-items:center;justify-content:center;min-width:30px;padding:5px 9px;border-radius:9px;background:#e2eee7;color:#33634d;font-size:.8rem}.topic-folder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:16px}.topic-folder{display:flex;flex-direction:column;gap:18px;min-height:205px;border:1px solid #d5e7dc;background:linear-gradient(150deg,#ffffffec,#edf8f1);border-radius:20px;padding:22px;color:#1a503b;box-shadow:0 5px 20px #163b2805;transition:transform .2s,box-shadow .2s,border-color .2s}.topic-folder:hover{transform:translateY(-4px);box-shadow:0 14px 28px #163b2810;border-color:#93b9a2}.topic-folder:focus-visible{outline:3px solid #509d78;outline-offset:4px}.topic-folder-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.topic-folder-icon{display:inline-flex;padding:12px;border-radius:14px;background:#ddefe3;color:#246a48}.topic-folder-icon .icon{width:25px;height:25px}.topic-folder-count{padding:7px 11px;background:#ffffffbf;border:1px solid #d7e6dd;border-radius:20px;font-size:.82rem;font-weight:650;white-space:nowrap}.topic-folder h3{margin:0;font-size:1.08rem;line-height:1.5;color:inherit;overflow-wrap:anywhere}.topic-folder-open{display:flex;align-items:center;justify-content:space-between;margin-top:auto;font-size:.78rem;font-weight:600;opacity:.85}.topic-folder-open>span{font-size:22px}.topic-tone-1{background:linear-gradient(150deg,#fff,#fdf6df);border-color:#e8dfbc;color:#76601f}.topic-tone-1 .topic-folder-icon{background:#f7edc9;color:#826717}.topic-tone-1 .topic-folder-count{border-color:#e9dfbc}.topic-tone-2{background:linear-gradient(150deg,#fff,#eff5fc);border-color:#d7e2ef;color:#365d7b}.topic-tone-2 .topic-folder-icon{background:#e0ecf8;color:#38678e}.topic-tone-2 .topic-folder-count{border-color:#d7e2ef}.topic-breadcrumb{background:#ffffffb8;border:1px solid #dce9e0;padding:14px 18px;border-radius:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.88rem}.topic-breadcrumb strong{overflow-wrap:anywhere}.topic-breadcrumb a{text-decoration:underline;text-underline-offset:3px}@media(min-width:1500px){.topic-folder-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.topic-folder-grid{grid-template-columns:1fr;gap:12px}.topic-folder{min-height:165px;padding:18px;gap:14px}.bank-topic-library>.section-heading .btn{width:100%}.topic-folder h3{font-size:1.05rem}}
.topic-create{margin:0 0 18px;padding:17px 20px;background:#f6fcf8}.topic-create>summary{font-weight:650;color:#206348;cursor:pointer;font-size:.95rem;list-style:none}.topic-create form{display:flex;align-items:end;gap:12px;margin-top:17px;flex-wrap:wrap}.topic-create form>label{flex:1;min-width:200px;margin:0}.topic-create form>.btn{min-height:48px}.topic-create>p{margin:10px 0 0;font-size:.78rem}@media(max-width:600px){.topic-create form>.btn{width:100%}.topic-create{padding:16px}.topic-create form>label{min-width:0;width:100%;flex-basis:100%}}

/* v14 subject → module → topic */
[class*="module-color-"]{--module:#0b8871;--module-soft:#e4f7ef;--module-border:#b3e3d0}
.module-color-blue{--module:#2563b5;--module-soft:#edf4ff;--module-border:#c5daf6}
.module-color-amber{--module:#97600b;--module-soft:#fff7db;--module-border:#edd68f}
.module-color-rose{--module:#b83e66;--module-soft:#fff0f5;--module-border:#f1c3d3}
.module-color-indigo{--module:#6650b5;--module-soft:#f3efff;--module-border:#d8cdf7}
.module-color-cyan{--module:#087e91;--module-soft:#e7f9fd;--module-border:#b5e7ef}
.module-color-neutral{--module:#64726d;--module-soft:#f1f4f2;--module-border:#d4ddd8}
.bank-module-library{margin-block:18px}
.module-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-block:20px}
.module-card{position:relative;display:flex;flex-direction:column;gap:16px;min-height:215px;padding:24px;border:1px solid var(--module-border);border-radius:24px;background:linear-gradient(145deg,#fff,var(--module-soft));color:var(--module);text-decoration:none;box-shadow:0 7px 24px #143a2c08;transition:transform .2s,box-shadow .2s}
.module-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #143a2c12}
.module-card:focus-visible{outline:3px solid var(--module);outline-offset:3px}
.module-card-symbol{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--module-soft);border:1px solid var(--module-border)}
.module-card-count,.module-card-open{font-size:.82rem;font-weight:700}
.module-card h3{font-size:1.15rem;line-height:1.45;margin:0;overflow-wrap:anywhere}
.module-card-open{margin-top:auto}
.module-create,.topic-create{margin-block:14px;padding:16px}
.module-create summary,.topic-create summary{cursor:pointer;font-weight:750;color:#137359;padding:5px}
.module-create form,.topic-create form{display:grid;gap:15px;margin-top:16px}
.module-color-picker{border:0;padding:0;display:flex;flex-wrap:wrap;gap:9px}
.module-color-picker legend{margin-bottom:10px;font-size:.85rem;font-weight:700}
.module-color-choice{display:flex!important;align-items:center;gap:7px!important;border:1px solid var(--module-border);border-radius:12px;padding:10px 12px;background:var(--module-soft);color:var(--module);cursor:pointer;font-size:.85rem}
.module-color-choice input{width:16px!important;height:16px;accent-color:var(--module);margin:0}
.module-color-choice:has(input:checked){outline:2px solid var(--module);outline-offset:1px}
.module-color-choice span{width:10px;height:10px;border-radius:50%;background:var(--module)}
.module-tag{display:inline-flex;align-items:center;padding:6px 11px;border-radius:10px;background:var(--module-soft);color:var(--module);border:1px solid var(--module-border);font-size:.82rem;font-weight:700;overflow-wrap:anywhere}
.module-topic-tile{min-width:0}
.module-topic-tile .topic-folder{height:100%;border-color:var(--module-border);background:linear-gradient(145deg,#fff,var(--module-soft))}
.topic-move{margin-top:8px;padding:10px 14px;border-radius:12px;background:#f4f7f5}
.topic-move summary{cursor:pointer;font-size:.82rem;font-weight:650}
.topic-move form{display:grid;gap:10px;margin-top:12px}
.module-legacy-note{font-size:.85rem;line-height:1.6;color:#65746d}
.module-analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block:18px}
.module-analysis{border:1px solid var(--module-border);border-radius:20px;background:#fff;overflow:hidden;align-self:start}
.module-analysis>summary{display:flex;gap:14px;align-items:center;justify-content:space-between;cursor:pointer;padding:20px;background:var(--module-soft);border-left:5px solid var(--module)}
.module-analysis>summary>span:first-child{display:grid;gap:7px;min-width:0}
.module-analysis strong{color:var(--module);overflow-wrap:anywhere;font-size:1.05rem}
.module-analysis small{font-size:.78rem;line-height:1.5;color:#506158}
.module-analysis-topics{padding:18px;display:grid;gap:14px}
.module-trajectory-heading{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:var(--module-soft);border-left:5px solid var(--module);border-radius:14px;margin-top:12px;color:var(--module)}
.module-trajectory-heading strong{overflow-wrap:anywhere}
@media(max-width:700px){.module-analysis-grid{grid-template-columns:1fr}.module-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-card{padding:16px;min-height:205px;border-radius:18px}.module-card h3{font-size:1rem}.module-card-count{font-size:.74rem}.module-analysis>summary{padding:15px}.module-color-choice{padding:9px}.topic-breadcrumb{flex-wrap:wrap}}
@media(max-width:360px){.module-card-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.module-card{transition:none}.module-card:hover{transform:none}}

/* v15 inline curriculum management */
.module-card-shell{border:1px solid var(--module-border);border-radius:24px;background:#fff;overflow:hidden;align-self:start}
.module-card-shell .module-card{border:0;border-radius:0;box-shadow:none}
.module-card-shell .module-card:hover{transform:none;background:var(--module-soft)}
.catalog-tabs{display:flex;gap:8px;margin:12px 0 18px;padding:5px;background:#edf3ef;border-radius:14px;width:max-content;max-width:100%}
.catalog-tabs a{display:flex;align-items:center;gap:7px;padding:10px 18px;border-radius:10px;color:#4e665b;font-size:.88rem;font-weight:700;text-decoration:none}
.catalog-tabs a.active{background:#fff;color:#08745c;box-shadow:0 3px 9px #153d2910}
.catalog-manage{margin:9px 0 14px;border:1px solid #dce8e0;border-radius:14px;background:#fff;overflow:hidden}
.module-card-shell>.catalog-manage{margin:0;border-radius:0;border:0;border-top:1px solid var(--module-border)}
.catalog-manage>summary{display:flex;align-items:center;gap:8px;padding:12px 16px;cursor:pointer;font-size:.84rem;font-weight:700;color:#35634e}
.catalog-manage[open]>summary{background:#f0f8f3}
.catalog-manage-body{padding:15px;display:grid;gap:14px}
.catalog-rename{display:grid;gap:12px}
.catalog-manage-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.catalog-manage-actions form{flex:1;min-width:110px}
.catalog-manage-actions .btn{width:100%;white-space:normal}
.catalog-delete{background:#fff0f1!important;color:#a43846!important;border:1px solid #f2c9cd!important}
.catalog-archive-label{display:inline-flex;width:max-content;font-size:.75rem;font-weight:700;background:#edf0ee;color:#63726b;padding:5px 9px;border-radius:8px}
.module-topic-tile .topic-folder{height:auto;min-height:175px}
@media(max-width:700px){.module-card-shell{border-radius:18px}.catalog-manage-body{padding:12px}.catalog-manage-actions{flex-direction:column;align-items:stretch}.catalog-manage-actions form{min-width:0}.catalog-tabs a{padding:10px 14px}.catalog-manage-body .btn{font-size:.8rem}}

/* v16 teacher analytics: learners first, detail on demand */
.teacher-analytics{--ta-ink:#183f32;--ta-muted:#51695e;display:grid;gap:22px;color:var(--ta-ink);font-size:17px;line-height:1.55;min-width:0}
.teacher-analytics h2{font-size:clamp(21px,2vw,27px);line-height:1.3;margin:0}
.teacher-analytics h3{font-size:21px;line-height:1.4;margin:0}
.teacher-analytics .panel{margin:0;padding:24px}
.teacher-analytics label{font-size:16px;font-weight:650;gap:8px}
.teacher-analytics input,.teacher-analytics select,.teacher-analytics .select-trigger{font-size:17px;min-height:48px}
.teacher-analytics .btn{font-size:16px;min-height:48px;padding:11px 18px}
.teacher-analytics .result-pill{font-size:18px;font-weight:750;white-space:nowrap}
.ta-filter-main{display:flex;align-items:end;flex-wrap:wrap;gap:13px}
.ta-filter-main>label{flex:1;min-width:170px}
.ta-filter-main>.btn{flex-shrink:0}
.ta-advanced{margin-top:16px;border-top:1px solid #deebe3;padding-top:12px}
.ta-advanced>summary{font-size:16px;font-weight:650;color:#396550;cursor:pointer;padding:5px 0;width:max-content;max-width:100%}
.ta-advanced-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-top:18px}
.ta-counts{display:flex;gap:14px 25px;flex-wrap:wrap;font-size:17px}
.ta-counts span{display:inline-flex;gap:9px;align-items:center}
.ta-counts b{font-size:23px;color:#126449}
.ta-roster-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:16px}
.ta-roster-head>span{font-size:16px;color:var(--ta-muted)}
.ta-table-scroll{overflow-x:auto}
.ta-student-table{width:100%;border-collapse:collapse;min-width:710px}
.ta-student-table th{font-size:16px!important;font-weight:650;color:#476456;text-align:left;padding:15px 12px!important;background:#f3f8f5}
.ta-student-table td{font-size:17px!important;padding:20px 12px!important;vertical-align:middle;border-bottom:1px solid #e3eee7}
.ta-student-row{cursor:pointer;transition:background .18s}
.ta-student-row:hover,.ta-student-row:focus-within{background:#f2faf5}
.ta-student-name{display:block;font-weight:750;font-size:19px;color:#163e2e;text-decoration:none;line-height:1.45}
.ta-student-name:hover{text-decoration:underline}
.ta-row-secondary{display:block;color:var(--ta-muted);font-size:16px;margin-top:5px;line-height:1.45}
.ta-score{font-size:22px;white-space:nowrap}
.teacher-analytics .band-red{color:#aa3047}
.teacher-analytics .band-amber{color:#8a5a00}
.teacher-analytics .band-green{color:#116b4b}
.ta-neutral{font-size:16px;color:var(--ta-muted)}
.ta-delta{display:inline-flex;font-size:17px;font-weight:750;white-space:nowrap}
.ta-delta.up,.ta-correct{color:#116b4b}.ta-delta.down{color:#aa3047}.ta-delta.flat{color:#52665b}
.ta-priority-name{font-weight:700;display:block;font-size:17px}
.ta-open{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#e8f6ed;color:#176443}
.ta-open:focus-visible,.ta-student-name:focus-visible,.ta-next-card:focus-visible{outline:3px solid #13765a;outline-offset:3px}
.ta-profile-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(125deg,#fff,#effbf3)}
.ta-profile-head h2{font-size:clamp(24px,2.5vw,34px);margin-top:6px}
.ta-eyebrow{display:block;font-size:16px;color:#446652;font-weight:650}
.ta-profile-score{text-align:right;display:grid;gap:5px}
.ta-profile-score>strong{font-size:clamp(30px,3vw,42px);line-height:1.2}
.ta-profile-score>span{font-size:17px}
.ta-next{display:grid;gap:14px}
.ta-next-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:13px}
.ta-next-card{display:flex;align-items:start;gap:13px;padding:20px;border:1px solid #e8d8ba;border-radius:20px;background:linear-gradient(120deg,#fffbef,#fff);color:var(--ta-ink);text-decoration:none;transition:transform .18s}
.ta-next-card:hover{transform:translateY(-2px)}
.ta-next-card.ta-gain{border-color:#c6e7d2;background:linear-gradient(120deg,#eefbef,#fff)}
.ta-step{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;background:#fff0bd;border-radius:11px;font-weight:800}
.ta-gain .ta-step{background:#d8f4df}
.ta-next-card>div{display:grid;gap:5px;min-width:0}
.ta-next-card strong{font-size:19px;overflow-wrap:anywhere}
.ta-next-card>div>span:last-child{font-size:16px;color:#4b6356}
.ta-chart .section-heading{margin-bottom:10px}
.ta-chart .section-heading>span{font-size:17px;color:var(--ta-muted)}
.ta-chart-scroll{overflow-x:auto;padding-bottom:4px}
.ta-chart svg{display:block;width:100%;height:auto;max-height:360px}
.ta-chart .chart-axis,.ta-chart .chart-label{font-size:16px;fill:#486254;font-family:inherit}
.ta-chart .chart-value{font-size:18px;font-weight:750;font-family:inherit}
.ta-chart .chart-grid{stroke:#dce8df;stroke-dasharray:5 5}
.ta-chart .chart-line{stroke:#18825d;stroke-width:3}
.ta-chart .chart-point circle{stroke:#fff;stroke-width:3;fill:currentColor}
.ta-chart .chart-point text{fill:currentColor}
.ta-chart .chart-point:focus circle{stroke:#143e2d;stroke-width:5}
.ta-modules{display:grid;gap:16px}
.ta-module{border:1px solid var(--module-border);border-radius:22px;background:#fff;overflow:hidden}
.ta-module>header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 24px;background:var(--module-soft);border-left:5px solid var(--module)}
.ta-module>header h3{color:var(--module)}
.ta-module>header>div>span{display:block;font-size:16px;color:#4a6556;margin-top:4px}
.ta-topic{margin:0 22px;border-bottom:1px solid #e1ebe4;scroll-margin-top:24px}
.ta-topic:last-child{border-bottom:0}
.ta-topic>summary{display:flex;align-items:center;gap:16px;padding:19px 0;cursor:pointer;list-style:none}
.ta-topic>summary::-webkit-details-marker{display:none}
.ta-topic-name{font-size:18px;font-weight:700;flex:1;min-width:0;overflow-wrap:anywhere}
.ta-topic-metric{display:grid;text-align:right;gap:3px;flex-shrink:0}
.ta-topic-metric>strong{font-size:18px}
.ta-topic-change{font-size:16px;color:#4e6758}
.ta-evidence{display:block;font-size:16px;font-weight:500;color:#7d5d1e;margin-top:5px}
.ta-topic-chevron{color:#52735e;transition:transform .18s}
.ta-topic[open] .ta-topic-chevron{transform:rotate(90deg)}
.ta-topic-body{padding:0 0 20px;min-width:0}
.ta-topic-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px;font-size:16px}
.ta-topic-body p{font-size:17px}
.teacher-analytics .review-question{margin-top:12px}
.teacher-analytics .review-q-copy small,.teacher-analytics .review-option small{font-size:16px}
.teacher-analytics .review-q-copy strong,.teacher-analytics .review-option,.teacher-analytics .review-q-body{font-size:18px}
.teacher-analytics .review-q-body .rich-line{font-size:18px;line-height:1.65}
.ta-history>summary{font-weight:750;font-size:20px;cursor:pointer}
.ta-history-list{display:grid;margin-top:14px}
.ta-history-list>a{display:flex;gap:15px;align-items:center;padding:18px 0;border-top:1px solid #e0eae3;color:var(--ta-ink);text-decoration:none}
.ta-history-list>a>span{flex:1;display:grid;gap:5px}
.ta-history-list>a>span>span{font-size:16px;color:var(--ta-muted)}
.ta-history-list>a>strong{font-size:20px}
.ta-help{color:var(--ta-muted);font-size:16px;padding:0 4px}
.ta-help summary{cursor:pointer;font-weight:650}
.ta-help p{max-width:850px;line-height:1.65;font-size:16px}
.ta-empty{font-size:18px;padding:24px 10px}
@media(max-width:1000px){.teacher-analytics .panel{padding:20px}.ta-filter-main>label{min-width:150px}.ta-next-grid{grid-template-columns:1fr}.ta-next-card{padding:17px}}
@media(max-width:700px){
 .teacher-analytics{gap:18px;font-size:17px}.teacher-analytics .panel{padding:17px}
 .ta-filter-main{display:grid;grid-template-columns:1fr 1fr;align-items:end}.ta-filter-main>label{min-width:0}
 .ta-filter-main>label:has(input[type=search]){grid-column:1/-1}
 .ta-filter-main>.btn{width:100%;padding:10px}.ta-advanced-grid{grid-template-columns:1fr 1fr}
 .ta-table-scroll{overflow:visible}.ta-student-table{min-width:0;display:block}
 .ta-student-table thead{display:none}.ta-student-table tbody{display:grid;gap:13px}
 .ta-student-table tr{display:grid;grid-template-columns:1fr 1fr;position:relative;border:1px solid #dce9e0;border-radius:17px;padding:15px}
 .ta-student-table td{display:block;border:0;padding:8px 0!important;min-width:0}
 .ta-student-table td:first-child{grid-column:1/-1;padding-right:45px!important}
 .ta-student-table td:nth-child(2)::before{content:"Соңғы нәтиже";display:block;font-size:16px;color:#51695e;margin-bottom:5px}
 .ta-student-table td:nth-child(3)::before{content:"Өзгеріс";display:block;font-size:16px;color:#51695e;margin-bottom:5px}
 .ta-student-table td:nth-child(4){grid-column:1/-1;border-top:1px solid #e2ebe5;margin-top:5px;padding-top:12px!important}
 .ta-student-table td:nth-child(4)::before{content:"Бірінші қайталау";display:block;font-size:16px;color:#51695e;margin-bottom:4px}
 .ta-student-table td:last-child{position:absolute;top:17px;right:13px}
 .ta-student-table tr:has(td[colspan]){display:block}
 .ta-student-table td[colspan]{position:static;padding:12px!important}
 .ta-student-name{font-size:20px}.ta-counts{gap:8px 18px}
 .ta-roster-head>span{font-size:16px}.ta-profile-score{text-align:left}
 .ta-module>header{padding:17px;align-items:start}.ta-module>header h3{font-size:20px}
 .ta-module>header .result-pill{font-size:17px}.ta-topic{margin:0 15px}
 .ta-topic>summary{gap:8px;flex-wrap:wrap}.ta-topic-name{flex-basis:calc(100% - 35px)}
 .ta-topic-metric{order:3;flex-basis:100%;text-align:left;display:flex;flex-wrap:wrap;gap:8px 16px;padding-left:0}
 .ta-topic-chevron{width:22px}.ta-topic-context .btn{width:100%}
 .teacher-analytics .review-q-copy strong{font-size:17px}
 .ta-history-list>a{flex-wrap:wrap}.ta-history-list>a>span{flex-basis:65%}
}
@media(prefers-reduced-motion:reduce){.ta-student-row,.ta-next-card,.ta-topic-chevron{transition:none}.ta-next-card:hover{transform:none}}
.page-heading:has(+ .teacher-analytics){margin-bottom:20px}
.page-heading:has(+ .teacher-analytics) h1{font-size:clamp(28px,3vw,36px)}
.page-heading:has(+ .teacher-analytics) p{font-size:17px;color:#4d6c5b}
.teacher-analytics .review-q-copy>small{color:#4b6858}
.teacher-analytics .review-q-copy>strong{color:#204b36}
.teacher-analytics .review-q-body .explanation p{font-size:17px;color:#355943}
.teacher-analytics .answer-correct-label,.teacher-analytics .chosen-label{font-size:16px}
.teacher-analytics .review-q-number{font-size:17px;width:36px;height:36px}
.teacher-analytics .review-q-body .matching-review-pair p{font-size:17px}

/* v17 admin weekly subject matrix */
.admin-matrix{display:grid;gap:24px;min-width:0;font-size:17px;color:#183f32}
.admin-matrix .panel{margin:0;padding:24px}
.admin-matrix h2{font-size:25px;line-height:1.35;margin:0}
.admin-matrix label{font-size:16px;font-weight:650;gap:8px}
.admin-matrix input,.admin-matrix select,.admin-matrix .select-trigger{font-size:17px;min-height:48px}
.admin-matrix .btn{font-size:16px;min-height:48px;padding:11px 18px}
.am-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap}
.am-filters>label{flex:1;min-width:190px}
.am-table-panel .section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.am-table-panel .section-heading>span{font-size:17px;color:#476453}
.am-table-scroll{max-height:72vh;overflow:auto;border:1px solid #cbded1;border-radius:14px;isolation:isolate}
.am-table-scroll:focus-visible{outline:3px solid #16734f;outline-offset:3px}
.am-matrix{border-collapse:separate;border-spacing:0;width:100%;min-width:850px;font-variant-numeric:tabular-nums}
.am-matrix th,.am-matrix td{padding:13px 14px!important;border:0;border-right:1px solid #d7e5dc;border-bottom:1px solid #d7e5dc;font-size:17px!important;text-align:center;vertical-align:middle;line-height:1.45;min-width:95px}
.am-matrix thead th{background:#e9f5ee;color:#1e553c;font-weight:750;position:sticky;top:0;z-index:4}
.am-matrix thead tr:first-child{height:48px}
.am-matrix thead tr:nth-child(2) th{top:48px;min-width:125px;max-width:170px;height:90px}
.am-matrix thead .am-core{background:#e7f5ec}
.am-matrix thead .am-elective{background:#eaf2fd;color:#244d7f}
.am-matrix .am-index{min-width:50px;width:50px;max-width:50px;box-sizing:border-box;position:sticky;left:0;background:#fff;z-index:2}
.am-matrix .am-name{min-width:230px;max-width:270px;text-align:left;position:sticky;left:50px;background:#fff;z-index:2}
.am-matrix thead .am-index,.am-matrix thead .am-name{background:#e9f5ee;z-index:6}
.am-matrix .am-name a{color:#193f2c;text-decoration:none;font-weight:700}
.am-matrix .am-name a:hover{text-decoration:underline}
.am-matrix tbody tr:hover td,.am-matrix tbody tr:hover th{background:#f1f8f3}
.am-matrix .am-total{background:#fff5cc;font-weight:800;min-width:115px}
.am-matrix .am-total strong{font-size:21px}
.am-matrix .am-status{font-size:16px;font-weight:550;color:#5c685d}
.am-matrix .am-missing{color:#79877c}
.am-matrix tfoot th,.am-matrix tfoot td{background:#dfefe4;font-weight:800;position:sticky;bottom:0;z-index:3;border-top:2px solid #377252}
.am-matrix tfoot .am-total{background:#f7e8a7}
.am-note{font-size:16px;color:#506858;line-height:1.6;margin:15px 0 0}
.am-week-form{display:grid;gap:16px;margin:18px 0 22px}
.am-week-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;max-height:290px;overflow-y:auto;padding:3px}
.am-week-chip{display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important;padding:13px;border:1px solid #d1e4d7;border-radius:14px;background:#fafdfb;cursor:pointer}
.am-week-chip:has(input:checked){background:#e7f6ed;border-color:#268459;box-shadow:inset 0 0 0 1px #268459}
.admin-matrix .am-week-chip input{width:20px;height:20px;min-height:20px;flex-shrink:0;accent-color:#13724c}
.am-week-chip>span{display:grid;gap:4px;font-size:17px}
.am-week-chip>span>span{font-size:16px;font-weight:450;color:#506858}
.am-compare-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap}
.am-compare-controls>label{min-width:260px;flex:1;max-width:550px}
.am-chart-summary{display:flex;gap:16px;align-items:baseline;flex-wrap:wrap;padding:18px 0}
.am-chart-summary>strong{font-size:34px;line-height:1.3;color:#17694a}
.am-chart-summary>span{font-size:17px;color:#4d6957}
.am-caution{font-size:16px;color:#785716;background:#fff6dc;padding:12px 16px;border-radius:12px}
.am-chart-scroll{overflow-x:auto;padding-bottom:5px}
.am-chart-scroll svg{width:100%;height:auto;max-height:380px;display:block}
.am-chart-scroll .chart-axis,.am-chart-scroll .chart-label{font-size:16px;fill:#4a6755;font-family:inherit}
.am-chart-scroll .chart-value{font-size:20px;font-weight:750;fill:#17694a;font-family:inherit}
.am-chart-scroll .chart-line{stroke:#207e55;stroke-width:3}
.am-chart-scroll .chart-grid{stroke:#dbe8df}
.am-chart-point circle{fill:#207e55;stroke:#fff;stroke-width:3}
.am-chart-point:focus circle{stroke:#173e28;stroke-width:5}
.am-empty{padding:28px 10px;font-size:18px;color:#536c5c}
.am-help{font-size:16px;color:#4f6959;margin-top:16px}
.am-help summary{cursor:pointer;font-weight:650}
.am-help p{font-size:16px;line-height:1.65;max-width:950px}
.am-detail-link{justify-self:start}
.page-heading:has(+ .admin-matrix) h1{font-size:clamp(28px,3vw,36px)}
@media(max-width:700px){
 .admin-matrix{gap:18px}.admin-matrix .panel{padding:16px}
 .am-filters{display:grid;grid-template-columns:1fr}
 .am-filters>label{min-width:0}.am-filters>.btn{width:100%}
 .am-matrix .am-index{min-width:42px;width:42px;max-width:42px}
 .am-matrix .am-name{left:42px;min-width:165px;max-width:185px}
 .am-matrix th,.am-matrix td{font-size:16px!important;padding:11px 10px!important}
 .am-matrix thead tr:nth-child(2) th{min-width:110px}
 .am-week-picker{grid-template-columns:1fr 1fr;max-height:310px}
 .am-week-chip{padding:11px;gap:8px!important}
 .am-week-chip>span{font-size:16px;overflow-wrap:anywhere}
 .am-compare-controls{display:grid;grid-template-columns:1fr}
 .am-compare-controls>label{min-width:0}
 .am-table-scroll{max-height:65vh}.am-chart-summary>strong{font-size:29px}
}
@media(max-width:370px){.am-week-picker{grid-template-columns:1fr}}
.am-chart-summary>strong.am-down{color:#ad3047}
.am-chart-summary>strong.am-flat{color:#536c5c}

/* v18 admin fit: contain table width, responsive chart, compact selector */
.content:has(.admin-matrix),.workspace:has(.admin-matrix){min-width:0;max-width:100%}
.admin-matrix{grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;font-size:16px;gap:20px}
.admin-matrix>*{min-width:0;max-width:100%}
.admin-matrix .panel{min-width:0;max-width:100%;padding:20px}
.admin-matrix h2{font-size:21px}
.admin-matrix label,.admin-matrix .am-field-label{font-size:15px}
.admin-matrix input,.admin-matrix select,.admin-matrix .select-trigger{font-size:15px;min-height:44px}
.admin-matrix .btn{font-size:15px;min-height:44px;padding:10px 16px}
.am-filters{gap:12px}
.am-table-panel{overflow:hidden}
.am-table-scroll{width:100%;max-width:100%;min-width:0;overscroll-behavior-x:contain}
.am-matrix th,.am-matrix td{font-size:15px!important;padding:11px 12px!important}
.am-matrix .am-total strong{font-size:18px}
.am-matrix .am-status,.am-note,.am-table-panel .section-heading>span{font-size:14px}
.am-matrix thead tr:nth-child(2) th{height:76px}
.am-matrix .am-name{min-width:210px}
.am-week-form{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:16px 0}
.am-week-field{display:grid;gap:8px;flex:1;min-width:200px}
.am-field-label{font-weight:650}
.am-week-dropdown{position:relative;width:100%}
.am-week-dropdown[open]{z-index:20}
.am-week-dropdown>summary{list-style:none;display:flex;gap:12px;align-items:center;justify-content:space-between;cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid #d1e3d6;border-radius:12px;background:#fff;font-size:15px}
.am-week-dropdown>summary::-webkit-details-marker{display:none}
.am-selected-count{font-size:14px;background:#e8f5ed;color:#1c6645;padding:3px 8px;border-radius:7px;white-space:nowrap}
.am-week-menu{position:absolute;top:calc(100% + 8px);left:0;width:100%;min-width:0;padding:12px;background:#fff;border:1px solid #cddfd3;border-radius:15px;box-shadow:0 16px 35px #173b2926}
.am-week-tools{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}
.am-week-tools button{border:0;background:none;color:#236c4a;font-size:14px;padding:7px 4px;text-align:left}
.am-week-menu .am-week-picker{display:grid;grid-template-columns:minmax(0,1fr);max-height:250px;gap:3px;padding:2px;overflow:auto}
.am-week-menu .am-week-chip{border:0;border-radius:9px;background:white;padding:9px 10px;gap:10px!important}
.am-week-menu .am-week-chip:has(input:checked){background:#eaf6ef;box-shadow:none}
.am-week-menu .am-week-chip>span{font-size:15px;gap:1px}
.am-week-menu .am-week-chip>span>span{font-size:14px}
.admin-matrix .am-week-chip input{width:18px;height:18px;min-height:18px}
.am-week-done{width:100%;margin-top:10px}
.am-compare-controls{flex:1.4;display:flex;gap:12px;min-width:0}
.am-compare-controls>label{min-width:0;max-width:none;flex:1}
.am-chart-summary{padding:12px 0;gap:12px}
.am-chart-summary>strong{font-size:27px}
.am-chart-summary>span,.am-caution{font-size:14px}
.am-chart-fit{width:100%;max-width:100%;min-width:0;overflow:visible;padding:0}
.am-chart-fit svg{display:block;width:100%;min-width:0!important;max-width:100%;height:280px;max-height:none;overflow:hidden;touch-action:pan-y}
.am-chart-fit .chart-axis,.am-chart-fit .chart-label{font-size:13px}
.am-chart-fit .chart-value{font-size:14px}
.am-chart-fit .am-chart-point{cursor:pointer}
.am-chart-fit .am-chart-point.selected circle{fill:#145a3d;stroke:#a8d8bb;stroke-width:5}
.am-point-info{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;padding:12px 14px;border-radius:12px;background:#eff7f2;font-size:14px;min-width:0}
.am-point-title{flex:1;overflow-wrap:anywhere;min-width:0}
.am-point-score{font-size:16px;white-space:nowrap}
.am-point-count{color:#506b5a;white-space:nowrap}
.am-point-link{font-weight:650;white-space:nowrap}
.am-help,.am-help p{font-size:14px}
.page-heading:has(+ .admin-matrix) h1{font-size:30px}
@media(max-width:700px){
 .admin-matrix .panel{padding:15px}
 .admin-matrix h2{font-size:19px}
 .am-week-form{display:grid;grid-template-columns:minmax(0,1fr)}
 .am-week-field{min-width:0}
 .am-compare-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}
 .am-matrix th,.am-matrix td{font-size:14px!important;padding:10px!important}
 .am-matrix .am-name{min-width:160px;max-width:175px}
 .am-chart-fit svg{height:220px}
 .am-point-title{flex-basis:100%}
 .am-point-score{font-size:15px}
 .am-chart-summary>strong{font-size:25px}
 .page-heading:has(+ .admin-matrix) h1{font-size:27px}
}
.am-week-dropdown>summary>span{flex:1;min-width:0}
.am-week-dropdown>summary::after{content:"⌄";font-size:18px;line-height:1;color:#3f6d53}
.am-week-dropdown[open]>summary::after{content:"⌃"}
.am-week-menu .am-week-chip>span{min-width:0;overflow-wrap:anywhere}

/* v19 admission direction */
.creative-subject-note{display:grid;gap:7px;margin-top:15px;padding:17px;border:1px solid #bcdfcd;border-radius:14px;background:#eaf7ef;color:#235b3d}
.creative-subject-note[hidden],#standard-subjects[hidden]{display:none}
.creative-subject-note strong{font-size:16px}
.creative-subject-note span{font-size:14px;color:#4f6b58}
.am-track-label{display:block;margin-top:4px;color:#466b57;font-size:13px;font-weight:500}
