@font-face{font-family:Bridge Serif;src:local("Georgia")}
:root{color-scheme:light;--ink:#142943;--muted:#526779;--paper:#f3f6f8;--white:#fff;--line:#d8e1e8;--lime:#d9ee99;--deep:#294763;--teal:#285d59;font-family:"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.55}
button,input,select,textarea{font:inherit}
button,.button{color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:10px;padding:.67rem 1rem;min-height:44px;cursor:pointer;text-decoration:none;font-weight:650}
button:hover,.button:hover{border-color:var(--teal);background:#f0f6ef}
.primary{background:var(--lime);border-color:var(--lime);color:#182e26}
.primary:hover{background:#e5f4b7}
button:disabled{opacity:.55;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4e77bf;outline-offset:3px}
input:not([type=radio]):not([type=checkbox]),select,textarea{display:block;width:100%;padding:.58rem .72rem;border:1px solid #b7c6d4;border-radius:9px;background:white;color:var(--ink);min-height:44px}
input[type=checkbox],input[type=radio]{width:19px;height:19px;accent-color:var(--teal);flex:none}
textarea{min-height:9rem;resize:vertical}
label{font-weight:650;display:block;margin-bottom:12px}
label>input,label>select,label>textarea{margin-top:4px;font-weight:400}
h1,h2,h3,p{margin-top:0}
h1{font:700 clamp(2rem,4vw,3.2rem)/1.08 "Bridge Serif","PingFang SC","Microsoft YaHei",serif;letter-spacing:-.025em;margin-bottom:.78rem}
h2{font-size:1.32rem;line-height:1.25;margin-bottom:.8rem}
h3{font-size:1.06rem;margin-bottom:.34rem}
a{color:var(--teal)}
header{background:var(--ink);color:white;padding:0 max(1.1rem,env(safe-area-inset-right)) 0 max(1.1rem,env(safe-area-inset-left))}
.header-inner{display:flex;max-width:1190px;min-height:70px;align-items:center;justify-content:space-between;gap:12px;margin:auto;flex-wrap:wrap;padding:.55rem 0}
.brand{font-family:"Bridge Serif",Georgia,serif;font-weight:700;font-size:1.38rem;color:white;text-decoration:none;letter-spacing:-.025em;display:flex;gap:.65rem;align-items:center}
.brand img{height:33px;width:33px;border-radius:8px}
nav{display:flex;gap:.3rem;flex-wrap:wrap}
nav a,nav button{color:white;background:transparent;border:0;padding:.45rem .62rem;text-decoration:none;font-size:.9rem;font-weight:550;min-height:42px;display:inline-flex;align-items:center;border-radius:7px}
nav .active,nav a:hover,nav button:hover{background:#294562}
main,footer,#notice{width:min(1190px,calc(100% - 2.2rem));margin:0 auto}
main{padding:2rem 0;min-height:70vh}
footer{padding:1rem 0 2rem;color:var(--muted);font-size:.86rem;border-top:1px solid var(--line)}
footer span{padding:0 .35rem}
#notice:empty{display:none}
#notice{margin-top:1rem;padding:.62rem .9rem;background:#eff3d7;border:1px solid #ccd7a0;border-radius:10px}
#notice.error{background:#fff0ed;border-color:#efb4aa;color:#7e2925}
.hero{padding:clamp(1.25rem,3vw,2.6rem);border-radius:20px;background:var(--ink);color:white;display:grid;grid-template-columns:1.35fr 1fr;gap:1.4rem;margin-bottom:1.45rem}
.hero p{color:#dbe4ec;max-width:49ch}
.hero h1{font-size:clamp(2.2rem,5vw,3.7rem)}
.hero .aside{padding:1.15rem;border-radius:13px;background:#213c58;align-self:center}
.kicker{font-size:.82rem;letter-spacing:.06em;font-weight:750;margin-bottom:.8rem;color:var(--teal)}
.hero .kicker{color:var(--lime)}
.box,.module{padding:1.15rem;border-radius:14px;border:1px solid var(--line);background:white}
.box+.box{margin-top:1rem}
.box p:last-child{margin-bottom:0}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}
.split{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
.split>.box{margin-top:0}
.module{display:grid;gap:.35rem;text-align:left;color:var(--ink);text-decoration:none;min-height:105px}
.module:hover{border-color:var(--teal);background:#fbfdf9}
.module strong{font-size:1.17rem}
.module small,.muted{color:var(--muted)}
.actions{display:flex;gap:.58rem;flex-wrap:wrap;align-items:center;margin:.65rem 0}
.toprow,.row{display:flex;justify-content:space-between;gap:12px;align-items:center}
.toprow{margin-bottom:.8rem;flex-wrap:wrap}
.row{border-bottom:1px solid var(--line);padding:.65rem 0}
.row:last-child{border-bottom:0}
.row>:first-child{min-width:0;overflow-wrap:anywhere}
.row>button,.row>.button{flex:none}
.stat{font-family:"Bridge Serif",Georgia,serif;font-size:2rem;font-weight:700;line-height:1.1}
.badge{display:inline-block;padding:.12rem .48rem;border-radius:7px;color:#24524a;background:#dfede4;font-size:.8rem;font-weight:700}
.passage{white-space:pre-wrap;line-height:1.75;font-size:1.12rem;overflow-wrap:anywhere}
.english{font-family:"Bridge Serif",Georgia,serif}
.choice{display:flex;gap:.62rem;padding:.55rem;border:1px solid var(--line);border-radius:9px;align-items:center;margin:.4rem 0;font-weight:500}
.choice:has(:checked){background:#edf4de;border-color:#97af70}
audio{display:block;width:100%;margin:.65rem 0;min-width:0}
.note{white-space:pre-wrap;overflow-wrap:anywhere;padding:.75rem;border-left:3px solid #78a383;background:#f0f7ef;margin:.6rem 0}
.auth{max-width:530px;margin:3vh auto}
.auth p{color:var(--muted)}
.group{margin-top:1.45rem}
table{border-collapse:collapse;width:100%;text-align:left}
th,td{padding:.55rem .35rem;border-bottom:1px solid var(--line);vertical-align:top}
.scroll{overflow-x:auto}
.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.week{display:grid;grid-template-columns:repeat(7,minmax(4.2rem,1fr));gap:.46rem;overflow:auto}
details summary{cursor:pointer;font-weight:700}
details[open] summary{margin-bottom:.7rem}
.danger{color:#8b2f27}
.sr{position:absolute;left:-10000px}
.sr:focus{position:static;display:inline-block;padding:.6rem;background:white}
@media (max-width:760px){.hero,.split{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:.5rem}main{padding-top:1.25rem}}
@media (max-width:410px){.columns{grid-template-columns:1fr}.header-inner{gap:.25rem}.box{padding:.9rem}}
