@layer base,layout,components,pages,responsive,readability,mobile;
@layer base {
 :root{--bg:#f6f8fa;--surface:#fff;--ink:#202b3c;--muted:#6b7484;--line:#e7ebef;--green:#24664f;--green-dark:#123e35;--lime:#d2f3af;--green-pale:#edf6f0;--amber:#a3701a;--red:#b33d48;--shadow:0 4px 20px #23392904;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--ink);font-synthesis:none}
 *{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:2.05rem;line-height:1.25;font-weight:650;margin-bottom:10px}h2{font-size:1.13rem;font-weight:650;margin-bottom:10px}h3{font-size:1.03rem;line-height:1.5;margin-bottom:8px}p{line-height:1.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #70b69a;outline-offset:4px}#main:focus{outline:none}::selection{background:#d2f3af;color:#123e35}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-70px;left:20px;background:white;padding:15px;z-index:100}.skip:focus{top:12px}.muted{color:var(--muted)}.small{font-size:.875rem}.nowrap{white-space:nowrap}.tabular{font-variant-numeric:tabular-nums}.centered{text-align:center;justify-content:center}.initial-loader,.connection-error{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.loader{width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:20px}@keyframes spin{to{transform:rotate(360deg)}}
}
@layer readability {
 .hero-card p,.mode-card p,.option-copy,.study-options li,.review-option,.rules-content p{font-size:1rem}
 .nav-item,.stat-top,.page-heading p,.btn,.text-link,table,.today,.profile-button,.breadcrumb,.field label,.checkbox-line,.search-box input,.bank-toolbar select,.bank-count,.study-card .text-button,.result-copy p,.topic-row>div:first-child,.leader-banner p,.question-instruction,.text-button,.test-tip p{font-size:.875rem}
 .stat-sub,.stat-sub,.mode-meta,.section-heading p,.progress-card>.muted,.progress-caption,.progress-legend>span,.result-meta,.result-stats div>span:last-child,.source-number,.review-meta>span:not(.badge),.study-meta,.exam-rules span,.navigator>.small,.field-hint{font-size:.75rem}
 .hero-facts{font-size:.75rem;flex-wrap:wrap;row-gap:9px}
 .hero-label{white-space:normal;line-height:1.6}.hero-copy{width:73%}
 .mode-card p{max-width:none}.stat-top{min-height:33px}.badge{font-size:.75rem}.question-meta .badge{white-space:normal}
 .stat-sub,.section-heading p,.mode-card p,.question-instruction,.bank-count,.study-meta,.review-meta>span:not(.badge),.source-number{color:#69766f}
 .study-meta>span:first-child{color:#53715b}.hero-card p{color:#c1d4cb}.hero-card{min-height:385px}.hero-label{font-size:.68rem}.hero-facts{max-width:390px}.hero-art{width:28%}.hero-copy .btn{font-size:.9rem}
 .progress-card>.muted,.progress-caption,.progress-legend>span,.result-meta,.result-copy p,.rules-content p,.topic-row>div:first-child,.leader-banner p{color:#687968}
 @media(max-width:1250px){.hero-copy{width:100%}.hero-art{opacity:.15}.hero-card p{max-width:380px}.stat-top{font-size:.82rem}}
 @media(max-width:1020px){.hero-copy{width:75%}.hero-art{opacity:1;width:27%}.nav-item{font-size:.82rem}.stat-top{font-size:.875rem}}
 @media(max-width:760px){.hero-copy{width:100%}.hero-art{opacity:.12}.hero-card p{max-width:100%}.hero-card{min-height:375px}.hero-card h2{font-size:2.35rem}.hero-label{font-size:.62rem}.hero-facts{font-size:.73rem}.hero-card p,.mode-card p{font-size:.94rem}.stat-top{font-size:.82rem}.stat-sub{font-size:.75rem}.page-heading p{font-size:.875rem}.stat-icon{display:none}.source-number,.study-meta,.review-meta>span:not(.badge){font-size:.75rem}.exam-rules span{font-size:.68rem}.study-meta{flex-wrap:wrap}.study-meta>span:nth-child(2){max-width:none;flex:1}.mode-meta{font-size:.75rem}.navigator>.small{font-size:.8rem}.q-number{font-size:.875rem}.question-grid{grid-template-columns:repeat(5,1fr)}.test-timer span{font-size:.7rem}.test-timer.untimed b{font-size:.75rem}.leaderboard-card>.section-heading{gap:15px}.segmented button{font-size:.8rem}.hero-facts span:last-child{width:100%}.rules-content p{font-size:1rem}}
}
@layer layout {
 .layout{display:flex;min-height:100vh}.sidebar{width:245px;flex-shrink:0;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:33px 19px 20px;z-index:40;overflow:auto}.workspace{width:calc(100% - 245px);margin-left:245px;min-width:0}.brand{display:flex;gap:11px;align-items:center;margin:0 12px 47px;font-size:1.42rem;letter-spacing:-.045em;line-height:1.15;font-weight:730}.brand img{border-radius:12px}.brand-sub{display:block;font-size:.65rem;letter-spacing:.2em;font-weight:600;margin-top:6px;color:#7c857f}.sidebar-caption{font-size:.65rem;font-weight:700;letter-spacing:.115em;color:#969da7;padding:0 14px;margin-bottom:17px}.sidebar nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:none;width:100%;padding:13px 14px;border-radius:9px;font-size:.88rem;line-height:1.35;color:#697282;text-align:left;transition:background .15s}.nav-item .icon{width:20px;height:20px}.nav-item:hover{background:#f7f9f7;color:var(--green)}.nav-item.active{background:#edf5ef;color:#2a6249;font-weight:650}.nav-item.active::before{content:"";position:absolute;left:0;width:3px;height:29px;background:#427a5b;border-radius:0 3px 3px 0}.nav-count{margin-left:auto;background:#fff;padding:3px 5px;border-radius:4px;font-size:.7rem;color:#758176}.sidebar-bottom{margin-top:auto;padding-top:48px}.goal-card{margin:0 9px 26px;padding:20px 16px 18px;border-radius:12px;background:linear-gradient(120deg,#f1f6ee,#f7f9f4);position:relative;overflow:hidden}.goal-icon{display:flex;color:#6b9361;margin-bottom:13px}.goal-icon .icon{width:26px;height:26px}.goal-card strong{font-size:.9rem;line-height:1.6;font-weight:650}.goal-card p{font-size:.75rem;color:#88917f;margin:6px 0 19px}.goal-rule{border-top:1px solid #dce6d4;padding-top:15px;display:flex;gap:12px;align-items:center}.goal-rule b{font-size:2rem;color:#456b38;font-weight:650;line-height:1}.goal-rule span{font-size:.7rem;line-height:1.5;color:#7b8972}.sidebar-foot{text-align:center;font-size:.66rem;color:#9299a2;margin-top:20px}.topbar{height:83px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;gap:13px;align-items:center;font-size:.84rem;white-space:nowrap}.breadcrumb-parent{color:#9096a0}.breadcrumb b{font-weight:550}.slash{color:#ccd0d7}.topbar-right{display:flex;align-items:center;gap:22px}.today{display:flex;gap:8px;align-items:center;font-size:.77rem;color:#7d8490}.today .icon{width:16px;height:16px}.profile-button{border:0;border-left:1px solid var(--line);padding:0 0 0 21px;background:none;display:flex;align-items:center;gap:10px;font-size:.82rem;font-weight:550}.avatar{width:34px;height:34px;border-radius:50%;background:#e9efe3;color:#546d42;display:inline-flex;align-items:center;justify-content:center;font-weight:650;flex-shrink:0}main{max-width:1510px;margin:auto;padding:37px 40px 42px;min-height:calc(100vh - 150px)}.footer{padding:22px 40px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:.7rem;color:#969da7;gap:20px}.footer-dot{margin:0 5px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}.eyebrow{display:block;font-size:.65rem;letter-spacing:.14em;font-weight:700;color:#82917f;margin-bottom:11px}.page-heading p{font-size:.89rem;color:var(--muted);margin:0}.mobile-menu{display:none}
}
@layer components {
 .card{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-title h2{margin:0}.card-title>.icon{color:#8c9b8a;width:19px}.card-title>span{font-size:.85rem;color:var(--muted)}.btn{border:1px solid transparent;border-radius:8px;min-height:43px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.4;font-size:.87rem;font-weight:600;transition:background .15s,box-shadow .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.5;transform:none}.btn .icon{width:18px;height:18px}.primary{background:var(--green);color:#fff}.primary:hover{background:#1a543f;box-shadow:0 3px 9px #1a543f20}.secondary{background:#fff;border-color:#dce3e0;color:#415a4c}.secondary:hover{background:#f6f9f6}.subtle{background:transparent;color:var(--muted)}.lime{background:var(--lime);color:#25402b;padding:13px 22px;border-radius:7px}.lime:hover{background:#e0f8c5}.full{width:100%}.danger-button{background:#ad3b47;color:#fff}.icon-btn{border:0;background:transparent;min-width:36px;height:36px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#7c8793;padding:7px}.icon-btn:hover{background:#eef2f0;color:var(--green)}.icon-btn.is-saved{color:var(--green);background:var(--green-pale)}.is-saved .icon{fill:#d6e9dc}.text-button{background:none;border:0;color:#677a6d;display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:550;padding:8px 0}.text-button .icon{width:17px;height:17px}.text-link{font-size:.8rem;font-weight:600;color:#42765c;display:inline-flex;align-items:center;line-height:1.5}.text-link:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:6px;font-size:.68rem;font-weight:600;line-height:1.4;padding:5px 9px;letter-spacing:.01em}.badge.soft{background:#eef2f0;color:#6d8274}.badge.success{background:#eaf5ed;color:#387550}.badge.danger{background:#fbeef0;color:#b34e58}.badge.warning{background:#fff4e5;color:#996b21}.green{background:#edf5ed;color:#5c875b}.blue{background:#edf3fc;color:#6588b0}.violet{background:#f2eefb;color:#9380b1}.amber{background:#fbf5e9;color:#bb9a52}.red{background:#fbedef;color:#ba626b}.gray{background:#f0f2f4;color:#88909b}.progress-track{height:6px;background:#edf1ef;border-radius:8px;overflow:hidden}.progress-track span{display:block;height:100%;background:#739e6b;border-radius:8px}.section{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.section-heading h2{font-size:1.1rem;margin-bottom:5px}.section-heading p{color:var(--muted);font-size:.82rem;margin:0}.section-heading .badge{align-self:flex-end}.empty{text-align:center;padding:30px 20px 34px}.empty-icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;background:#f2f5f1;color:#7a9572;border-radius:13px;margin-bottom:14px}.empty h3{font-size:.94rem;margin:0 0 7px}.empty p{font-size:.8rem;color:var(--muted);margin-bottom:18px}.empty .btn{font-size:.78rem;min-height:38px;padding:9px 15px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.8rem}th{font-size:.69rem;font-weight:550;color:#9098a3;background:#fafbfc;padding:13px 19px;border-top:1px solid #f0f2f4;border-bottom:1px solid var(--line)}td{padding:16px 19px;border-bottom:1px solid #f0f2f4}tbody tr:last-child td{border-bottom:0}.table-type{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:550}.table-type .icon{width:17px;color:#82918b}.row-open{display:flex;align-items:center;justify-content:center;padding:5px;color:#7b8b83}.row-open .icon{width:17px}.resume-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eaf4ec;border:1px solid #d7e8da;border-radius:11px;padding:16px 20px;margin-bottom:24px;font-size:.82rem;color:#3d6f50}.resume-bar>span{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.resume-bar .btn{font-size:.78rem;min-height:36px;padding:8px 14px;flex-shrink:0}.segmented{display:inline-flex;border:1px solid var(--line);background:#f6f8f7;padding:4px;border-radius:8px;gap:3px}.segmented button{border:0;background:transparent;color:#798580;font-size:.77rem;padding:8px 12px;border-radius:5px;font-weight:500;white-space:nowrap}.segmented button.selected{background:white;color:#346449;box-shadow:0 1px 4px #16321b12}.field{margin:20px 0}.field label{display:block;font-size:.86rem;font-weight:550;margin-bottom:9px}.field input,.field select,select{border:1px solid #dce3df;border-radius:8px;background-color:white;width:100%;height:47px;padding:0 13px;color:var(--ink);font-size:.9rem}.field input::placeholder{color:#a1aaa6}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2367776d' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:35px}.field-hint{font-size:.76rem;color:#8a938e;line-height:1.6;margin:12px 0}.form-error{font-size:.84rem;color:var(--red);line-height:1.6;margin:15px 0}.checkbox-line{display:flex;align-items:flex-start;gap:11px;font-size:.82rem;line-height:1.55;margin:23px 0}.checkbox-line input{margin-top:4px;accent-color:var(--green);width:16px;height:16px;flex-shrink:0}.checkbox-line small{display:block;font-size:.73rem;color:#929b95;margin-top:5px}dialog{border:1px solid var(--line);border-radius:20px;padding:35px;width:min(540px,calc(100% - 32px));max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 30px 130px #132b3a30}dialog::backdrop{background:#172e3a66;backdrop-filter:blur(4px)}.modal-close{position:absolute;right:16px;top:16px}.modal-emblem{width:48px;height:48px;background:#edf5ec;color:#4d7756;border-radius:13px;display:flex;align-items:center;justify-content:center;margin-bottom:23px}.modal-emblem .icon{width:24px;height:24px}dialog h2{font-size:1.65rem;line-height:1.3;margin-bottom:14px}dialog>p{font-size:.88rem;color:var(--muted)}.modal-actions{display:flex;flex-direction:column;gap:10px;margin-top:25px}.modal-foot{font-size:.73rem;color:#939b95;text-align:center;margin:14px 0 0}.exam-rules{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 3px;background:#f6f8f4;border:1px solid #eaf0e5;border-radius:10px;gap:8px;margin:24px 0}.exam-rules div{text-align:center;border-right:1px solid #e3e9df}.exam-rules div:last-child{border:0}.exam-rules b{display:block;font-size:1.55rem;color:#3f6548;font-weight:650;letter-spacing:-.04em}.exam-rules span{display:block;font-size:.69rem;color:#809078;margin-top:5px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#263f32;color:#fff;padding:15px 24px;border-radius:10px;z-index:100;box-shadow:0 5px 35px #14251d25;font-size:.86rem;line-height:1.5;transition:opacity .2s,transform .2s;max-width:min(600px,calc(100% - 30px));width:max-content}#toast.visible{opacity:1;transform:translate(-50%,0)}
}
@layer pages {
 .stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{padding:19px 21px 18px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#818995;font-size:.77rem;margin-bottom:11px}.stat-icon{display:flex;padding:7px;border-radius:8px}.stat-icon .icon{width:17px;height:17px}.stat>strong{display:block;font-size:2rem;line-height:1.15;font-weight:600;letter-spacing:-.04em}.stat strong small{font-size:.9rem;font-weight:400;color:#a3aab3;letter-spacing:0;margin-left:4px}.stat-sub{display:block;font-size:.69rem;color:#969da6;margin-top:10px}.dashboard-top{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(260px,1fr);gap:24px}.hero-card{position:relative;border-radius:15px;background:#143e35;color:white;overflow:hidden;min-height:350px;padding:32px;display:flex;align-items:center}.hero-copy{position:relative;z-index:2;width:70%}.hero-label{display:flex;align-items:center;gap:7px;font-size:.58rem;font-weight:600;letter-spacing:.08em;color:#abd0b4;white-space:nowrap}.hero-label .icon{width:15px;height:15px}.hero-card h2{font-size:2.6rem;line-height:1.2;letter-spacing:-.045em;font-weight:550;margin:19px 0 14px}.hero-card h2 em{color:#d1f1b0;font-style:normal}.hero-card p{font-size:.8rem;color:#a9c0b6;max-width:340px;margin:0 0 20px;line-height:1.7}.hero-facts{display:flex;align-items:center;gap:16px;font-size:.66rem;color:#c0d4c5;margin:0 0 25px;white-space:nowrap}.hero-facts span{display:flex;align-items:center;gap:5px}.hero-facts .icon{width:14px;height:14px}.hero-art{position:absolute;right:0;top:0;bottom:0;width:35%;pointer-events:none}.orbit{position:absolute;width:340px;height:340px;border:1px solid #d4ecb20b;border-radius:50%;right:-175px;top:22px}.orbit-two{width:440px;height:440px;right:-215px;top:-22px}.floating-note{position:absolute;width:150px;height:215px;top:75px;right:28px;transform:rotate(9deg);padding:21px 17px;background:linear-gradient(130deg,#376247,#32583f);border:1px solid #7a9c5c33;border-radius:12px;box-shadow:0 20px 25px #0a241d1a}.note-heading{display:block;font-size:.44rem;letter-spacing:.07em;color:#b2c89f;white-space:nowrap}.note-check{display:flex;width:32px;height:32px;border-radius:9px;color:#e1f6c4;background:#9ac87d33;align-items:center;justify-content:center;margin:16px 0 13px}.note-check .icon{width:23px;height:23px}.floating-note strong{font-size:1.16rem;line-height:1.3;font-weight:500;color:#e3f2cf;letter-spacing:-.025em}.note-lines{display:grid;gap:6px;margin-top:13px}.note-lines i{height:4px;background:#bed3941f;width:93%;border-radius:4px}.note-lines i:last-child{width:65%}.note-pill{display:inline-block;font-size:.43rem;color:#c7e3ac;letter-spacing:.1em;margin-top:14px}.art-mini{position:absolute;bottom:39px;right:18px;border:1px solid #73966d33;background:#2a5140f5;color:#bfd5ad;border-radius:7px;padding:9px 12px;font-size:.53rem;transform:rotate(-5deg);white-space:nowrap}.art-mini .icon{width:13px;height:13px;margin-right:4px}.art-star{position:absolute;top:49px;right:23px;color:#c2dfa3;font-size:26px}.progress-card{padding:23px 23px 20px;text-align:center}.progress-card>.muted{font-size:.73rem;margin:12px 0 10px;text-align:left}.progress-card .card-title h2{font-size:1rem}.donut{--pct:0;width:156px;height:156px;border-radius:50%;background:conic-gradient(#759d63 calc(var(--pct)*1%),#f0f3ed 0);margin:21px auto 14px;padding:12px;transform:rotate(-0deg)}.donut>div{height:100%;background:white;border-radius:50%;display:flex;flex-direction:column;justify-content:center}.donut strong{font-size:2.25rem;font-weight:550;letter-spacing:-.06em}.donut strong small{font-size:1.15rem;color:#899481;font-weight:400}.donut span{font-size:.62rem;color:#969d91;margin-top:4px}.progress-caption{font-size:.74rem;color:#969d91}.progress-caption b{color:#576f48}.progress-legend{display:grid;gap:11px;margin:22px 0 16px;text-align:left}.progress-legend>span{display:flex;align-items:center;font-size:.71rem;color:#879180;gap:7px}.progress-legend b{margin-left:auto;color:#617057;font-weight:550}.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.dot.green{background:#8eac79}.dot.amber{background:#e2cb95}.progress-card .text-link{display:block;border-top:1px solid var(--line);padding-top:15px;font-size:.72rem}.mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.mode-card{text-align:left;background:white;border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:var(--shadow);transition:border .2s,transform .2s}.mode-card:hover{border-color:#b8ceb6;transform:translateY(-3px)}.mode-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:10px;margin-bottom:15px}.mode-icon .icon{width:19px;height:19px}.mode-card h3{font-size:.94rem;margin-bottom:8px;font-weight:650}.mode-card p{font-size:.77rem;color:#8a929d;line-height:1.7;margin:0 0 19px;max-width:255px}.mode-meta{display:flex;align-items:center;justify-content:space-between;font-size:.67rem;color:#6f8273;padding-top:15px;border-top:1px solid #f0f2f3;font-weight:550}.mode-meta .icon{width:14px;height:14px;color:#8f9e91}.recent{margin-top:27px;overflow:hidden}.recent>.section-heading{padding:22px 24px 0;margin-bottom:20px}.recent>.section-heading h2{font-size:1rem}.recent .empty{padding:25px 20px 30px}
 .test-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.test-heading h1{font-size:1.8rem;margin:0}.test-heading h1>span{font-size:1.1rem;color:#9da5ad;font-weight:400;letter-spacing:0}.test-timer{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--line);border-radius:11px;padding:12px 18px;color:#617c66}.test-timer>div{display:flex;gap:2px;flex-direction:column}.test-timer span{font-size:.68rem;color:#87958a}.test-timer b{font-size:1.4rem;font-weight:600;font-variant-numeric:tabular-nums}.test-timer.urgent{background:#fff0ee;border-color:#edc9c9;color:#b44444}.test-timer.untimed b{font-size:.9rem;margin-top:5px}.test-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.question-panel{padding:29px}.question-meta{display:flex;gap:15px;align-items:center;justify-content:space-between}.question-meta>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.source-number{font-size:.68rem;color:#939ca4}.question-text{font-size:1.28rem;line-height:1.65;margin:28px 0 13px;font-weight:600;letter-spacing:-.02em}.question-instruction{font-size:.8rem;color:#8c959e;margin-bottom:21px}.options{display:grid;gap:12px}.option{display:flex;align-items:center;gap:13px;width:100%;background:white;border:1px solid #e1e6e9;border-radius:10px;padding:17px;text-align:left;line-height:1.65;transition:background .15s,border .15s}.option:not(:disabled):hover{border-color:#93b59c;background:#f8fbf7}.option-letter{background:#f3f5f6;border-radius:6px;min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:.82rem;color:#7d8891;font-weight:550}.option-copy{font-size:.93rem;flex:1}.option-indicator{width:18px;height:18px;border:1px solid #dce2e4;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}.option.selected{background:#f1f7f2;border-color:#639976}.option.selected .option-letter{background:#dfeddf;color:#326844}.option.selected .option-indicator{border:5px solid #548965}.option.correct{background:#edf7f0;border-color:#7cab88}.option.incorrect{background:#fff1f2;border-color:#d99aa0}.option.correct .option-indicator,.option.incorrect .option-indicator{border:0;border-radius:0;color:#347a49}.option.incorrect .option-indicator{color:#ad414d}.option-indicator .icon{width:18px;height:18px}.option:disabled{color:var(--ink)}.question-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0}.save-status{color:#9ba59c;font-size:.66rem;display:flex;align-items:center;gap:5px}.save-status .icon{width:13px;height:13px}.flagged-text{color:#a58130}.question-controls{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;gap:15px}.navigator{padding:21px}.navigator .card-title h2{font-size:1rem}.navigator .progress-track{margin:20px 0 12px}.navigator>.small{font-size:.73rem}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:22px 0}.q-number{position:relative;height:35px;border:1px solid #e5e9e7;background:#fff;border-radius:6px;font-size:.77rem;color:#85928b}.q-number.answered{background:#e8f2e8;color:#4d7951;border-color:#d9e8d9}.q-number.current{background:#2d654a;color:#fff;border-color:#2d654a;box-shadow:0 0 0 2px white,0 0 0 3px #99bda0}.q-number.flagged:after{content:"";position:absolute;right:-2px;top:-2px;background:#dfb45d;width:8px;height:8px;border-radius:50%;border:1px solid white}.navigator-legend{display:flex;gap:10px 14px;flex-wrap:wrap;font-size:.62rem;color:#8f9a94;line-height:1.5;margin:0 0 24px}.navigator-legend>span{display:flex;gap:5px;align-items:center}.square{display:inline-block;width:9px;height:9px;border:1px solid #dce3dd;border-radius:2px}.square.answered{background:#bdd6b7;border-color:#bdd6b7}.square.marked{background:#e3c483;border-color:#e3c483}.navigator .btn{font-size:.82rem}.navigator .text-link{display:flex;margin-top:16px;font-size:.76rem}.navigator .field-hint{font-size:.65rem}.test-tip{display:flex;gap:10px;padding:20px 8px;color:#859284}.test-tip .icon{width:17px;height:17px;margin-top:2px}.test-tip p{font-size:.74rem;margin:0}.answer-feedback{display:flex;gap:10px;border-radius:9px;padding:15px;margin-top:20px}.answer-feedback.success{background:#edf7ed;color:#3c744b}.answer-feedback.danger{background:#fff5e9;color:#947331}.answer-feedback b{font-size:.84rem}.answer-feedback p{font-size:.8rem;margin:5px 0 0}.answer-feedback>.icon{width:18px;height:18px;margin-top:3px}
 .result-hero{display:flex;align-items:center;gap:38px;padding:35px;background:linear-gradient(110deg,#f3f8ef,white);border-color:#dfe9db}.result-again{background:linear-gradient(110deg,#fdf8f0,white);border-color:#eee4d3}.result-donut{--pct:0;background:conic-gradient(#6d9560 calc(var(--pct)*1%),#e5ecdf 0);width:176px;height:176px;padding:13px;border-radius:50%;flex-shrink:0}.result-again .result-donut{background:conic-gradient(#cba565 calc(var(--pct)*1%),#eee8de 0)}.result-donut>div{width:100%;height:100%;border-radius:50%;background:#f9fcf6;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-donut strong{font-size:3rem;font-weight:600;letter-spacing:-.06em;color:#456738}.result-donut span{font-size:.72rem;color:#8f9e86;margin-top:6px}.result-copy h2{font-size:1.65rem;margin:15px 0 10px}.result-copy p{font-size:.89rem;color:#798674;max-width:600px;margin:0 0 20px}.result-meta{display:flex;gap:22px;color:#809078;font-size:.73rem;flex-wrap:wrap}.result-meta span{display:flex;align-items:center;gap:6px}.result-meta .icon{width:16px;height:16px}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:22px}.result-stats>div{display:grid;grid-template-columns:35px 1fr;background:white;border:1px solid var(--line);padding:21px;border-radius:11px;gap:6px 14px;align-items:center}.result-marker{height:35px;width:35px;display:flex;align-items:center;justify-content:center;border-radius:9px;grid-row:1/3}.result-marker .icon{width:18px;height:18px}.result-stats strong{font-size:1.6rem;line-height:1;font-weight:600}.result-stats div>span:last-child{font-size:.7rem;color:#89949c}.review-list{display:grid;gap:20px}.review-card{padding:24px}.review-meta{display:flex;gap:12px;align-items:center}.review-meta>span:not(.badge){font-size:.7rem;color:#94a097}.review-meta .icon-btn{margin-left:auto}.review-card h3{margin:15px 0 20px;font-size:1rem;line-height:1.7;letter-spacing:-.01em}.review-options{display:grid;gap:8px}.review-option{display:flex;align-items:flex-start;gap:13px;font-size:.85rem;border-radius:7px;padding:11px 13px;background:#fafbfc;border:1px solid transparent}.review-option>span{color:#8b9890;min-width:15px;font-weight:550;margin-top:3px}.review-option p{margin:0;flex:1}.review-option b{font-size:.64rem;display:flex;align-items:center;gap:5px;white-space:nowrap;margin-top:4px;font-weight:500}.review-option .icon{width:13px;height:13px}.review-option.correct{background:#edf7ee;border-color:#d7ead8;color:#3a784b}.review-option.incorrect{background:#fff1f3;border-color:#f1d9df;color:#ac5360}.end-actions{display:flex;justify-content:center;gap:15px;margin-top:30px}.bank-toolbar{padding:17px;display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(180px,1fr) minmax(130px,.7fr);gap:12px;align-items:center}.search-box{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #e0e5e3;border-radius:8px;height:46px;color:#8b978e}.search-box input{border:0;outline:none;width:100%;font-size:.83rem;min-width:0;background:transparent}.search-box input:focus-visible{outline:none}.search-box:focus-within{outline:2px solid #8ab59b;outline-offset:2px}.search-box input::placeholder{color:#9aa39e}.search-box .icon{width:18px;height:18px}.bank-toolbar select{font-size:.8rem}.bank-count{display:flex;justify-content:space-between;font-size:.78rem;color:#8b968f;padding:22px 2px}.study-card{padding:25px;margin-bottom:18px}.study-meta{display:flex;align-items:center;gap:15px;font-size:.68rem;color:#8f9c92}.study-meta>span:first-child{letter-spacing:.08em;font-weight:600;color:#709377}.study-meta .icon-btn{margin-left:auto}.study-card h2{font-size:1.05rem;line-height:1.7;letter-spacing:-.01em;margin:14px 0 20px;font-weight:600}.study-options{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:7px}.study-options li{display:flex;align-items:flex-start;gap:12px;border-radius:7px;padding:10px 12px;font-size:.88rem;line-height:1.6;background:#fafbfc;border:1px solid #f1f3f3}.study-options b{font-size:.78rem;color:#8e9c91;min-width:14px;padding-top:2px}.study-options span{flex:1}.study-options li.correct{background:#edf7ed;border-color:#d4e7d3;color:#3e7948}.study-options .icon{width:17px;height:17px;margin-top:3px}.pagination{display:flex;gap:22px;align-items:center;justify-content:center;margin:26px 0}.pagination>span{font-size:.82rem;color:#8a958f}.progress-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px}.trend-card,.topic-progress{padding:25px}.trend-card>.muted,.topic-progress>.muted{font-size:.79rem;margin:12px 0 24px}.trend-chart{height:230px;margin:50px 8px 32px;display:flex;align-items:flex-end;gap:18px;position:relative;border-bottom:1px solid var(--line);padding:0 6px}.trend-column{display:flex;flex:1;align-items:center;justify-content:flex-end;flex-direction:column;height:100%;position:relative;z-index:1;max-width:55px}.trend-column b{font-size:.68rem;color:#7b9279;margin-bottom:8px;position:absolute;top:-26px}.trend-column i{display:block;width:100%;min-height:3px;background:#e4ca9b;border-radius:5px 5px 0 0}.trend-column i.passed{background:#8eae7c}.trend-column>span{position:absolute;bottom:-25px;font-size:.7rem;color:#9ca69c}.threshold{position:absolute;left:0;right:0;bottom:70%;border-top:1px dashed #91aa84;z-index:2}.threshold span{position:absolute;right:0;bottom:4px;font-size:.6rem;color:#7d9571;background:#fff;padding:2px 4px}.topic-row{margin-top:17px}.topic-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:.75rem;line-height:1.5;color:#83907f;margin-bottom:8px}.topic-row b{font-size:.7rem;font-weight:550;color:#657c5b;white-space:nowrap}.topic-row .progress-track{height:5px}.leader-banner{display:flex;gap:23px;align-items:center;border:1px solid #e1e9d6;border-radius:13px;background:#f1f6e9;padding:26px;margin-bottom:26px}.leader-emblem{width:61px;height:61px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#e4edce;color:#879858;flex-shrink:0}.leader-emblem .icon{width:32px;height:32px}.leader-banner h2{font-size:1.12rem;color:#536e41}.leader-banner p{font-size:.8rem;color:#8a997e;margin:0}.leader-banner .btn{margin-left:auto;flex-shrink:0}.leaderboard-card{overflow:hidden}.leaderboard-card>.section-heading{padding:22px 25px 0}.rank-number{display:flex;align-items:center;gap:8px;font-weight:600;color:#92998e}.rank-number .icon{width:17px;height:17px}.rank-1{color:#b79143}.rank-2{color:#899da5}.rank-3{color:#bb9475}.rank-name{display:flex;align-items:center;gap:10px;white-space:nowrap}.small-avatar{width:29px;height:29px;font-size:.72rem}.score-number{color:#4d7951;font-size:1.05rem}.my-rank{background:#f4f9ee}.leader-note{display:flex;align-items:flex-start;gap:9px;border-top:1px solid var(--line);padding:19px 25px;color:#93a08e;font-size:.7rem;line-height:1.7}.leader-note .icon{width:15px;height:15px;margin-top:2px}.rules-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.rules-content{padding:30px}.rules-content h2{font-size:1.3rem}.rules-content h3{margin:30px 0 12px}.rules-content p{font-size:.9rem;color:#7d887e;line-height:1.8}.rules-side{display:grid;gap:20px}.rules-side>.card{padding:25px}.rules-side p{color:#85907e;font-size:.8rem}.bank-total{display:block;font-size:3rem;letter-spacing:-.06em;color:#527547;font-weight:550}.rules-side details{font-size:.8rem;color:#6d8362;margin:18px 0}.rules-side summary{cursor:pointer;line-height:1.6}.rules-side details p{margin-top:12px}.sources a{display:block;font-size:.8rem;color:#5b8253;text-decoration:underline;text-underline-offset:3px;line-height:1.6;margin:14px 0}.sources p{margin-top:20px}
}
@layer responsive {
 @media(min-width:1600px){.hero-art{right:15px;width:35%}.floating-note{width:170px;height:230px;right:50px}.hero-card h2{font-size:2.9rem}.hero-card{padding:38px}.hero-label{font-size:.65rem}.hero-card p{font-size:.9rem}.hero-facts{font-size:.72rem}}
 @media(max-width:1250px){.sidebar{width:215px;padding-left:12px;padding-right:12px}.workspace{width:calc(100% - 215px);margin-left:215px}.brand{margin-left:9px;font-size:1.25rem}.topbar{padding:0 26px}main{padding:29px 26px}.page-heading h1{font-size:1.75rem}.page-heading>.badge{display:none}.today{display:none}.stats-grid{gap:13px}.stat{padding:15px}.stat-top{font-size:.7rem}.stat-sub{font-size:.63rem}.dashboard-top{gap:18px;grid-template-columns:minmax(0,1.9fr) minmax(245px,1fr)}.hero-card{padding:25px}.hero-copy{width:100%}.hero-art{opacity:.2;width:30%}.hero-card h2{font-size:2.4rem}.hero-facts{gap:11px}.hero-label{font-size:.52rem}.mode-grid{gap:14px}.mode-card{padding:19px}.mode-card p{font-size:.75rem}.test-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.question-panel{padding:23px}.navigator{padding:17px}.question-grid{gap:6px}.q-number{height:32px}.question-text{font-size:1.1rem}.option{padding:13px}.option-copy{font-size:.87rem}.save-status{display:none}.rules-layout{grid-template-columns:minmax(0,1fr) 250px}.result-stats{gap:12px}.result-stats>div{padding:15px;gap:6px 10px}.result-stats div>span:last-child{font-size:.64rem}.bank-toolbar{grid-template-columns:1.3fr 1fr}.bank-toolbar select:last-child{grid-column:2}.search-box{grid-row:1/3;height:100%}.leader-banner{padding:22px;gap:16px}.leader-banner h2{font-size:1rem}.leader-banner .btn{font-size:.76rem}.footer{padding:20px 26px}}
 @media(max-width:1020px){.sidebar{width:195px;padding-left:9px;padding-right:9px}.workspace{width:calc(100% - 195px);margin-left:195px}.nav-item{font-size:.78rem;padding:12px 10px;gap:9px}.nav-item .icon{width:18px}.nav-count{display:none}.brand img{width:36px;height:36px}.brand{font-size:1.18rem;margin-left:7px}.brand-sub{font-size:.55rem}.sidebar-caption{font-size:.55rem}.goal-card{padding:17px 13px}.goal-card strong{font-size:.8rem}.goal-card p{font-size:.65rem}.topbar{height:72px;padding:0 22px}main{padding:26px 22px}.page-heading h1{font-size:1.6rem}.page-heading p{font-size:.8rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:14px}.stat{padding:18px}.stat-top{font-size:.78rem}.stat-sub{font-size:.7rem}.dashboard-top{grid-template-columns:1fr}.hero-card{min-height:325px}.hero-art{opacity:1;width:35%}.hero-copy{width:75%}.hero-card h2{font-size:2.6rem}.hero-label{font-size:.6rem}.hero-facts{font-size:.7rem;gap:15px}.progress-card{display:grid;grid-template-columns:1fr 1fr;padding:22px;gap:0 22px;text-align:left}.progress-card .card-title{grid-column:1/3}.progress-card>.muted{grid-column:1/3}.donut{grid-column:1;grid-row:3/6;margin:10px auto;width:135px;height:135px}.progress-caption{margin-top:20px}.progress-legend{margin:16px 0}.progress-card .text-link{text-align:left}.mode-grid{grid-template-columns:1fr;gap:12px}.mode-card{display:grid;grid-template-columns:40px 1fr;gap:0 17px;padding:20px}.mode-icon{grid-row:1/3;margin:0}.mode-card h3{font-size:.95rem}.mode-card p{max-width:none;margin:0;font-size:.8rem}.mode-meta{grid-column:2;font-size:.72rem;margin-top:15px;padding-top:12px}.test-layout{grid-template-columns:1fr}.test-side{display:grid;grid-template-columns:1fr}.question-grid{grid-template-columns:repeat(10,1fr);gap:10px}.q-number{height:36px}.navigator{padding:22px}.navigator .btn{width:auto}.navigator .text-link{display:inline-flex;margin:0 0 0 15px}.navigator .field-hint{text-align:left}.test-tip{display:none}.test-heading h1{font-size:1.5rem}.question-text{font-size:1.15rem}.option-copy{font-size:.95rem}.progress-panels{grid-template-columns:1fr}.result-hero{padding:26px;gap:24px}.result-donut{width:145px;height:145px;padding:11px}.result-donut strong{font-size:2.5rem}.result-copy h2{font-size:1.3rem}.result-copy p{font-size:.83rem}.result-stats{grid-template-columns:repeat(2,1fr)}.result-stats div>span:last-child{font-size:.74rem}.review-option{flex-wrap:wrap}.review-option b{margin-left:27px;width:100%}.review-meta>span:not(.badge){font-size:.65rem}.rules-layout{grid-template-columns:1fr}.rules-side{grid-template-columns:1fr 1fr;align-items:start}.leader-banner{align-items:flex-start;flex-wrap:wrap}.leader-banner>div:nth-child(2){flex:1}.leader-banner .btn{margin-left:77px}.leaderboard-card>.section-heading{flex-wrap:wrap}.footer{font-size:.62rem}.footer>span:last-child{display:none}}
 @media(max-width:760px){.sidebar{transform:translateX(-100%);width:245px;box-shadow:10px 0 40px #1d38222b;transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:1.35rem}.sidebar .brand-sub{font-size:.65rem}.sidebar .nav-item{font-size:.9rem;padding:14px}.sidebar .sidebar-caption{font-size:.65rem}.sidebar .goal-card{display:none}.workspace{width:100%;margin-left:0}.mobile-menu{display:flex}.topbar{height:68px;padding:0 18px;position:sticky;top:0;z-index:30}.breadcrumb{gap:9px;font-size:.78rem}.breadcrumb-parent,.slash{display:none}.topbar-right{gap:0}.profile-button{padding-left:0;border:0}.profile-button>span:last-child{display:none}.avatar{width:32px;height:32px}.page-heading{align-items:flex-start;margin-bottom:23px;gap:14px}.page-heading h1{font-size:1.6rem;line-height:1.35}.page-heading p{font-size:.83rem}.eyebrow{font-size:.58rem;margin-bottom:10px}main{padding:25px 18px 32px}.stats-grid{gap:12px;margin-bottom:20px}.stat{padding:15px}.stat-top{font-size:.72rem}.stat-icon{padding:6px}.stat-icon .icon{width:16px;height:16px}.stat>strong{font-size:1.8rem}.stat-sub{font-size:.65rem;line-height:1.5}.hero-card{padding:27px 23px;min-height:350px}.hero-art{opacity:.34;width:35%}.hero-copy{width:100%}.hero-card h2{font-size:2.6rem}.hero-card p{font-size:.82rem;max-width:300px}.hero-label{font-size:.54rem}.hero-facts{font-size:.62rem;gap:12px}.floating-note{right:-30px;top:80px}.art-mini{right:-20px;bottom:56px}.hero-card .btn{font-size:.82rem;padding:12px 20px}.progress-card .card-title h2{font-size:1.03rem}.progress-card>.muted{font-size:.76rem}.progress-caption,.progress-legend>span{font-size:.74rem}.section-heading h2{font-size:1.05rem}.section-heading p{font-size:.76rem}.section-heading>.badge{display:none}.mode-card{padding:20px}.recent>.section-heading{padding:20px 19px 0}.recent .text-link{font-size:.7rem}.empty h3{font-size:.92rem}.empty p{font-size:.78rem}.footer{padding:20px 18px}.resume-bar{flex-direction:column;align-items:flex-start;padding:17px;font-size:.78rem}.test-heading{margin-bottom:21px}.test-heading h1{font-size:1.35rem}.test-heading h1>span{font-size:.95rem}.test-timer{padding:10px 13px;gap:8px}.test-timer .icon{width:18px;height:18px}.test-timer span{font-size:.6rem}.test-timer b{font-size:1.25rem}.test-timer.untimed b{font-size:.72rem}.question-panel{padding:21px 18px}.question-meta{gap:8px}.question-meta .badge{font-size:.62rem;white-space:normal;line-height:1.5}.source-number{font-size:.62rem}.question-text{font-size:1.06rem;line-height:1.75;margin-top:22px}.option{padding:13px 12px;gap:10px;align-items:flex-start}.option-letter{min-width:28px;height:28px;font-size:.77rem}.option-copy{font-size:.88rem;line-height:1.75}.option-indicator{width:16px;height:16px;margin-top:7px}.question-controls .btn{padding:10px 14px;font-size:.78rem}.question-bottom{margin:16px 0}.question-grid{grid-template-columns:repeat(8,1fr);gap:8px}.navigator-legend{font-size:.68rem}.test-side .text-link{font-size:.73rem}.test-side .field-hint{font-size:.68rem}.page-heading>.btn{font-size:.7rem;padding:9px 12px;white-space:nowrap;min-height:38px}.result-hero{flex-direction:column;text-align:center;padding:28px 22px;gap:24px}.result-donut{width:160px;height:160px}.result-copy h2{font-size:1.4rem}.result-copy p{font-size:.87rem}.result-meta{justify-content:center;gap:15px}.result-stats{gap:12px}.result-stats>div{padding:15px}.result-stats strong{font-size:1.4rem}.result-stats div>span:last-child{font-size:.65rem}.result-stats .result-marker{height:30px;width:30px}.review-card{padding:19px 16px}.review-meta{gap:7px;flex-wrap:wrap}.review-meta>span:not(.badge){flex:1;line-height:1.5}.review-meta .icon-btn{width:30px;min-width:30px;padding:5px}.review-card h3{font-size:.96rem}.review-option{font-size:.82rem;padding:10px;gap:8px}.review-option b{font-size:.65rem;margin-left:23px}.section:has(.review-list)>.section-heading{flex-wrap:wrap}.end-actions{flex-direction:column}.bank-toolbar{grid-template-columns:1fr 1fr;padding:13px;gap:10px}.search-box{grid-column:1/3;grid-row:auto;height:46px}.bank-toolbar select{font-size:.7rem;padding-left:10px;height:43px}.bank-toolbar select:last-child{grid-column:2}.bank-count{font-size:.71rem;padding:20px 1px}.study-card{padding:18px}.study-meta{gap:9px;font-size:.58rem}.study-meta>span:nth-child(2){max-width:150px}.study-card h2{font-size:.96rem}.study-options li{font-size:.82rem;padding:10px;gap:9px}.study-card .text-button{font-size:.77rem}.leader-banner{gap:14px;padding:20px}.leader-emblem{width:46px;height:46px;border-radius:11px}.leader-emblem .icon{width:25px;height:25px}.leader-banner h2{font-size:.96rem;line-height:1.5}.leader-banner p{font-size:.77rem}.leader-banner .btn{margin-left:60px}.leaderboard-card>.section-heading{padding:20px 18px 0}.leaderboard-card h2{font-size:1rem}.segmented button{font-size:.7rem;padding:8px 10px}.leader-note{padding:17px;font-size:.65rem}.rules-content{padding:22px}.rules-content p{font-size:.87rem}.rules-content h2{font-size:1.2rem}.rules-side{grid-template-columns:1fr}.rules-side>.card{padding:23px}.exam-rules{gap:4px}.exam-rules b{font-size:1.4rem}.exam-rules span{font-size:.6rem}.rules-content .exam-rules span{font-size:.57rem}.progress-panels{gap:18px}.trend-card,.topic-progress{padding:22px}.trend-card .badge{font-size:.6rem}.trend-card .card-title h2{font-size:1rem}.trend-chart{gap:12px}.topic-row>div:first-child{font-size:.76rem}dialog{padding:28px 23px;border-radius:17px}dialog h2{font-size:1.4rem}.modal-emblem{margin-top:5px}.modal-close{right:10px;top:10px}.checkbox-line{font-size:.77rem}.checkbox-line small{font-size:.68rem}.field label{font-size:.8rem}.form-error{font-size:.8rem}#toast{font-size:.78rem;padding:13px 18px;bottom:20px}}
 @media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
 @media print{.sidebar,.topbar,.footer,.end-actions,.btn,.icon-btn,.segmented{display:none!important}.workspace{margin:0;width:100%}main{padding:0}.review-card{break-inside:avoid}.result-hero{background:white}.layout{display:block}body{background:white}}
}

@layer mobile {
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.bottom-nav,.grid-toggle,.test-progress{display:none}
@media (hover:none){.btn:hover,.mode-card:hover{transform:none}}
@media (min-width:761px){.mobile-menu{display:none}}
@media (max-width:760px){
/* frame */
.mobile-menu{display:inline-flex;width:44px;height:44px;margin-left:-6px;color:#3e5a4b}
.mobile-menu .icon{width:24px;height:24px}
.topbar{height:58px;padding:0 10px 0 12px}
.breadcrumb{gap:6px}
.breadcrumb b{font-size:1rem;font-weight:650;letter-spacing:-.01em}
.profile-button{min-height:44px;min-width:44px;justify-content:center}
.avatar{width:36px;height:36px}
main{padding:20px 16px 28px}
.footer{flex-direction:column;align-items:flex-start;gap:4px;font-size:.75rem;line-height:1.5;padding:18px 16px calc(96px + env(safe-area-inset-bottom))}
.footer>span:last-child{display:block}
.layout[data-page=test] .footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
/* off-canvas menu: no shadow strip while closed, out of the tab order, dimmed page behind it */
.sidebar{width:min(300px,86vw);visibility:hidden;box-shadow:none;padding:22px 14px 18px;transition:transform .22s ease,visibility 0s linear .22s}
.sidebar.open{visibility:visible;box-shadow:16px 0 48px #10251c38;transition:transform .22s ease}
.sidebar.open+.workspace::after{content:"";position:fixed;inset:0;background:#10251c52;z-index:35}
.sidebar .brand{margin-bottom:26px}
.sidebar .nav-item{min-height:48px;font-size:.9375rem}
.sidebar-bottom{padding-top:20px}
.sidebar-foot{font-size:.75rem}
/* bottom tab bar */
.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fffffff7;border-top:1px solid var(--line);box-shadow:0 -6px 24px #1d382210;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
@supports (backdrop-filter:blur(1px)){.bottom-nav{background:#ffffffde;backdrop-filter:saturate(1.6) blur(14px)}}
.bottom-nav>a,.bottom-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border:0;background:none;padding:2px;color:#5f6b78;font-size:.6875rem;font-weight:600;line-height:1.2;letter-spacing:0;text-align:center;white-space:nowrap}
.bottom-nav .bn-icon{display:flex;align-items:center;justify-content:center;width:52px;height:30px;border-radius:999px;transition:background .15s}
.bottom-nav .icon{width:22px;height:22px}
.bottom-nav>.active{color:#1f5b45}
.bottom-nav>.active .bn-icon{background:#e1efe4}
.bottom-nav>:active .bn-icon{background:#edf3ef}
#toast{bottom:calc(92px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 32px);font-size:.875rem;line-height:1.5;text-align:center}
/* type scale: nothing under 11px, body copy 15-16px, form fields 16px so iOS does not zoom on focus */
.page-heading{margin-bottom:20px;gap:12px}
.page-heading h1{font-size:1.5rem;line-height:1.3;margin-bottom:8px}
.page-heading p{font-size:.9375rem;line-height:1.55}
.eyebrow{font-size:.6875rem;letter-spacing:.12em;margin-bottom:8px}
.page-heading>.btn{font-size:.875rem;min-height:44px;padding:9px 14px}
input,select,textarea,.field input,.field select,.search-box input,.bank-toolbar select{font-size:16px}
.badge{font-size:.75rem}
.btn{min-height:46px;font-size:.9375rem}
.text-link{font-size:.875rem}
.empty h3{font-size:1rem}
.empty p{font-size:.875rem}
.empty .btn{font-size:.875rem;min-height:44px}
.section-heading h2{font-size:1.125rem}
.section-heading p{font-size:.8125rem}
/* home */
.resume-bar{font-size:.875rem;gap:12px}
.resume-bar .btn{width:100%;min-height:46px;font-size:.9375rem}
.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.stat{padding:14px 14px 13px}
.stat-top{font-size:.8125rem;min-height:0;margin-bottom:6px;line-height:1.35}
.stat>strong{font-size:1.625rem}
.stat strong small{font-size:.8125rem}
.stat-sub{font-size:.75rem;line-height:1.45;margin-top:6px}
.dashboard-top{grid-template-columns:minmax(0,1fr);gap:16px}
.hero-card{min-height:0;padding:24px 20px}
.hero-art{display:none}
.hero-copy{width:100%}
.hero-label{font-size:.6875rem}
.hero-card h2{font-size:2.125rem;margin:14px 0 10px}
.hero-card p{font-size:.9375rem;max-width:none;margin-bottom:16px}
.hero-facts{font-size:.8125rem;gap:10px 16px;max-width:none}
.hero-facts span:last-child{width:auto}
.hero-card .btn{width:100%;min-height:50px;font-size:1rem;margin-top:4px}
.progress-card{padding:20px}
.progress-card>.muted{font-size:.875rem}
.donut span{font-size:.75rem}
.progress-caption,.progress-legend>span{font-size:.875rem}
.progress-card .text-link{font-size:.875rem;justify-content:center;min-height:44px}
.mode-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.mode-card{padding:16px}
.mode-card h3{font-size:1rem}
.mode-card p{font-size:.9375rem;line-height:1.55}
.mode-meta{font-size:.8125rem}
.recent>.section-heading{padding:18px 16px 0;margin-bottom:12px}
.recent .text-link{font-size:.875rem}
/* tables become two-line rows instead of scrolling sideways */
.table-scroll{overflow:visible}
.table-scroll table,.table-scroll tbody{display:block}
.table-scroll thead{display:none}
.table-scroll tr{display:grid;position:relative;align-items:center;column-gap:10px;row-gap:3px;padding:13px 16px;border-top:1px solid #f0f2f4}
.table-scroll td{display:block;padding:0;border:0;min-width:0}
.recent tr{grid-template-columns:minmax(0,1fr) auto auto 20px}
.recent td:nth-child(1){grid-area:1/1}
.recent td:nth-child(3){grid-area:1/2;font-size:.8125rem;color:var(--muted)}
.recent td:nth-child(4){grid-area:1/3;font-size:.9375rem}
.recent td:nth-child(6){grid-area:1/4/3/5}
.recent td:nth-child(2){grid-area:2/1;font-size:.8125rem}
.recent td:nth-child(5){grid-area:2/2/3/4;justify-self:end}
.recent .table-type{font-size:.9375rem}
.row-open::after{content:"";position:absolute;inset:0}
.leaderboard-card tr{grid-template-columns:30px auto auto minmax(0,1fr) auto;column-gap:8px}
.leaderboard-card td:nth-child(1){grid-area:1/1/3/2}
.leaderboard-card td:nth-child(2){grid-area:1/2/2/5}
.leaderboard-card td:nth-child(3){grid-area:1/5/2/6;text-align:right;white-space:nowrap}
.leaderboard-card td:nth-child(4){grid-area:2/2}
.leaderboard-card td:nth-child(5){grid-area:2/3}
.leaderboard-card td:nth-child(6){grid-area:2/4/3/6}
.leaderboard-card td:nth-child(n+4){font-size:.75rem;color:var(--muted);white-space:nowrap}
.leaderboard-card td:nth-child(5)::before,.leaderboard-card td:nth-child(6)::before{content:"· ";color:#b5bcc4}
.rank-number{gap:3px;font-size:.9375rem}
.rank-number .icon{width:15px;height:15px}
.rank-name{gap:8px;min-width:0}
.rank-name b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9375rem}
.small-avatar{width:30px;height:30px;font-size:.75rem}
.score-number{font-size:1.125rem}
.leaderboard-card td:nth-child(3) .muted{font-size:.75rem}
/* leaderboard page */
.leader-banner{flex-wrap:wrap;padding:18px;gap:12px 14px;margin-bottom:18px}
.leader-banner>div:nth-child(2){flex:1 1 200px;min-width:0}
.leader-banner h2{font-size:1rem;line-height:1.45;margin-bottom:4px}
.leader-banner p{font-size:.875rem}
.leader-banner .btn{margin-left:0;width:100%}
.leaderboard-card>.section-heading{flex-direction:column;align-items:stretch;gap:12px;padding:18px 16px 4px;margin-bottom:12px}
.leaderboard-card h2{font-size:1.0625rem}
.segmented{display:grid;grid-template-columns:1fr 1fr}
.segmented button{font-size:.875rem;min-height:40px;padding:8px}
.leader-note{font-size:.8125rem;line-height:1.6;padding:16px}
/* question bank */
.bank-toolbar{grid-template-columns:1fr 1fr;padding:12px;gap:10px}
.search-box{height:48px}
.bank-toolbar select{height:46px;padding-left:12px}
.bank-count{font-size:.8125rem;padding:16px 2px}
.study-card{padding:16px;margin-bottom:12px}
.study-meta{font-size:.75rem;gap:8px}
.study-meta>span:nth-child(2){max-width:none}
.study-meta .icon-btn{width:44px;height:44px;margin:-10px -10px -10px auto}
.study-card h2{font-size:1.0625rem;line-height:1.55;margin:10px 0 14px}
.study-options li{font-size:.9375rem;line-height:1.5;padding:10px 12px}
.study-options b{font-size:.875rem}
.study-card .text-button{font-size:.875rem;min-height:44px}
.pagination{gap:12px;margin:20px 0 8px}
.pagination .btn{min-height:46px;padding:10px 16px}
.pagination>span{font-size:.875rem}
/* progress */
.progress-panels{grid-template-columns:minmax(0,1fr);gap:16px}
.trend-card,.topic-progress{padding:18px 16px}
.trend-card>.muted,.topic-progress>.muted{font-size:.875rem}
.trend-card .badge{font-size:.75rem}
.trend-chart{gap:8px;margin:44px 2px 32px;height:200px}
.trend-column b{font-size:.6875rem}
.trend-column>span{font-size:.75rem}
.threshold span{font-size:.6875rem}
.topic-row>div:first-child{font-size:.875rem}
.topic-row b{font-size:.8125rem}
/* test: focus mode with the timer and progress pinned on top and the controls pinned at the bottom */
.layout[data-page=test] .topbar{display:none}
.test-heading{position:sticky;top:0;z-index:25;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;margin:-20px -16px 14px;padding:10px 16px 0;background:#f6f8faf7}
@supports (backdrop-filter:blur(1px)){.test-heading{background:#f6f8fadb;backdrop-filter:saturate(1.4) blur(12px)}}
.test-heading .eyebrow{font-size:.6875rem;margin-bottom:2px}
.test-heading h1{font-size:1.25rem;line-height:1.3}
.test-heading h1>span{font-size:.9375rem}
.test-timer{padding:7px 12px;gap:6px;border-radius:999px}
.test-timer>div>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.test-timer .icon{width:18px;height:18px}
.test-timer b{font-size:1.125rem;line-height:1.2}
.test-timer.untimed b{font-size:.8125rem;margin:0}
.test-progress{display:block;grid-column:1/-1;height:3px;margin:10px -16px 0;background:#e2e8e4}
.test-progress span{display:block;height:100%;background:#4f8f63;transition:width .25s ease}
.test-layout{grid-template-columns:minmax(0,1fr);gap:16px}
.question-panel{padding:16px 16px 6px;scroll-margin-top:84px}
.question-meta{align-items:flex-start;gap:10px}
.question-meta>div{gap:6px 10px}
.question-meta .badge{font-size:.75rem;line-height:1.45}
.source-number{font-size:.75rem}
.question-meta .icon-btn{width:44px;height:44px;margin:-6px -8px 0 0}
.question-text{font-size:1.0625rem;line-height:1.55;margin:12px 0 4px}
.question-instruction{font-size:.8125rem;margin-bottom:12px}
.options{gap:10px}
.option{align-items:flex-start;gap:12px;padding:12px;min-height:56px;border-radius:12px;line-height:1.45}
.option-letter{min-width:32px;height:32px;font-size:.875rem}
.option-copy{font-size:1rem;line-height:1.45;padding-top:4px}
.option-indicator{width:20px;height:20px;margin-top:6px}
.option:not(:disabled):active{background:#f1f7f2;border-color:#93b59c}
.answer-feedback{scroll-margin-bottom:96px;margin-top:14px}
.answer-feedback b{font-size:.9375rem}
.answer-feedback p{font-size:.9375rem;line-height:1.5}
.question-bottom{margin:12px 0 4px;gap:10px}
.question-bottom .text-button{min-height:44px;font-size:.875rem}
.save-status{font-size:.75rem}
.question-controls{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1.35fr);gap:8px;align-items:center;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid var(--line);box-shadow:0 -6px 24px #1d382214}
@supports (backdrop-filter:blur(1px)){.question-controls{background:#ffffffde;backdrop-filter:saturate(1.6) blur(14px)}}
.question-controls .btn{min-height:50px;padding:10px 12px;font-size:.9375rem;width:100%}
.grid-toggle{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;border:1px solid #dce3e0;border-radius:10px;background:#fff;color:#415a4c}
.grid-toggle .icon{width:22px;height:22px}
.navigator{padding:18px 16px;scroll-margin-top:84px}
.navigator .card-title h2{font-size:1.0625rem}
.navigator>.small{font-size:.8125rem}
.question-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:18px 0}
.q-number{height:44px;font-size:.9375rem;border-radius:8px}
.navigator-legend{font-size:.75rem;gap:8px 14px}
.square{width:11px;height:11px}
.test-side .text-link{display:flex;justify-content:center;min-height:44px;font-size:.875rem}
.test-side .field-hint{font-size:.8125rem}
.navigator .btn.full{width:100%;min-height:50px}
/* result */
.result-hero{padding:24px 18px;gap:18px}
.result-donut{width:150px;height:150px}
.result-copy h2{font-size:1.375rem}
.result-copy p{font-size:.9375rem;line-height:1.55}
.result-meta{font-size:.8125rem;gap:8px 16px;flex-wrap:wrap}
.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.result-stats>div{padding:14px}
.result-stats strong{font-size:1.5rem}
.result-stats div>span:last-child{font-size:.8125rem}
.review-list{gap:12px}
.review-card{padding:16px}
.review-meta>span:not(.badge){font-size:.75rem}
.review-meta .icon-btn{width:44px;height:44px;min-width:44px;margin:-8px -8px -8px auto}
.review-card h3{font-size:1rem;line-height:1.5}
.review-option{font-size:.9375rem;line-height:1.45;padding:10px 12px}
.review-option b{font-size:.75rem}
.section:has(.review-list)>.section-heading{flex-direction:column;align-items:stretch;gap:12px}
.end-actions .btn{width:100%;min-height:50px}
/* rules */
.rules-layout{grid-template-columns:minmax(0,1fr);gap:16px}
.rules-content{padding:20px 18px}
.rules-content h2{font-size:1.25rem}
.rules-content h3{font-size:1.0625rem;margin:24px 0 8px}
.rules-content p{font-size:.9375rem;line-height:1.65}
.rules-side>.card{padding:20px 18px}
.rules-side p,.rules-side details{font-size:.875rem}
.sources a{font-size:.9375rem;padding:4px 0}
.exam-rules{padding:16px 4px;margin:18px 0}
.exam-rules b{font-size:1.375rem}
.exam-rules span,.rules-content .exam-rules span{font-size:.75rem;line-height:1.35}
/* dialogs */
dialog{padding:24px 20px 22px;width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
dialog h2{font-size:1.375rem}
dialog>p{font-size:.9375rem;line-height:1.55}
.modal-close{width:44px;height:44px;right:8px;top:8px}
.modal-emblem{margin-bottom:16px}
.field{margin:16px 0}
.field label{font-size:.875rem}
.field-hint{font-size:.8125rem}
.checkbox-line{font-size:.9375rem;gap:12px;margin:18px 0}
.checkbox-line input{width:22px;height:22px;margin-top:1px}
.checkbox-line small{font-size:.8125rem}
.form-error{font-size:.875rem}
.modal-foot{font-size:.8125rem}
.modal-actions .btn,#start-form .btn.full,#profile-form .btn.full{min-height:50px;font-size:1rem}
}
@media (max-width:370px){
main{padding-left:12px;padding-right:12px}
.test-heading{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}
.test-progress{margin-left:-12px;margin-right:-12px}
.hero-card h2{font-size:1.875rem}
.stat>strong{font-size:1.45rem}
.question-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.question-controls{grid-template-columns:minmax(0,1fr) 48px minmax(0,1.3fr);padding-left:10px;padding-right:10px}
.question-controls .btn{padding-left:8px;padding-right:8px}
.grid-toggle{width:48px}
}
@media print{.bottom-nav,.grid-toggle,.test-progress{display:none!important}.question-controls{position:static}}
}
