:root {
  color-scheme: light;
  --bg: #f8f8f3;
  --paper: #fffefa;
  --ink: #1a2a22;
  --muted: #57645b;
  --line: #e1e5da;
  --forest: #174d38;
  --forest-dark: #133e2e;
  --gold: #f4c86b;
  --gold-ink: #67481b;
  --green-panel: #e5efe6;
  --blue-panel: #e6eff0;
  --gold-panel: #faf0db;
  --red-ink: #8b3425;
  --red-panel: #fff0e9;
  --radius: 19px;
  font-family: "Permit Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  background: var(--bg);
  color: var(--ink);
}
@font-face {font-family:"Permit Sans";src:url("permit-sans.woff2") format("woff2");font-weight:400 800;font-style:normal;font-display:swap;}
* {box-sizing:border-box;}
body {margin:0;min-width:300px;}
button, a {-webkit-tap-highlight-color:transparent;}
button {font:inherit;color:inherit;cursor:pointer;}
button:disabled {cursor:default;}
button, a {touch-action:manipulation;}
a {color:var(--forest);}
button:focus-visible,a:focus-visible,summary:focus-visible {outline:3px solid #4985a9;outline-offset:4px;}
h1,h2,h3,p {margin:0;}
button svg,a svg {pointer-events:none;}
.icon {display:inline-block;width:1.25rem;height:1.25rem;flex:none;vertical-align:middle;}
.skip {position:fixed;z-index:5;top:.5rem;left:.5rem;padding:.7rem 1rem;transform:translateY(-160%);background:white;}
.skip:focus {transform:none;}
.visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
.shell {display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100dvh;}
.sidebar {position:sticky;top:0;height:100dvh;z-index:2;border-right:1px solid var(--line);background:#fdfdf8;padding:28px 17px 20px;display:flex;flex-direction:column;}
.brand {background:none;border:0;display:flex;align-items:center;text-align:left;gap:12px;margin:0 0 39px 6px;padding:0;width:fit-content;}
.mark {width:44px;height:44px;border-radius:13px;background:#1b4c38;color:#f7d181;display:grid;place-items:center;box-shadow:0 2px 4px #1d443729;}
.mark .icon {width:29px;height:29px;}
.brand strong {font-size:1.07rem;letter-spacing:-.04em;display:block;line-height:1.15;font-weight:800;}
.brand small {color:var(--muted);display:block;font-size:.7rem;font-weight:800;letter-spacing:.15em;margin-top:4px;}
#navigation {display:grid;gap:5px;}
.nav-title {margin:0 0 7px 12px;color:var(--muted);font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;}
.nav-button {position:relative;display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:47px;padding:9px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#45564b;font-weight:650;font-size:.94rem;white-space:nowrap;}
.nav-button:hover {background:#f1f3eb;color:var(--forest);}
.nav-button[aria-current="page"] {color:#194834;background:#e8f0e6;border-color:#e1eadf;font-weight:800;}
.nav-button .icon {width:19px;height:19px;}
.nav-compact {display:none;}
.nav-count {margin-left:auto;background:#dce9dc;color:#28503d;font-size:.76rem;padding:.1rem .4rem;border-radius:8px;}
.handbook-link {margin-top:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px;border:1px solid #e5e9de;border-radius:13px;background:#f6f7ef;text-decoration:none;}
.handbook-link:hover {border-color:#9db6a5;}
.handbook-link strong,.handbook-link small {display:block;}
.handbook-link strong {font-size:.81rem;}
.handbook-link small {font-size:.72rem;color:var(--muted);margin-top:4px;}
.mini-book,.round-icon {display:grid;place-items:center;border-radius:10px;background:var(--green-panel);color:var(--forest);width:37px;height:37px;}
.external .icon {width:13px;height:13px;color:var(--muted);}
.body {display:flex;flex-direction:column;min-width:0;}
.topbar {border-bottom:1px solid var(--line);background:#fdfdf9;}
.topbar-inner {max-width:1340px;margin:auto;padding:0 clamp(20px,4vw,56px);height:68px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
#breadcrumb {color:#405247;font-weight:700;font-size:.91rem;}
.state {display:inline-flex;align-items:center;gap:6px;background:#edf2e8;color:#305940;border:1px solid #e2ebdd;border-radius:99px;padding:.38rem .72rem;font-weight:750;font-size:.81rem;white-space:nowrap;}
.state .icon {width:14px;height:14px;}
#main {width:100%;max-width:1340px;margin:0 auto;padding:27px clamp(20px,4vw,56px) 28px;flex:1;}
#main:focus {outline:none;}
.foot {width:100%;max-width:1340px;margin:0 auto;padding:6px clamp(20px,4vw,56px) 24px;display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--muted);font-size:.81rem;}
.foot-links {display:flex;align-items:center;gap:4px 14px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;}
.hero {border-radius:23px;overflow:hidden;min-height:339px;position:relative;background:#13382b url("coast.jpg") 56% center/cover;color:#fffef5;box-shadow:0 4px 14px #233d3120;isolation:isolate;display:flex;align-items:center;}
.hero::before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b2c20dd 0%,#0c2f21ab 30%,#0f38253b 57%,transparent 78%);z-index:-1;}
.hero-content {padding:32px 42px 37px;max-width:585px;}
.hero .eyebrow {font-size:.76rem;color:#ffdd91;background:#233f2ccc;border:1px solid #bba67155;padding:6px 10px;letter-spacing:.12em;width:fit-content;border-radius:6px;}
h1 {font-size:clamp(2.05rem,4vw,3.4rem);line-height:1.05;letter-spacing:-.062em;font-weight:800;}
.hero h1 {margin:13px 0 13px;font-size:clamp(2.55rem,4.15vw,4rem);line-height:1.02;}
.hero p {font-size:1rem;line-height:1.54;max-width:335px;color:#e4eee5;}
.hero .actions {margin-top:22px;}
.eyebrow {font-size:.75rem;font-weight:800;line-height:1.25;letter-spacing:.13em;text-transform:uppercase;color:var(--forest);display:flex;align-items:center;gap:8px;}
.eyebrow .icon {width:15px;height:15px;}
.button {border:1px solid transparent;border-radius:10px;padding:.7rem 1rem;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:800;font-size:.925rem;width:fit-content;text-decoration:none;line-height:1.3;}
.button:hover:not(:disabled) {filter:brightness(.95);}
.primary {background:var(--forest);color:#fff;}
.sun {background:var(--gold);color:#262717;}
.secondary {background:var(--paper);color:var(--forest);border-color:#cad9cc;}
.hero-secondary {background:#0d281b56;color:#fff;border-color:#eef4e480;}
.button:disabled {background:#e9ede5;color:#687268;border-color:#dce3d7;}
.text-button {font:inherit;font-weight:750;color:var(--forest);border:0;background:transparent;padding:4px 0;text-decoration:none;}
.text-button:hover {text-decoration:underline;}
.actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.section {margin-top:27px;}
.section-head {display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:13px;}
.section-head h2,.panel h2 {font-size:1.48rem;letter-spacing:-.043em;font-weight:800;}
.section-head p {color:var(--muted);font-size:.93rem;line-height:1.5;margin-top:4px;}
.mode-grid,.topic-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.mode-card,.topic-card,.panel {background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 4px #2a453306;}
.mode-card,.topic-card {padding:16px 17px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:100%;}
.mode-card:hover,.topic-card:hover {border-color:#9ebba6;background:#fbfdf7;box-shadow:0 5px 12px #23453512;}
.card-row {display:flex;width:100%;align-items:center;justify-content:space-between;gap:5px;}
.round-icon {width:41px;height:41px;border-radius:11px;}
.round-icon .icon {width:21px;height:21px;}
.tone-gold {color:#784d17;background:var(--gold-panel);}
.tone-blue {color:#28505a;background:var(--blue-panel);}
.tone-green {color:var(--forest);background:var(--green-panel);}
.pill {font-size:.74rem;font-weight:800;color:var(--muted);background:#f1f3eb;padding:4px 8px;border-radius:6px;white-space:nowrap;}
.mode-card h3,.topic-card h3 {margin:10px 0 4px;font-size:1.19rem;letter-spacing:-.035em;font-weight:800;line-height:1.25;}
.mode-card p,.topic-card p {color:var(--muted);font-size:.92rem;line-height:1.45;margin-bottom:10px;}
.card-cta {color:var(--forest);font-size:.84rem;font-weight:800;margin-top:auto;}
.panel {padding:20px;}
.progress-panel {display:grid;grid-template-columns:1.3fr repeat(3,minmax(0,1fr));align-items:center;gap:0;padding:18px 16px;}
.progress-label {display:flex;align-items:center;gap:10px;padding-right:12px;}
.progress-label h3 {font-size:1rem;letter-spacing:-.02em;}
.progress-label p {font-size:.79rem;color:var(--muted);margin-top:3px;}
.stat {min-width:0;border-left:1px solid var(--line);padding:2px 0 2px 16px;}
.stat strong {display:block;font-weight:800;letter-spacing:-.04em;font-size:1.35rem;line-height:1.2;}
.stat span {display:block;font-size:.8rem;color:var(--muted);margin-top:3px;}
.page-head {margin:4px 0 23px;}
.page-head h1 {margin:7px 0 9px;}
.page-head p,.panel p {color:var(--muted);line-height:1.55;}
.page-head p {max-width:620px;}
.feature {margin-bottom:17px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;background:#edf3e9;border-color:#dde9db;}
.feature h2 {margin-bottom:4px;}
.challenge-feature {background:#fbf3e1;border-color:#e9dcc0;}
.challenge-mock-feature {background:var(--blue-panel);border-color:#d6e5e6;}
.challenge-progress .section-head span {color:var(--muted);font-size:.9rem;font-weight:750;white-space:nowrap;}
.challenge-progress > p {margin-top:10px;}
.meter {height:8px;border-radius:20px;background:#e6ece3;overflow:hidden;}
.meter span {display:block;height:100%;background:#438264;border-radius:inherit;}
.topic-card .meter {width:100%;margin:4px 0 6px;}
.topic-card .topic-meta {font-size:.8rem;font-weight:700;margin-bottom:0;}
.session {max-width:740px;margin:auto;}
.session-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;}
.session-position {font-size:.9rem;font-weight:750;color:var(--muted);}
.quiz-bar {flex-wrap:wrap;}
.quiz-tools {display:flex;align-items:center;gap:10px;margin-left:auto;}
.answer-sound {display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:6px 8px;border-radius:8px;border:1px solid var(--line);background:var(--paper);color:var(--muted);font-size:.82rem;font-weight:750;white-space:nowrap;}
.answer-sound[aria-pressed=true] {color:var(--forest);background:var(--green-panel);}
.answer-sound .icon {width:16px;height:16px;}
.session .meter {margin-bottom:18px;}
.question {padding:clamp(16px,3vw,30px);}
.question-top {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;}
.question h1 {font-size:clamp(1.45rem,3vw,2.2rem);letter-spacing:-.04em;line-height:1.2;margin:0 0 17px;}
.bookmark {min-height:42px;min-width:42px;padding:8px;border:1px solid var(--line);background:var(--paper);border-radius:10px;display:grid;place-items:center;color:var(--forest);}
.bookmark[aria-pressed=true] {background:var(--gold-panel);color:#795315;border-color:#e7d3a2;}
.bookmark[aria-pressed=true] .icon {fill:#f2c96e;}
.option-grid {display:grid;gap:9px;}
.option {background:#fffefa;color:var(--ink);border:1px solid #dce4da;border-radius:11px;text-align:left;padding:10px 12px;min-height:53px;width:100%;display:flex;align-items:center;gap:12px;line-height:1.38;font-size:1rem;}
.option:not(:disabled):hover {border-color:#87a994;}
.letter {width:29px;height:29px;border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;font-weight:800;font-size:.85rem;flex:none;color:#476054;background:#f5f6ef;}
.option.selected,.option.correct {background:#e9f4e9;border-color:#74a782;}
.option.correct .letter {background:var(--forest);color:white;border-color:var(--forest);}
.option.incorrect {background:var(--red-panel);border-color:#c98171;}
.option.incorrect .letter {background:#9f4231;color:white;border-color:#9f4231;}
.feedback {margin-top:14px;padding:13px 14px;border-radius:11px;background:#ecf5eb;border:1px solid #d6e8d7;line-height:1.5;}
.feedback.missed {background:#fff3e8;border-color:#efdbcb;}
.feedback strong {display:block;margin-bottom:4px;}
.feedback a,.source-text {display:inline-block;margin-top:6px;font-size:.87rem;font-weight:700;}
.answer-confetti {position:fixed;inset:0;z-index:4;overflow:hidden;pointer-events:none;}
.answer-confetti span {position:absolute;top:var(--burst-y);left:var(--burst-x);width:7px;height:11px;border-radius:2px;background:var(--piece-color);opacity:0;animation:answer-confetti var(--flight) ease-out both;}
.answer-confetti span:nth-child(3n) {width:7px;height:7px;border-radius:50%;}
@keyframes answer-confetti {
  0% {opacity:1;transform:translate(0,0) rotate(0deg) scale(.6);}
  58% {opacity:1;transform:translate(var(--drift),var(--rise)) rotate(var(--turn));}
  100% {opacity:0;transform:translate(var(--drift),var(--fall)) rotate(var(--turn));}
}
.question .actions {margin-top:15px;}
.question .actions .button:last-child {margin-left:auto;}
.sign-stage {background:white;border:1px solid var(--line);border-radius:12px;min-height:139px;display:grid;place-items:center;padding:14px;margin:0 0 15px;}
.sign-art {display:block;width:auto;height:auto;max-width:min(100%,244px);max-height:111px;object-fit:contain;}
.choice-list {display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;}
.jump {min-width:40px;min-height:40px;padding:3px;border-radius:8px;background:#fffefa;border:1px solid var(--line);font-weight:750;}
.jump.answered {background:#e6f0e4;color:var(--forest);}
.jump[aria-current=true] {border:2px solid var(--forest);}
.question-nav {margin-top:13px;padding:12px 16px;}
summary {cursor:pointer;font-weight:750;color:var(--forest);}
.review-grid {display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.review-grid .button {margin-top:15px;}
.review-grid h2 {margin:8px 0 4px;}
.sample-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.sample-card {display:flex;flex-direction:column;gap:5px;}
.sample-card h3 {font-size:1.13rem;letter-spacing:-.025em;}
.sample-card .actions {padding-top:8px;margin-top:auto;}
.review-list {display:grid;gap:8px;margin-top:12px;}
.review-item {background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px 15px;}
.review-item summary {color:var(--ink);line-height:1.45;}
.review-item .sign-stage {margin-top:10px;}
.review-item p {margin-top:6px;line-height:1.5;color:var(--muted);}
.review-item .button {margin-top:9px;}
.result {text-align:center;padding:26px 17px;margin-bottom:15px;}
.result .round-icon {margin:0 auto 10px;width:51px;height:51px;}
.result h1 {font-size:clamp(2rem,4vw,3rem);margin:8px 0;}
.result-score {font-size:3.15rem;font-weight:800;letter-spacing:-.08em;color:var(--forest);line-height:1.15;margin:8px 0;}
.result .actions {justify-content:center;margin-top:17px;}
.mock-breakdown {margin-bottom:17px;}
.topic-scores {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;list-style:none;padding:0;margin:0;}
.topic-scores li {display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid var(--line);font-size:.9rem;}
.topic-scores strong {color:var(--forest);white-space:nowrap;}
.topic-scores.challenge-topic-scores {grid-template-columns:minmax(0,1fr);}
.challenge-topic-scores li {display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;min-height:52px;padding:3px 0;}
.challenge-topic-scores .pill {display:inline-block;margin-inline-start:5px;background:var(--gold-panel);color:var(--gold-ink);}
.challenge-topic-scores .text-button {min-height:44px;}
.mock-breakdown .button,.mock-resources {margin-top:12px;}
.challenge-history {margin:17px 0;}
.challenge-history-table {border-collapse:collapse;table-layout:fixed;width:100%;font-size:.9rem;}
.challenge-history-table th,.challenge-history-table td {text-align:center;padding:9px 2px;}
.challenge-history-table th:first-child {text-align:left;padding-left:0;}
.challenge-history-table thead {color:var(--muted);font-size:.8rem;}
.challenge-history-table thead th:not(:first-child) {width:4.75rem;}
.challenge-history-table tbody tr {border-top:1px solid var(--line);}
.challenge-history-table tbody th {vertical-align:top;line-height:1.35;}
.challenge-history-table small {display:block;color:var(--muted);font-size:.75rem;margin-top:2px;font-weight:650;}
.challenge-history-table .recurring-miss {color:var(--gold-ink);}
.challenge-history-table .topic-improvement,.challenge-history-table td:last-child {color:var(--forest);font-weight:800;}
.challenge-history-table td {font-variant-numeric:tabular-nums;}
@media (max-width:480px) {
  .challenge-history-table thead th:not(:first-child) {width:3rem;}
}
.panel .handbook-credit {margin-top:8px;font-size:.85rem;}
.history,.guide-list {display:grid;gap:9px;margin:13px 0 0;padding:0;list-style:none;}
.history li,.guide-list li {border-top:1px solid var(--line);padding-top:8px;display:flex;gap:12px;justify-content:space-between;line-height:1.5;}
.history small {display:block;color:var(--muted);}
.guide-list {margin-bottom:18px;}
.guide-list li {justify-content:start;align-items:baseline;}
.guide-list strong {color:var(--forest);white-space:nowrap;}
.panel > [data-reset] {margin-top:12px;}
.progress-transfer .actions {margin-top:13px;}
.share-actions {margin-top:12px;}
.manual-share:not([hidden]) {display:grid;gap:5px;margin-top:12px;max-width:360px;font-weight:750;}
.manual-share input {font:inherit;font-weight:500;width:100%;color:var(--ink);background:var(--paper);border:1px solid #bdc9bd;border-radius:10px;padding:9px 10px;}
.home-faq details {border-top:1px solid var(--line);padding:10px 0;}
.home-faq details:first-of-type {margin-top:9px;}
.home-faq details:last-of-type {padding-bottom:0;}
.home-faq summary {font-weight:750;cursor:pointer;}
.home-faq details p {color:var(--muted);line-height:1.5;margin-top:7px;}
.progress-transfer > p,.contact-panel > p {color:var(--muted);line-height:1.5;margin-top:5px;}
.contact-panel {max-width:680px;}
.contact-fields {display:grid;gap:14px;margin-top:17px;}
.contact-fields label {display:grid;gap:5px;font-weight:750;}
.contact-fields label small {color:var(--muted);font-weight:500;}
.contact-fields select,.contact-fields input,.contact-fields textarea {font:inherit;font-weight:500;width:100%;color:var(--ink);background:var(--paper);border:1px solid #bdc9bd;border-radius:10px;padding:10px 12px;min-height:44px;}
.contact-fields textarea {resize:vertical;}
.contact-fields :is(input,select,textarea):focus-visible {outline:3px solid #4985a9;outline-offset:2px;}
.form-status:not(:empty) {color:var(--forest);font-weight:700;margin-top:8px;}
.sign-workspace {width:100%;max-width:740px;margin:0 auto;}
.sign-toolbar {display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px;}
.sign-group {background:#fffefa;color:var(--muted);border:1px solid var(--line);border-radius:9px;font-size:.86rem;font-weight:750;min-height:42px;padding:7px 9px;}
.sign-group span {font-size:.75rem;margin-left:2px;font-weight:700;}
.sign-group:hover,.sign-group[aria-pressed=true] {background:var(--green-panel);color:var(--forest);border-color:#91ad95;}
.sign-flash {text-align:center;}
.sign-flash .meter {margin-bottom:13px;}
.sign-flash .sign-stage {min-height:218px;}
.sign-flash .sign-art {max-width:min(100%,272px);max-height:177px;}
.sign-flash .actions {justify-content:space-between;margin-top:15px;}
.sign-flash h2 {margin:7px 0;}
.sign-reveal {min-height:108px;display:grid;align-content:center;justify-items:center;}
.sign-reveal p {max-width:500px;}
.sign-practice {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;}
.sign-practice h2 {font-size:1.14rem;}
.sign-browser {margin-top:13px;}
.sign-gallery {display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin-top:13px;}
.sign-tile {background:white;border:1px solid var(--line);border-radius:10px;padding:7px;display:grid;grid-template-rows:56px auto;place-items:center;gap:5px;font-weight:750;font-size:.75rem;min-height:87px;}
.sign-tile:hover,.sign-tile[aria-current=true] {border-color:#80a68c;color:var(--forest);}
.sign-tile .sign-art {max-width:90%;max-height:55px;}
.noscript {padding:1rem;}
.storage-note {margin:0 0 12px;padding:10px 13px;border-radius:9px;background:var(--gold-panel);color:var(--gold-ink);}
.dialog {background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);padding:22px;width:min(92vw,420px);}
.dialog::backdrop {background:#102b20a0;}
.dialog h2 {font-size:1.4rem;margin-bottom:8px;}
.dialog p {color:var(--muted);line-height:1.47;margin-bottom:15px;}
@media(max-width:1100px) {
  .shell {grid-template-columns:194px minmax(0,1fr);}
  .sidebar {padding-inline:12px;}
  .hero-content {padding-inline:29px;}
  .progress-panel {grid-template-columns:1.05fr repeat(3,minmax(0,1fr));}
  .progress-label .round-icon {display:none;}
}
@media(max-width:820px) {
  .shell {display:flex;flex-direction:column;}
  .sidebar {position:sticky;top:0;width:100%;height:auto;padding:10px 15px 5px;border-right:0;border-bottom:1px solid var(--line);}
  .brand {margin:0 0 7px 4px;}
  .mark {width:36px;height:36px;border-radius:10px;}
  .mark .icon {width:24px;height:24px;}
  .brand strong {font-size:.96rem;}
  .brand small {font-size:.61rem;margin-top:2px;}
  #navigation {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:0 0 3px;}
  .nav-title,.handbook-link {display:none;}
  .nav-button {width:100%;min-height:47px;flex-direction:column;justify-content:center;padding:4px 1px;gap:2px;font-size:.72rem;}
  .nav-button .icon {width:16px;height:16px;}
  .nav-wide {display:none;}
  .nav-compact {display:block;}
  .nav-count {position:absolute;right:2px;top:1px;font-size:.62rem;padding:.06rem .2rem;}
  .topbar-inner {height:47px;}
  #main {padding-top:17px;}
  .hero {min-height:310px;}
}
@media(max-width:575px) {
  .hero {min-height:318px;background-position:64% center;}
  .hero::before {background:linear-gradient(90deg,#0b2c20f0,#0c2f21b3 55%,#0f382542 100%);}
  .hero-content {padding:23px 20px;}
  .hero p {max-width:255px;}
  .hero h1 {font-size:clamp(2.35rem,10.2vw,3rem);}
  .mode-grid {grid-template-columns:1fr;}
  .sample-grid {grid-template-columns:1fr;}
  .mode-card {padding:13px 14px;}
  .topic-grid,.review-grid {grid-template-columns:1fr 1fr;gap:8px;}
  .topic-card,.review-grid .panel {padding:12px 10px;}
  .topic-card h3,.review-grid h2 {font-size:1.04rem;}
  .topic-card p,.review-grid p {font-size:.85rem;}
  .feature {grid-template-columns:1fr;gap:11px;}
  .progress-panel {grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 12px;}
  .progress-label {grid-column:1/-1;margin-bottom:10px;}
  .progress-panel .stat:nth-child(2) {border:0;padding-left:0;}
  .stat {padding-left:8px;}
  .stat span {font-size:.73rem;}
  .progress-label .round-icon {display:grid;width:34px;height:34px;}
  .section-head {margin-bottom:10px;}
  .section-head h2 {font-size:1.28rem;}
  .foot {font-size:.71rem;}
  .sign-group {font-size:.8rem;padding-inline:7px;}
  .sign-flash .sign-stage {min-height:184px;}
  .sign-flash .sign-art {max-height:150px;}
  .sign-practice {align-items:flex-start;flex-direction:column;}
  .guide-list li {display:block;}
  .topic-scores {grid-template-columns:1fr;}
  .guide-list strong {display:block;margin-bottom:3px;}
}
@media(max-width:345px) {
  .hero .button {font-size:.82rem;padding-inline:.57rem;}
  .state-class {display:none;}
  .topic-grid,.review-grid {grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;}
  .answer-confetti {display:none;}
}
