*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f7fb;color:#172033}button,input{font:inherit}button{cursor:pointer;border:0}.container{max-width:1050px;margin:auto;padding:24px 18px}.card{border:1px solid #e2e8f0;border-radius:18px;padding:28px;box-shadow:0 8px 30px rgba(15,23,42,.05)}.card,header{background:#fff}header{border-bottom:1px solid #e2e8f0;padding:18px 24px}.brand{max-width:1050px;margin:auto;font-weight:800;color:#2563eb;font-size:20px}h1{margin:0 0 8px;font-size:32px}h2{margin-top:0}.muted{color:#64748b}.input{width:100%;padding:13px 15px;border:1px solid #cbd5e1;border-radius:11px;outline:none}.input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.row{display:flex;gap:10px}.primary{background:#2563eb;color:white}.primary,.secondary{padding:13px 18px;border-radius:11px;font-weight:700}.secondary{background:#eef2ff;color:#1d4ed8}.danger{background:#fee2e2;color:#991b1b;padding:11px 15px;border-radius:10px;font-weight:700}.error{color:#dc2626;font-weight:600}.success{color:#15803d;font-weight:600}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:14px;gap:14px}.test{padding:18px;border:1px solid #e2e8f0;border-radius:14px}.test h3{margin:0 0 6px}.test a{display:inline-block;margin-top:14px}.top{display:flex;justify-content:space-between;gap:15px;align-items:center}.timer{font-weight:800;background:#eff6ff;color:#1d4ed8;padding:10px 13px;border-radius:10px}.timer.warning{background:#fef2f2;color:#dc2626}.progress{height:8px;background:#e5e7eb;border-radius:99px;overflow:hidden;margin:20px 0}.progress>div{height:100%;background:#2563eb}.question{font-size:21px;font-weight:750;line-height:1.5}.option{display:block;width:100%;text-align:left;padding:15px;border:1px solid #e2e8f0;border-radius:12px;background:white;margin:10px 0}.option.selected{background:#eff6ff;border-color:#2563eb}.nav{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.numbers{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.num{width:38px;height:38px;border-radius:9px;background:#f1f5f9;color:#475569}.num.done{background:#dbeafe;color:#1d4ed8}.num.current{outline:3px solid #bfdbfe}.score{text-align:center;font-size:52px;font-weight:900;color:#2563eb}.stats{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.stat{background:#f8fafc;border-radius:12px;padding:15px;text-align:center}.stat b{display:block;font-size:25px}.review{border-top:1px solid #e2e8f0;padding:20px 0}.correct{color:#15803d}.wrong{color:#dc2626}.answer{background:#f8fafc;padding:9px 12px;border-radius:9px;margin:6px 0}.explain{background:#fffbeb;color:#854d0e;padding:12px;border-radius:10px;margin-top:8px}.admin-item{display:flex;justify-content:space-between;gap:15px;align-items:center;border:1px solid #e2e8f0;border-radius:12px;padding:14px;margin:8px 0}@media(max-width:650px){.nav,.row,.top{flex-direction:column;align-items:stretch}.stats{grid-template-columns:1fr}.score{font-size:42px}}.passage{background:#f8fafc;border:1px solid #cbd5e1;border-radius:14px;padding:18px 20px;margin:18px 0 22px}.passage-title{font-weight:800;font-size:18px;margin-bottom:10px;color:#1d4ed8}.passage-text{white-space:pre-wrap;line-height:1.7;color:#334155;font-size:16px}.ad-banner{width:100%;margin:0 0 28px;display:flex;justify-content:center}.ad-banner img{width:100%;max-width:1100px;height:auto;display:block;border-radius:14px}@media (max-width:700px){.ad-banner{margin-bottom:20px}.ad-banner img{border-radius:10px}}.home-page{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:44px 20px;background:radial-gradient(circle at top,#ffffff 0,#f5f8ff 55%,#eef3fb 100%)}.home-content{width:min(100%,980px);margin:0 auto}.home-heading{text-align:center;margin:0 auto 38px}.home-heading h1{margin:0;color:#172033;font-size:clamp(42px,8vw,76px);line-height:1.05;font-weight:900;letter-spacing:-2.5px}.home-heading p{margin:15px 0 0;color:#64748b;font-size:clamp(15px,2.3vw,19px)}.subjects-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px}.subject-card{min-height:158px;padding:21px 14px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;text-decoration:none;color:#172033;background:#ffffff;border:1px solid #e1e8f2;border-radius:18px;box-shadow:0 5px 18px rgba(15,23,42,.045);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.subject-card:hover{transform:translateY(-3px);border-color:#93b4f8;box-shadow:0 12px 26px rgba(37,99,235,.11)}.subject-card:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}.subject-emoji{font-size:34px;line-height:1.1}.subject-name{font-size:17px;line-height:1.25;font-weight:850}.subject-count{color:#64748b;font-size:13px;font-weight:600}.subject-page{padding-top:28px}.back-link{display:inline-block;margin:0 0 18px;color:#2563eb;font-weight:700;text-decoration:none}.back-link:hover{text-decoration:underline}.subject-list-card{min-height:300px}.subject-list-heading{display:flex;align-items:center;gap:16px;margin-bottom:24px}.subject-list-heading h1{margin:0 0 5px;text-transform:none}.subject-list-heading p{margin:0}.subject-list-emoji{font-size:42px}.empty-subject{padding:28px 16px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px}.admin-label{display:block;margin:0 0 7px;color:#334155;font-weight:700}@media (max-width:760px){.subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subject-card{min-height:142px;border-radius:15px}.home-heading{margin-bottom:28px}}@media (max-width:360px){.home-page{padding:34px 14px}.subject-card{min-height:130px;padding:16px 8px}.subject-name{font-size:15px}}.math-quiz-shell{max-width:1000px;padding-top:28px;padding-bottom:48px}.math-quiz-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:clamp(18px,3vw,34px);box-shadow:0 12px 40px rgba(15,23,42,.06)}.math-quiz-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.math-quiz-brand{font-size:12px;font-weight:900;letter-spacing:1.5px;color:#2563eb;margin-bottom:8px}.math-quiz-header h1{font-size:clamp(22px,3vw,30px);line-height:1.25;margin:0 0 7px}.math-timer{flex:none;background:#eff6ff;color:#1d4ed8;padding:12px 16px;border-radius:13px;font-size:20px;font-weight:900;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.math-timer.urgent{background:#fef2f2;color:#dc2626}.math-progress-track{height:9px;border-radius:99px;background:#edf1f7;overflow:hidden;margin:24px 0 9px}.math-progress-track>div{height:100%;background:linear-gradient(90deg,#2563eb,#60a5fa);border-radius:99px;transition:width .2s}.math-progress-meta{display:flex;justify-content:space-between;color:#64748b;font-size:13px;margin-bottom:23px}.math-section-label{display:inline-flex;padding:7px 11px;border-radius:9px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:850;letter-spacing:.3px;margin-bottom:14px}.math-question-panel{border:1px solid #e5eaf2;border-radius:17px;padding:clamp(16px,2.5vw,26px);background:#fff}.math-question-title{font-size:19px;font-weight:900;color:#172033;margin-bottom:13px}.math-stem{font-size:17px;line-height:1.8;color:#172033;font-weight:600;margin-bottom:14px}.math-figure{margin:16px auto 22px;text-align:center;max-width:100%;padding:8px;background:#fbfcfe;border:1px solid #e8edf5;border-radius:13px}.math-figure img{display:block;max-width:100%;height:auto;max-height:440px;object-fit:contain;margin:0 auto}.math-options{display:grid;grid-template-columns:1fr 1fr;grid-gap:11px;gap:11px;margin-top:20px}.math-option{display:flex;align-items:flex-start;gap:12px;text-align:left;min-height:62px;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;color:#172033;transition:border-color .15s,background .15s}.math-option:hover{border-color:#93c5fd;background:#f8fbff}.math-option.selected{border:2px solid #2563eb;background:#eff6ff;padding:13px}.math-option-letter{flex:none;width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#f1f5f9;color:#475569;font-weight:900}.math-option.selected .math-option-letter{background:#2563eb;color:#fff}.math-option-text{line-height:1.65;min-width:0;flex:1 1}.math-truefalse-list{display:grid;grid-gap:12px;gap:12px;margin-top:18px}.math-truefalse-row{border:1px solid #e5eaf2;border-radius:13px;padding:15px}.math-subquestion{display:flex;gap:8px;align-items:flex-start;line-height:1.75;color:#243247}.math-subquestion>div{flex:1 1;min-width:0}.math-binary-actions{display:flex;gap:9px;margin:13px 0 0 25px}.math-binary-actions button{padding:9px 19px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;color:#475569;font-weight:750}.math-binary-actions button.picked{background:#eff6ff;border-color:#2563eb;color:#1d4ed8}.math-short-answer{margin-top:20px;max-width:440px}.math-short-answer label{display:block;font-size:13px;font-weight:800;color:#475569;margin-bottom:8px}.math-short-answer input{width:100%;padding:14px 15px;border:1px solid #cbd5e1;border-radius:12px;font-size:18px;outline:none}.math-short-answer input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.math-number-nav{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 18px}.math-number-nav button{min-width:40px;height:39px;padding:0 9px;border-radius:10px;background:#f1f5f9;color:#475569;font-weight:800}.math-number-nav button.active{outline:3px solid #bfdbfe;background:#dbeafe;color:#1d4ed8}.math-number-nav button.complete{background:#dcfce7;color:#15803d}.math-number-nav button.active.complete{outline-color:#bbf7d0}.math-nav-actions{display:flex;justify-content:space-between;gap:12px}.math-primary,.math-secondary{padding:12px 18px;border-radius:11px;font-weight:800}.math-primary{background:#2563eb;color:#fff}.math-secondary{background:#eef2ff;color:#1d4ed8}.math-secondary:disabled{opacity:.45;cursor:not-allowed}.math-result-head{text-align:center;padding:26px 10px 30px;border-bottom:1px solid #e8edf5;margin-bottom:25px}.math-score{font-size:62px;line-height:1.2;font-weight:950;color:#2563eb;margin:7px 0}.math-score small{font-size:23px;color:#94a3b8}.math-result-stats{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;color:#64748b;font-size:14px}.math-result-stats b{color:#172033;font-size:18px;margin-right:5px}.math-review-block{border-top:1px solid #e5eaf2;padding:22px 0}.math-review-item{margin:15px 0;padding:14px;border-radius:12px;background:#f8fafc}.math-statement{line-height:1.75;margin-bottom:8px}.math-review-answer{font-size:14px;color:#475569;margin:8px 0}.math-correct-tag,.math-wrong-tag{display:inline-block;padding:5px 9px;border-radius:8px;font-size:12px;font-weight:850}.math-correct-tag{background:#dcfce7;color:#15803d}.math-wrong-tag{background:#fee2e2;color:#b91c1c}.math-explanation{margin-top:10px;padding:12px 14px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;color:#854d0e;line-height:1.8}.math-home-link{display:inline-block;margin-top:20px;padding:11px 16px;background:#eef2ff;color:#1d4ed8;text-decoration:none;border-radius:11px;font-weight:800}@media(max-width:650px){.math-quiz-header{flex-direction:column}.math-timer{align-self:flex-end;margin-top:-4px}.math-options{grid-template-columns:1fr}.math-nav-actions{flex-direction:column-reverse}.math-nav-actions button{width:100%}.math-result-stats{gap:12px}.math-stem{font-size:16px}.math-figure img{max-height:340px}}.locked-page{min-height:calc(100svh - 70px);display:flex;align-items:center;justify-content:center;padding:32px 18px;background:radial-gradient(circle at top,#fff 0,#f5f8ff 60%,#eef3fb 100%)}.locked-modal{width:min(100%,560px);background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:32px;box-shadow:0 18px 55px rgba(15,23,42,.12)}.locked-modal h1{font-size:clamp(25px,5vw,32px);line-height:1.2;text-align:center;margin:0 0 18px}.locked-message,.locked-promise{line-height:1.7;color:#475569;margin:14px 0}.locked-test-title{text-align:center;font-weight:750;color:#1d4ed8;margin:-6px 0 18px}.locked-buy-button{display:block;text-align:center;text-decoration:none;background:#2563eb;color:#fff;padding:14px 18px;border-radius:11px;font-weight:800;margin-top:12px}.locked-buy-button:hover{background:#1d4ed8}.locked-back{display:block;text-align:center;color:#2563eb;text-decoration:none;font-weight:700;margin-top:22px}@media(max-width:600px){.locked-modal{padding:24px 18px}}.mock-shell{max-width:1050px;padding-top:30px;padding-bottom:48px}.mock-hero{background:linear-gradient(135deg,#fff,#eff6ff);border:1px solid #dbeafe;border-radius:20px;padding:30px;margin-bottom:22px}.mock-hero-compact{margin-top:18px}.mock-eyebrow{display:inline-block;color:#2563eb;font-size:12px;font-weight:900;letter-spacing:1px;margin-bottom:8px}.mock-hero h1{font-size:clamp(27px,4vw,38px);margin:0 0 8px}.mock-hero p{line-height:1.65;margin:0}.mock-overview{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;font-size:14px;color:#475569}.mock-combination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.mock-combination-card{display:flex;flex-direction:column;min-height:150px;padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;text-decoration:none;color:#172033;transition:transform .15s,border-color .15s,box-shadow .15s}.mock-combination-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 10px 26px rgba(37,99,235,.09)}.mock-combination-code{font-size:27px;font-weight:900;color:#2563eb}.mock-combination-desc{color:#64748b;font-size:14px;margin-top:5px}.mock-card-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-top:18px;font-size:12px;color:#64748b}.mock-card-bottom b{color:#2563eb}.mock-literature-note,.mock-note{color:#64748b;font-size:13px;line-height:1.65;margin-top:18px}.mock-progress-line{height:9px;border-radius:99px;background:#e2e8f0;overflow:hidden;margin-top:22px}.mock-progress-line>div{height:100%;background:#2563eb;border-radius:99px;transition:width .2s}.mock-subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.mock-subject-card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:22px;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:250px}.mock-subject-card.is-done{border-color:#86efac;background:linear-gradient(180deg,#fff,#f0fdf4)}.mock-subject-icon{font-size:34px}.mock-subject-card h2{font-size:19px;margin:8px 0 3px}.mock-subject-score{font-size:30px;font-weight:900;color:#15803d;min-height:40px;margin:4px 0}.mock-subject-score small{font-size:14px;color:#94a3b8}.mock-in-progress{font-size:21px;color:#2563eb;padding-top:6px}.mock-unstarted{font-size:21px;color:#94a3b8;padding-top:6px}.mock-status{font-size:12px;font-weight:750;border-radius:99px;padding:5px 10px;margin-bottom:15px}.mock-status.done{color:#15803d;background:#dcfce7}.mock-status.pending{color:#475569;background:#f1f5f9}.mock-disabled-button,.mock-start-button{display:block;width:100%;text-align:center;text-decoration:none;margin-top:auto;border:0;border-radius:10px;padding:12px 14px;font-weight:800}.mock-disabled-button{background:#dcfce7;color:#15803d;cursor:not-allowed}.mock-total-card{margin-top:20px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:18px;padding:25px;text-align:center}.mock-total-score{font-size:54px;font-weight:950;color:#2563eb;line-height:1.15}.mock-total-score small{font-size:20px;color:#64748b}.mock-total-card p{color:#475569;margin-bottom:0}.mock-submit-error{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;padding:12px 14px;border:1px solid #fecaca;background:#fef2f2;border-radius:12px;color:#b91c1c;font-size:14px}.mock-submit-error button{padding:9px 12px}.mock-header-link{color:#2563eb;text-decoration:none;font-size:14px;font-weight:800;padding:9px 13px;border-radius:10px;background:#eff6ff;margin-right:auto}.mock-header-link:hover{background:#dbeafe}@media(max-width:760px){.mock-combination-grid,.mock-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mock-hero{padding:22px}}@media(max-width:480px){.mock-combination-grid,.mock-subject-grid{grid-template-columns:1fr}.mock-subject-card{min-height:225px}.mock-card-bottom{font-size:11px}}.mock-hero-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.mock-retake-button{flex:0 0 auto;border:0;border-radius:11px;background:#2563eb;color:#fff;padding:11px 17px;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 5px 14px rgba(37,99,235,.18)}.mock-retake-button:hover{background:#1d4ed8}.mock-retake-button:disabled{opacity:.65;cursor:wait}.mock-modal-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:20px}.mock-modal{position:relative;width:min(100%,420px);background:#fff;border-radius:20px;padding:32px 26px 25px;text-align:center;box-shadow:0 24px 70px rgba(15,23,42,.25)}.mock-modal-close{position:absolute;right:13px;top:10px;border:0;background:transparent;color:#64748b;font-size:27px;cursor:pointer;line-height:1}.mock-modal-icon{width:48px;height:48px;margin:0 auto 12px;border-radius:15px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:24px;font-weight:900}.mock-modal h2{margin:0 0 10px;font-size:22px;color:#172033}.mock-modal p{margin:0 auto 21px;color:#64748b;font-size:14px;line-height:1.65;max-width:330px}.mock-modal-cta{display:block;text-decoration:none;border-radius:11px;padding:12px 16px;font-weight:850}.mock-modal-cancel{margin-top:12px;border:0;background:transparent;color:#64748b;padding:8px 14px;font-weight:700;cursor:pointer}.mock-retake-error{margin:12px 0 0;color:#b91c1c;font-size:13px}@media(max-width:480px){.mock-hero-heading-row{align-items:flex-start}.mock-retake-button{padding:10px 12px;font-size:13px}.mock-modal{padding:29px 20px 21px}}