:root{
  --navy:#0d1b2e; --navy2:#12263f; --gold:#c9a227; --gold-bright:#e3b93c;
  --teal:#2aa198; --ink:#1c2733; --muted:#5b6b7f; --line:#dfe6ee; --bg:#f7f9fb; --card:#ffffff;
}
*{box-sizing:border-box}
body{margin:0;font-family:Georgia,"Times New Roman",serif;color:var(--ink);background:var(--bg);line-height:1.65}
.wrap{max-width:860px;margin:0 auto;padding:0 1.25rem}
.site-header{background:var(--navy);color:#fff;padding:.9rem 0}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.brand{color:var(--gold-bright);font-weight:700;text-decoration:none;font-size:1.15rem}
.topnav{display:flex;gap:1rem;flex-wrap:wrap}
.topnav a{color:#d7e0ec;text-decoration:none;font-size:.92rem;font-family:Arial,Helvetica,sans-serif}
.topnav a:hover{color:#fff;text-decoration:underline}
main{padding:2rem 0 3rem}
h1{font-size:2rem;line-height:1.25;margin:.2rem 0 1rem;color:var(--navy)}
h2{font-size:1.35rem;color:var(--navy);margin:2rem 0 .75rem}
h3{font-size:1.08rem;color:var(--navy2);margin:0 0 .4rem}
.lede{font-size:1.08rem}
#page-summary{background:#eef4fa;border-left:4px solid var(--teal);padding:.9rem 1.1rem;border-radius:0 6px 6px 0}
.answer{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:1.25rem 1.4rem;margin:1.5rem 0}
.answer h2{margin-top:0}
.fine{font-size:.88rem;color:var(--muted)}
.muted{color:var(--muted)}
.progress-card{background:var(--navy2);color:#eaf0f7;border-radius:8px;padding:1.25rem 1.4rem;margin:1.5rem 0}
.progress-card h2{color:#fff;margin-top:0}
.meter{background:#0a1626;border-radius:99px;height:14px;overflow:hidden;margin:.6rem 0}
.meter-fill{background:linear-gradient(90deg,var(--teal),var(--gold-bright));height:100%;width:0;transition:width .3s ease}
.progress-actions{display:flex;gap:.75rem;margin-top:.9rem;flex-wrap:wrap}
.btn{display:inline-block;background:var(--gold);color:#1a1405;font-family:Arial,Helvetica,sans-serif;font-weight:700;border:none;border-radius:6px;padding:.65rem 1.2rem;cursor:pointer;text-decoration:none;font-size:.95rem}
.btn:hover{background:var(--gold-bright)}
.btn.ghost{background:transparent;color:#d7e0ec;border:1px solid #5b6b7f}
.btn.ghost:hover{border-color:#fff;color:#fff}
.practice{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:1.15rem 1.3rem;margin:1rem 0}
.far-ref{color:var(--teal);font-family:Arial,Helvetica,sans-serif;font-weight:700;margin-right:.35rem}
.far-text{font-style:italic;color:#33414f;background:#f2f5f8;border-radius:6px;padding:.7rem .9rem;font-size:.95rem}
.status{display:flex;gap:1.1rem;flex-wrap:wrap;margin-top:.8rem;padding-top:.8rem;border-top:1px dashed var(--line);font-family:Arial,Helvetica,sans-serif;font-size:.92rem}
.status label{display:flex;align-items:center;gap:.4rem;cursor:pointer}
.status input{accent-color:var(--teal);width:1.05rem;height:1.05rem}
#gap-list{margin:.5rem 0;padding-left:1.3rem}
#gap-list li{margin:.35rem 0}
.cta{background:linear-gradient(135deg,var(--navy),var(--navy2));color:#eaf0f7;border-radius:8px;padding:1.6rem;margin:2rem 0;text-align:center}
.cta h2{color:var(--gold-bright);margin-top:0}
.cta p{max-width:620px;margin:0 auto 1.1rem}
.site-footer{background:var(--navy);color:#aeb8cc;padding:1.8rem 0;margin-top:2rem;font-family:Arial,Helvetica,sans-serif;font-size:.88rem}
.site-footer nav{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.site-footer a{color:#d7e0ec;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.guide-list{list-style:none;padding:0}
.guide-list li{margin:.6rem 0}
@media print{
  .site-header,.site-footer,.progress-card,.cta,.status,.topnav{display:none}
  body{background:#fff}
  .practice,.answer{break-inside:avoid}
}
@media(max-width:640px){h1{font-size:1.6rem}.status{gap:.7rem}}
