:root{--bg:#f5f6f0;--paper:#fff;--ink:#142a27;--ink2:#39534e;--muted:#72817b;--line:#e0e7e1;--green:#1a5848;--green2:#dcefe3;--gold:#f9eacb;--coral:#ed865f;--blue:#deecfa;--shadow:0 16px 36px rgba(22,64,48,.08);--r:18px;--rsm:12px;font-family:Inter,"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}body{font-size:14px;line-height:1.58}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-.8px;line-height:1.25}h2{font-size:19px;letter-spacing:-.2px}h3{font-size:16px}small{font-size:12px}.muted{color:var(--muted)}.fine{font-size:12px;color:var(--muted)}.shell{display:flex;min-height:100vh}.side{width:254px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 17px 20px;background:var(--ink);color:#e5f3e9;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:2px 12px 30px}.mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#dfefe2;color:var(--green);font-size:24px;font-weight:800;transform:rotate(-4deg)}.brand b{display:block;font-size:21px;letter-spacing:.5px}.brand span{font-size:10px;letter-spacing:1.2px;color:#91b3a6}.nav-title{padding:6px 13px;font-size:11px;letter-spacing:2px;color:#7e9a8d}.nav{display:grid;gap:5px}.nav button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;background:transparent;border:0;border-radius:11px;color:#b2cec2;text-align:left;font-weight:600}.nav button:hover{background:#24483e;color:white}.nav button.active{background:#dcefe3;color:#163f33}.nav svg,.icon{width:19px;height:19px;flex-shrink:0}.nav .counter{margin-left:auto;border-radius:7px;padding:1px 7px;background:#356554;color:#e1f5e7;font-size:11px}.side-bottom{margin-top:auto;padding:16px 12px 5px;border-top:1px solid #305448}.side-bottom p{font-size:12px;color:#91b3a6}.side-bottom strong{color:white}.main{flex:1;min-width:0}.topbar{padding:26px max(30px,calc((100% - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-left{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}.mini-dot{width:7px;height:7px;border-radius:50%;background:#5ca480}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.content{max-width:1180px;margin:0 auto;padding:0 30px 95px}.page-title{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:10px 0 25px}.page-title p{margin-top:8px;color:var(--muted)}.btn{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:11px;padding:10px 15px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px);background:#f2faf4}.btn:active{transform:translateY(0)}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#104735}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{background:#fff1ec;color:#b2432e;border-color:#ffddd3}.btn.soft{background:var(--green2);color:#174735;border-color:transparent}.btn.small{padding:7px 10px;min-height:33px;font-size:12px}.btn.large{padding:13px 22px;min-height:48px}.btn svg,.btn .icon{width:17px;height:17px}.surface{background:var(--paper);border:1px solid #e8ede7;border-radius:var(--r);box-shadow:0 8px 22px rgba(18,54,38,.025)}.pad{padding:21px}.hero{display:grid;grid-template-columns:1.3fr .78fr;gap:20px;min-height:246px;margin-bottom:23px}.hero-main{border-radius:22px;padding:30px 34px;background:linear-gradient(126deg,#163d33,#246d53);color:#f4fff7;position:relative;overflow:hidden}.hero-main:after{content:"";width:230px;height:230px;border-radius:65px;position:absolute;right:-83px;bottom:-100px;border:48px solid #ffffff0c;transform:rotate(24deg)}.hero-main h1{font-size:31px;margin:10px 0}.hero-main p{color:#bddbc9;max-width:400px}.hero-label{display:inline-flex;align-items:center;gap:7px;color:#cde8d6;font-size:11px;font-weight:750;letter-spacing:1.2px;text-transform:uppercase}.hero-main .btn{margin-top:23px;background:#e1efe3;color:#1f4d3c;border:0}.hero-side{background:linear-gradient(135deg,#fff5df,#fff);border:1px solid #f4ead9;border-radius:22px;padding:26px;display:flex;flex-direction:column;justify-content:space-between}.hero-side .number{font-size:63px;letter-spacing:-3px;font-weight:800;color:#205b46;line-height:1.13}.hero-side .number span{font-size:22px;color:#699783;letter-spacing:0}.progress{width:100%;height:8px;background:#e9eee7;overflow:hidden;border-radius:99px;margin:13px 0}.progress span{display:block;height:100%;background:#5b9c7c;border-radius:99px;transition:width .3s}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:26px}.stat{padding:20px 21px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.stat b{font-size:29px;font-weight:800;letter-spacing:-1px;display:block;margin-top:8px}.stat .ico{border-radius:13px;background:#eaf5eb;color:#35775e;padding:11px;display:grid;place-items:center}.stat:nth-child(2) .ico{background:#fff3d8;color:#a17824}.stat:nth-child(3) .ico{background:#e9f0ff;color:#587bb8}.stat:nth-child(4) .ico{background:#ffece5;color:#bf6f56}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:29px 0 14px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.deck{padding:19px 20px;position:relative;overflow:hidden}.deck .deck-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.deck-dot{width:33px;height:33px;border-radius:11px;background:var(--dc,#dbeadf);display:grid;place-items:center;color:#325a47}.chip{font-size:11px;border-radius:99px;background:#f0f5ef;padding:4px 10px;font-weight:650;color:#66806d}.deck h3{margin-top:15px;margin-bottom:7px}.deck p{color:var(--muted);min-height:25px;font-size:12px}.deck-footer{display:flex;align-items:center;justify-content:space-between;padding-top:14px;margin-top:12px;border-top:1px solid var(--line);gap:8px}.deck-footer strong{font-size:13px}.deck:hover{border-color:#a5cbb5;box-shadow:var(--shadow)}.deck-actions{display:flex;gap:5px}.box-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.memory-box{padding:15px 8px 13px;border-radius:13px;text-align:center;background:#edf3ed;min-height:112px}.memory-box:nth-child(1){background:#e6f0ff}.memory-box:nth-child(2){background:#e2f1eb}.memory-box:nth-child(3){background:#fdf1d3}.memory-box:nth-child(4){background:#ffe8d7}.memory-box:nth-child(5){background:#eee5fa}.memory-box strong{display:block;font-size:25px;color:#214638}.memory-box small{display:block;font-size:11px}.memory-box span{display:block;color:#65776d;font-size:10px;margin-top:4px}.two-panels{display:grid;grid-template-columns:1.1fr .9fr;gap:17px}.empty{text-align:center;padding:38px 12px;color:var(--muted)}.empty .bubble{font-size:37px;margin-bottom:10px}.empty strong{display:block;color:var(--ink);font-size:17px;margin-bottom:7px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.input,.select,.textarea{width:100%;border:1px solid #d8e3d9;background:#fff;border-radius:11px;outline:none;padding:11px 12px;color:var(--ink);min-height:43px}.input:focus,.select:focus,.textarea:focus{border-color:#50a076;box-shadow:0 0 0 3px #cee8d8}.textarea{resize:vertical;line-height:1.65;min-height:105px}.search-box{flex:1;min-width:180px;position:relative}.search-box .input{padding-left:37px}.search-box svg{position:absolute;top:13px;left:13px;width:17px;height:17px;color:var(--muted)}.field{display:grid;gap:6px;min-width:0}.field label{font-size:12px;font-weight:700;color:#486259}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hint{font-size:11px;color:var(--muted)}.card-list{display:grid;gap:10px}.card-row{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);border-radius:13px;padding:15px;min-width:0}.card-row .card-main{flex:1;min-width:0}.card-row .front{font-size:15px;font-weight:750;overflow-wrap:anywhere}.card-row .back{color:#6e7d74;font-size:12px;margin-top:3px;max-width:800px;overflow-wrap:anywhere;white-space:pre-line}.box-badge{padding:4px 8px;background:#edf3ed;color:#37634d;font-size:11px;font-weight:750;border-radius:7px;white-space:nowrap}.date-badge{font-size:11px;color:#75837c;white-space:nowrap}.card-actions{display:flex;gap:3px;flex-shrink:0}.iconbtn{width:35px;height:35px;background:transparent;color:#618072;border:0;border-radius:8px;display:grid;place-items:center}.iconbtn:hover{background:#e7f0e9}.iconbtn svg{width:17px;height:17px}.quiz-wrap{max-width:760px;margin:0 auto}.quiz-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px}.quiz-card{background:#fff;border:1px solid #e2e9e2;box-shadow:0 17px 46px rgba(18,63,43,.08);border-radius:24px;min-height:330px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;gap:16px}.quiz-card .numtag{position:absolute;top:20px;left:24px;color:#72877b;font-size:12px}.quiz-card .prelabel{font-size:12px;font-weight:750;letter-spacing:2px;color:#80a390}.quiz-card .quizfront{font-size:clamp(23px,4.4vw,36px);font-weight:750;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere;max-width:100%}.quiz-card .quizback{font-size:clamp(18px,3.1vw,24px);white-space:pre-line;overflow-wrap:anywhere;line-height:1.65;color:#315747;max-width:100%}.quiz-card .divider{height:1px;width:75%;background:#e6eae4}.quiz-bottom{display:flex;justify-content:center;gap:12px;margin-top:19px;flex-wrap:wrap}.quiz-bottom .btn{min-width:142px}.quiz-helper{text-align:center;font-size:12px;color:#72877b;margin-top:17px}.center-col{display:grid;justify-items:center;gap:12px}.result-icon{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#e2f4e7;color:#367b54}.import-layout{display:grid;grid-template-columns:1fr .95fr;gap:20px}.upload-zone{border:2px dashed #b5d4be;background:#f5faf5;border-radius:15px;padding:28px;display:grid;justify-items:center;gap:9px;text-align:center;cursor:pointer}.upload-zone.dragging{background:#dff2e5;border-color:#297650}.upload-zone .big-ico{border-radius:15px;width:52px;height:52px;background:#deefe1;color:#347356;display:grid;place-items:center}.format-list{font-size:11px;color:#7b907e}.import-preview{min-height:180px;max-height:430px;overflow:auto;display:grid;gap:8px}.preview-row{padding:12px;border-radius:10px;background:#f7faf6;display:grid;gap:5px;border:1px solid #e5ece3}.preview-row .smallline{font-size:12px;font-weight:700}.preview-row .ans{font-size:12px;color:#65776f;white-space:pre-line}.preview-row .paction{display:flex;justify-content:flex-end}.preview-row textarea{border:1px solid #d9e2d9;border-radius:7px;min-height:35px;resize:vertical;padding:6px 8px;font-size:12px;width:100%;background:white}.notice{background:#eef6ef;border-radius:12px;border:1px solid #d8e8dc;color:#476856;padding:12px 14px;font-size:12px}.warning{background:#fff8e9;border-color:#f0dcb1;color:#88622b}.bar-chart{display:flex;align-items:end;gap:12px;height:165px;padding-top:20px}.bar-cell{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;height:100%;flex:1}.bar{width:min(40px,100%);min-height:3px;background:#69a98a;border-radius:7px 7px 3px 3px}.bar-cell span{font-size:11px;color:#81918a}.bar-cell b{font-size:11px;color:#476655}.stat-table{width:100%;border-collapse:collapse}.stat-table td,.stat-table th{padding:12px 7px;border-bottom:1px solid var(--line);text-align:left;font-size:12px}.stat-table th{color:#70837a}.stat-table tr:last-child td{border:0}.modal-shade{position:fixed;inset:0;background:#091a14a8;z-index:80;display:flex;align-items:center;justify-content:center;padding:18px}.modal{width:min(520px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:19px;box-shadow:0 26px 80px #0004}.modal-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-body{padding:22px 24px;display:grid;gap:14px}.modal-foot{padding:16px 24px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:26px;right:24px;z-index:200;background:#143d2e;color:#fff;padding:13px 17px;border-radius:11px;box-shadow:0 9px 20px #0002;max-width:min(92vw,430px);font-size:13px}.step{display:inline-flex;gap:6px;align-items:center;background:#f0f6f0;border-radius:8px;color:#547e64;padding:4px 9px;font-size:11px;font-weight:750}.linktext{color:#257956;font-weight:650;cursor:pointer;border:0;background:transparent;padding:0}.mobile-bottom{display:none}.split{display:flex;justify-content:space-between;gap:12px;align-items:center}.separator{height:1px;background:var(--line);margin:12px 0}.kbd{font-size:11px;background:#edf1ed;border-radius:5px;padding:2px 5px}.review-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.review-filter select{min-width:165px}.boot{display:grid;place-items:center;min-height:90vh;color:#466d59;font-size:17px}.help-list{padding-left:20px;color:#516e5b;font-size:13px}.help-list li{margin:6px 0}.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#35684d;background:#e5f3e7;border-radius:99px;padding:4px 9px;white-space:nowrap}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.onb{color:#4f8166;font-size:12px}
@media(max-width:1100px){.side{width:215px}.hero{grid-template-columns:1.2fr .8fr}.hero-main{padding:25px}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.side{display:none}.topbar{padding:15px 17px 10px}.topbar .btn.ghost{display:none}.content{padding:0 15px 100px}.page-title{margin:12px 0 17px}.page-title h1{font-size:24px}.hero{grid-template-columns:1fr;gap:12px}.hero-main{padding:23px 24px;min-height:220px}.hero-main h1{font-size:27px}.hero-side{min-height:146px;padding:20px 24px}.hero-side .number{font-size:48px}.stats-grid{gap:10px}.stat{padding:15px}.stat b{font-size:24px}.stat .ico{padding:8px}.grid3,.grid2,.two-panels,.import-layout{grid-template-columns:1fr}.box-strip{gap:5px}.memory-box{padding:11px 3px;min-height:100px}.memory-box strong{font-size:22px}.memory-box span{font-size:9px}.section-head{margin-top:23px}.mobile-bottom{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #dae4dc;z-index:40;padding:7px 6px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #0f2b1710}.mobile-bottom button{background:none;border:0;display:grid;justify-items:center;gap:2px;color:#7c8c84;font-size:10px;padding:3px 0}.mobile-bottom button.active{color:#165841;font-weight:800}.mobile-bottom svg{height:22px;width:22px}.topbar-left span.long{display:none}.card-row{gap:7px;padding:12px}.card-row .date-badge{display:none}.card-actions{flex-direction:column}.quiz-card{min-height:290px;padding:25px 17px}.quiz-bottom{gap:7px}.quiz-bottom .btn{flex:1;min-width:0}.modal-shade{padding:10px}.modal{max-height:calc(100dvh - 25px)}.field-row,.goal-grid{grid-template-columns:1fr}.topbar .actions{gap:4px}.btn.hide-mobile{display:none}}
@media(min-width:761px) and (max-width:950px){.hero{grid-template-columns:1fr}.hero-side{min-height:150px}.grid3{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* v2.1: account, sync, AI */
.cloud-badge{border:1px solid #d5dfd6;border-radius:999px;padding:5px 11px;color:#345b50;background:#eef5f0;font-family:inherit;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.cloud-badge.synced{background:#e6f3e9;color:#267044}
.cloud-badge.syncing,.cloud-badge.pending{background:#fff3d7;color:#896223}
.cloud-badge.offline,.cloud-badge.error{background:#fff0e9;color:#a24536}
.ai-btn{background:#f0e9fa;color:#513c85;border-color:#d9ccec;font-weight:800;min-height:48px}
.ai-btn:hover{background:#e7dcf8}
.ai-btn:disabled{opacity:.55;cursor:not-allowed}
.button-line{display:flex;gap:10px;flex-wrap:wrap}
.button-line>*{flex:1}
@media(max-width:760px){.topbar-left .cloud-badge{font-size:10px;padding:4px 7px}.button-line{flex-direction:column}.cloud-badge{max-width:108px;overflow:hidden;text-overflow:ellipsis}}

/* v2.2: accessibility-friendly word and sentence audio buttons */
.speak-lines{display:grid;gap:6px;width:100%;min-width:0}
.speak-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;text-align:left}
.speak-tokens{min-width:0;flex:1;overflow-wrap:anywhere;white-space:normal}
.speak-word{display:inline;line-height:inherit;font-size:inherit;font-family:inherit;font-weight:inherit;letter-spacing:inherit;background:transparent;border:0;border-bottom:1px dotted #91ad9d;color:inherit;padding:0 1px;margin:0;border-radius:3px;cursor:pointer}
.speak-word:hover,.speak-word:focus-visible{background:#e5f5e9;color:#1c684c;outline:2px solid #c1e1c9;outline-offset:1px}
.speak-sentence{border:1px solid #d7e9dd;color:#1f684e;background:#eff9f2;border-radius:99px;padding:5px 10px;display:inline-flex;align-items:center;gap:5px;flex-shrink:0;font-size:11px;font-weight:750;min-height:31px;align-self:center}
.speak-sentence:hover,.speak-sentence:focus-visible{border-color:#80b89a;background:#e1f3e9}
.speak-sentence svg{width:16px;height:16px}
.speak-spacer{height:6px}
.quiz-card .speak-line{justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}
.quiz-card .speak-lines{gap:12px}
.quiz-card .speak-tokens{flex:unset;min-width:0;text-align:center}
.quiz-card .speak-sentence{font-size:12px;min-height:35px;padding:6px 12px}
.quiz-top-tools{display:flex;align-items:center;gap:8px}
.quiz-top-tools .pill{flex-shrink:0}
.card-row .speak-line{align-items:start;gap:8px}
.card-row .speak-sentence{min-height:27px;padding:3px 8px;font-size:10px}
.card-row .back .speak-line{font-size:12px}
.speech-panel{background:#f2f7f2;border:1px solid #dbe8dd;border-radius:14px;padding:15px;display:grid;gap:12px}
.speech-head{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.speech-head b{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#204f3e}
.speech-head svg{width:18px;height:18px}
.speech-fields{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:10px}
.speech-panel .field label{font-size:12px}
.speech-panel .select{font-size:12px;padding:9px;min-width:0}
.speech-actions{display:flex;gap:8px;flex-wrap:wrap}
.speech-inline-preview{justify-self:start;font-size:12px}
@media(max-width:760px){.speech-fields{grid-template-columns:1fr;gap:10px}.quiz-top-tools{gap:5px}.quiz-top-tools .btn{padding:7px 9px;font-size:11px}.quiz-top{align-items:start}.quiz-card .speak-line{gap:6px}.quiz-card .speak-sentence{font-size:11px}.card-row .speak-sentence span{display:none}.card-row .speak-sentence{padding:4px 6px}}

/* v2.3 study-before-recall learning phase */
.learn-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.learn-hero-actions .btn{display:inline-flex;align-items:center;gap:6px}
.learning-path{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center}
.learning-path>div{padding:14px 17px;border-radius:14px;background:#f4f8f4;display:grid;gap:6px}
.learning-path p{font-size:12px;color:#6c8275}
.path-index{display:inline-grid;place-items:center;width:34px;height:34px;background:#d6e9dc;border-radius:9px;font-weight:900;color:#205e42}
.path-arrow{font-size:26px;color:#8bad92}
.box-badge.pending-learning{background:#fff1d5;color:#8c651b}
.learn-card{background:#ffffff;border:1px solid #dce9de}
.learn-card .quizback{color:#426957}
.learn-note{background:#f4f7ec;border-radius:10px;padding:10px 12px;font-size:12px;color:#65765b;white-space:pre-line}
.learn-hidden{padding:23px 10px;color:#7a8c81;font-size:13px}
.learn-action-stack{display:grid;gap:9px;margin-top:18px}
.learn-action-stack .btn{min-height:44px}
@media(max-width:760px){.learning-path{grid-template-columns:1fr;gap:8px}.path-arrow{text-align:center;transform:rotate(90deg);font-size:16px}.learn-hero-actions{gap:8px}.learn-hero-actions .btn{flex:1;justify-content:center;font-size:12px}.learn-card .quizfront{font-size:clamp(22px,5vw,36px)}}


/* v2.4 blue system theme */
:root{
  --bg:#f6f9ff;
  --paper:#ffffff;
  --ink:#14243a;
  --ink2:#395274;
  --muted:#6f7f99;
  --line:#dce6f5;
  --green:#007aff;
  --green2:#eaf3ff;
  --gold:#eef4ff;
  --coral:#ff8d6b;
  --blue:#dcecff;
  --shadow:0 18px 42px rgba(0,90,180,.08);
}
body{background:linear-gradient(180deg,#f7faff 0%,#f3f7fd 100%)}
.side{background:linear-gradient(180deg,#0c4fc4 0%,#0a66e8 45%,#0a73ff 100%);color:#eff6ff}
.brand span{color:#cfe4ff}.mark{background:#eaf3ff;color:#007aff}
.nav-title{color:#c7dbff}.nav button{color:#dce9ff}.nav button:hover{background:rgba(255,255,255,.14);color:#fff}.nav button.active{background:#ffffff;color:#0058c9}.nav .counter{background:rgba(255,255,255,.18);color:#fff}
.side-bottom{border-top:1px solid rgba(255,255,255,.18)}.side-bottom p{color:#d6e8ff}
.topbar-left{color:var(--muted)}.mini-dot{background:#007aff}
.btn:hover{background:#f2f7ff}.btn.primary{background:linear-gradient(180deg,#2d8cff,#007aff);border-color:#007aff;color:#fff;box-shadow:0 10px 22px rgba(0,122,255,.18)}.btn.primary:hover{background:linear-gradient(180deg,#4a9cff,#0071eb)}
.btn.soft{background:#edf5ff;color:#0067dc}.btn.danger{background:#fff2ed;color:#bd4c34;border-color:#ffdacc}
.surface{border:1px solid #e3ecf8;box-shadow:0 10px 26px rgba(25,76,145,.045)}
.hero-main{background:linear-gradient(135deg,#007aff 0%,#4fa4ff 100%);color:#f8fbff}.hero-main:after{border-color:#ffffff14}.hero-main p{color:#dceaff}.hero-label{color:#e6f1ff}.hero-main .btn{background:#ffffff;color:#0067dc}
.hero-side{background:linear-gradient(135deg,#eef5ff,#fff);border-color:#dbe8fb}.hero-side .number{color:#005fd4}.hero-side .number span{color:#5f8cc8}
.progress{background:#e7eef9}.progress span{background:linear-gradient(90deg,#77b5ff,#007aff)}
.stat .ico{background:#eef5ff;color:#007aff}.stat:nth-child(2) .ico{background:#eaf3ff;color:#0067dc}.stat:nth-child(3) .ico{background:#dfeeff;color:#3978d8}.stat:nth-child(4) .ico{background:#eef4ff;color:#4c79cc}
.chip{background:#edf5ff;color:#4d79b6}.deck-dot{background:#edf5ff;color:#0067dc}.deck:hover{border-color:#9fc4ff;box-shadow:var(--shadow)}
.memory-box{background:#eef4ff}.memory-box:nth-child(1){background:#e4f0ff}.memory-box:nth-child(2){background:#ebf4ff}.memory-box:nth-child(3){background:#f1f6ff}.memory-box:nth-child(4){background:#eef2ff}.memory-box:nth-child(5){background:#f3efff}
.input,.select,.textarea{border-color:#d5e3f6}.input:focus,.select:focus,.textarea:focus{border-color:#5fa8ff;box-shadow:0 0 0 3px rgba(0,122,255,.14)}
.field label{color:#45658f}.box-badge{background:#edf5ff;color:#2965b7}.box-badge.pending-learning{background:#eaf3ff;color:#0067dc}.date-badge{color:#8698b4}
.iconbtn{color:#6380af}.iconbtn:hover{background:#edf5ff}
.quiz-card{border-color:#dfe8f6;box-shadow:0 18px 46px rgba(25,76,145,.08)}.quiz-card .prelabel{color:#6d93c7}.quiz-card .quizback{color:#325d96}.quiz-card .divider{background:#e6eef8}
.notice{background:#eef5ff;border-color:#d9e7fb;color:#456a98}.warning{background:#fff8e9;border-color:#f0dcb1;color:#88622b}
.bar{background:linear-gradient(180deg,#73b6ff,#007aff)}.bar-cell b{color:#3b69a0}.bar-cell span{color:#8196b4}
.modal-shade{background:rgba(10,37,80,.56)}.toast{background:#005fcd}
.step{background:#edf5ff;color:#2d69b8}.linktext{color:#007aff}.pill{color:#2167be;background:#eaf3ff}.onb{color:#557fbb}
.cloud-badge{border-color:#d9e7fb;background:#edf5ff;color:#2e69b5}.cloud-badge.synced{background:#e8f2ff;color:#0f69d5}.cloud-badge.syncing,.cloud-badge.pending{background:#eef4ff;color:#2f71c6}.cloud-badge.offline,.cloud-badge.error{background:#fff0e9;color:#a24536}
.ai-btn{background:#edf5ff;color:#005fd3;border-color:#d4e5fb}.ai-btn:hover{background:#e3f0ff}
.speak-word{border-bottom-color:#89b9f8}.speak-word:hover,.speak-word:focus-visible{background:#eaf3ff;color:#005fd4;outline:2px solid #bfdbff}.speak-sentence{border-color:#d5e5fb;color:#045fce;background:#eef5ff}.speak-sentence:hover,.speak-sentence:focus-visible{border-color:#88b9ff;background:#e3f0ff}
.speech-panel{background:#f4f8ff;border-color:#dde9fb}.speech-head b{color:#0a5dca}
.learn-card{border-color:#dbe8fb;background:#fff}.learn-card .quizback{color:#416898}.learn-note{background:#eef5ff;color:#5d7498}.learn-hidden{color:#7587a5}.learning-path>div{background:#f4f8ff}.path-index{background:#dcecff;color:#005ed1}.path-arrow{color:#8eaedf}
.mobile-bottom{border-top:1px solid #dbe7f7}.mobile-bottom button{color:#7c91b2}.mobile-bottom button.active{color:#007aff}
@media(max-width:760px){.side{background:linear-gradient(180deg,#0a62e1 0%,#007aff 100%)}.hero-main .btn{color:#005ed1}}
