*{box-sizing:border-box}
:root{font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans SC",system-ui,sans-serif;color:#182641;background:#f3f6fb;font-synthesis:none;--ink:#182641;--muted:#52647e;--subtle:#67788f;--line:#dde6f2;--blue:#2365d8;--blue-dark:#154da9;--pale:#edf4ff;--white:#fff;--nav:#192b4b;--radius:18px;--shadow:0 4px 18px #243e6b07}
body{margin:0;min-width:320px}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ffbd56;outline-offset:3px}
button[disabled]{opacity:.54}
svg{flex:none;vertical-align:middle}
h1,h2,h3,p{margin:0}
[hidden]{display:none!important}
.skip{position:fixed;left:12px;top:-90px;z-index:1000;padding:12px 18px;background:white;border-radius:8px}
.skip:focus{top:12px}
.rail{width:228px;height:100dvh;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#fff;display:flex;flex-direction:column;z-index:5;border-right:1px solid #22385c}
.brand{display:flex;align-items:center;gap:12px;margin:28px 20px 35px}
.brand-mark{width:40px;height:40px;border-radius:12px;background:#3b7df0;box-shadow:0 4px 14px #0c1c3970;display:grid;place-items:center;color:#fff}
.brand-mark svg{width:24px;height:24px}
.brand b,.brand small{display:block}
.brand b{font-size:17px;letter-spacing:.055em}
.brand small{font-size:11px;color:#bdcee9;margin-top:4px;letter-spacing:.015em}
.nav{display:grid;gap:7px;padding:0 14px}
.nav a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:10px;color:#d2dff4;font-weight:620;font-size:14px;min-height:46px}
.nav a:hover{background:#ffffff15;color:white}
.nav a[aria-current]{color:white;background:#35517b;box-shadow:inset 3px 0 #7da9ff}
.nav a i{font-style:normal;margin-left:auto;background:#dbe9ff;color:#194d9f;font-weight:800;min-width:20px;height:20px;border-radius:99px;display:grid;place-items:center;font-size:10px;padding:0 4px}
.rail-note{display:flex;align-items:center;gap:9px;margin:auto 16px 20px;padding:13px 10px 12px;border-top:1px solid #ffffff24}
.rail-note b,.rail-note small{display:block}
.rail-note b{font-size:12px;font-weight:700}
.rail-note small{color:#bbcae2;font-size:10px;margin-top:5px}
.signal{width:7px;height:7px;border-radius:50%;background:#72dfba}
.layout{margin-left:228px;min-height:100dvh}
.top{height:61px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,3.4vw,48px);position:sticky;top:0;z-index:4}
.top-title{display:flex;gap:11px;align-items:center;font-weight:700;font-size:13px;color:#39506f}
.top-app{display:none}
.sync{min-height:32px;border:1px solid #dce8f2;border-radius:999px;background:#f9fcff;display:flex;align-items:center;gap:7px;padding:0 11px;color:#435674;font-size:11px;white-space:nowrap}
.sync:hover{background:#edf4ff}
.sync-dot{width:7px;height:7px;border-radius:50%;background:#349977}
.sync[data-status="pending"] .sync-dot{background:#d79821}
.sync[data-status="error"] .sync-dot{background:#d46053}
.main{max-width:1320px;margin:0 auto;padding:26px clamp(22px,3.4vw,48px) 48px;outline:none}
.hero{min-height:227px;isolation:isolate;overflow:hidden;position:relative;border-radius:22px;background:linear-gradient(116deg,#204b9b 0%,#255cbf 52%,#326fd9 100%);color:white;padding:26px 34px 24px;box-shadow:0 12px 26px #2753a329}
.hero-content{position:relative;z-index:1;max-width:78%}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;background:#07265838;border:1px solid #ffffff45;padding:6px 10px;border-radius:99px;letter-spacing:.04em;color:#eef4ff;font-size:11px;font-weight:620}
.hero-kicker span{width:6px;height:6px;border-radius:50%;background:#c4e3fd;box-shadow:0 0 0 3px #ffffff24}
.hero h1{font-size:clamp(32px,4vw,47px);line-height:1.16;margin:12px 0 8px;letter-spacing:.02em;font-weight:800}
.hero p{color:#ecf3ff;font-size:14px;line-height:1.55}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:19px}
.hero .btn{min-height:42px}
.hero-primary{background:#fff;color:#184fba;border-color:#fff}
.hero-primary:hover{background:#f0f6ff;color:#123d91}
.hero-secondary{background:#12367542;color:#fff;border-color:#ffffff73}
.hero-secondary:hover{background:#1436749e}
.resume-note{display:block;color:#e5efff;font-size:11px;margin-top:9px}
.hero-art{position:absolute;right:40px;inset-block:0;width:325px;overflow:visible;z-index:0;pointer-events:none}
.hero-art>span{display:block;position:absolute;width:350px;height:350px;border:1px solid #e0eeff4d;right:-60px;top:-44px;border-radius:50%}
.hero-art>span:nth-child(2){width:280px;height:280px;right:-25px;top:-9px}
.hero-art>span:nth-child(3){width:210px;height:210px;right:10px;top:26px}
.hero-art>b{position:absolute;bottom:23px;right:6px;font-size:11px;letter-spacing:.18em;color:#e6f0ff;font-weight:550}
.hero-card{position:absolute;width:109px;height:132px;right:64px;top:48px;background:linear-gradient(145deg,#d5e6ff,#88b5fc);border:1px solid #ffffffae;border-radius:14px;transform:rotate(10deg);box-shadow:18px 13px 0 #0e36773c,0 9px 25px #113c7c5e;padding:21px 15px}
.hero-card i{display:block;width:62px;height:6px;background:#20529f65;border-radius:99px;margin-bottom:12px}
.hero-card i:nth-child(2){width:49px}.hero-card i:nth-child(3){width:40px}
.hero-card em{display:grid;place-items:center;position:absolute;right:-14px;bottom:9px;width:46px;height:46px;border-radius:50%;background:#1a4eab;color:#e9f3ff;border:2px solid #a9ccff;box-shadow:0 4px 12px #092b6c4b}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0 26px}
.stat{display:flex;align-items:center;gap:11px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:13px}
.stat>div{min-width:0}
.stat-icon,.round-icon{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--pale);color:#215ab8}
.stat div>span{display:block;font-size:11px;font-weight:650;color:var(--muted)}
.stat strong{display:block;margin-top:4px;font-size:clamp(16px,1.53vw,23px);line-height:1.22;white-space:nowrap;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.section-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px}
.section-head h2{font-size:19px;line-height:1.34;letter-spacing:.01em}
.section-head p{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5}
.section-head a,.drill-top a{color:#1e58b9;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;white-space:nowrap}
.section-head a:hover,.drill-top a:hover{text-decoration:underline}
.modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.module{padding:15px 14px 13px;text-align:left;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);min-width:0;transition:border-color .17s,transform .17s,box-shadow .17s}
.module:hover{transform:translateY(-2px);border-color:#8cb4ff;box-shadow:0 8px 20px #294b8913}
.module-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.module-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e9f1ff;color:#1c57ba;font-weight:750;font-size:15px}
.module-icon.teal{color:#086d66;background:#e0f5ef}
.module-icon.orange{color:#92520e;background:#fff1dc}
.module-icon.violet{color:#6745aa;background:#f0e8ff}
.module-arrow{color:#5274ae;background:#f3f7fd;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}
.module>b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.module p{color:var(--muted);font-size:11px;line-height:1.55;margin:5px 0 12px;min-height:17px}
.module-meta{display:flex;justify-content:space-between;gap:5px;color:#405775;font-size:11px;font-weight:650}
progress{appearance:none;width:100%;height:5px;border:0;background:#e8eff9;border-radius:100px;overflow:hidden;display:block}
progress::-webkit-progress-bar{background:#e8eff9;border-radius:100px}
progress::-webkit-progress-value{background:#407dea;border-radius:100px}
progress::-moz-progress-bar{background:#407dea;border-radius:100px}
.module progress{margin-top:8px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.home-bottom{display:grid;grid-template-columns:.82fr 1.18fr;gap:14px;margin-top:22px}
.bottom-panel{padding:17px 18px 16px;min-width:0}
.review-lead{margin:8px 0 12px;font-size:13px;color:var(--muted);font-weight:650}
.review-lead b{font-size:29px;color:var(--ink);font-variant-numeric:tabular-nums}
.chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:9px 0 1px}
.chart-day{text-align:center;min-width:0}
.chart-day span{display:block;font-size:11px;color:#3d5577;font-weight:700;font-variant-numeric:tabular-nums}
.chart-day svg{margin:1px 0;width:min(24px,100%)}
.chart-day small{display:block;white-space:nowrap;font-size:10px;color:var(--muted)}
.btn{display:inline-flex;gap:7px;justify-content:center;align-items:center;min-height:40px;padding:0 14px;border:1px solid transparent;border-radius:10px;font-weight:720;font-size:13px;white-space:nowrap;letter-spacing:.005em}
.btn.primary{background:#2464d1;border-color:#2464d1;color:#fff}
.btn.primary:hover:not(:disabled){background:#194fab;border-color:#194fab}
.btn.secondary{background:#f6f9fd;color:#234d88;border-color:#d8e4f4}
.btn.secondary:hover:not(:disabled){background:#eaf2ff;border-color:#a8c6f5}
.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.page-heading{margin:3px 0 21px}
.eyebrow{display:block;color:#345d9e;font-weight:800;font-size:10px;letter-spacing:.15em;margin-bottom:8px}
.page-heading h1{font-size:clamp(25px,3.2vw,36px);letter-spacing:.015em}
.page-heading p{margin-top:8px;font-size:14px;line-height:1.7;color:var(--muted)}
.bank-filter{padding:19px;margin-bottom:25px}
.bank-grid{display:grid;grid-template-columns:1fr 1.14fr 1fr;gap:13px}
.bank-grid label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#405474}
select{display:block;width:100%;background:#f7faff;color:var(--ink);border:1px solid var(--line);border-radius:9px;height:42px;padding:0 10px;font-size:14px}
select:disabled{color:#65778e;opacity:.8}
.bank-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:15px;color:#435774;font-size:13px}
.bank-actions .action-row{margin-left:auto}
.check-label{display:inline-flex;align-items:center;gap:7px;font-weight:620}
.check-label input{width:17px;height:17px;accent-color:var(--blue)}
.source-note{display:flex;align-items:flex-start;gap:8px;margin-top:15px;padding:11px;color:#526680;font-size:12px;line-height:1.5}
.review-cycle{padding:17px 18px;margin-bottom:18px}
.cycle{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cycle span{font-weight:720;padding:6px 10px;background:#edf4ff;border-radius:8px;color:#2556a0;font-size:12px}
.cycle i{font-style:normal;color:#6b86ac}
.review-cycle p{margin-top:11px;color:var(--muted);font-size:12px;line-height:1.65}
.review-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.tabs{display:flex;flex-wrap:wrap;gap:5px}
.btn.tab{background:transparent;color:#3c5270;padding:0 10px;min-height:37px;font-size:12px}
.tab b{font-size:10px;background:#e8edf5;border-radius:999px;padding:2px 6px;font-weight:750;color:#365981}
.btn.tab.active,.btn.tab:hover{background:#e7f0ff;color:#1d55ac;border-color:#d4e4ff}
.review-list{display:grid;gap:9px}
.review-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px}
.inline-tags{display:flex;gap:5px;flex-wrap:wrap}
.tag{border-radius:999px;display:inline-flex;align-items:center;background:#edf2f8;padding:4px 8px;font-size:11px;font-weight:700;color:#3e5674;line-height:1.36}
.tag.blue-tag{background:#e4efff;color:#2058ac}.tag.yellow{background:#fff0d7;color:#885014}.tag.green{background:#e6f5ed;color:#1b6a48}.tag.red{background:#ffefed;color:#a0372d}
.review-item h3{font-size:15px;line-height:1.6;font-weight:720;margin:7px 0;overflow-wrap:anywhere}
.review-item p{font-size:12px;color:var(--muted)}
.empty{padding:40px 16px;text-align:center;border:1px dashed #c6d6ea;border-radius:15px;background:#f9fbff}
.empty-icon{display:grid;place-items:center;margin:0 auto 9px;background:#e9f2ff;color:#2664c4;border-radius:13px;width:45px;height:45px}
.empty b{display:block;font-size:16px}
.empty p{color:var(--muted);font-size:13px;line-height:1.6;margin:6px 0 12px}
.log-stats{margin:0 0 15px}
.history-summary{margin:0 0 21px}
.bar-row{display:grid;grid-template-columns:100px minmax(20px,1fr) 42px;gap:8px;align-items:center;margin:10px 0;font-size:11px;color:#3e5372}
.bar-row small{text-align:right}
.history-list details{padding:0 14px;border-bottom:1px solid var(--line)}
.history-list details:last-child{border:0}
.history-list summary{display:flex;align-items:center;gap:11px;min-height:48px;font-size:13px;cursor:pointer;list-style:none}
.history-list summary::-webkit-details-marker{display:none}
.history-list summary:after{content:"+";font-size:16px;color:#3769ba;font-weight:700}
.history-list details[open] summary:after{content:"−"}
.log-question{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.history-list time,.log-detail small{font-size:11px;color:var(--muted);flex:none}
.log-detail{padding:0 0 13px 12px;color:#3f536f;font-size:13px;line-height:1.7}
.log-detail small{display:block;margin-top:4px}
.drill-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;color:#405674;font-size:12px;font-weight:700}
.drill-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,245px);gap:13px;align-items:start}
.question-card{padding:19px 20px 17px}
.question-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}
.question-meta>div{display:flex;gap:5px;flex-wrap:wrap}
.question-card h1{font-size:clamp(19px,2.15vw,25px);line-height:1.6;font-weight:750;margin:13px 0 16px;overflow-wrap:anywhere;white-space:pre-line}
.options{display:grid;gap:9px}
.option{min-height:48px;display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 11px;border:1px solid #dce6f3;border-radius:11px;text-align:left;background:#f9fbfe;color:#203650;font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-line}
.option-letter{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#e9eff8;color:#3b577c;font-weight:800;font-size:12px}
.option:hover:not(:disabled),.option.picked{background:#eaf2ff;border-color:#6a9ff0}
.option.picked .option-letter{background:#316fd3;color:#fff}
.option.correct{background:#eaf8f0;border-color:#8cc7a6;color:#205b43}
.option.correct .option-letter{color:#fff;background:#348761}
.option.wrong{background:#fff1ef;border-color:#e4a9a2;color:#8b332d}
.option.wrong .option-letter{color:#fff;background:#b24c42}
.option:disabled{opacity:1;cursor:default}
.explain{padding:13px 14px;background:#f1f8f5;border:1px solid #d7eadf;border-radius:10px;margin-top:14px;font-size:13px;line-height:1.65}
.explain.is-wrong{background:#fff8f1;border-color:#f0dfce}
.answer-label{display:flex;align-items:center;gap:6px;margin-bottom:5px;color:#226646}
.is-wrong .answer-label{color:#a13e31}
.explain p{overflow-wrap:anywhere;white-space:pre-line;margin:3px 0}
.question-source{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#435975;margin-top:10px}
.question-source small{font-size:11px}
.question-actions{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:14px}
.question-actions>span{font-size:11px;color:#536683;text-align:center}
.answer-card{padding:15px;position:sticky;top:74px}
.answer-card h2{font-size:16px}
.answer-card p{font-size:12px;color:var(--muted);margin:5px 0 10px}
.answer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(31px,1fr));gap:5px;margin:12px 0;max-height:270px;overflow:auto;padding:3px}
.number{background:#f1f5fb;border:1px solid #e0e8f4;min-height:31px;border-radius:7px;color:#334e72;font-size:11px;font-weight:750;padding:0}
.number.hit{background:#e4f3eb;color:#236448;border-color:#a9d2bc}
.number.miss{background:#fbe9e6;color:#94382e;border-color:#e2ada7}
.number.current{outline:2px solid #2e6ed4;outline-offset:1px}
.number:hover:not(.current){outline:1px solid #679ae9}
.legend{display:flex;flex-wrap:wrap;gap:10px;font-size:10px;color:#4a607e;margin:0 0 12px}
.legend span:before{content:"";display:inline-block;width:7px;height:7px;background:#97c6ad;border-radius:2px;margin-right:4px}
.legend span:nth-child(2):before{background:#e7a8a2}
.legend span:nth-child(3):before{background:#d9e2f0}
.answer-card>small{font-size:11px;color:var(--muted);line-height:1.55}
.finish{text-align:center;padding:34px 16px}
.finish-mark{margin:0 auto 13px;width:60px;height:60px;display:grid;place-items:center;background:#e7f4ef;color:#267c58;border-radius:18px}
.finish h1{font-size:27px;margin:0 0 8px}
.finish p{font-size:13px;line-height:1.65;color:var(--muted)}
.finish-stats{display:flex;justify-content:center;gap:min(7vw,38px);margin:20px 0}
.finish-stats b,.finish-stats span{display:block}
.finish-stats b{font-size:22px;color:#244f94;margin-bottom:4px}
.finish-stats span{font-size:12px;color:var(--muted)}
.finish .action-row{justify-content:center}
.loading{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);padding:65px 15px}
.spinner{width:20px;height:20px;border:2px solid #cde0ff;border-top-color:#2b70df;border-radius:50%;animation:spin .8s linear infinite}
.toast{background:#1e355d;color:#fff;position:fixed;z-index:10;right:20px;bottom:20px;max-width:calc(100% - 40px);border-radius:11px;padding:12px 16px;font-size:13px;box-shadow:0 5px 25px #1b2b5837}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1120px){
  .rail{width:182px}.layout{margin-left:182px}.hero-art{right:16px}
  .main,.top{padding-inline:22px}.stat{gap:7px;padding:10px}.stat-icon{width:30px;height:30px}.module{padding-inline:12px}
}
@media(max-width:900px){
  .rail{width:155px}.layout{margin-left:155px}.brand{margin-inline:12px;gap:7px}.brand b{font-size:15px}.brand-mark{width:34px;height:34px}.nav{padding-inline:9px}.nav a{font-size:13px;gap:8px}.main,.top{padding-inline:15px}
  .modules{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{font-size:20px}
  .drill-layout{grid-template-columns:minmax(0,1fr) 165px}.hero-art{right:2px}
}
@media(max-width:680px){
  .rail{width:100%;height:auto;inset:auto 0 0;display:block;background:#fff;color:var(--nav);border:0;border-top:1px solid #d9e3f2;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -3px 15px #102b5712}
  .brand,.rail-note{display:none}
  .nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 3px}
  .nav a{position:relative;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:7px 0 6px;min-height:57px;border-radius:0;color:#465d7e;font-size:10px}
  .nav a svg{width:19px;height:19px}
  .nav a[aria-current]{background:#eaf2ff;color:#164fac;box-shadow:inset 0 2px #4c85ec}
  .nav a:hover{background:#f0f5fd;color:#164fac}
  .nav a i{position:absolute;top:6px;left:calc(50% + 7px);width:auto;min-width:15px;height:15px;font-size:9px;background:#215fc5;color:white}
  .layout{margin:0}
  .top{height:53px;padding-inline:13px}
  .top-title{gap:8px;font-size:11px}
  .top-app{display:block;color:#253d61;font-weight:800;font-size:13px}
  .top-app:after{content:"";height:12px;width:1px;background:#cbd8ec;display:inline-block;margin-left:8px;vertical-align:middle}
  .main{padding:14px 12px calc(75px + env(safe-area-inset-bottom))}
  .hero{padding:20px 15px;min-height:184px;border-radius:16px}
  .hero-content{max-width:100%}
  .hero h1{font-size:32px}
  .hero p{font-size:12px}
  .hero-art{opacity:.42;right:-80px;transform:scale(.69);transform-origin:80% 33%}
  .hero-art>b{display:none}
  .hero-actions{margin-top:16px;gap:6px}
  .hero .btn{min-height:40px}
  .stats{gap:8px;margin:13px 0 18px}
  .stat{min-height:61px;gap:8px}
  .stat strong{font-size:18px}
  .section-head h2{font-size:18px}
  .section-head p,.section-head a{font-size:11px}
  .modules{gap:8px}
  .module{padding:11px}
  .module>b{font-size:14px}
  .module p{font-size:10px;min-height:16px;margin-bottom:10px}
  .home-bottom{margin-top:14px;grid-template-columns:1fr;gap:8px}
  .bottom-panel{padding:14px}
  .page-heading{margin:4px 0 14px}
  .page-heading p{font-size:13px}
  .bank-filter{padding:12px;margin-bottom:17px}
  .bank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .bank-grid label:first-child{grid-column:1/-1}
  .bank-actions{gap:10px}
  .bank-actions .action-row{width:100%;margin:0}
  .bank-actions .action-row button{flex:1 1 auto}
  .review-cycle{padding:12px}
  .cycle{gap:4px}
  .cycle span{font-size:11px;padding:6px}
  .review-toolbar{align-items:flex-start;flex-wrap:wrap;gap:7px}
  .tabs{gap:2px}
  .btn.tab{min-height:38px;padding:0 6px}
  .review-item{padding:12px;gap:8px}
  .review-item h3{font-size:14px}
  .review-item .btn{padding:0 8px}
  .log-stats{margin:0 0 14px}
  .history-summary{margin-bottom:16px}
  .history-list details{padding:0 9px}
  .history-list summary{gap:6px;font-size:12px}
  .drill-layout{grid-template-columns:1fr;gap:8px}
  .question-card{padding:13px 12px}
  .question-card h1{font-size:19px;margin:10px 0 13px}
  .question-meta{flex-wrap:wrap}
  .question-actions .btn{padding:0 10px;min-height:44px}
  .option{padding:8px;min-height:46px}
  .answer-card{position:static}
  .answer-grid{grid-template-columns:repeat(auto-fill,minmax(34px,1fr));max-height:135px}
  .number{min-height:33px}
  .toast{right:12px;bottom:calc(68px + env(safe-area-inset-bottom));max-width:calc(100% - 24px)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.top-actions{display:flex;align-items:center;gap:7px}
.account-mini{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:#254d8e}
.account-mini a:hover,.account-mini button:hover{text-decoration:underline}
.account-mini button,.account-link{background:transparent;border:0;color:#23549e;padding:6px;font-weight:700}
.account-page{background:linear-gradient(155deg,#ecf3ff 0%,#f5f7fb 60%);min-height:100dvh}
.account-wrap{width:min(100% - 32px,440px);margin:0 auto;padding:clamp(28px,10vh,95px) 0 32px}
.account-wrap.wide{width:min(100% - 32px,680px);padding-top:32px}
.account-brand{display:flex;align-items:center;gap:10px;margin:0 0 13px;font-size:15px;font-weight:800;color:var(--nav)}
.account-panel{padding:24px}
.account-panel h1{font-size:clamp(22px,5vw,29px);margin-bottom:7px;line-height:1.25}
.account-panel p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:5px}
.account-tabs{display:flex;gap:6px;margin:17px 0 13px;padding:4px;background:#edf2f9;border-radius:10px}
.account-tabs button{flex:1;min-height:38px;border:0;border-radius:7px;background:transparent;color:#3a5579;font-size:13px;font-weight:700}
.account-tabs button[aria-pressed="true"]{background:#fff;color:#2456a7;box-shadow:0 2px 8px #2c4f7d13}
.account-panel form{display:grid;gap:12px;margin-top:14px}
.account-panel label{display:grid;gap:5px;font-size:12px;color:#374f71;font-weight:700}
.account-panel input{min-width:0;width:100%;height:44px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#f8faff;color:var(--ink);font-size:16px}
.account-panel .account-feedback{margin:9px 0 0;color:#b3332b}
.account-feedback:empty{display:none}
.account-actions{margin-top:16px}
.account-panel .member-search{grid-template-columns:1fr auto;align-items:end}
.account-members{padding:0;list-style:none}
.account-members li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.account-members li p{margin:3px 0 0}
.account-empty{padding:15px 0}
.log-actions{gap:6px;justify-content:flex-end}
.log-actions .btn{padding:0 9px}
@media(max-width:680px){
  .account-mini{gap:5px;font-size:11px}
  .account-mini button{padding-inline:3px}
  .top-actions{gap:5px}
  .account-panel{padding:17px}
}
