:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:#222738;background:#f8f9fc;font-synthesis:none;--blue:#3478f6;--muted:#9399a8;--line:#edf0f5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #99bcff;outline-offset:3px}a{color:var(--blue);text-decoration:none}.app-shell{display:flex;min-height:100vh}.sidebar{width:240px;flex-shrink:0;padding:36px 22px 20px;background:rgba(255,255,255,.65);backdrop-filter:blur(25px);border-right:1px solid #eaedf3;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#20283a;font-size:23px;font-weight:700;letter-spacing:2px;margin:0 10px 50px}.brand-icon{display:block;flex:0 0 44px;width:44px;height:44px;border-radius:13px;box-shadow:0 4px 12px #3478f610}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#a0a7b5;margin-top:5px}.workspace-label,.mini-label{font-size:11px;color:#a1a6b2;letter-spacing:1px;margin:0 15px 15px}nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 16px;border-radius:11px;text-align:left;font-size:13px;color:#7b8392;transition:.15s}.nav-item>span{font-size:20px;width:22px;text-align:center}.nav-item.active{color:#3176ef;background:#eaf1ff;font-weight:600}@media(hover:hover) and (pointer:fine){.nav-item:hover{background:#f0f3f9}}.nav-item b{font-size:10px;background:#3478f6;color:white;border-radius:6px;padding:3px 6px;margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar nav{min-height:0;overflow-y:auto;flex-shrink:1}.sidebar .brand{flex-shrink:0}.mini-label{text-align:center;margin:20px 0}.cloud-card{padding:14px 10px;background:#f3f5f9;border:1px solid #eef0f5;border-radius:12px;font-size:10px;color:#8d94a2;line-height:1.7}.cloud-card button{display:block;color:var(--blue);font-size:11px;padding:6px 0 0 14px}.status-dot{display:inline-block;width:6px;height:6px;background:#a4adbc;border-radius:50%;margin-right:6px}.version{text-align:center;font-size:10px;color:#b5bac5;margin-top:18px}main{margin-left:240px;width:calc(100% - 240px);padding:0 48px;max-width:1600px}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:11px;color:#9198a7}.breadcrumb span{margin-left:13px}.breadcrumb span:last-child{color:#606a7b}.header-right{display:flex;align-items:center;gap:19px}.avatar{display:grid;place-items:center;flex:0 0 36px;padding:0;overflow:hidden;background:#e8effd;border:3px solid white;box-shadow:0 2px 8px #28395809;color:#5a83ca;width:36px;height:36px;border-radius:50%;font-size:12px}#page{max-width:1150px;margin:auto;padding:35px 0 20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#9da5b3;margin:0 0 12px}.page-title{font-size:28px;font-weight:650;letter-spacing:-.7px;margin:0 0 10px}.subtitle{font-size:12px;color:#9299a6;line-height:1.8;margin:0}.title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:18px}.pill{background:#edf3ff;color:#5a87d3;padding:8px 12px;border-radius:20px;font-size:10px;white-space:nowrap}.hero{border:1px solid #e2eafb;background:linear-gradient(112deg,#edf4ff 0%,#f1f5ff 50%,#f6f8ff 100%);border-radius:20px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;min-height:210px;position:relative;overflow:hidden}.hero{isolation:isolate}.hero:after{content:'';position:absolute;right:-55px;top:-125px;width:340px;height:340px;border:1px solid #e1e9fa;border-radius:50%;pointer-events:none;z-index:0}.hero>div:first-child{position:relative;z-index:2;min-width:0}.hero>.ring{z-index:1}.hero h2{font-size:24px;line-height:1.5;margin:4px 0 8px;letter-spacing:-.4px}.hero p{font-size:12px;color:#8b99b2;margin:0 0 20px}.hero .eyebrow{color:#6c91cb;font-size:9px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--blue);color:#fff;border-radius:9px;padding:12px 21px;font-size:12px;box-shadow:0 4px 9px #3478f61a}@media(hover:hover) and (pointer:fine){.primary:hover{background:#2669e7}}.primary:disabled{opacity:.5;cursor:not-allowed}.secondary{border:1px solid #e4e8f0;border-radius:9px;background:white;padding:11px 16px;font-size:12px;color:#778196}.ring{width:150px;height:150px;border-radius:50%;background:conic-gradient(#4b86f7 var(--progress),#e0e9fa 0);padding:9px;position:relative;z-index:1;margin-right:22px;flex-shrink:0}.ring-center{width:100%;height:100%;border-radius:50%;background:#f1f5ff;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring strong{font-size:33px;font-weight:600;letter-spacing:-1px}.ring strong small{font-size:15px;margin-left:2px}.ring span{font-size:10px;color:#92a0b6;margin-top:5px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:23px 0 32px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px 22px}.stat-label{font-size:11px;color:#979ead;display:flex;justify-content:space-between;align-items:center}.stat-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#edf3ff;color:#638de0;font-size:16px}.stat-card:nth-child(2) .stat-icon{color:#68a99a;background:#edf7f3}.stat-card:nth-child(3) .stat-icon{color:#d7a464;background:#fdf5e9}.stat-card:nth-child(4) .stat-icon{color:#a48cce;background:#f3effb}.stat-value{font-size:29px;font-weight:600;letter-spacing:-.7px;margin:12px 0 8px}.stat-value small{font-size:11px;color:#b0b6c1;font-weight:400;margin-left:6px}.stat-foot{font-size:10px;color:#a6adba}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 16px}.section-heading h2{font-size:16px;margin:0;font-weight:600}.section-heading button{font-size:11px;color:#9aa3b3}.dashboard-lower{display:grid;grid-template-columns:1.7fr 1fr;gap:25px}.subjects{display:grid;grid-template-columns:1fr 1fr;gap:15px}.subject-card{background:white;border:1px solid var(--line);border-radius:14px;padding:21px;cursor:pointer;text-align:left}@media(hover:hover) and (pointer:fine){.subject-card:hover{border-color:#c5d8fb;transform:translateY(-1px)}}.subject-head{display:flex;gap:12px;align-items:center;margin-bottom:22px}.subject-icon{height:36px;width:36px;border-radius:10px;background:#edf3ff;color:#668ee0;display:grid;place-items:center;font-size:17px}.subject-card:nth-child(2) .subject-icon{background:#f1edfb;color:#a28bc8}.subject-card:nth-child(3) .subject-icon{background:#edf6f1;color:#6caa8e}.subject-card:nth-child(4) .subject-icon{background:#fdf3e8;color:#d5aa74}.subject-head h3{font-size:13px;margin:0 0 5px}.subject-head span{font-size:9px;color:#a6aebb}.subject-metrics{display:flex;justify-content:space-between;font-size:10px;color:#a0a9b8}.subject-metrics b{color:#66758d;font-weight:500}.track{height:5px;border-radius:5px;background:#f0f3f8;overflow:hidden;margin:9px 0 12px}.track i{display:block;height:100%;background:#7ba4f0;border-radius:5px}.subject-meta{font-size:9px;color:#adb4c0}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}.plan-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #f2f4f8}.plan-item:last-child{border-bottom:0}.plan-dot{width:8px;height:8px;border-radius:50%;background:#79a2ed;margin-top:5px;flex-shrink:0}.plan-dot.green{background:#82b6a0}.plan-dot.gold{background:#dec18b}.plan-item h3{font-size:12px;margin:0 0 7px;font-weight:500}.plan-item p{font-size:10px;line-height:1.7;color:#a0a7b5;margin:0}.plan-number{margin-left:auto;font-size:13px;color:#657793;white-space:nowrap}.insight{padding:17px 19px;border-radius:12px;background:#f0f4fc;color:#8193b0;font-size:10px;line-height:1.9;margin-top:17px}.week{display:flex;justify-content:space-between;gap:7px;margin-top:19px}.week-day{text-align:center;font-size:9px;color:#aeb5c2}.week-dot{width:28px;height:28px;margin-top:9px;border-radius:50%;display:grid;place-items:center;background:#f3f5f9;color:#b0b8c5}.week-dot.done{background:#e9f1ff;color:#5587e4}.week-dot.current{border:1px solid #87aaf0;color:#5f8bd9}footer{max-width:1150px;margin:27px auto 0;padding:22px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:#b5bbc7;letter-spacing:.5px}.loading,.empty{padding:75px 20px;text-align:center;color:#9ca5b4;font-size:13px;line-height:2}.empty h2{font-size:20px;color:#68758c}.spinner{display:block;width:27px;height:27px;border:3px solid #e4ebf8;border-top-color:var(--blue);border-radius:50%;margin:0 auto 15px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:1;min-width:180px}.toolbar input,.toolbar select,.field input,.field select,textarea{border:1px solid #e4e8ef;background:#fff;border-radius:9px;padding:12px;font-size:12px;color:#626e82;max-width:100%}.toolbar select{max-width:200px}.question-list{display:grid;gap:11px}.question-row{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 22px;text-align:left;width:100%;display:block}@media(hover:hover) and (pointer:fine){.question-row:hover{border-color:#bcd2f5}}.question-row p{font-size:13px;line-height:1.8;margin:9px 0;color:#46536a}.tags{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.tag{display:inline-block;font-size:9px;color:#8e9cb1;background:#f0f3f8;padding:4px 7px;border-radius:5px}.tag.blue{background:#edf3ff;color:#668bd0}.tag.orange{background:#fff3e5;color:#bd945c}.tag.green{background:#edf7f2;color:#6b9f87}.list-count{font-size:11px;color:#9ba5b5;margin:15px 0}.pagination{display:flex;justify-content:center;gap:15px;align-items:center;margin:22px 0;font-size:12px;color:#8e99a9}.study-card{max-width:850px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px}.study-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.study-stem{font-size:18px;line-height:1.9;margin:24px 0;white-space:pre-wrap}.option{display:flex;gap:14px;text-align:left;border:1px solid #e8ecf3;border-radius:11px;padding:16px;width:100%;margin:11px 0;line-height:1.7;font-size:13px;align-items:baseline}.option-key{width:26px;height:26px;flex-shrink:0;display:grid;place-items:center;border:1px solid #e5eaf2;border-radius:7px;color:#8a96a8;font-size:12px}.option.selected{border-color:#80a9f7;background:#f2f6ff}.option.selected .option-key{background:#3478f6;border-color:#3478f6;color:white}.option.correct{background:#f0f8f3;border-color:#a4cfb4}.option.wrong{background:#fff4f2;border-color:#edbab2}.study-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px}.keyboard-hint{font-size:10px;color:#acb4c1}.result{margin-top:24px;border-radius:12px;padding:20px;background:#f2f7ff;border:1px solid #e4edfc}.result.success{background:#f0f8f4;border-color:#e1efe6}.result.error{background:#fff6f2;border-color:#f5e5df}.result h3{font-size:14px;margin:0 0 12px}.result p{font-size:12px;line-height:1.9;white-space:pre-wrap;margin:8px 0;color:#778298}.source-line{font-size:10px;color:#9ca6b5;margin-top:15px;line-height:1.9}.tool-links{display:flex;gap:15px;margin-top:17px}.tool-links button{font-size:11px;color:#7395cb;padding:0}.note-box{margin-top:20px}.note-box label{display:block;font-size:11px;color:#8f99aa;margin-bottom:9px}textarea{width:100%;min-height:92px;resize:vertical;line-height:1.8}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid h2{font-size:15px;margin:0 0 22px}.field{margin:19px 0}.field label{display:block;font-size:12px;color:#778399;margin-bottom:10px}.field input{width:100%}.help{font-size:11px;line-height:1.9;color:#9aa5b6}.button-row{display:flex;flex-wrap:wrap;gap:10px}.danger{color:#c27a6c}.notice{background:#fff6e9;color:#b19362;border:1px solid #f5e9d5;padding:14px 18px;border-radius:10px;font-size:11px;line-height:1.8;margin-bottom:20px}dialog{width:min(900px,94vw);max-height:90vh;overflow:auto;padding:0;border:0;border-radius:19px;box-shadow:0 30px 100px #263a6540;background:#f8f9fc}dialog::backdrop{background:#202d4b55;backdrop-filter:blur(5px)}dialog .study-card{border:0;border-radius:0}.close-dialog{position:sticky;top:0;z-index:4;display:flex;justify-content:flex-end;padding:12px 20px;background:#ffffffed}.close-dialog button{font-size:20px;color:#8e98a9}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#293750ed;color:white;padding:13px 22px;border-radius:11px;box-shadow:0 5px 25px #1b2e4c24;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:30;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.progress-line{display:flex;align-items:center;gap:16px;font-size:11px;color:#97a3b5;margin-bottom:21px}.progress-line .track{flex:1;margin:0}.correction{padding-top:18px;margin-top:17px;border-top:1px solid #e4eaf4}.correction label{font-size:11px;color:#8b97a9;display:block;margin:12px 0 8px}.correction input{width:100%;border:1px solid #dce4f1;border-radius:8px;padding:10px}.quick-link{color:#7086aa;font-size:11px}.weak-list{display:grid;gap:12px}.weak-row{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#8593a8}.muted{color:#a3adbc}button:disabled{cursor:default}
@media(min-width:1550px){main{padding:0 70px}}@media(max-width:1150px){.sidebar{width:205px;padding:30px 14px}main{margin-left:205px;width:calc(100% - 205px);padding:0 28px}.dashboard-lower{grid-template-columns:1fr}.dashboard-lower>.right-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats-grid{gap:12px}.stat-card{padding:18px 15px}.hero{padding:27px}.ring{margin-right:0}.page-title{font-size:25px}}@media(max-width:760px){.sidebar{position:relative;width:100%;padding:18px 20px 10px;border-right:0;border-bottom:1px solid var(--line);height:auto;display:block}.app-shell{display:block}.brand{margin:0 0 20px;font-size:20px}.brand-icon{width:38px;height:38px;flex-basis:38px;border-radius:11px}.brand small{font-size:8px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;gap:5px;padding-bottom:4px}.nav-item{font-size:11px;padding:9px 12px;white-space:nowrap;gap:7px}.nav-item>span{font-size:15px;width:16px}.nav-item b{font-size:9px}main{margin:0;width:100%;padding:0 20px}.topbar{height:65px}.header-right{gap:10px}.header-right>span{font-size:10px}#page{padding-top:27px}.title-row{margin-bottom:21px;align-items:flex-start}.page-title{font-size:23px}.subtitle{font-size:11px}.pill{font-size:9px;padding:7px 9px}.hero{padding:25px 21px;min-height:190px;gap:12px}.hero h2{font-size:20px}.hero p{font-size:10px}.hero .primary{font-size:11px;padding:11px 15px}.ring{width:112px;height:112px;padding:7px}.ring strong{font-size:27px}.ring span{font-size:9px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 26px}.stat-card{padding:17px}.stat-value{font-size:26px}.dashboard-lower>.right-column{display:block}.subjects{gap:12px}.subject-card{padding:17px}.subject-head{gap:9px}.subject-head h3{font-size:12px}.subject-icon{height:31px;width:31px}.subject-head span{font-size:8px}.subject-metrics{font-size:9px}.section-heading h2{font-size:15px}footer{font-size:8px;gap:12px;line-height:1.8}footer span{text-align:right}.settings-grid{grid-template-columns:1fr}.study-card{padding:22px 18px}.study-stem{font-size:16px}.option{padding:13px 11px;font-size:12px;gap:10px}.keyboard-hint{display:none}.study-top{align-items:flex-start}.toolbar select{flex:1;max-width:100%}.question-row{padding:16px}.question-row p{font-size:12px}.source-line{word-break:break-word}}
.uncertain-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#8f8163;background:#fffbf0;border-radius:9px;padding:12px 14px;margin-top:20px;cursor:pointer}.uncertain-toggle input{accent-color:#3478f6;width:15px;height:15px}.uncertain-toggle span{font-size:10px;color:#b1a58c}.mnemonic-box{margin-top:18px;padding:18px;background:#f7f5ff;border:1px solid #eae5fa;border-radius:10px}.mnemonic-box .eyebrow{color:#a092bd;margin-bottom:10px}.mnemonic-item{padding:10px 0}.mnemonic-item+.mnemonic-item{border-top:1px solid #eae5fa}.mnemonic-item summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.8;color:#81729f}.mnemonic-item summary span{font-size:10px;font-weight:400;color:#a89cbb;margin-left:10px}.mnemonic-item p{color:#8c80a4}.mnemonic-item .source-line{font-size:10px}
.subject-icon{flex-shrink:0;font-weight:600;line-height:1}
@media(max-width:420px){.hero{gap:14px;padding:23px 18px;align-items:center}.hero>div:first-child{flex:1}.hero>.ring{width:94px;height:94px;padding:6px;flex:0 0 94px}.hero h2{font-size:19px}.ring span{font-size:8px}.hero .primary{max-width:100%}}@media(max-width:350px){.hero{flex-wrap:wrap}.hero>.ring{margin-left:auto}.hero>div:first-child{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact, color-coded navigation for the current practice session. */
.session-history{padding:0;overflow:hidden;background:#fff;border-radius:14px;margin:0 0 22px}
.session-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:14px 18px;cursor:pointer;list-style:none;color:#313844;font-size:13px;font-weight:600}
.session-history>summary::-webkit-details-marker{display:none}
.session-history>summary::before{content:"";width:7px;height:7px;border-right:1.5px solid #737b87;border-bottom:1.5px solid #737b87;transform:rotate(-45deg);transition:transform .16s;flex:0 0 7px}
.session-history[open]>summary::before{transform:rotate(45deg)}
.session-index-count{margin-left:auto;color:#8b919b;font-size:11px;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.session-index-grid{display:grid;grid-template-columns:repeat(11,40px);justify-content:start;gap:8px;padding:4px 18px 14px}
.session-index-item{position:relative;display:grid;place-items:center;width:40px;height:38px;padding:0;border:1px solid #e3e6eb;border-radius:10px;background:#f8f9fb;color:#565d68;font-size:12px;font-variant-numeric:tabular-nums;transition:background .14s,border-color .14s,color .14s,transform .14s}@media(hover:hover) and (pointer:fine){
.session-index-item:hover{transform:translateY(-1px);border-color:#b9c0ca;background:#f1f3f6}}
.session-index-item i{position:absolute;right:5px;bottom:5px;width:5px;height:5px;border-radius:50%;background:#c4c8ce}
.session-index-item.is-current{border-color:#007aff;background:#007aff;color:#fff;font-weight:600;box-shadow:0 2px 6px #007aff35}
.session-index-item.is-current i{background:#fff}
.session-index-item.is-correct{border-color:#c9e7d5;background:#f0f8f3;color:#286c45}
.session-index-item.is-correct i{background:#34a56a}
.session-index-item.is-incorrect{border-color:#f1d2cd;background:#fff4f2;color:#a34c43}
.session-index-item.is-incorrect i{background:#d86c60}
.session-index-item.is-ungraded{border-color:#eadfbd;background:#fffaf0;color:#856b32}
.session-index-item.is-ungraded i{background:#c49a3a}
.session-index-item.is-pending{border-color:#cbd9f3;background:#f2f6fd;color:#426eae}
.session-index-item.is-pending i{background:#6c91cf}
.session-index-legend{display:flex;flex-wrap:wrap;gap:8px 16px;padding:11px 18px 14px;border-top:1px solid #f0f1f3;color:#777f8a;font-size:10px}
.session-index-legend span{display:inline-flex;align-items:center;gap:6px}
.session-index-legend span::before{content:"";width:7px;height:7px;border-radius:50%;background:#c4c8ce}
.session-index-legend .legend-current::before{background:#007aff}
.session-index-legend .legend-correct::before{background:#34a56a}
.session-index-legend .legend-incorrect::before{background:#d86c60}
.session-index-legend .legend-ungraded::before{background:#c49a3a}
@media(max-width:760px){.session-index-grid{grid-template-columns:repeat(8,40px);gap:7px;padding-right:14px;padding-left:14px}.session-history>summary{padding-right:14px;padding-left:14px}.session-index-legend{padding-right:14px;padding-left:14px}}
@media(max-width:480px){.session-index-grid{grid-template-columns:repeat(6,40px);gap:7px}.session-index-item{height:38px}.session-index-legend{gap:9px 12px;font-size:9px}}

/* 题目详情：固定工具栏、对称进度与轻量图标按钮。 */
#question-dialog{background:#fff;border-radius:24px;box-shadow:0 24px 80px #17243b30,0 0 0 1px #ffffff70;overscroll-behavior:contain;scroll-padding-top:88px}
.question-header{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:76px;padding:12px 24px;background:rgba(255,255,255,.9);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(60,60,67,.09)}
.question-header-title{font-size:14px;font-weight:600;letter-spacing:-.2px;color:#30343b;white-space:nowrap}
.question-pager{display:flex;align-items:center;gap:8px}
.question-toolbar-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:#4c5665;transition:background .15s,color .15s,transform .15s}
.question-toolbar-button svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(hover:hover) and (pointer:fine){
.question-toolbar-button:hover:not(:disabled){background:#edf0f5;color:#1671e8}}
.question-toolbar-button:active:not(:disabled){transform:scale(.94);background:#e3e8f1}
.question-toolbar-button:focus-visible{outline:3px solid #007aff;outline-offset:3px}
.question-toolbar-button:disabled{color:#c4c8ce;cursor:default}
.question-position{min-width:82px;display:flex;flex-direction:column;align-items:center;gap:3px;line-height:1.2;font-variant-numeric:tabular-nums}
.question-position>span{color:#858991;font-size:10px;font-weight:500;letter-spacing:.3px}
.question-position strong{display:flex;align-items:baseline;justify-content:center;gap:8px;color:#34383e;font-size:15px;font-weight:600}
.question-position strong>span:last-child{font-weight:400;color:#858991}
.question-position-divider{font-weight:400;color:#c5c8ce}
.question-close{justify-self:end;background:#f1f2f5;color:#777e88;width:36px;height:36px;margin:4px}
#question-dialog .study-card{max-width:none;padding:28px 36px 36px;background:transparent}
@media(max-width:600px){
 #question-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:22px}
 .question-header{padding:10px 12px;gap:4px;min-height:68px}
 .question-header-title{font-size:12px}
 .question-pager{gap:0}
 .question-position{min-width:66px}
 .question-position strong{font-size:14px;gap:6px}
 #question-dialog .study-card{padding:22px 18px 28px}
}
@media(prefers-reduced-motion:reduce){.question-toolbar-button{transition:none}}

/* 原资料与独立复核分栏呈现，窄屏自然纵排。 */
.dispute-comparison{margin-top:20px}.dispute-notice{padding:12px 16px;background:#fff6e8;border-radius:12px;color:#775322}.reference-position,.review-position{margin-top:14px;padding:18px;border:1px solid #e3e5e8;border-radius:16px;background:#fff}.dispute-comparison h4{margin:0 0 12px;font-size:15px}.dispute-comparison .preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.dispute-comparison blockquote{margin:12px 0;padding:0 12px;border-left:2px solid #d4d8df}.dispute-comparison footer,.dispute-comparison .source-line{overflow-wrap:anywhere;font-size:12px;color:#6b7280}.dispute-comparison summary{cursor:pointer;font-size:13px;color:#42618d}

/* 历史作答与当前复核各有独立边界，避免把新解析误读为当时评分依据。 */
.result section[aria-label="作答时参考记录"]{margin:18px 0;padding:18px;background:#ffffffc9;border:1px solid #e0e6ef;border-radius:14px}
.result h4{margin:18px 0 10px;font-size:14px;line-height:1.6;font-weight:600;color:#3b4658}
.result section[aria-label="作答时参考记录"]>h4:first-child{margin-top:0}
.result p{color:#5b687d;font-size:13px;overflow-wrap:anywhere}
.result .source-line{font-size:12px;color:#68758a;overflow-wrap:anywhere}
.current-reference{margin:18px 0;border:1px solid #dce3ed;border-radius:14px;background:#ffffffb3;overflow:hidden}
.current-reference>summary{padding:15px 17px;min-height:48px;cursor:pointer;color:#42618d;font-size:13px;line-height:1.6;font-weight:600}
.current-reference>summary:focus-visible{outline:3px solid #80b3ff;outline-offset:-4px;border-radius:12px}
.current-reference[open]{padding:0 17px 17px}
.current-reference[open]>summary{margin:0 -17px 16px;border-bottom:1px solid #e4e9f1}
.current-reference .dispute-comparison{margin-top:0}
@media(max-width:480px){.result section[aria-label="作答时参考记录"]{padding:14px}.current-reference[open]{padding:0 13px 13px}.current-reference[open]>summary{margin:0 -13px 14px}.current-reference>summary{padding:13px}}

/* Keep library search and filter controls visually aligned across browsers. */
.toolbar input,.toolbar select{height:48px;border-radius:10px;padding:0 15px;background-color:#fff}
.toolbar select{-webkit-appearance:none;appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23717d91' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}

/* Dashboard activity and practice layouts. */
.week{min-height:168px;align-items:center;padding:28px}
.week-day{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:0}
.week-date{display:block;min-height:15px;white-space:nowrap}
.week-dot{margin-top:13px;flex:0 0 38px;width:38px;height:38px;font-size:14px}
.week-count{display:block;min-height:16px;margin-top:12px;color:#8b98ac;font-size:10px;white-space:nowrap}
.week-dot.done+.week-count{color:#5b82c9;font-weight:600}
.practice-history-list{display:grid;gap:10px}
.session-history{margin:28px 0 0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
.question-load-notice{margin:24px 0 28px}
.dashboard-lower>div{min-width:0}
.subjects{grid-template-columns:repeat(2,minmax(0,1fr))}
.session-history>.section-heading{margin:0 0 16px;gap:12px}
.practice-history-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:18px 20px;border:1px solid #edf0f5;border-radius:12px;background:#fff}
.practice-history-main{min-width:0}
.practice-history-title{display:flex;align-items:center;gap:9px;min-width:0}
.practice-history-title h3{margin:0;font-size:12px;font-weight:600;color:#354158}
.practice-history-main p{margin:6px 0 0;color:#9aa5b6;font-size:10px}
.practice-history-status{padding:4px 7px;border-radius:999px;font-size:9px;white-space:nowrap}
.practice-history-status.is-complete{background:#edf7f2;color:#629a7d}
.practice-history-status.is-progress{background:#edf3ff;color:#6289ce}
.practice-history-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px;color:#9aa5b6;font-size:9px;white-space:nowrap}
.practice-history-meta strong{font-size:15px;font-weight:600;color:#60728f}
.practice-history-action{padding:8px 12px;font-size:10px;white-space:nowrap}
.library-practice-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 18px;padding:17px 20px;border:1px solid #dce5ef;border-radius:12px;background:#fff}
.library-practice-button{min-width:260px;min-height:48px;justify-content:space-between;gap:24px;padding:11px 17px;font-size:13px;font-weight:600;background:#315c82;color:#fff}
.library-practice-button span{font-size:11px;font-weight:500;color:#dce8f1;white-space:nowrap}@media(hover:hover) and (pointer:fine){
.library-practice-button:hover:not(:disabled){background:#284d6f}}
.library-practice-actions{display:flex;align-items:center;gap:9px}
.library-new-round{min-height:44px;white-space:nowrap;color:#536d82}
.practice-history-item{grid-template-columns:minmax(0,1fr) auto auto 34px}
.practice-history-item.is-protected{grid-template-columns:minmax(0,1fr) auto auto}
.history-delete{width:34px;height:34px;border:1px solid #e5eaf0;border-radius:8px;color:#7c8795;background:#fff;font-size:20px;line-height:1}@media(hover:hover) and (pointer:fine){
.history-delete:hover{color:#a64d4d;border-color:#dfbcbc;background:#fff8f7}}
.study-session-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.study-session-main{min-width:0}
.study-session-sidebar{position:sticky;top:24px;min-width:0}
.session-index-panel{padding:18px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 28px #2e47730b}
.session-index-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;color:#313844;font-size:13px}
.session-index-heading .session-index-count{font-size:10px}
.session-index-panel .session-index-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-height:55vh;overflow:auto;gap:8px;padding:3px}
.session-index-panel .session-index-item{width:auto;height:38px}
.session-index-panel .session-index-legend{padding:14px 0 0;margin-top:15px;gap:8px 12px;border-top:1px solid #f0f1f3}
.session-index-toggle{display:none}
.study-navigation{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.study-navigation-button:first-child{justify-self:start}
.study-navigation-button:last-child{justify-self:end}
.study-actions{justify-content:flex-end}
.study-actions:empty{display:none}
.study-navigation-button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 2px;color:#6e82a2;font-size:11px}@media(hover:hover) and (pointer:fine){
.study-navigation-button:hover:not(:disabled){color:#3478f6}}
.study-navigation-button:disabled{color:#c5ccd7}
.study-navigation-hint{color:#a1aaba;font-size:10px}
@media(min-width:1151px){
  .dashboard-lower>.right-column{display:flex;align-self:start;flex-direction:column}
  .dashboard-lower>.right-column>div:last-child{display:block}
  .dashboard-lower .weak-list{align-content:start}
}
@media(max-width:900px){.study-session-layout{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.session-index-panel .session-index-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1000px){
  .study-session-layout{display:flex;flex-direction:column;gap:14px}
  .study-session-main{width:100%;padding-bottom:0}
  .study-session-sidebar{position:static;order:-1;width:100%}
  .session-index-toggle{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:12px 16px;border:1px solid #e0e6ef;border-radius:12px;background:#fff;color:#62738e;font-size:12px;box-shadow:none}
  .session-index-toggle span{color:#9aa6b8;font-variant-numeric:tabular-nums}
  .session-index-panel{position:static;display:none;width:100%;margin-top:10px;max-height:65vh;overflow:auto;padding:18px 16px;box-shadow:none}
  .study-session-sidebar.is-open .session-index-panel{display:block}
  .study-session-sidebar.is-open .session-index-toggle{border-color:#bfd2f5;background:#f7faff;color:#4774bd}
  .session-index-panel .session-index-grid{grid-template-columns:repeat(6,minmax(0,1fr));max-height:45vh}
}
@media(max-width:760px){
  .week{min-height:154px;padding:24px 12px}
  .week-dot{width:34px;height:34px;flex-basis:34px;margin-top:11px}
  .week-count{font-size:9px;margin-top:10px}
  .practice-history-item{grid-template-columns:minmax(0,1fr) auto;gap:11px;padding:14px}
  .library-practice-bar{align-items:stretch;flex-direction:column;gap:11px;margin:18px 0 15px;padding:14px}
  .library-practice-button{width:100%;min-width:0;min-height:50px}
  .library-practice-actions{flex-direction:column;align-items:stretch}
  .library-new-round{width:100%}
  .session-history>.section-heading{align-items:flex-start;flex-direction:column;gap:4px}
  .question-load-notice{margin:18px 0 24px}
  .practice-history-meta{grid-column:2;grid-row:1;align-self:start}
  .practice-history-action{grid-column:1 / -1;width:100%;justify-content:center}
  .practice-history-item .history-delete{grid-column:2;grid-row:2;justify-self:end}
  .study-navigation{margin-top:13px}
}
@media(max-width:390px){.session-index-panel .session-index-grid{grid-template-columns:repeat(5,1fr)}.practice-history-title h3{font-size:11px}}
@media(max-width:360px){.subjects{grid-template-columns:minmax(0,1fr)}.week{gap:3px;padding-right:10px;padding-left:10px}.week-dot{width:30px;height:30px;flex-basis:30px}}
.nav-item>.nav-icon{display:block;width:22px;height:22px;flex:0 0 22px}
@media(max-width:760px){.nav-item>.nav-icon{width:16px;height:16px;flex-basis:16px}}

/* Let the native iOS date control shrink inside the settings panel. */
.settings-grid{align-items:start}
.settings-grid>.panel,.settings-grid .field{min-width:0}
.settings-grid input[type="date"]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;-webkit-appearance:none;appearance:none;text-align:left}
.settings-grid input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:left}
.settings-grid input[type="date"]::-webkit-datetime-edit{min-width:0;padding:0;text-align:left}
.settings-review-control{display:inline-flex;align-items:center;gap:0;max-width:100%;min-height:44px;background:#edf3ff;border:1px solid #e0e8f7;border-radius:12px;color:#3974cf;overflow:hidden}
.settings-review-control button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:20px;touch-action:manipulation}@media(hover:hover) and (pointer:fine){
.settings-review-control button:hover:not(:disabled){background:#dfeaff}}
.settings-review-control button:disabled{opacity:.35}
.settings-review-control input[type="number"]{width:64px;min-width:0;min-height:44px;padding:8px 4px;border:0;border-radius:0;background:transparent;color:#2d3850;text-align:center;font-size:16px;font-variant-numeric:tabular-nums;-moz-appearance:textfield}
.settings-review-control input::-webkit-inner-spin-button,.settings-review-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.settings-review-control>span{padding-right:9px;color:#73829a;font-size:12px}

.weather-quiet{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#778196;font-size:11px;font-variant-numeric:tabular-nums}
.weather-refresh{display:inline-flex;align-items:center;gap:4px;padding:2px 0;color:inherit;text-align:left;font-size:inherit;line-height:1.2}
.weather-copy{display:grid;gap:2px;min-width:0}
.weather-updated{color:#67758a;font-size:9px;white-space:nowrap}
.weather-quiet .weather-symbol{color:#bc873f;font-size:14px;line-height:1}
.weather-quiet a{font-size:9px;color:#9aa2af}@media(hover:hover) and (pointer:fine){
.weather-quiet a:hover{color:var(--blue)}}
@media(max-width:760px){.topbar{gap:10px}.topbar>.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-right{flex:0 0 auto;gap:8px}#header-date{white-space:nowrap;flex-shrink:0}.weather-quiet{gap:4px;font-size:10px}.weather-quiet .weather-symbol,.weather-quiet a{flex-shrink:0}.weather-quiet a{font-size:8px}}

/* Daily writing stays separate from objective-question completion. */
.daily-writing-card{margin:20px 0}.daily-writing-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.daily-writing-heading h2{margin:4px 0}.daily-writing-card progress{display:block;width:100%;height:8px;margin:16px 0;accent-color:var(--accent,#7563ac)}.daily-writing-card .practice-list{margin-top:16px}.practice-daily-summary,.practice-writing-assessment{margin:18px 0;padding:18px;background:var(--surface,#f6f5fa);border-radius:14px}.practice-daily-navigation{margin:16px 0}.practice-writing-assessment h3{margin-top:0}@media(max-width:600px){.daily-writing-heading{align-items:flex-start;flex-direction:column}.daily-writing-heading button{width:100%}}

/* Quiet paper, clear hierarchy, and a shared ink-blue accent across clients. */
:root{color:#243447;background:#f5f6f8;--blue:#315c82;--muted:#6f7b8b;--line:#e4e8ee;--surface:#fff;--tint:#eaf0f5;--ease-out:cubic-bezier(.23,1,.32,1);--motion-fast:140ms;--motion-standard:220ms}
body{background:#f5f6f8;text-rendering:optimizeLegibility}
button,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8cb0ce;outline-offset:3px}
.sidebar{background:rgba(251,252,254,.92);border-color:var(--line)}
.brand{color:#233b50}.workspace-label,.mini-label{color:#7d8999}
.nav-item{position:relative;min-height:46px;font-size:13px;color:#657286;transition:background-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast) var(--ease-out)}
.nav-item.active,.nav-item.active:hover{background:#e7eef4;color:#315c82}.nav-item b{background:#315c82;font-variant-numeric:tabular-nums}
.topbar{border-color:var(--line);color:#728093}.breadcrumb span:last-child{color:#42556e}
.page-title{color:#23384d;font-size:29px;line-height:1.45;letter-spacing:normal;text-wrap:balance}
.subtitle{font-size:13px;line-height:1.85;color:#718096;max-width:65ch}
.title-row{margin-bottom:28px}.eyebrow{color:#7e8c9e}.pill{background:#e8eff5;color:#476d8e;font-size:11px;font-variant-numeric:tabular-nums}
.primary,.secondary{min-height:44px;border-radius:12px;padding:11px 18px;font-size:13px;font-weight:550;line-height:1.55;gap:10px;transition:background-color var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast) var(--ease-out)}
.primary{background:#315c82;box-shadow:0 2px 4px #20384c12,inset 0 1px 0 #ffffff12}@media(hover:hover) and (pointer:fine){.primary:hover{background:#294f71}}
.secondary{background:#fff;border-color:#dfe5ec;color:#556b84;box-shadow:0 1px 2px #20384c04}
.primary:disabled,.secondary:disabled{opacity:.45;box-shadow:none}
.hero{border-color:#dce6ee;background:linear-gradient(112deg,#e9f0f5,#f2f5f8);border-radius:24px;padding:32px 34px}
.hero:after{border-color:#dce5ee}.hero h2{color:#263f56;font-size:25px;line-height:1.55}.hero p{font-size:13px;line-height:1.8;color:#6d8198}.hero .eyebrow{color:#587b9b;font-size:10px}
.ring{background:conic-gradient(#527c9e var(--progress),#dce5ed 0);padding:8px}.ring-center{background:#eef3f7}.ring strong{color:#31516c;font-variant-numeric:tabular-nums}.ring span{color:#6d8196;font-size:11px}
.stat-card,.subject-card,.panel,.question-row,.study-card{border-color:var(--line);box-shadow:0 2px 7px #20384c03}
.stat-card,.subject-card,.panel{border-radius:18px}.stat-label{font-size:12px;color:#738096}.stat-value{color:#2b4056;font-variant-numeric:tabular-nums}.stat-value small{font-size:12px;color:#748398}.stat-foot{font-size:11px;color:#7a8799;line-height:1.6}
.section-heading{gap:12px}.section-heading h2{color:#2d435b;font-size:16px}.section-heading button,.quick-link{color:#527491;font-size:12px;line-height:1.7;min-height:32px}.section-heading button{padding:5px 0}
.subject-card{transition:transform var(--motion-fast) var(--ease-out),border-color var(--motion-fast),background-color var(--motion-fast)}
.subject-head h3{font-size:14px;color:#31465e}.subject-head span{font-size:11px;color:#7e8a9a}.subject-metrics,.subject-meta{font-size:11px;color:#78879b}.subject-metrics b{color:#4f657d}.track{background:#eaf0f5}.track i{background:#6e93b3}
.plan-item h3{font-size:13px;color:#405771}.plan-item p{font-size:11px;color:#7e8da0}.plan-number{color:#426584;font-variant-numeric:tabular-nums}.insight{background:#eaf0f5;color:#667e96;font-size:12px;line-height:1.85}.weak-row{font-size:12px;color:#6d8097}
.help{font-size:12px;line-height:1.9;color:#718096}.muted{color:#8290a2}.tag{font-size:10px;background:#edf1f5;color:#708198;border-radius:6px;line-height:1.5}.tag.blue{background:#e8f0f6;color:#54799a}
.toolbar{gap:10px}.toolbar input,.toolbar select,.field input,.field select,textarea{border-color:#dfe5ec;color:#42586f;font-size:13px;transition:border-color var(--motion-fast),background-color var(--motion-fast)}
.toolbar input::placeholder,textarea::placeholder{color:#8a97a7}
.toolbar input:focus,.toolbar select:focus,.field input:focus,textarea:focus{border-color:#8ba9c2}
.question-row{padding:20px 22px;border-radius:16px;transition:border-color var(--motion-fast),background-color var(--motion-fast),transform var(--motion-fast) var(--ease-out)}
.question-row p{font-size:15px;line-height:1.9;color:#3a5068}.question-row>.help{font-size:12px}.list-count{font-size:12px;color:#78899e}
.study-card{border-radius:22px;padding:30px}.study-top{margin-bottom:20px}.study-top>.tags{min-width:0;flex:1}.study-top>.quick-link{flex-shrink:0;white-space:nowrap}.study-stem{font-size:20px;line-height:1.9;color:#273c52;margin:22px 0}
.option{align-items:flex-start;padding:16px 18px;border-color:#e1e7ed;border-radius:14px;font-size:15px;line-height:1.85;color:#41556d;transition:border-color var(--motion-fast),background-color var(--motion-fast)}
.option-key{margin-top:2px;width:28px;height:28px;border-radius:9px;border-color:#dce4ec;font-size:12px;line-height:1;color:#7b8da2;background:#fafbfd;font-variant-numeric:tabular-nums}
.option.selected{background:#edf3f7;border-color:#8eacc3}.option.selected .option-key{background:#315c82;border-color:#315c82;color:#fff}
.option.correct{background:#eff7f2;border-color:#a5c9b5}.option.correct .option-key{background:#397b61;border-color:#397b61;color:#fff}.option.wrong{background:#fff3f1;border-color:#ddb4ad}.option.wrong .option-key{background:#b6685b;border-color:#b6685b;color:#fff}
.uncertain-toggle{border:1px solid #eee6d5;background:#fcf9f2;color:#8b7855;line-height:1.7}.uncertain-toggle span{color:#94866f;font-size:11px}.uncertain-toggle input{accent-color:#315c82;width:17px;height:17px;flex-shrink:0}
.study-navigation-button{min-height:44px;font-size:12px;color:#527491}.study-navigation-hint,.keyboard-hint{font-size:11px;color:#8290a2;font-variant-numeric:tabular-nums}.study-navigation-button:disabled{opacity:.45;color:#74849a}
.progress-line{font-size:12px;color:#6d8097;font-variant-numeric:tabular-nums}.session-index-panel{border-radius:18px;box-shadow:0 4px 20px #20384c06}.session-index-item.is-current{border-color:#315c82;background:#315c82;box-shadow:0 2px 5px #315c8220}
.session-index-item{border-radius:11px}.session-index-legend{font-size:11px}.session-index-legend .legend-current::before{background:#315c82}
.note-box label,.field label{font-size:13px;color:#61758d}.note-box textarea{background:#fbfcfd;border-radius:13px;padding:14px 16px;line-height:1.9;min-height:100px}
.settings-grid h2{font-size:16px;color:#31485f}.settings-review-control{background:#eaf0f5;border-color:#dfe7ee;color:#466f92}@media(hover:hover) and (pointer:fine){.settings-review-control button:hover:not(:disabled){background:#dce8f1}}
.practice-history-title h3{font-size:13px}.practice-history-main p{font-size:11px;color:#78899e}.practice-history-meta{font-size:10px;color:#7d8b9f}.practice-history-status{font-size:10px}.practice-history-action{min-height:36px;padding:7px 13px;font-size:12px}.practice-history-status.is-progress{background:#eaf0f5;color:#527795}
.daily-writing-card progress{accent-color:#527c9e}.daily-writing-heading h2{color:#344d65;font-size:17px}.daily-writing-card .practice-list{gap:10px}
#question-dialog{background:#fff;border-color:var(--line);box-shadow:0 28px 90px #132b4930}
.question-header{background:rgba(255,255,255,.96)}@media(hover:hover) and (pointer:fine){.question-toolbar-button:hover:not(:disabled){color:#315c82}}.question-close{background:#eef1f5}
#toast{background:#243e55f5;border:1px solid #ffffff17;border-radius:15px;font-size:13px;line-height:1.7;transition:opacity var(--motion-standard),transform var(--motion-standard) var(--ease-out)}
footer{font-size:10px;line-height:1.8;gap:16px;color:#8795a7}.cloud-card{color:#718299;background:#eef2f6;border-color:#e5eaf0}.cloud-card button{font-size:12px;min-height:32px;padding-top:4px}.version{color:#8d9aab}.weather-quiet{color:#708198}
.empty{border:1px dashed #dce4ec;border-radius:20px;background:#fafbfd;padding:56px 22px;color:#7a8b9f}.empty h2{color:#526d86}.empty p{font-size:13px}
@media(hover:hover) and (pointer:fine){
 .secondary:hover:not(:disabled){border-color:#bdcddc;background:#f7f9fb}
 .nav-item:hover{background:#edf1f5}
 .subject-card:hover,.question-row:hover{transform:translateY(-1px);border-color:#b7cadb;background:#fdfefe}
 .option:hover:not(:disabled){border-color:#afc3d3;background:#f5f8fa}
}
@media(hover:none){.subject-card:hover,.question-row:hover{transform:none}}
@media(prefers-reduced-motion:no-preference){
 .primary:active:not(:disabled),.secondary:active:not(:disabled),.nav-item:active,.subject-card:active,.question-row:active{transform:scale(.985)}
}
@media(max-width:1000px){.study-session-sidebar.is-open .session-index-panel{transform-origin:top center}.session-index-toggle{color:#4b6d8b;min-height:48px;border-color:#dbe4ed;box-shadow:none}.session-index-toggle span{color:#7d90a5}}
@media(max-width:760px){
 .sidebar{padding:18px 18px 10px}.brand{margin-bottom:16px}.nav-item{font-size:12px;min-height:44px;padding:10px 12px}.topbar{height:68px}.page-title{font-size:25px;line-height:1.5}.subtitle{font-size:12px;line-height:1.9}.title-row{gap:14px;margin-bottom:22px}.pill{font-size:10px;white-space:normal;flex-shrink:0;max-width:125px;text-align:center}.hero{padding:24px 22px;border-radius:20px}.hero h2{font-size:21px}.hero p{font-size:12px}.hero>.ring{width:112px;height:112px;padding:7px;flex:0 0 112px}.ring span{font-size:9px}.ring strong{font-size:28px}.stat-card{border-radius:16px;padding:18px 14px}.stat-label{font-size:11px}.stat-value{font-size:26px}.stat-foot{font-size:10px}.study-card{padding:22px 18px;border-radius:18px}.study-stem{font-size:18px}.option{font-size:14px;padding:14px}.study-top{gap:12px}.question-row{padding:18px}.question-row p{font-size:14px}.help{font-size:12px}.progress-line{gap:10px;font-size:11px}.study-navigation-hint{font-size:10px}footer{flex-wrap:wrap}
}
@media(max-width:420px){
 .hero{display:grid;grid-template-columns:minmax(0,1fr) 94px;column-gap:12px;row-gap:0;padding:23px 18px}
 /* Give the focus copy its full width; place progress beside its action. */
 .hero>div:first-child{display:contents}
 .hero>div:first-child>*{grid-column:1 / -1;position:relative;z-index:2}
 .hero>div:first-child>:last-child{grid-column:1;justify-self:start;align-self:center;max-width:100%}
 .hero>.ring{grid-column:2;grid-row:4;width:94px;height:94px;margin:0;flex-basis:94px;padding:6px}
 .hero h2{font-size:19px;text-wrap:balance}
 .hero p{font-size:11px;text-wrap:balance;line-break:strict}
 .hero .eyebrow{margin-bottom:12px}
 .hero .primary{font-size:12px;padding:10px 13px}
 .ring strong{font-size:25px}.ring span{font-size:8px}.title-row .pill{max-width:105px}.page-title{font-size:23px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.primary:active,.secondary:active,.nav-item:active,.subject-card:active,.question-row:active,.question-toolbar-button:active{transform:none!important}}

html[data-input-method="keyboard"] button:active{transform:none!important}
@media(max-width:760px){.toolbar input{font-size:16px}.note-box textarea{font-size:16px}}

/* Content determines option height; the key stays centered beside its text. */
.option{align-items:center}.option-key{margin-top:0}.option>span:last-child{min-width:0;flex:1;word-break:normal;line-break:strict;overflow-wrap:break-word}
.study-context{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.8em;row-gap:.15em}.study-context>span{min-width:0;max-width:100%;overflow-wrap:break-word}
.page-title .headline-unit{display:inline-block;max-width:100%;overflow-wrap:break-word;text-wrap:wrap}
@media(max-width:700px){.title-row{display:grid;grid-template-columns:minmax(0,1fr) fit-content(50%);align-items:center;gap:10px 14px}.title-row>div{display:contents}.title-row .eyebrow{grid-column:1;grid-row:1;margin:0;min-width:0;overflow-wrap:break-word}.title-row .page-title,.title-row .subtitle{grid-column:1/-1;min-width:0}.title-row .page-title{grid-row:2;margin:0}.title-row .subtitle{grid-row:3}.title-row>:not(div){grid-column:2;grid-row:1;justify-self:end;min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word}}
.app-shell{min-height:100dvh}
@media(max-width:760px){body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#toast{bottom:calc(20px + env(safe-area-inset-bottom))}}
@media(max-width:700px){.practice-history-item .history-delete{grid-row:1;align-self:end}.practice-history-meta{padding-bottom:30px}.practice-history-action{grid-row:2}}
@media(pointer:coarse){body input:not([type="checkbox"]):not([type="radio"]),body textarea,body select{font-size:16px}}
@media(max-width:760px){body input:not([type="checkbox"]):not([type="radio"]),body textarea,body select{font-size:16px}}

/* Fill each line in reading order; Chinese punctuation keeps its legal position.
   Emergency wrapping is only for an otherwise unbreakable URL or Latin token. */
:root{word-break:normal;line-break:strict;overflow-wrap:break-word;text-wrap:wrap}
.study-stem,.question-row p{min-width:0;text-align:start;text-wrap:wrap;letter-spacing:normal}
.result :where(p:not(.help):not(.source-line)),.dispute-comparison .preserve-lines{
 text-align:start;text-align-last:start;text-justify:auto;text-wrap:wrap;letter-spacing:normal
}

/* Keep learning controls and account tools in independent content-sized columns. */
.settings-grid{
  grid-template-columns:minmax(0,1.5fr) minmax(290px,.85fr);
  align-items:start;
  gap:18px;
}
.settings-support{display:grid;gap:18px;min-width:0}
.settings-grid .panel{padding:26px}
.settings-grid h2{margin-bottom:18px}
.settings-grid .help{font-size:12px;line-height:1.8;color:#77879a}
.settings-grid .field{margin:17px 0}
@media(max-width:1050px){
  .settings-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .settings-support{gap:14px}
}

.weak-list{gap:4px}
.weak-row{width:100%;padding:8px 10px;border-radius:10px;background:transparent;align-items:center;text-align:left;cursor:pointer;transition:background-color var(--motion-fast),color var(--motion-fast)}
.weak-topic-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.weak-topic-meta{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.weak-topic-meta b{color:#536d88;font-size:12px;font-variant-numeric:tabular-nums}
.weak-topic-arrow{color:#7893ac;font-size:14px;line-height:1}
@media(hover:hover) and (pointer:fine){.weak-row:hover{background:#edf3f7;color:#315c82}.weak-row:hover .weak-topic-arrow{color:#315c82}}
.weak-row:active{background:#e6eef4}

/* Dashboard hierarchy follows the next study action, then subject coverage. */
#page.dashboard-page{max-width:1280px;padding-top:22px;padding-bottom:36px;color:#203b4d}
.dashboard-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0 16px}
.dashboard-title .page-title{margin:0;color:#1f394d;font-size:30px;letter-spacing:-.5px}
.dashboard-deadline{display:flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid #e1e7df;border-radius:999px;background:#fff;color:#526a6c;font-size:12px;font-variant-numeric:tabular-nums}
.dashboard-deadline time{color:#385966;font-weight:650}
.dashboard-deadline strong{padding-left:9px;border-left:1px solid #e2e7df;color:#6a837a;font-size:11px;font-weight:600}
.dashboard-actions{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(280px,.92fr);gap:14px;align-items:stretch}
.dashboard-focus{display:grid;min-height:188px;grid-template-columns:minmax(0,1fr) 178px;gap:18px;align-items:stretch;padding:21px 22px;border:1px solid #234d60;border-radius:19px;background:linear-gradient(118deg,#183d51 0%,#28576b 60%,#396a76 100%);color:#f5f4ed;box-shadow:0 10px 28px #183d5117}
.dashboard-focus-main{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.dashboard-focus h2{margin:0;color:#fff;font-size:21px;line-height:1.4;letter-spacing:-.2px}
.dashboard-plan-state{margin:4px 0 0;color:#e0ece8;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.dashboard-next-question{max-width:68ch;min-width:0;margin-top:9px}
.dashboard-next-question>span{color:#f4e7c6;font-size:11px;font-weight:600}
.dashboard-next-question p{display:-webkit-box;margin:4px 0 9px;overflow:hidden;color:#edf1ee;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.dashboard-focus .dashboard-next-empty{margin:10px 0;color:#d1ddd9;font-size:12px;line-height:1.5}
.dashboard-focus-progress{display:flex;width:100%;align-items:center;gap:12px;margin-top:auto}
.dashboard-focus-progress progress{width:min(180px,40%);height:5px;overflow:hidden;border:0;border-radius:8px;background:#ffffff2b;accent-color:#dfc48e}
.dashboard-focus-progress progress::-webkit-progress-bar{border-radius:8px;background:#ffffff2b}
.dashboard-focus-progress progress::-webkit-progress-value{border-radius:8px;background:#dfc48e}
.dashboard-focus-progress progress::-moz-progress-bar{border-radius:8px;background:#dfc48e}
.dashboard-focus .primary{min-height:44px;padding:9px 14px;border:1px solid #f1e7d0;border-radius:11px;background:#f4ebd7;color:#244655;box-shadow:0 3px 10px #0c29351c;font-size:12px}
@media(hover:hover) and (pointer:fine){.dashboard-focus .primary:hover:not(:disabled){transform:translateY(-1px);background:#fff8e8}}
.dashboard-focus .primary:disabled{background:#ffffff20;border-color:#ffffff20;color:#d1ddd9}
.dashboard-plan-counts{display:grid;grid-template-rows:repeat(3,1fr);align-self:stretch;margin:0;border-left:1px solid #ffffff35;padding:3px 0 3px 18px}
.dashboard-plan-counts>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff24}
.dashboard-plan-counts>div:last-child{border-bottom:0}
.dashboard-plan-counts dt{color:#e5efec;font-size:11px}
.dashboard-plan-counts dd{margin:0;color:#fff;font-size:21px;font-weight:650;font-variant-numeric:tabular-nums}
.dashboard-plan-counts dd small{color:#e5efec;font-size:10px;font-weight:500}
.dashboard-writing{display:flex;min-width:0;min-height:188px;flex-direction:column;padding:16px 17px;border:1px solid #d9e2dc;border-radius:17px;background:linear-gradient(145deg,#f7f6f0,#edf3ee);box-shadow:0 2px 8px #20384c04}
.dashboard-writing .section-heading{margin:0 0 8px}
.dashboard-writing .section-heading h2{font-size:15px}
.dashboard-writing .section-heading strong{color:#53746d;font-size:11px;font-variant-numeric:tabular-nums}
.dashboard-writing-preview{min-width:0;margin:0 0 10px}
.dashboard-writing-preview>span{display:block;color:#506b61;font-size:10px;font-weight:550}
.dashboard-writing-title,.dashboard-writing-preview p{display:-webkit-box;margin:5px 0 0;overflow:hidden;color:#304d59;font-size:13px;font-weight:600;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.dashboard-writing-status{margin:4px 0 8px;color:#586e64;font-size:11px;line-height:1.45}
.dashboard-writing-footer{display:grid;grid-template-columns:minmax(45px,.55fr) minmax(0,1fr);align-items:center;gap:10px;margin-top:auto}
.dashboard-writing progress{display:block;width:100%;height:5px;margin:0;accent-color:#658b83}
.dashboard-writing .secondary{width:100%;min-height:42px;padding:8px 11px;border-color:#d6e0d9;border-radius:10px;background:#fff;color:#3a6370;font-size:11px}
.dashboard-writing .secondary:disabled{color:#8b9691}
.dashboard-writing>.secondary{width:100%;min-height:42px;margin-top:auto;padding:8px 11px;border-color:#d6e0d9;border-radius:10px;background:#fff;color:#3a6370;font-size:11px}
.dashboard-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:12px 0 19px;overflow:hidden;border:1px solid #e1e5df;border-radius:14px;background:#fff;box-shadow:0 2px 8px #20384c04}
.dashboard-metric{display:flex;min-width:0;min-height:68px;flex-direction:column;justify-content:center;gap:3px;padding:9px 15px;border-right:1px solid #edf0eb}
.dashboard-metric:last-child{border-right:0}
.dashboard-metric>span{overflow:hidden;color:#566b70;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-metric strong{color:#294458;font-size:21px;font-weight:650;line-height:1.25;font-variant-numeric:tabular-nums}
.dashboard-metric strong small{color:#526a70;font-size:11px;font-weight:500}
.dashboard-metric em{color:#526965;font-size:10px;font-style:normal;font-variant-numeric:tabular-nums}
.dashboard-content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(275px,.88fr);gap:18px;align-items:start}
.dashboard-content-main,.dashboard-content-side{display:grid;min-width:0;gap:16px;align-content:start}
.dashboard-content-side{gap:12px}
.dashboard-section{min-width:0}
.dashboard-page .section-heading{min-height:30px;align-items:center;margin:0 0 9px}
.dashboard-page .section-heading h2{color:#294458;font-size:16px;letter-spacing:-.1px}
.dashboard-page .section-heading>strong{color:#65777a;font-size:11px;font-weight:550;font-variant-numeric:tabular-nums}
.dashboard-page .section-heading button{min-height:32px;color:#456b7d;font-size:11px}
.dashboard-page .dashboard-writing .section-heading>strong{color:#45665d}
.dashboard-subject-section .subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dashboard-subject-card{display:block;min-width:0;padding:13px 14px 12px;border-color:#dfe5df;border-radius:14px;background:#fff;box-shadow:0 2px 8px #20384c04;text-align:left}
.dashboard-subject-card .subject-head{display:grid;min-width:0;grid-template-columns:33px minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 0 12px}
.dashboard-subject-card .subject-icon{flex:0 0 33px;width:33px;height:33px;border-radius:10px;font-size:14px}
.dashboard-subject-card .subject-name{display:flex;min-width:0;flex-direction:column;gap:2px}
.dashboard-subject-card .subject-name strong{overflow:hidden;color:#2d4558;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.dashboard-subject-card .subject-name small{color:#5c6e70;font-size:10px}
.dashboard-subject-card .subject-card-count{color:#3e7181;font-size:17px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-subject-card .subject-card-count small{color:#5c6e70;font-size:10px;font-weight:500}
.subject-progresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.subject-progress{display:grid;min-width:0;gap:5px}
.subject-progress>span{display:flex;justify-content:space-between;gap:5px;color:#64787b;font-size:10px;line-height:1.3}
.subject-progress>span>span{color:#637579}
.subject-progress>span>b{color:#334f5b;font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.subject-progress>[role="progressbar"]{display:block;height:5px;overflow:hidden;border-radius:5px;background:#edf0e9}
.subject-progress>[role="progressbar"]>i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#557f8c,#9caa82)}
.subject-progress-mastered>[role="progressbar"]>i{background:#83a58e}
.dashboard-week{padding:14px 15px 12px;border:1px solid #e0e5df;border-radius:14px;background:#fff;box-shadow:0 2px 8px #20384c04}
.dashboard-week .section-heading{margin-bottom:6px}
.activity-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none}
.activity-day{display:grid;min-width:0;grid-template-rows:17px 49px auto;justify-items:center;align-items:end;padding:5px 1px 3px;border-radius:9px;color:#68797d}
.activity-day strong{align-self:center;color:#566f75;font-size:11px;font-weight:650;font-variant-numeric:tabular-nums}
.activity-bar{display:flex;width:100%;height:100%;align-items:end;justify-content:center}
.activity-bar i{width:min(20px,62%);min-height:2px;border-radius:6px 6px 2px 2px;background:#bac9bd;transition:height .2s ease,background-color .18s ease}
.activity-day.is-today .activity-bar i{background:#3f7180}
.activity-day time{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:5px;color:#566f75;font-size:9px;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap}
.activity-day time small{color:#536c65;font-size:9px}
.activity-day.is-today{background:#f0f2ec}
.activity-day.is-today time,.activity-day.is-today time small{color:#426d78;font-weight:650}
.activity-week.is-empty .activity-bar i{background:#d6dfd9}
.dashboard-week .section-heading>button{padding:5px 8px;border:1px solid #e1e7df;border-radius:8px;color:#4e7078;font-size:11px;background:#fff}
.dashboard-week-total{margin:7px 0 3px;color:#536e71;font-variant-numeric:tabular-nums}
.learning-section{min-width:0;margin-top:16px}
.learning-section>h2{margin:0 0 13px;color:#294652;font-size:15px}
.knowledge-breadcrumb{margin:4px 0 12px}
.knowledge-scope-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:56px;color:#334f5a}
.knowledge-scope-row small{color:#5e7477;font-size:11px;white-space:nowrap}
.knowledge-point{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:10px;padding:17px 18px}
.knowledge-point h3{margin:0 0 5px;color:#2c4a57;font-size:14px}
.knowledge-point .help{margin:2px 0;color:#607779}
.knowledge-point .button-row{align-items:center;flex-wrap:nowrap}
.knowledge-textbook{min-height:42px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.weekly-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);gap:14px}
.weekly-range{margin:0 0 8px;color:#536e71;font-variant-numeric:tabular-nums}
.weekly-side{display:grid;align-content:start;gap:0}
.weekly-activity{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.weekly-activity th,.weekly-activity td{padding:9px 8px;border-bottom:1px solid #edf0eb;text-align:right;color:#445f67}
.weekly-activity th:first-child{text-align:left}
.weekly-activity thead th{color:#607678;font-size:10px;font-weight:600}
.weekly-activity tfoot th,.weekly-activity tfoot td{border-bottom:0;color:#2f5962;font-weight:650}
.weekly-metrics{display:grid;gap:9px;margin:0}
.weekly-metrics>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.weekly-metrics dt{color:#61787b;font-size:11px}
.weekly-metrics dd{margin:0;color:#315866;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
.weekly-metrics dd small{font-size:10px;font-weight:500;color:#65797b}
.weekly-topics{padding:4px 8px}
.weekly-layout>.learning-section>.primary{min-height:44px}
.mistake-cause{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:18px 0 0;padding-top:15px;border-top:1px solid #e5ebe5}
.mistake-cause label{color:#526d72;font-size:12px;font-weight:600}
.mistake-cause select{min-height:42px;max-width:100%;padding:8px 32px 8px 11px;border:1px solid #dce5e2;border-radius:9px;background:#fff;color:#38545d;font:inherit;font-size:12px}
.mistake-cause .secondary{min-height:42px}
@media(max-width:760px){.weekly-layout{grid-template-columns:minmax(0,1fr)}.knowledge-point{align-items:flex-start;flex-direction:column}.knowledge-point .button-row{flex-wrap:wrap}.weekly-layout .weekly-side{grid-template-columns:1fr 1fr;gap:10px}.weekly-side .learning-section{margin-top:0}}
@media(max-width:430px){.weekly-layout .weekly-side{grid-template-columns:1fr}.weekly-activity th,.weekly-activity td{padding:8px 4px;font-size:11px}.knowledge-scope-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.knowledge-scope-row small{grid-column:1;grid-row:2}}
.dashboard-weak-list{display:grid;gap:1px;padding:3px 6px;border:1px solid #e0e5df;border-radius:14px;background:#fff;box-shadow:0 2px 8px #20384c04}
.dashboard-weak-list .weak-row{display:grid;min-height:53px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:7px 8px;border-bottom:1px solid #edf0eb;border-radius:7px}
.dashboard-weak-list .weak-row:last-child{border-bottom:0}
.dashboard-weak-list .weak-topic-title{display:flex;min-width:0;flex-direction:column;gap:3px;overflow:hidden}
.dashboard-weak-list .weak-topic-title strong{overflow:hidden;color:#344f5a;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.dashboard-weak-list .weak-topic-title small{overflow:hidden;color:#536e6b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-weak-list .weak-topic-meta{display:flex;min-width:0;flex-direction:column;align-items:flex-end;gap:2px}
.dashboard-weak-list .weak-topic-meta b{color:#8e5d39;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}
.dashboard-weak-list .weak-topic-meta small{color:#536b6e;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-weak-list .weak-topic-arrow{color:#527b82;font-size:14px;font-weight:650}
.dashboard-weak-empty{min-height:46px;padding:12px;border:1px dashed #d9e2db;border-radius:11px;background:#fff;color:#657a75;font-size:11px}
.dashboard-page .session-history{grid-column:1/-1;min-width:0;margin:0;padding:0;border:0;background:transparent}
.dashboard-page .session-history>.section-heading{margin:0 0 9px}
.dashboard-page .session-history .practice-history-list{display:grid;gap:6px}
.dashboard-page .practice-history-item{grid-template-columns:minmax(0,1fr) auto auto 44px;gap:9px;padding:9px 10px;border-color:#e0e5df;border-radius:11px;box-shadow:0 2px 8px #20384c04}
.dashboard-page .practice-history-item.is-protected{grid-template-columns:minmax(0,1fr) auto auto}
.dashboard-page .practice-history-title{flex-wrap:wrap;gap:5px}
.dashboard-page .practice-history-title h3{color:#314b5b;font-size:12px}
.dashboard-page .practice-history-main p{margin-top:3px;color:#526b70;font-size:10px;font-variant-numeric:tabular-nums}
.dashboard-page .practice-history-meta{align-items:center;color:#4c6b77;font-size:11px}
.dashboard-page .practice-history-meta strong{color:#496879;font-size:13px}
.dashboard-page .practice-history-action{min-height:40px;padding:6px 11px;font-size:11px}
.dashboard-page .history-delete{width:44px;height:44px;border-radius:8px}
.dashboard-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px dashed #d9e2db;border-radius:11px;background:#fff;color:#526c62;font-size:11px;line-height:1.45}
.dashboard-empty button{min-height:36px;color:#496f7c;font-size:11px;font-weight:600;white-space:nowrap}
@media(hover:hover) and (pointer:fine){
 .dashboard-subject-card:hover{transform:translateY(-1px);border-color:#b4c8ba;background:#fff}
 .activity-day:hover{background:#f1f4ef}
 .activity-day:hover .activity-bar i{background:#718f89}
 .dashboard-weak-list .weak-row:hover{background:#f2f5f0;color:#315c6a}
 .dashboard-page .practice-history-item:hover{border-color:#c9d7ce}
}
@media(max-width:1050px){
 .dashboard-content-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,.9fr);gap:15px}
 .dashboard-metric{padding-right:11px;padding-left:11px}
 .dashboard-actions{grid-template-columns:minmax(0,1.5fr) minmax(270px,.95fr);gap:11px}
 .dashboard-focus{grid-template-columns:minmax(0,1fr) 150px;gap:14px;padding:18px}
 .dashboard-plan-counts{padding-left:14px}
}
@media(max-width:960px){
 .dashboard-content-grid{grid-template-columns:minmax(0,1fr)}
 .dashboard-content-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .dashboard-week,.dashboard-weak-section{min-width:0}
 .dashboard-actions{grid-template-columns:minmax(0,1.4fr) minmax(260px,.95fr)}
}
@media(max-width:760px){
 #page.dashboard-page{padding-top:18px;padding-bottom:26px}
 .dashboard-title{margin:19px 0 12px}
 .dashboard-title .page-title{font-size:25px}
 .dashboard-deadline{gap:6px;padding:6px 9px;font-size:10px}
 .dashboard-deadline strong{padding-left:6px;font-size:10px}
 .dashboard-actions{grid-template-columns:minmax(0,1fr);gap:9px}
 .dashboard-focus{min-height:0;grid-template-columns:minmax(0,1fr);gap:11px;padding:17px 16px 14px;border-radius:16px}
 .dashboard-focus h2{font-size:19px}
 .dashboard-plan-state{margin-top:3px;font-size:11px}
 .dashboard-next-question{margin-top:8px}
 .dashboard-next-question p{margin-bottom:5px;font-size:12px;line-height:1.5}
 .dashboard-focus-progress{gap:10px}
 .dashboard-focus-progress progress{width:auto;flex:1}
 .dashboard-plan-counts{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr;border-top:1px solid #ffffff35;border-left:0;padding:9px 0 0}
 .dashboard-plan-counts>div{justify-content:center;gap:6px;border-right:1px solid #ffffff24;border-bottom:0}
 .dashboard-plan-counts>div:last-child{border-right:0}
 .dashboard-plan-counts dt{font-size:10px}
 .dashboard-plan-counts dd{font-size:17px}
 .dashboard-plan-counts dd small{font-size:9px}
 .dashboard-writing{min-height:0;padding:13px 14px;border-radius:14px}
 .dashboard-writing .section-heading{margin-bottom:6px}
 .dashboard-writing .section-heading h2{font-size:14px}
 .dashboard-writing-preview{margin-bottom:8px}
 .dashboard-writing-preview p{font-size:12px}
 .dashboard-writing-status{font-size:10px}
 .dashboard-writing-footer{grid-template-columns:minmax(35px,.4fr) minmax(0,1fr)}
 .dashboard-writing .secondary,.dashboard-writing>.secondary{min-height:42px}
 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:9px;margin-bottom:15px}
 .dashboard-metric{min-height:60px;padding:7px 9px;border-right:1px solid #edf0eb;border-bottom:1px solid #edf0eb}
 .dashboard-metric:nth-child(2n){border-right:0}
 .dashboard-metric:last-child{grid-column:1/-1;align-items:center;border-right:0;border-bottom:0;text-align:center}
 .dashboard-metric strong{font-size:18px}
 .dashboard-metric>span{font-size:10px}
 .dashboard-content-grid,.dashboard-content-main,.dashboard-content-side{display:contents}
 .dashboard-content-grid{display:flex;flex-direction:column;gap:13px}
 .dashboard-weak-section,.dashboard-subject-section,.dashboard-week,.dashboard-page .session-history{width:100%;flex:none}
 .dashboard-weak-section{order:1}
 .dashboard-subject-section{order:2}
 .dashboard-week{order:3}
 .dashboard-page .session-history{order:4}
 .dashboard-content-side,.dashboard-content-main{gap:0}
 .dashboard-page .section-heading{margin-bottom:7px}
 .dashboard-subject-section .subjects{gap:7px}
 .dashboard-subject-card{padding:11px 10px 10px;border-radius:12px}
 .dashboard-subject-card .subject-head{grid-template-columns:29px minmax(0,1fr) auto;gap:6px;margin-bottom:9px}
 .dashboard-subject-card .subject-icon{flex-basis:29px;width:29px;height:29px;border-radius:8px;font-size:12px}
 .dashboard-subject-card .subject-name strong{font-size:10px}
 .dashboard-subject-card .subject-name small{font-size:9px}
 .dashboard-subject-card .subject-card-count{font-size:13px}
 .dashboard-subject-card .subject-card-count small{font-size:9px}
 .subject-progresses{grid-template-columns:minmax(0,1fr);gap:7px}
 .subject-progress>span{font-size:10px}
 .dashboard-week{padding:11px 9px 9px;border-radius:12px}
 .dashboard-week .section-heading{margin-bottom:4px}
 .dashboard-week .section-heading>strong{font-size:10px}
 .activity-week{gap:3px}
 .activity-day{grid-template-rows:15px 44px auto;padding:4px 1px 3px}
 .activity-day strong{font-size:10px}
 .activity-day time,.activity-day time small{font-size:9px}
 .dashboard-weak-list{padding:2px 4px}
 .dashboard-weak-list .weak-row{min-height:49px;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;padding:6px 7px}
 .dashboard-weak-list .weak-topic-title strong{font-size:11px}
 .dashboard-weak-list .weak-topic-title small,.dashboard-weak-list .weak-topic-meta small{font-size:9px}
 .dashboard-weak-list .weak-topic-meta b{font-size:12px}
 .dashboard-page .practice-history-item{grid-template-columns:minmax(0,1fr) auto;gap:7px 9px;padding:9px}
 .dashboard-page .practice-history-item.is-protected{grid-template-columns:minmax(0,1fr) auto}
 .dashboard-page .practice-history-meta{grid-column:2;grid-row:1;align-self:center}
 .dashboard-page .practice-history-action{grid-column:1;grid-row:2;width:100%;min-height:40px}
 .dashboard-page .history-delete{grid-column:2;grid-row:2;justify-self:end}
 .dashboard-page .practice-history-main p{font-size:10px}
 .dashboard-empty{align-items:flex-start;flex-direction:column}
}
@media(max-width:380px){
 .dashboard-plan-counts dt{font-size:9px}
 .dashboard-metric{padding-right:7px;padding-left:7px}
 .dashboard-subject-card .subject-head{grid-template-columns:27px minmax(0,1fr) auto;gap:5px}
 .dashboard-subject-card .subject-icon{flex-basis:27px;width:27px;height:27px}
 .dashboard-subject-card .subject-name strong{font-size:9px}
 .dashboard-subject-card .subject-card-count{font-size:12px}
 .dashboard-week .section-heading>strong{font-size:9px}
 .dashboard-focus .primary{padding-right:11px;padding-left:11px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .activity-bar i,.dashboard-subject-card,.dashboard-page .primary{transition:none!important}
}
/* Focus studio */
.focus-workspace{max-width:1160px;margin:0 auto;padding:clamp(20px,4vw,54px) clamp(16px,3vw,34px) 60px;color:#172133}.focus-page-heading{display:flex;justify-content:space-between;align-items:end;margin:0 0 30px}.focus-eyebrow{margin:0 0 9px;color:#718097;font-size:11px;font-weight:750;letter-spacing:.16em}.focus-page-heading h1{margin:0;font-size:clamp(26px,4vw,40px);letter-spacing:-.04em}.focus-page-heading>div>p:last-child{margin:10px 0 0;color:#79869a}.focus-layout{display:grid;grid-template-columns:minmax(320px,.88fr) minmax(420px,1.12fr);gap:18px;align-items:start}.focus-setup-card,.focus-stats-card{border:1px solid #e5e9ef;background:#fff;border-radius:24px;box-shadow:0 12px 32px #1d2d4310;padding:clamp(20px,3vw,32px)}.focus-mode-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:14px;background:#f0f3f7;margin-bottom:28px}.focus-mode-switch button,.focus-task-options button,.focus-duration-options button{border:0;background:transparent;border-radius:11px;color:#68758a;cursor:pointer;font:inherit;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}.focus-mode-switch button{padding:10px}.focus-mode-switch .is-selected,.focus-task-options .is-selected,.focus-duration-options .is-selected{background:#fff;color:#15233a;box-shadow:0 2px 9px #13223917;font-weight:700}.focus-field-label{display:block;margin:20px 0 11px;color:#536177;font-size:13px;font-weight:700}.focus-task-options{display:flex;flex-wrap:wrap;gap:8px}.focus-task-options button{padding:9px 14px;background:#f4f6f9;color:#58667b}.focus-task-options .is-selected{background:#e8f5f2;color:#147366;box-shadow:none}.focus-duration-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.focus-duration-options>button{padding:12px 6px;border:1px solid #e8ecf1;background:#fff;font-size:19px;font-variant-numeric:tabular-nums}.focus-duration-options>button small{display:block;margin-top:3px;font-size:11px;color:#8290a2}.focus-duration-options>button.is-selected{border-color:#76b7aa;background:#edf8f5;color:#176f63;box-shadow:none}.focus-custom-duration{display:flex;align-items:center;justify-content:center;gap:4px;grid-column:1/-1;color:#78869a;font-size:12px}.focus-custom-duration input{width:64px;padding:8px;border:1px solid #e2e7ed;border-radius:9px;text-align:center;font:inherit;font-variant-numeric:tabular-nums}.focus-advanced{margin-top:20px;border-top:1px solid #edf0f4;padding-top:15px;color:#59677c;font-size:13px}.focus-advanced summary{cursor:pointer}.focus-advanced>div{display:flex;gap:22px;padding:15px 2px 2px}.focus-advanced label{display:flex;align-items:center;gap:7px}.focus-advanced select{padding:7px;border:1px solid #e2e7ed;border-radius:8px;background:#fff;color:inherit}.focus-start-button{display:flex;justify-content:center;align-items:center;gap:14px;width:100%;margin-top:24px;padding:15px;border:0;border-radius:15px;background:#17796c;color:#fff;font-size:16px;font-weight:750;cursor:pointer;box-shadow:0 7px 17px #17796c2a;transition:transform .18s ease,background-color .18s ease}.focus-start-button:hover{background:#11695e;transform:translateY(-1px)}.focus-start-button span{font-size:20px}.focus-stats-card>header{display:flex;justify-content:space-between;align-items:center}.focus-stats-card h2{margin:0;font-size:21px;letter-spacing:-.03em}.focus-stats-period{padding:7px 10px;border-radius:99px;background:#f4f6f8;color:#77849a;font-size:11px}.focus-stats-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 19px}.focus-stats-totals>div{display:grid;gap:5px}.focus-stats-totals strong{font-size:clamp(20px,3vw,27px);font-variant-numeric:tabular-nums;letter-spacing:-.04em}.focus-stats-totals span{color:#8390a2;font-size:11px}.focus-week-chart{height:122px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:10px;padding:7px 0 0;border-top:1px solid #eef1f4}.focus-week-day{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px}.focus-week-day>span,.focus-week-day>small{font-size:10px;color:#8491a3}.focus-week-day>i{display:flex;align-items:end;justify-content:center;width:min(28px,72%);height:70px;overflow:hidden;border-radius:99px;background:#f0f3f6}.focus-week-day>i>b{display:block;width:100%;border-radius:99px;background:linear-gradient(#6cb9a8,#168372)}.focus-history{margin-top:22px}.focus-history h3{margin:0 0 12px;font-size:13px}.focus-history ul{display:grid;gap:0;margin:0;padding:0;list-style:none}.focus-history li{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:11px;padding:11px 0;border-top:1px solid #eef1f4}.focus-record-mark{width:8px;height:8px;border-radius:50%;background:#c5ccd6}.focus-record-mark.is-done{background:#1d9983;box-shadow:0 0 0 3px #1d99831c}.focus-history li>span:nth-child(2){display:grid;gap:4px}.focus-history li b{font-size:13px}.focus-history li small{font-size:11px;color:#8894a4}.focus-history li strong{font-size:12px;font-variant-numeric:tabular-nums}.focus-empty{margin:0;padding:17px 0;border-top:1px solid #eef1f4;color:#8995a5;font-size:13px}.focus-sync-note{margin:15px 0 0;color:#94a0af;font-size:10px}.focus-immersive{position:fixed;z-index:1000;inset:0;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;overflow:auto;padding:max(24px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));background:radial-gradient(ellipse at 50% 42%,#203345 0,#111c2c 45%,#0d1522 100%);color:#f5f7f9}.focus-immersive.is-minimal{background:radial-gradient(ellipse at 50% 40%,#173f40 0,#112a31 42%,#0c1a25 100%)}.focus-immersive-header{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;max-width:1060px;width:100%;margin:0 auto}.focus-quiet-button{justify-self:start;display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 11px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff09;color:#e7edf4;cursor:pointer;font:inherit}.focus-quiet-button:last-child{justify-self:end;font-size:20px}.focus-live-state{display:flex;align-items:center;gap:8px;color:#c3d2d8;font-size:12px}.focus-live-state i{width:7px;height:7px;border-radius:50%;background:#68d6ad;box-shadow:0 0 13px #68d6ad}.focus-immersive-center{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;width:100%;max-width:700px;margin:auto;padding:32px 0;text-align:center}.focus-immersive .focus-eyebrow{color:#b0c6c7}.focus-orbit{display:grid;place-items:center;width:min(72vw,390px);aspect-ratio:1;margin:8px 0 25px;border-radius:50%;background:conic-gradient(#8bd9c3 var(--focus-progress),#ffffff18 var(--focus-progress));box-shadow:0 0 80px #61bca82b;transform:rotate(-90deg)}.focus-orbit:before{content:"";position:absolute;width:calc(100% - 12px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 50% 40%,#193840,#10252d 70%)}.focus-immersive.is-flight .focus-orbit:before{background:radial-gradient(circle at 50% 38%,#253c50,#101e2d 70%)}.focus-orbit>div{position:relative;display:grid;gap:10px;transform:rotate(90deg)}.focus-orbit strong{font-size:clamp(58px,11vw,100px);font-weight:480;font-variant-numeric:tabular-nums;letter-spacing:-.065em;line-height:1}.focus-orbit span{color:#c1d0d7;font-size:13px}.focus-detail-row{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 24px;color:#aebdc7;font-size:12px}.focus-detail-row b{margin-left:4px;color:#f2f6f6;font-weight:650;font-variant-numeric:tabular-nums}.focus-actions{display:flex;align-items:center;gap:10px;margin-top:27px}.focus-primary,.focus-stop{min-width:136px;padding:13px 18px;border-radius:13px;cursor:pointer;font:inherit;font-weight:700}.focus-primary{border:0;background:#e2fff5;color:#164239}.focus-stop{border:1px solid #ffffff2b;background:#ffffff09;color:#e3e8ed}.focus-flight-horizon{position:absolute;inset:17% 0 14%;overflow:hidden;opacity:.7;pointer-events:none}.focus-flight-horizon>svg{width:100%;height:100%;overflow:visible}.focus-flight-horizon path{fill:none;stroke:#aec5d2;stroke-opacity:.13;stroke-width:1.2;stroke-dasharray:4 8}.focus-flight-plane{position:absolute;top:56%;left:18%;display:grid;place-items:center;width:35px;height:35px;border:1px solid #e6f4ff3a;border-radius:50%;background:#a4c0d020;color:#e0f3ff;box-shadow:0 0 28px #9bc8ef40;transition:left .8s linear}.focus-flight-plane svg{width:16px;height:16px;fill:currentColor;transform:rotate(35deg)}.focus-flight-caption{position:relative;z-index:1;display:flex;justify-content:space-between;max-width:1060px;width:100%;margin:0 auto;color:#a5b8c5;font-size:11px}.focus-flight-caption b{font-weight:500;color:#d5e1e7}
@media(max-width:900px){.focus-layout{grid-template-columns:1fr;max-width:690px;margin:auto}.focus-page-heading{max-width:690px;margin-left:auto;margin-right:auto}.focus-setup-card,.focus-stats-card{padding:24px}}
@media(max-width:520px){.focus-workspace{padding:24px 14px 40px}.focus-page-heading{margin-bottom:20px}.focus-page-heading h1{max-width:330px;line-height:1.2}.focus-layout{gap:12px}.focus-setup-card,.focus-stats-card{padding:19px;border-radius:19px}.focus-duration-options{gap:6px}.focus-duration-options>button{font-size:17px}.focus-immersive{padding-left:16px;padding-right:16px}.focus-quiet-button span{font-size:12px}.focus-live-state{font-size:11px}.focus-orbit{width:min(82vw,340px)}.focus-detail-row{gap:8px 12px;font-size:11px}.focus-actions{width:100%}.focus-primary,.focus-stop{min-width:0;flex:1}.focus-week-chart{gap:6px}}
@media(prefers-reduced-motion:reduce){.focus-mode-switch button,.focus-task-options button,.focus-duration-options button,.focus-start-button,.focus-flight-plane{transition:none}.focus-start-button:hover{transform:none}}
.focus-complete-mark{display:grid;place-items:center;width:90px;height:90px;margin:10px 0 22px;border:1px solid #8bd9c366;border-radius:50%;background:#8bd9c318;color:#a0ead6;box-shadow:0 0 60px #8bd9c330}.focus-complete-mark svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.focus-complete-title{margin:0;font-size:clamp(30px,6vw,52px);letter-spacing:-.05em}.focus-complete-subtitle{color:#bccbd1;font-size:14px}
.focus-flight-status{position:absolute;top:17%;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,minmax(84px,1fr));gap:clamp(14px,5vw,54px);width:min(560px,calc(100vw - 40px));padding:14px 21px;border:1px solid #d9edff18;border-radius:17px;background:#d3e8fa08;backdrop-filter:blur(16px)}.focus-flight-status>span{display:grid;gap:6px;text-align:center}.focus-flight-status small{color:#a4b9c7;font-size:10px;letter-spacing:.08em}.focus-flight-status strong{color:#eff6fb;font-size:clamp(13px,2vw,17px);font-weight:600;font-variant-numeric:tabular-nums}.focus-flight-status strong i{padding:0 4px;color:#8bc5e8;font-style:normal}.focus-flight-hint{position:absolute;right:22px;bottom:19%;color:#a9bac7;font-size:10px;letter-spacing:.04em}@media(max-width:520px){.focus-flight-status{top:13%;gap:8px;padding:11px 8px;border-radius:13px}.focus-flight-status small{font-size:9px}.focus-flight-status strong{font-size:13px}.focus-flight-hint{right:17px;bottom:17%;font-size:9px}}
 .focus-route-pane{width:min(100%,760px);margin:auto;color:#edf5f2}.focus-route-pane h2{margin:8px 0 12px;font:600 22px ui-monospace,monospace;letter-spacing:0}.focus-route-pane h2 span{color:#a2c8c0}.focus-map{margin:0}.focus-map svg{width:100%;display:block;height:auto;max-height:50dvh}.focus-map figcaption{margin-top:5px;color:#bed0ce;font-size:11px}.focus-map figcaption a{color:inherit;text-decoration:underline}.focus-airports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.focus-airports label{font-size:13px;color:#465567}.focus-airports select{display:block;margin-top:6px;width:100%;min-height:42px;border:1px solid #d4dfe4;border-radius:8px;padding:5px;color:inherit;background:white}.focus-immersive.is-flight{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);grid-template-rows:auto 1fr;gap:20px;align-items:center;background:#142626}.focus-immersive.is-flight .focus-immersive-header{grid-column:1/-1}.focus-immersive.is-flight .focus-orbit{width:min(100%,290px)}.focus-immersive.is-flight .focus-immersive-center{padding:12px 0}.focus-workspace button:focus-visible,.focus-immersive button:focus-visible{outline:3px solid #6599ce;outline-offset:3px}@media(max-width:760px){.focus-immersive.is-flight{display:flex;gap:16px}.focus-immersive.is-flight .focus-orbit{width:min(44vw,170px);margin:6px 0}.focus-immersive.is-flight .focus-orbit strong{font-size:38px;letter-spacing:0}.focus-immersive.is-flight .focus-actions{margin-top:14px}.focus-route-pane{margin:auto auto 0}.focus-map svg{max-height:34dvh}.focus-immersive.is-flight .focus-immersive-center{margin:0 auto auto}.focus-route-pane h2{font-size:19px}.focus-immersive.is-flight .focus-eyebrow{margin-bottom:3px}}@media(max-height:500px) and (orientation:landscape){.focus-immersive.is-flight{display:grid;grid-template-columns:1.3fr 1fr;gap:4px 18px}.focus-immersive.is-flight .focus-orbit{width:105px}.focus-map svg{max-height:48dvh}.focus-immersive.is-flight .focus-actions{margin-top:8px}}
