@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');:root{--navy:#173b68;--blue:#2864a4;--pale:#edf3f9;--ink:#192b40;--muted:#758397;--line:#e5eaf0}*{box-sizing:border-box}body{margin:0;background:#f7f9fc;color:var(--ink);font:15px 'DM Sans',sans-serif}header{height:72px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100% - 1160px)/2),25px);position:sticky;top:0;z-index:5}.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy);font-weight:800}.logo>span:first-child{display:none}.logo:before{content:'W';border:1.5px solid var(--navy);border-radius:9px;padding:8px 12px;font:800 20px Manrope}.logo small{display:block;font-size:8px;letter-spacing:1.2px;color:#8b98a8}nav{display:flex;gap:6px}button{border:1px solid var(--line);background:white;color:var(--navy);padding:10px 14px;border-radius:7px;cursor:pointer;font:600 12px 'DM Sans'}button:hover{border-color:#9eb4cd;background:#f7faff}.primary{background:var(--navy);border-color:var(--navy);color:white}.primary:hover{background:#245184;color:white}main{max-width:1160px;margin:42px auto;padding:0 24px;min-height:70vh}.page{display:none}.page.active{display:block}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:38px;letter-spacing:-1.5px;margin:10px 0}h2{font-size:22px}p{line-height:1.7}.muted{color:var(--muted);font-size:12px}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center;padding:35px 0 60px}.hero h1{font-size:58px;line-height:1.1}.hero em{color:var(--blue);font-style:normal}.hero p{color:var(--muted);max-width:550px}.hero aside,.panel,article{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;box-shadow:0 10px 30px #173b680b}.hero aside h2{font-size:48px;color:var(--navy);margin:20px 0 0}.stats{display:flex;gap:40px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.stats b{display:block;font-size:22px;color:var(--navy)}.stats small{font-size:11px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 32px}.cards article{cursor:pointer}.cards article>b{font-size:26px;color:var(--blue);background:var(--pale);padding:8px 12px;border-radius:8px}.cards p{color:var(--muted);font-size:12px}.panel{margin:18px 0}.panel label{display:block;font-size:12px;font-weight:600;margin:12px 0}.panel input,.panel textarea,.panel select{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;margin-top:6px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.answers button{text-align:left;padding:14px}.answers button.selected{border:2px solid var(--blue);background:var(--pale)}.notice{padding:14px;background:#eef3f8;border-radius:8px;color:var(--muted);font-size:12px}.testhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.testhead strong{font-size:20px;color:var(--navy)}.testgrid{display:grid;grid-template-columns:1fr 250px;gap:16px}.bar{height:6px;background:#edf1f5;border-radius:8px;margin:15px 0 25px}.bar i{display:block;background:var(--blue);height:100%;width:0}.controls{display:flex;justify-content:space-between;gap:8px;margin-top:25px}.navigator{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:15px 0}.navigator button{padding:9px 0}.navigator .answered{background:#e8f1fb;border-color:#c9dcef}.navigator .marked{background:#fff1df;border-color:#f0d2a8}.navigator .current{outline:2px solid var(--navy)}.finish{width:100%;background:#f0f3f7}.result{text-align:center;max-width:680px;margin:20px auto;padding:35px}.score{font:800 46px Manrope;color:var(--navy);margin:25px}.result #reviewList{text-align:left;margin-top:25px}.review-item{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}footer{border-top:1px solid var(--line);padding:22px;text-align:center;color:#99a4b2;font-size:11px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;padding:12px 18px;border-radius:8px;display:none}.bar{overflow:hidden}@media(max-width:800px){header{height:auto;min-height:70px;align-items:flex-start;flex-direction:column;padding:12px 18px}nav{flex-wrap:wrap}nav button{padding:8px}.hero{grid-template-columns:1fr}.hero h1{font-size:44px}.cards{grid-template-columns:1fr}.testgrid{grid-template-columns:1fr}.testgrid aside{order:-1}.stats{gap:20px}.answers{grid-template-columns:1fr}main{margin:25px auto;padding:0 15px}.controls{flex-wrap:wrap}.controls button{flex:1}}
.exam-group{margin-top:22px}.exam-group-head{margin:28px 0 8px}.exam-group-head h2{margin:7px 0}.real-group{margin-top:42px;padding-top:28px;border-top:2px solid var(--line)}.real-group .exam-group-head>small{font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--blue)}.real-exam-card{border-top:3px solid var(--blue)}.real-exam-card>b{display:inline-block;background:var(--pale);color:var(--blue);font-size:13px;letter-spacing:.4px;padding:9px 12px;border-radius:7px}

/* WEST PREP 6.3 — restrained, student-made gamification */
:root{--navy:#203b35;--blue:#3f7565;--pale:#edf3ee;--ink:#24332f;--muted:#78837c;--line:#e4e8e1;--accent:#d78a42;--paper:#f8f8f3}
body{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
h1,h2,h3{font-family:Arial,Helvetica,sans-serif;letter-spacing:-.6px}
header{background:#fbfcf8;border-bottom:1px solid #e5e9e2}
.logo{color:var(--navy)}.logo:before{border-color:var(--blue);border-radius:6px;color:var(--blue)}
nav button{border-color:transparent;background:transparent;color:#52645c;border-radius:5px}nav button:hover,nav button:focus{background:#edf2eb;border-color:#dce5dc}
main{margin-top:34px}.hero{gap:55px;padding:34px 0 48px}.hero h1{font-size:56px;line-height:1.08;font-weight:800}.hero em{color:var(--blue)}.hero p{font-size:16px;max-width:500px;color:#68766e}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#748278}.hero .primary,.primary{background:var(--navy);border-color:var(--navy);border-radius:5px}.hero button:not(.primary){border-radius:5px}.hero-note{margin-top:28px;color:#78837c;font-size:12px}.note-mark{color:var(--accent);font-size:17px;margin-right:8px}
.level-card{background:#fff;border:1px solid #e4e8e1;border-radius:9px;padding:23px 25px;box-shadow:0 5px 16px #203b3509}.level-top{display:flex;align-items:center;gap:12px}.level-icon{width:42px;height:42px;border-radius:6px;background:#edf3ee;color:var(--blue);display:grid;place-items:center;font-weight:800;font-size:19px}.level-top small,.achievement-row small{display:block;color:var(--muted);font-size:10px;letter-spacing:.5px}.level-top h2{font-size:20px;margin:3px 0}.level-number{margin-left:auto;color:#b6c0b7;font-size:28px;font-weight:800}.xp-line{display:flex;justify-content:space-between;margin:24px 0 8px;font-size:11px}.xp-line b{color:var(--blue)}.xp-line span{color:var(--muted)}.xp-track{height:7px;background:#edf0eb;border-radius:10px;overflow:hidden}.xp-track i{display:block;width:0;height:100%;background:var(--accent);border-radius:10px;transition:width .25s}.level-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px;padding-top:17px;border-top:1px solid var(--line)}.level-stats b{display:block;font-size:21px;color:var(--navy)}.level-stats small{font-size:10px;color:var(--muted)}.achievement-row{display:flex;gap:11px;align-items:center;border-top:1px solid var(--line);margin-top:17px;padding-top:15px}.achievement-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fbf1e5;color:#b97835}.achievement-row b{font-size:11px;display:block;margin-bottom:3px}.achievement-row small{letter-spacing:0;font-size:10px}
.section-row{display:flex;justify-content:space-between;align-items:end;margin:4px 0}.section-row h2{margin:5px 0 0}.section-aside{font-size:11px;color:#89948c}.home-cards{margin-top:16px}.home-cards article{border-radius:7px;box-shadow:none;border:1px solid #e3e8e1;padding:22px;transition:transform .15s,border-color .15s}.home-cards article:hover{transform:translateY(-2px);border-color:#b9cbbd}.home-cards article>b{background:transparent;color:#c18a51;padding:0;font-size:12px;letter-spacing:1px}.home-cards h3{font-size:18px;margin:16px 0 5px}.home-cards p{min-height:42px;font-size:12px;color:#78837c}.card-link{display:inline-block;margin-top:9px;color:var(--blue);font-size:11px;font-weight:700}
.cards article,.panel,.hero aside{box-shadow:0 4px 16px #203b3508;border-radius:8px}.cards article>b{background:#edf3ee;color:var(--blue)}.real-group{border-color:#dfe6df}.real-group .exam-group-head>small{color:#a56e34}.real-exam-card{border-top:3px solid var(--accent)}.real-exam-card>b{background:#fbf1e5;color:#9b672f}.notice{background:#f0f2ec;color:#78837c}.answers button.selected{border-color:var(--blue);background:#edf3ee}.bar i{background:var(--accent)}.navigator .current{outline-color:var(--accent)}.navigator .answered{background:#edf3ee;border-color:#cfddd1}.testhead strong{color:var(--blue)}.score{color:var(--blue)}footer{background:#f4f5ef;color:#89948c;border-color:#e6e9e2}
@media(max-width:800px){.hero{gap:25px}.hero h1{font-size:44px}.section-row{align-items:flex-start;gap:10px;flex-direction:column}.level-card{padding:19px}}


/* WEST PREP 6.4 — Premium, restrained homepage */
.hero-premium{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);align-items:center;gap:42px;padding:30px 0 38px}
.hero-premium .hero-copy{max-width:650px}
.hero-premium .hero-copy>p{max-width:590px;line-height:1.8;font-size:16px;color:#68766e}
.hero-premium h1{font-size:clamp(42px,5vw,61px);line-height:1.06;letter-spacing:-1.8px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.hero-actions button{padding:13px 18px;border-radius:5px;font-weight:700}
.hero-actions .hero-secondary{background:#fff;border:1px solid #dce4dc;color:var(--navy)}
.hero-visual{position:relative;min-height:355px;border-radius:10px;overflow:hidden;background:#dfe7df;box-shadow:0 12px 30px #203b3514}
.campus-photo{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(20,38,34,.04),rgba(20,38,34,.02)),url('campus-photo.jpg');background-size:cover;background-position:77% center;transform:scale(1.01)}
.photo-caption{position:absolute;left:16px;right:16px;bottom:15px;padding:13px 15px;background:rgba(251,252,248,.94);border:1px solid rgba(255,255,255,.75);border-radius:6px;backdrop-filter:blur(5px)}
.photo-caption span{display:block;font-size:9px;letter-spacing:1.5px;color:#748278;font-weight:800;margin-bottom:4px}.photo-caption b{font-size:14px;color:#203b35}
.about-intro{padding:38px 0 34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:34px}
.about-heading{max-width:720px}.about-heading h2{font-size:30px;margin:7px 0 10px}.about-heading>p{color:#68766e;line-height:1.75;font-size:14px}
.about-points{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:24px}
.about-points article{padding:18px 19px;background:#fff;border:1px solid #e3e8e1;border-radius:7px}
.about-points article>span{font-size:11px;letter-spacing:1px;color:#b47c42;font-weight:800}
.about-points h3{font-size:16px;margin:12px 0 6px}.about-points p{font-size:12px;line-height:1.7;color:#78837c;margin:0}
.independent-note{margin:18px 0 0;font-size:10px;line-height:1.6;color:#89948c}
@media(max-width:800px){.hero-premium{grid-template-columns:1fr;gap:25px}.hero-visual{min-height:260px;order:-1}.hero-premium h1{font-size:43px}.about-points{grid-template-columns:1fr}.about-intro{padding:28px 0}.hero-actions button{flex:1}}


/* WEST PREP 6.5 — restrained navy & white portfolio theme */
:root{--navy:#102f59;--blue:#245b9a;--pale:#edf3fa;--ink:#172b43;--muted:#718198;--line:#dfe7f0;--accent:#c18b45;--paper:#f5f8fc}
body{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
h1,h2,h3{font-family:Arial,Helvetica,sans-serif;letter-spacing:-.55px}
header{background:#fff;border-bottom:1px solid #dce5ef;box-shadow:0 2px 12px rgba(16,47,89,.04)}
.logo{color:var(--navy)}.logo:before{border-color:var(--navy);color:var(--navy);border-radius:7px}
nav button{background:#fff;color:#23466f;border:1px solid #e1e8f0;border-radius:7px}nav button:hover,nav button:focus{background:#edf3fa;border-color:#b9cce1}
main{margin-top:34px}
.hero-premium{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:42px;padding:30px 0 42px}
.hero-premium h1{color:#142d4a;font-weight:800}.hero-premium h1 em{color:#2865a4}
.hero-premium .hero-copy>p{color:#64758b}
.eyebrow{color:#54749a}
.hero-actions .primary,.primary{background:#153d6b;border-color:#153d6b;color:#fff}.hero-actions .primary:hover,.primary:hover{background:#245b91}
.hero-actions .hero-secondary{background:#fff;border:1px solid #cdd9e7;color:#173e6c}
.hero-note{color:#64758b}
.hero-visual{background:#dce7f3;border:1px solid #d6e1ed;box-shadow:0 16px 36px rgba(16,47,89,.12);border-radius:10px}
.campus-photo{background-image:linear-gradient(180deg,rgba(10,32,59,.03) 45%,rgba(8,27,51,.42)),url('campus-photo.jpg');background-size:cover;background-position:center 52%;transform:none}
.photo-caption{background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.9);border-radius:7px;backdrop-filter:blur(5px)}
.photo-caption span{color:#55769b}.photo-caption b{color:#153b68}
.about-intro{border-color:#dfe7f0}
.about-heading>p{color:#63758b}
.about-points article{background:#fff;border:1px solid #dfe7f0;border-radius:8px;box-shadow:0 5px 18px rgba(16,47,89,.045)}
.about-points article>span{color:#b27b37}.about-points p{color:#718198}
.independent-note{color:#7b899a}
.panel,article,.hero aside{background:#fff;border-color:#dfe7f0;box-shadow:0 8px 24px rgba(16,47,89,.045)}
button{color:#173e6c;border-color:#dfe7f0}button:hover{background:#f0f5fb;border-color:#b8cce2}
.stats b,.testhead strong,.score{color:#173e6c}
.bar{background:#e7edf4}.bar i{background:#2865a4}
.answers button.selected{border-color:#2865a4;background:#edf3fa}
.navigator .answered{background:#eaf2fb;border-color:#c6d9ed}.navigator .marked{background:#fff4e5;border-color:#ead2ae}
.real-group{border-color:#dce5ef}.real-group .exam-group-head>small{color:#2865a4}.real-exam-card{border-top-color:#2865a4}.real-exam-card>b{background:#edf3fa;color:#245b9a}
.notice{background:#edf3fa;color:#61758d}
footer{border-color:#dfe7f0;color:#8290a1}
.gate-card{background:#fff}.gate-card h2{color:#173e6c}
#toast{background:#153d6b}
@media(max-width:800px){.hero-premium{grid-template-columns:1fr}.hero-visual{min-height:280px;order:-1}}

/* Leaderboard: make the current learner easy to identify */
#leaders .leader-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:13px 14px;margin:7px 0;border:1px solid transparent;border-radius:9px}
#leaders .leader-rank{color:#718198;font-variant-numeric:tabular-nums}
#leaders .leader-you{background:#eaf2ff;border:1px solid #8fb5e8;box-shadow:inset 4px 0 0 #2865a4;color:#153d6b}
#leaders .leader-you b,#leaders .leader-you strong{color:#174f91}
#leaders .you-tag{margin-left:auto;padding:4px 9px;border-radius:999px;background:#174f91;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em}

/* WEST PREP brand identity 6.8 */
.logo{gap:9px;min-width:205px}.logo:before{content:none!important}.logo img{width:43px;height:43px;object-fit:contain;border-radius:9px}.logo>span:first-child{display:block;font:800 16px Manrope,sans-serif;letter-spacing:.1px}.logo>span small{font:600 7px 'DM Sans',sans-serif;letter-spacing:1.1px;margin-top:2px}.home-brand-mark{display:flex;justify-content:center;margin:0 auto 14px;max-width:180px}.home-brand-mark img{display:block;width:100%;height:auto;max-height:150px;object-fit:contain}.site-footer{display:flex;align-items:center;justify-content:center;gap:18px;text-align:left;padding:24px 18px}.site-footer img{width:76px;height:76px;object-fit:contain}.site-footer strong{color:var(--navy);font:800 15px Manrope,sans-serif}.site-footer p{margin:4px 0;color:var(--muted);font-size:11px}.site-footer small{display:block;color:var(--muted);font-size:10px}.site-footer .copyright{margin-top:5px}.gate-logo{display:block;width:105px;height:105px;object-fit:contain;margin:0 auto 10px}.gate-card{text-align:left}
@media(max-width:800px){.logo{min-width:0}.home-brand-mark{max-width:130px}.site-footer{flex-direction:column;text-align:center;gap:8px}.site-footer img{width:66px;height:66px}}

.practice-subject-group{margin:30px 0 42px}.practice-subject-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}.practice-subject-heading h2{margin:0;color:#18365d}.practice-subject-heading span{color:#71839b;font-size:13px}.practice-test-card{border-top:3px solid #2d69a7}.practice-test-card>b{display:inline-block;background:#edf4fb;color:#28629d;padding:8px 11px;border-radius:8px;font-size:12px;letter-spacing:.04em}.practice-test-card h3{margin:14px 0 8px}.practice-test-card p{min-height:42px}.practice-test-card .primary{margin-top:8px}


/* WEST PREP 7.1 — clean, responsive practice catalogue */
#subjects.cards{display:block;margin:30px 0 38px;}
.practice-subject-group{margin:0 0 42px;padding:0 0 34px;border-bottom:1px solid #dce5ef;}
.practice-subject-group:last-child{border-bottom:0;margin-bottom:0;}
.practice-subject-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e7edf4;}
.practice-subject-heading>div{display:flex;flex-direction:column;gap:5px;}
.practice-subject-heading .practice-kicker{font-size:10px;font-weight:800;letter-spacing:.14em;color:#6683a5;}
.practice-subject-heading h2{font-size:25px;line-height:1.2;color:#173e6c;margin:0;}
.practice-count{display:inline-flex;align-items:center;gap:7px;color:#71839b;background:#edf3fa;border:1px solid #dce7f2;border-radius:999px;padding:7px 12px;font-size:12px;white-space:nowrap;}
.practice-count i,.practice-test-card p i{font-style:normal;color:#a2b1c2;}
.practice-test-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;align-items:stretch;}
.practice-test-grid .practice-test-card{box-sizing:border-box;min-width:0;min-height:248px;padding:22px;display:flex;flex-direction:column;border:1px solid #dce5ef;border-top:3px solid #2865a4;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(16,47,89,.045);transition:transform .16s ease,box-shadow .16s ease;}
.practice-test-grid .practice-test-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(16,47,89,.09);}
.practice-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.practice-card-top b{display:inline-flex;align-items:center;background:#edf3fa;color:#245b9a;padding:6px 10px;border-radius:6px;font-size:10px;letter-spacing:.1em;}
.practice-card-top>span{font-size:10px;font-weight:700;letter-spacing:.08em;color:#91a0b3;}
.practice-test-grid .practice-test-card h3{font-size:19px;line-height:1.3;color:#1b3049;margin:17px 0 7px;}
.practice-test-grid .practice-test-card p{font-size:12px;color:#6e8098;margin:0 0 8px;min-height:0;}
.practice-topics{font-size:12px;line-height:1.65;color:#8492a5;min-height:40px;margin-bottom:18px;}
.practice-test-grid .practice-test-card .primary{margin-top:auto;align-self:flex-start;min-width:155px;padding:11px 15px;display:flex;justify-content:space-between;align-items:center;gap:15px;}
.practice-test-grid .practice-test-card .primary span{font-size:16px;}
@media(max-width:900px){.practice-test-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){#subjects.cards{margin-top:22px}.practice-subject-heading{align-items:flex-start;flex-direction:column;gap:10px}.practice-subject-heading h2{font-size:22px}.practice-test-grid{grid-template-columns:1fr;gap:12px}.practice-test-grid .practice-test-card{min-height:0;padding:19px}.practice-topics{min-height:0}}

/* Difficulty tiers for Mathematics and English practice */
.practice-level-block{margin:18px 0 28px;padding:18px 18px 20px;background:#f7f9fc;border:1px solid #e4ebf3;border-radius:14px}
.practice-level-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.practice-level-heading h3{margin:0;color:#173e6c;font-size:17px;font-weight:750}
.practice-level-heading span{font-size:12px;color:#71839b}
.practice-level-block .practice-test-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.practice-level-block .practice-test-card{min-height:220px}
.practice-level-block .practice-card-top span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#54708f}
.practice-test-card.level-easy{border-top-color:#4b8b78}
.practice-test-card.level-medium{border-top-color:#c28a36}
.practice-test-card.level-hard{border-top-color:#b65d62}
.practice-level-block .practice-card-top b{background:#edf3f9;color:#254d79;padding:6px 9px;border-radius:6px;font-size:10px;letter-spacing:.07em}
@media(max-width:760px){.practice-level-block .practice-test-grid{grid-template-columns:1fr}.practice-level-block{padding:14px}.practice-level-heading{align-items:flex-start;flex-direction:column}}

/* WEST PREP 7.3 — slide-out practice test drawer */
.choose-test-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;text-align:left;background:#fff;border:1px solid #dce5ef;border-radius:10px;color:#173e6c;box-shadow:0 5px 18px rgba(16,47,89,.045);cursor:pointer;transition:border-color .18s,transform .18s,box-shadow .18s}
.choose-test-button:hover{border-color:#9eb8d5;transform:translateY(-2px);box-shadow:0 10px 24px rgba(16,47,89,.08)}
.choose-test-button>span:first-child{display:flex;flex-direction:column;gap:5px}.choose-test-button b{font-size:17px}.choose-test-button small{font-size:12px;color:#71839b}.choose-test-arrow{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#edf3fa;color:#245b9a;font-size:22px}
.practice-drawer-backdrop{position:fixed;inset:0;z-index:80;background:rgba(9,25,45,.42);opacity:0;visibility:hidden;transition:opacity .24s,visibility .24s}
.practice-drawer-backdrop.open{opacity:1;visibility:visible}
.practice-drawer{position:absolute;top:0;right:0;width:min(520px,94vw);height:100%;height:100dvh;background:#f7f9fc;box-shadow:-18px 0 55px rgba(8,25,47,.18);transform:translateX(102%);transition:transform .28s ease;display:flex;flex-direction:column;overflow:hidden}
.practice-drawer-backdrop.open .practice-drawer{transform:translateX(0)}
.practice-drawer-header{display:flex;justify-content:space-between;gap:18px;padding:28px 26px 22px;background:#fff;border-bottom:1px solid #e0e8f1}
.practice-drawer-header h2{margin:7px 0 6px;color:#173e6c;font-size:25px}.practice-drawer-header p{margin:0;color:#71839b;font-size:12px;line-height:1.5}.practice-drawer-close{flex:0 0 38px;width:38px;height:38px;min-width:38px;min-height:38px;display:grid;place-items:center;padding:0;margin:0;border:1px solid #e0e8f1;border-radius:50%;background:#fff;color:#294766;font-family:Arial,sans-serif;font-size:24px;font-weight:700;line-height:1;text-align:center;cursor:pointer;appearance:none;-webkit-appearance:none}
.practice-drawer-body{padding:20px 22px 32px;overflow-y:auto;overscroll-behavior:contain}
.practice-drawer-level{margin:0 0 17px;padding:16px;background:#fff;border:1px solid #e0e8f1;border-radius:11px}.practice-drawer-level-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.practice-drawer-level-head h3{margin:0;font-size:16px;color:#173e6c}.practice-drawer-level-head span{font-size:11px;color:#71839b}.practice-drawer-level.level-easy{border-left:3px solid #4b8b78}.practice-drawer-level.level-medium{border-left:3px solid #c28a36}.practice-drawer-level.level-hard{border-left:3px solid #b65d62}
.practice-drawer-tests{display:grid;gap:8px}.practice-drawer-test{width:100%;display:flex;align-items:center;gap:12px;padding:12px 13px;text-align:left;border:1px solid #e5ebf2;border-radius:8px;background:#fbfcfe;color:#1b3049;cursor:pointer;transition:background .15s,border-color .15s}.practice-drawer-test:hover{background:#edf3fa;border-color:#b9cce1}.drawer-test-number{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:7px;background:#edf3fa;color:#245b9a;font-size:11px;font-weight:800}.drawer-test-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.drawer-test-info b{font-size:12px;line-height:1.35}.drawer-test-info small{font-size:11px;color:#71839b}.drawer-test-arrow{font-size:18px;color:#52769d}
body.drawer-open{overflow:hidden}
@media(max-width:560px){.practice-drawer-header{padding:22px 18px 18px}.practice-drawer-body{padding:15px 14px 25px}.practice-drawer{width:100vw}.choose-test-button{padding:17px}}

/* WEST PREP 7.4 — student dashboard */
.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.dashboard-heading h1{margin:7px 0}.dashboard-heading p{margin:0}.dashboard-local-tag{font-size:10px;font-weight:800;letter-spacing:.1em;color:#58799e;background:#edf3fa;border:1px solid #dce7f2;border-radius:999px;padding:8px 12px;white-space:nowrap}.dashboard-stats{gap:16px;margin-bottom:34px}.dashboard-stats article{padding:22px;border:1px solid #e0e8f1;border-radius:12px;background:#fff}.dashboard-stats article small{color:#72839a;font-size:12px}.dashboard-stats article h2{margin:9px 0 4px;color:#173e6c;font-size:31px}.dashboard-stats article>span{font-size:11px;color:#91a0b1}.dashboard-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:16px}.dashboard-section-title h2{margin:5px 0 0;color:#173e6c;font-size:22px}.dashboard-subjects{margin:0 0 34px}.dashboard-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.dashboard-subject-grid article{padding:20px;border:1px solid #e0e8f1;border-radius:12px;background:#fff}.dash-subject-top{display:flex;align-items:center;gap:10px;color:#6d8098;font-size:10px;font-weight:800;letter-spacing:.1em}.dash-subject-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#edf3fa;color:#245b9a;font-size:16px;letter-spacing:0}.dashboard-subject-grid h3{margin:17px 0 3px;color:#173e6c;font-size:27px}.dashboard-subject-grid p{margin:0 0 14px;color:#8492a5;font-size:11px}.dash-progress{height:6px;background:#edf1f6;border-radius:99px;overflow:hidden}.dash-progress i{display:block;height:100%;width:0;background:#2d69a7;border-radius:99px;transition:width .3s}.dashboard-history-panel{padding:24px}.dashboard-history-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #edf1f5}.dashboard-history-row:last-child{border-bottom:0}.history-mark{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:9px;background:#edf3fa;color:#245b9a;font-weight:800}.history-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.history-info b{font-size:13px;color:#253d59}.history-info small{font-size:10px;color:#8795a7}.dashboard-history-row>strong{color:#245b9a;font-size:15px}.dashboard-empty{text-align:center;padding:28px 15px}.dashboard-empty b{color:#244363}.dashboard-empty p{color:#8291a4;font-size:12px}.dashboard-note{margin-top:14px;color:#8795a7;font-size:11px;text-align:center}
@media(max-width:700px){.dashboard-heading{align-items:flex-start;flex-direction:column}.dashboard-subject-grid{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:1fr}.dashboard-section-title{align-items:flex-start;flex-direction:column}.dashboard-history-panel{padding:18px}}

/* Supabase account modal */
.auth-modal{position:fixed;inset:0;background:rgba(13,29,48,.48);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}
.auth-modal.hidden{display:none}
.auth-card{position:relative;width:min(100%,440px);background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;box-shadow:0 24px 80px rgba(20,45,75,.2)}
.auth-card h2{font:800 30px Manrope,sans-serif;color:var(--navy);margin:10px 0}
.auth-card label{display:block;font-weight:700;font-size:13px;margin:18px 0;color:var(--ink)}
.auth-card input{display:block;width:100%;margin-top:7px;padding:13px 14px;border:1px solid var(--line);border-radius:9px;font:15px 'DM Sans',sans-serif;color:var(--ink)}
.auth-card input:focus{outline:2px solid #b8cce2;border-color:#7396bc}
.auth-close{position:absolute;right:15px;top:12px;border:0;font-size:28px;width:40px;height:40px;border-radius:50%}
.auth-submit{width:100%;margin-top:8px;padding:13px}
.auth-switch{display:block;margin:12px auto 0;border:0;background:transparent;color:var(--blue);font-size:13px}
.auth-message{min-height:20px;font-size:13px;color:#a33;margin:10px 0 0}
.auth-message.success{color:#287a60}
@media(max-width:650px){.auth-card{padding:26px 20px}header{gap:8px}nav{overflow-x:auto}}

.google-signin{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;margin-top:14px;padding:12px 14px;border:1px solid #d7deea;border-radius:9px;background:#fff;color:#172b45;font:700 14px 'DM Sans',sans-serif;cursor:pointer}
.google-signin:hover{background:#f6f8fb}
.google-signin:disabled{opacity:.65;cursor:wait}
.google-mark{font:bold 19px Arial,sans-serif;color:#4285f4}


/* Compact navigation and account state visibility */
.auth-card .hidden, .auth-card form.hidden, .auth-card button.hidden { display: none !important; }
header { min-height: 64px; height: auto; padding-top: 8px; padding-bottom: 8px; }
nav { display: flex; align-items: center; gap: 4px; }
nav button { padding: 9px 12px; font-size: 12px; white-space: nowrap; border-radius: 8px; }
nav button[data-page="leaderboard"] { display: none; }
@media (max-width: 760px) { header { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 16px; } nav { width: 100%; overflow-x: auto; padding-bottom: 3px; } nav button { flex: 0 0 auto; padding: 8px 11px; } }

/* Account dialog alignment and dashboard action */
.auth-close{right:16px;top:16px;display:flex;align-items:center;justify-content:center;padding:0;line-height:1;width:40px;height:40px;font-size:26px;color:var(--navy);background:#f1f5fb}
.auth-dashboard{display:block;width:100%;margin:22px 0 24px;padding:13px 16px;border:1px solid #c9d8ea;border-radius:10px;background:#f7faff;color:var(--blue);font-weight:700;font-size:14px;text-align:center;cursor:pointer}
.auth-dashboard:hover{background:#edf4fc;border-color:#8eacd0}
.confirm-modal{position:fixed;inset:0;z-index:1200;background:rgba(13,29,48,.52);display:flex;align-items:center;justify-content:center;padding:20px}
.confirm-modal.hidden{display:none}
.confirm-card{position:relative;width:min(100%,440px);padding:34px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 80px rgba(20,45,75,.24)}
.confirm-card h2{font:800 26px Manrope,sans-serif;color:var(--navy);margin:12px 0}
.confirm-card p{line-height:1.6;margin:0 0 24px}
.confirm-close{position:absolute;right:14px;top:14px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #d7e2ef;border-radius:50%;background:#f7faff;color:var(--navy);font-size:24px;line-height:1;cursor:pointer}
.confirm-actions{display:flex;justify-content:flex-end;gap:10px}
.confirm-actions button{min-width:112px;padding:11px 16px;border-radius:9px;cursor:pointer}
.confirm-secondary{border:1px solid #cbd9e9;background:#fff;color:var(--navy);font-weight:700}
@media(max-width:520px){.confirm-card{padding:28px 20px}.confirm-actions button{min-width:0;flex:1}}

/* Compact hamburger navigation */
.site-header{height:76px;min-height:76px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding-left:max(calc((100% - 1160px)/2),25px);padding-right:max(calc((100% - 1160px)/2),25px)}
.site-header .logo{flex:0 0 auto}
.menu-toggle{width:46px;height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff}
.menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:var(--navy)}
.drawer-backdrop{position:fixed;inset:0;background:rgba(16,35,58,.38);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s;z-index:20}
.site-drawer{position:fixed;z-index:21;top:0;right:0;width:min(340px,88vw);height:100dvh;background:#fff;box-shadow:-14px 0 40px rgba(20,45,75,.16);padding:22px 18px;display:flex;flex-direction:column;gap:7px;transform:translateX(105%);visibility:hidden;transition:transform .24s ease,visibility .24s}
body.drawer-open .site-drawer{transform:translateX(0);visibility:visible}
body.drawer-open .drawer-backdrop{opacity:1;visibility:visible}
.drawer-top{display:flex;align-items:center;justify-content:space-between;padding:3px 5px 18px;margin-bottom:8px;border-bottom:1px solid var(--line);color:#6d83a0;font-size:11px;font-weight:800;letter-spacing:2px}
.drawer-close{width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:50%;font:26px Arial;line-height:1}
.site-drawer .drawer-link{width:100%;min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:11px 13px;border:1px solid transparent;border-radius:10px;background:#fff;color:var(--navy);font-size:14px;text-align:left}
.site-drawer .drawer-link:hover,.site-drawer .drawer-link:focus-visible{background:#f1f6fc;border-color:#d9e5f2;outline:none}
.site-drawer .drawer-link svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:#3975b9;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-drawer .account-link{margin-bottom:5px;background:#f4f8fd;border-color:#dce8f5;font-weight:700}
@media(max-width:760px){.site-header{flex-direction:row;align-items:center;min-height:68px;height:68px;padding:8px 16px}.site-drawer{width:min(340px,88vw)}}


/* WEST PREP — detailed results, Mistake Review, Exam Guide and problem reports */
.hidden{display:none!important}
.result-shell{max-width:940px;margin:0 auto}
.result{padding:clamp(22px,4vw,42px);text-align:center}
.result h1{margin:10px 0 4px;color:var(--navy)}
.result .score{font-size:clamp(48px,8vw,72px);font-weight:850;letter-spacing:-.05em;margin:14px 0 4px}
.result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.result-stats>div{padding:15px 12px;border:1px solid #e0e8f1;border-radius:11px;background:#f8fafd;display:flex;flex-direction:column;gap:5px}
.result-stats b{font-size:26px;color:var(--navy)}
.result-stats small{font-size:11px;color:#74859b}
.result-topic-breakdown{margin:22px 0 25px;text-align:left;padding:18px;border:1px solid #e1e9f2;border-radius:12px;background:#fbfcfe}
.result-topic-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--navy)}
.result-topic-heading span{font-size:11px;color:#8292a6}
.result-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.result-topic-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:11px 12px;border:1px solid #e8edf4;border-radius:9px;background:#fff}
.result-topic-item span{font-size:12px;color:#334d6b;overflow-wrap:anywhere}
.result-topic-item b{font-size:13px;color:var(--navy)}
.result-topic-item small{grid-column:1/-1;color:#8292a6;font-size:10px}
.result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin:18px 0}
.result-actions button{padding:11px 16px;border-radius:9px}
.detailed-review{margin-top:25px;text-align:left}
.detailed-review-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:15px;padding-bottom:13px;border-bottom:1px solid #e3eaf2}
.detailed-review-heading h2{font-size:22px;margin:5px 0 0;color:var(--navy)}
.detailed-review-heading>span{font-size:11px;color:#8292a6;text-align:right}
.detailed-question{padding:18px 19px;margin:0 0 12px;border:1px solid #e2eaf3;border-left:4px solid #8c9caf;border-radius:11px;background:#fff}
.detailed-question.correct{border-left-color:#2a8b6a}
.detailed-question.incorrect{border-left-color:#c45a5a}
.detailed-question.unanswered{border-left-color:#c58b39}
.detailed-question-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8090a4;font-size:10px;font-weight:800;letter-spacing:.07em}
.answer-status{font-size:10px;letter-spacing:0;padding:5px 8px;border-radius:99px;background:#f0f3f7;color:#64758b}
.answer-status.correct{background:#e9f6f0;color:#247b5d}.answer-status.incorrect{background:#fff0f0;color:#a84343}.answer-status.unanswered{background:#fff5e8;color:#986627}
.detailed-question h3{font-size:15px;line-height:1.55;color:#1d3858;margin:13px 0}
.answer-line{font-size:13px;margin:7px 0;color:#7b4b4b}.answer-line.correct{color:#247b5d}.answer-line.answer-correct{color:#247b5d}
.answer-explanation{margin-top:12px;padding:12px 13px;border-radius:8px;background:#f5f8fc;color:#526880;font-size:12px;line-height:1.6}
.answer-explanation p{margin:5px 0 0}.question-weight{display:block;margin-top:9px;color:#8191a5;font-size:10px}
.detail-question-image{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:12px auto}
.dashboard-mistake-shortcut{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px;padding:20px 22px;border:1px solid #dce6f1;border-radius:12px;background:#f8fafd}
.dashboard-mistake-shortcut h2{margin:5px 0;color:var(--navy);font-size:19px}.dashboard-mistake-shortcut p{margin:0;color:#788aa0;font-size:12px}
.dashboard-mistake-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.dashboard-mistake-actions strong{color:#315b88;font-size:12px;white-space:nowrap}
.feature-page-heading{margin:0 0 24px}.feature-page-heading h1{margin:7px 0;color:var(--navy)}.feature-page-heading p{max-width:700px;margin:0;line-height:1.65}
.mistake-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 23px;margin-bottom:18px;border:1px solid #dfe8f2}
.mistake-overview>div:first-child{display:flex;flex-direction:column;gap:2px}.mistake-count{font-size:33px;font-weight:850;color:var(--navy);line-height:1.1}.mistake-count-label{color:#7b8da2;font-size:12px}
.mistake-overview-actions{display:flex;gap:9px;flex-wrap:wrap}.mistake-overview-actions button{padding:11px 15px;border-radius:9px}
.mistake-list{display:grid;gap:12px}.mistake-card{padding:19px 20px;border:1px solid #e1e9f2;border-radius:11px;background:#fff;box-shadow:0 5px 16px rgba(16,47,89,.035)}
.mistake-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#72869e;font-size:10px;font-weight:800;letter-spacing:.06em}.mistake-card-top small{font-size:10px;font-weight:500;letter-spacing:0;white-space:nowrap}
.mistake-card h3{margin:12px 0;color:#1e3a5c;font-size:15px;line-height:1.55}.mistake-last-answer{font-size:12px;color:#a04b4b;margin:8px 0}
.mistake-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid #edf1f6;color:#61758e;font-size:11px}.mistake-card-actions b{color:#277c5e}.mistake-card-actions button{padding:7px 10px;border:1px solid #dce5ef;border-radius:7px;background:#fff;color:#657b96;font-size:11px}
.feature-empty{text-align:center;padding:35px 20px}.feature-empty h2{color:var(--navy);margin:0 0 8px}.feature-empty p{color:#7b8da2;font-size:13px;line-height:1.6}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.guide-card{position:relative;padding:23px 24px;border:1px solid #e0e8f1;border-radius:12px}.guide-card h2{margin:8px 0 10px;color:var(--navy);font-size:19px}.guide-card>p,.guide-subject-grid p{margin:0;color:#71849b;font-size:13px;line-height:1.7}.guide-number{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:8px;background:#edf3fa;color:#28619c;font-size:11px;font-weight:850}.guide-wide{grid-column:1/-1}.guide-subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:16px}.guide-subject-grid>div{padding:14px;border:1px solid #e8edf4;border-radius:9px;background:#fbfcfe}.guide-subject-grid b{display:block;margin-bottom:6px;color:#27476b;font-size:13px}.guide-important{background:#f8fafd}.guide-footer-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.guide-footer-actions button{padding:11px 15px;border-radius:9px}
.exam-guide-link{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 19px;margin-top:20px;border:1px solid #dfe8f2;border-radius:11px;background:#f8fafd}.exam-guide-link>div{display:flex;flex-direction:column;gap:5px}.exam-guide-link b{font-size:13px;color:var(--navy)}.exam-guide-link span{font-size:11px;color:#7c8da1}.exam-guide-link button{white-space:nowrap;padding:10px 13px;border:1px solid #c9d9eb;border-radius:8px;background:#fff;color:#2b5e94;font-weight:700;font-size:12px}
.report-panel{max-width:760px;padding:clamp(20px,4vw,34px);border:1px solid #dfe8f2;border-radius:13px}.report-form{display:grid;gap:10px}.report-form label{margin-top:7px;color:#294564;font-size:12px;font-weight:800}.report-form select,.report-form textarea{width:100%;padding:12px 13px;border:1px solid #d6e1ed;border-radius:9px;background:#fff;color:#253f5e;font:inherit;font-size:13px}.report-form textarea{resize:vertical;min-height:130px;line-height:1.55}.report-form select:focus,.report-form textarea:focus{outline:2px solid #c3d5e9;border-color:#86a7ca}.report-privacy-note{margin:3px 0;color:#8392a5;font-size:11px;line-height:1.55}.report-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:5px}.report-actions button{padding:11px 15px;border-radius:9px}.report-feedback{min-height:20px;margin:3px 0 0;font-size:12px}.report-feedback.success{color:#247b5d}.report-feedback.error{color:#a64c4c}
.footer-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.footer-tools button{padding:7px 10px;border:1px solid #dce5ef;border-radius:7px;background:#fff;color:#385a7c;font-size:11px}
@media(max-width:700px){.result-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.result-topic-grid{grid-template-columns:1fr}.detailed-review-heading{align-items:flex-start;flex-direction:column}.detailed-review-heading>span{text-align:left}.dashboard-mistake-shortcut{align-items:flex-start;flex-direction:column}.mistake-overview{align-items:flex-start;flex-direction:column}.mistake-overview-actions{width:100%}.mistake-overview-actions button{flex:1}.guide-grid{grid-template-columns:1fr}.guide-wide{grid-column:auto}.guide-subject-grid{grid-template-columns:1fr}.exam-guide-link{align-items:flex-start;flex-direction:column}.exam-guide-link button{width:100%}}
@media(max-width:430px){.result-stats>div{padding:11px 5px}.result-stats b{font-size:21px}.result-actions button{flex:1 1 auto}.mistake-card-top{align-items:flex-start;flex-direction:column}.mistake-card-actions{align-items:flex-start;flex-direction:column}.mistake-card-actions button{align-self:flex-end}}


/* Telegram-based public feedback contacts */
.report-contact-panel{max-width:760px;padding:clamp(20px,4vw,34px);border:1px solid #dfe7f0;border-radius:14px}
.report-contact-intro{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}
.report-contact-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#edf4fb;color:#245b9a;font-size:22px}
.report-contact-intro h2{margin:1px 0 6px;color:#173e6c;font-size:19px}
.report-contact-intro p{margin:0;color:#718198;font-size:13px;line-height:1.65}
.report-contact-options{display:grid;gap:11px}
.report-contact-option{display:flex;align-items:center;gap:13px;min-width:0;padding:15px 16px;border:1px solid #dce6f0;border-radius:11px;background:#fff;color:#173e6c;text-decoration:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.report-contact-option:hover{border-color:#9eb9d6;background:#f7faff;transform:translateY(-1px)}
.report-contact-symbol{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#e8f3ff;color:#2485c7;font-size:20px;font-weight:800}
.report-post-symbol{background:#f0f3f8;color:#536b88}
.report-contact-option>span:nth-child(2){display:grid;gap:4px;min-width:0}
.report-contact-option b{font-size:13px;color:#173e6c}
.report-contact-option small{font-size:11px;line-height:1.5;color:#7889a0}
.report-contact-arrow{margin-left:auto;color:#6f88a5;font-size:18px}
.report-contact-empty{margin:13px 0 0;padding:12px 14px;border:1px dashed #cbd8e6;border-radius:9px;background:#f8fafd;color:#75869b;font-size:12px;line-height:1.6}
.report-contact-empty code{color:#315f91;font-size:11px}
.report-contact-panel .report-privacy-note{margin:15px 0 0;color:#8a98aa;font-size:11px;line-height:1.6}
@media(max-width:560px){.report-contact-option{padding:13px}.report-contact-intro{gap:11px}.report-contact-option small{font-size:10px}}


/* Single Telegram channel contact action */
.report-contact-panel{max-width:760px;padding:clamp(20px,4vw,34px);border:1px solid #dfe7f0;border-radius:16px}
.report-contact-intro{display:flex;align-items:center;gap:15px;margin-bottom:22px}
.report-contact-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;padding:0;border-radius:14px;background:#e8f5fc;overflow:hidden}
.report-contact-icon svg{display:block;width:48px;height:48px}
.report-contact-intro h2{margin:1px 0 6px;color:#173e6c;font-size:19px}
.report-contact-intro p{margin:0;color:#718198;font-size:13px;line-height:1.65}
.report-contact-option{display:flex;align-items:center;gap:14px;min-width:0;padding:16px 17px;border:1px solid #cfe3f1;border-radius:13px;background:linear-gradient(135deg,#f7fcff 0%,#edf7fd 100%);color:#173e6c;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.report-contact-option:hover{border-color:#83c5e7;box-shadow:0 8px 22px rgba(34,158,217,.12);transform:translateY(-1px)}
.report-contact-symbol{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;overflow:hidden;background:#229ed9;box-shadow:0 4px 12px rgba(34,158,217,.2)}
.report-contact-symbol svg{display:block;width:44px;height:44px}
.report-contact-option>span:nth-child(2){display:grid;gap:4px;min-width:0}
.report-contact-option b{font-size:14px;color:#173e6c}
.report-contact-option small{font-size:11px;line-height:1.5;color:#71859c}
.report-contact-arrow{margin-left:auto;color:#478bb6;font-size:20px}
.report-contact-panel .report-privacy-note{margin:15px 0 0;color:#8998aa;font-size:11px;line-height:1.6}
@media(max-width:560px){.report-contact-option{padding:14px}.report-contact-intro{align-items:flex-start;gap:12px}.report-contact-option small{font-size:10px}}


/* Drawer resources and support section */
.site-drawer .drawer-section-label{margin:12px 5px 2px;padding:13px 8px 5px;border-top:1px solid var(--line);color:#7a8da5;font-size:10px;font-weight:800;letter-spacing:1.5px}

/* About Project page */
.about-project-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:18px;margin:24px 0}
.about-project-main,.about-project-links{padding:28px}
.about-project-mark{display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #d7e2ef;border-radius:14px;color:var(--navy);font:800 17px Manrope;background:#f2f6fb}
.about-project-main h2{margin:18px 0 10px}
.about-project-main p{line-height:1.75;color:var(--muted)}
.about-project-links{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.about-project-links a{display:block;padding:13px 14px;border:1px solid var(--line);border-radius:9px;color:var(--navy);font-weight:700;text-decoration:none}
.about-project-links a:hover{border-color:#9bb6d5;background:#f7faff}
.about-disclaimer{margin-top:18px;line-height:1.7}
@media(max-width:700px){
 .about-project-grid{grid-template-columns:1fr;gap:12px}
 .about-project-main,.about-project-links{padding:20px}
 .about-project-main p{font-size:14px}
}
@media(max-width:380px){
 .about-project-main,.about-project-links{padding:16px}
 .about-project-links a{padding:12px;font-size:14px}
}

/* Personalized learning tools */
.saved-overview,.study-plan-summary,.study-plan-next{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;margin:18px 0}.saved-overview strong{font-size:30px;color:var(--navy)}.saved-question-list,.study-plan-list{display:grid;gap:14px;margin-top:18px}.saved-question-card{padding:20px}.saved-question-top{display:flex;justify-content:space-between;gap:12px;color:#71839a;font-size:12px}.saved-question-card h3{color:var(--navy);margin:14px 0}.saved-question-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}.saved-question-options span{padding:10px;border:1px solid #e5ebf3;border-radius:8px;font-size:13px}.study-plan-summary,.study-plan-next{display:block}.study-plan-summary h2,.study-plan-next h2{color:var(--navy);margin:8px 0}.study-plan-item{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:14px;padding:18px}.study-plan-number{font-weight:800;color:#3975b9}.study-plan-item h3{margin:4px 0;color:var(--navy)}.study-plan-item p{margin:5px 0 10px;color:#77889d;font-size:13px}.study-plan-status{font-size:11px;font-weight:700;color:#3975b9;background:#edf4fc;padding:7px 10px;border-radius:20px;white-space:nowrap}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.library-card{padding:22px}.library-card h2{color:var(--navy);margin:8px 0 16px}.library-card li{margin:8px 0;line-height:1.5}.library-formula{background:#f1f5fa;border:1px solid #e1e9f2;border-radius:9px;padding:12px 14px;color:#173b68;font-weight:700;margin:8px 0 14px;overflow-wrap:anywhere}#saveQuestion{border:1px solid #d8e3f0;border-radius:9px;padding:10px 14px;background:#fff;color:#244b78}@media(max-width:700px){.saved-overview,.study-plan-summary,.study-plan-next{align-items:flex-start;flex-direction:column}.saved-question-options,.library-grid{grid-template-columns:1fr}.study-plan-item{grid-template-columns:30px 1fr}.study-plan-status{grid-column:2;justify-self:start}.saved-question-top{flex-direction:column}}

/* FIX: practice drawer has a fixed header and a genuinely scrollable list */
.practice-drawer-backdrop.open{display:block}
.practice-drawer{
  position:fixed!important;
  top:0!important;right:0!important;bottom:0!important;
  height:100vh!important;height:100dvh!important;
  max-height:100vh!important;max-height:100dvh!important;
  display:flex!important;flex-direction:column!important;
  overflow:hidden!important;
}
.practice-drawer-header{flex:0 0 auto!important}
.practice-drawer-body{
  display:block!important;
  flex:1 1 0!important;
  min-height:0!important;
  height:0!important;
  max-height:none!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain!important;
  touch-action:pan-y!important;
  scrollbar-width:auto;
}
.practice-drawer-body>*{flex-shrink:0}

/* FIX: nav drawer (right) was taller than the screen and had no scrolling */
.site-drawer{overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.site-drawer>*{flex-shrink:0}
/* FIX: practice drawer no longer shares body.drawer-open with the nav drawer */
body.practice-open{overflow:hidden}

.saved-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.danger-outline{background:#fff;color:#b3424a;border:1px solid #e4c3c6;border-radius:8px;padding:11px 16px;font-weight:600;cursor:pointer}
.danger-outline:hover:not(:disabled){background:#fdf1f2;border-color:#d79aa0}
.danger-outline:disabled{opacity:.45;cursor:not-allowed}


/* Resume unfinished test */
.resume-test-prompt{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0;padding:22px;border:1px solid var(--line,#dbe3ee);border-radius:18px;background:var(--surface,#fff)}
.resume-test-prompt h2{margin:6px 0}
.resume-test-prompt p{margin:6px 0 0}
.resume-test-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.resume-test-actions .text-button{border:0;background:transparent;color:var(--muted,#64748b);padding:10px;cursor:pointer}
@media(max-width:600px){.resume-test-prompt{align-items:flex-start;flex-direction:column}.resume-test-actions{width:100%}.resume-test-actions .primary{flex:1}}

/* Keep the resume card at the very top of the home page */
#home > #resumeTestPrompt{margin:0 0 22px;position:relative;z-index:2}
#resumeTestPrompt.hidden{display:none!important}

/* Appearance control */
.site-preferences{display:flex;align-items:center;gap:7px;margin-left:auto;margin-right:12px}
.site-preferences button{height:36px;min-width:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface,white);color:var(--ink);padding:0 9px;font:600 11px 'DM Sans',sans-serif}
.site-preferences button{font-size:18px;cursor:pointer}
.public-stats{display:flex;align-items:center;gap:34px;flex-wrap:wrap;margin:0 0 30px;padding:18px 22px}
.public-stats>div{display:flex;flex-direction:column;gap:4px}
.public-stats small{color:var(--muted);font-size:11px}
.public-stats strong{font:700 24px Manrope;color:var(--navy)}
.public-stats>span{margin-left:auto}
:root{--surface:#fff;--page-bg:#f7f9fc}
body{background:var(--page-bg)}
body[data-theme="dark"]{--surface:#172334;--page-bg:#0d1623;--ink:#e7edf5;--muted:#a6b4c6;--line:#2b3a4e;--navy:#a9c9f1;--blue:#82b5f3;--pale:#20334b;color:var(--ink);background:var(--page-bg)}
body[data-theme="dark"] header,
body[data-theme="dark"] button,
body[data-theme="dark"] .hero aside,
body[data-theme="dark"] .panel,
body[data-theme="dark"] article,
body[data-theme="dark"] .site-drawer,
body[data-theme="dark"] .modal-card,
body[data-theme="dark"] .practice-drawer,
body[data-theme="dark"] .answers button,
body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="dark"] .primary{background:#315f91;color:#fff;border-color:#315f91}
body[data-theme="dark"] .hero p,
body[data-theme="dark"] .cards p,
body[data-theme="dark"] .muted{color:var(--muted)}
body[data-theme="dark"] .public-stats strong{color:#b8d7ff}
body[data-theme="dark"] .notice{background:#20334b;color:#c4d2e2}
body[data-theme="dark"] .answers button.selected{background:#263f5b;border-color:#82b5f3}
body[data-theme="dark"] .drawer-backdrop{background:#0009}
@media(max-width:600px){.site-preferences{margin-left:auto;margin-right:8px}.public-stats{gap:18px}.public-stats>span{margin-left:0;width:100%}}


/* Adaptive practice and spaced repetition */
.spaced-review-panel,.adaptive-practice-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;padding:22px}
.spaced-review-panel h2,.adaptive-practice-panel h2{margin:7px 0}
.spaced-review-panel p,.adaptive-practice-panel p{max-width:720px;margin:6px 0 10px;color:var(--muted)}
.spaced-review-panel button:disabled{opacity:.45;cursor:not-allowed}
.adaptive-practice-panel{display:block}
.adaptive-practice-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.adaptive-practice-button{border:1px solid var(--line);border-radius:9px;padding:11px 15px;background:var(--surface);color:var(--ink);font-weight:600;cursor:pointer}
.adaptive-practice-button:hover{border-color:var(--blue)}
@media(max-width:650px){.spaced-review-panel{align-items:flex-start;flex-direction:column}.spaced-review-panel button{width:100%}.adaptive-practice-actions>*{flex:1 1 100%}}


/* Dark theme contrast patch: cover hard-coded light-theme text, chips and controls */
body[data-theme="dark"] :is(h1,h2,h3,h4,p,span,small,strong,b,label,li,summary,a,em){
  color:inherit;
}
body[data-theme="dark"] :is(.study-plan-number,.study-plan-item h3,.library-card h2,.study-plan-summary h2,.study-plan-next h2){
  color:var(--navy)!important;
}
body[data-theme="dark"] :is(.study-plan-item p,.study-plan-status,.eyebrow,.question-weight,.result-topic-heading,.detailed-review-heading){
  color:var(--muted)!important;
}
body[data-theme="dark"] :is(.study-plan-status,.notice,.library-formula,.saved-question-options span,.result-topic-item,.answer-explanation,.study-plan-number){
  background:#20334b!important;
  border-color:var(--line)!important;
}
body[data-theme="dark"] :is(.dash-progress,.progress-track,.progress-bar-track){
  background:#33445a!important;
}
body[data-theme="dark"] :is(.dash-progress i,.progress-fill){
  background:#82b5f3!important;
}
body[data-theme="dark"] :is(button,.adaptive-practice-button,.site-drawer button,.practice-drawer button){
  color:var(--ink);
}
body[data-theme="dark"] button:disabled,
body[data-theme="dark"] .primary:disabled{
  background:#35465b!important;
  color:#d3deeb!important;
  border-color:#52647b!important;
  opacity:1!important;
  cursor:not-allowed;
}
body[data-theme="dark"] :is(.answer-status.correct,.answer-line.answer-correct,.detailed-question.correct .answer-status){
  color:#86ddb0!important;
}
body[data-theme="dark"] :is(.answer-status.incorrect,.answer-line.incorrect,.detailed-question.incorrect .answer-status){
  color:#ff9b9b!important;
}
body[data-theme="dark"] :is(.detailed-question,.result-topic-item,.study-plan-item,.panel){
  background:var(--surface);
  border-color:var(--line);
}
body[data-theme="dark"] :is(.selected,.current,.active){
  border-color:#82b5f3!important;
}
body[data-theme="dark"] .site-preferences button{
  background:#172334!important;
  color:#f3f7fc!important;
  border-color:#52647b!important;
}
body[data-theme="dark"] .public-stats strong{color:#b8d7ff!important}
body[data-theme="dark"] .text-button,
body[data-theme="dark"] .muted{color:var(--muted)!important}
