:root{--ink: #172940;--muted: #68809d;--line: #e4ebf3;--paper: #f4f7fb;--card: #fff;--accent: #236ad4;--button: #2469ba;--button-hover: #17599d;--sidebar: #102744;--danger: #b3424e;--ok: #28a27e;--shadow: 0 3px 12px #1e416006;--radius: 17px;--radius-sm: 11px;--space: 16px;--control-h: 44px;--cta: #ffd36a;--cta-ink: #102744;--cta-hover: #ffe08a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft Yahei,sans-serif;color:var(--ink);background:var(--paper);line-height:1.65}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}html,body{margin:0;min-height:100%}body{overscroll-behavior-y:contain}button,input,textarea,select{font:inherit;touch-action:manipulation}button{cursor:pointer;border:0;min-height:44px}a{color:inherit}.shell{display:flex;min-height:100vh}.side{width:240px;background:var(--sidebar);color:#dce7f8;padding:26px 16px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{color:#fff;padding:4px 8px 28px}.brand-head{display:flex;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px solid #ffffff1f}.brand-logo{flex:none;width:42px;height:42px;border-radius:11px;background:#25507f;display:flex;align-items:center;justify-content:center}.brand-logo svg{width:24px;height:24px}.brand-name{font-size:25px;font-weight:800;line-height:1.1}.brand small{display:block;color:#a9c2e0;font-size:12px;font-weight:400;padding-top:4px}.brand-slogan{font-size:12px;font-weight:700;padding-top:14px;line-height:1.4;color:#dce7f8}.nav{display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:12px;margin:4px 0;text-align:left;background:none;color:#c5d4e9;font-weight:600;width:100%}.nav.active,.nav:hover{background:#235181;color:#fff}.sidefooter{margin-top:auto;font-size:12px;color:#a5bad5;padding:14px;line-height:1.8}.main{margin-left:240px;width:calc(100% - 240px);max-width:1400px;padding:32px 42px 80px;overflow-x:hidden}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.top h1{margin:0;font-size:26px;font-weight:700;overflow-wrap:anywhere;color:#102744}.home-title{min-width:0}.lexue-mobile-slogan{display:none;margin:0;user-select:text;-webkit-user-select:text}.lexue-slogan--signature{font-family:Segoe Script,Lucida Handwriting,Snell Roundhand,Apple Chancery,Bradley Hand,Palatino Linotype,Georgia,cursive;font-size:22px;font-style:italic;font-weight:400;line-height:1.2;color:#32669d;letter-spacing:.02em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5C30 8 70 1 118 4' fill='none' stroke='%2332669d' stroke-width='0.85' stroke-linecap='round' opacity='0.38'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 100%;background-size:78% 7px;padding-bottom:3px}.lexue-slogan--editorial{font-family:Georgia,Times New Roman,Times,serif;font-style:italic;font-weight:400;line-height:1.15;color:#274e7a;letter-spacing:0}.lexue-slogan--minimal{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,sans-serif;font-size:14px;font-weight:300;line-height:1.3;color:#32669d;letter-spacing:1.8px;text-transform:uppercase}.lexue-slogan--minimal:before{content:"";display:inline-block;width:16px;height:1px;margin-right:8px;background:#32669d;vertical-align:middle}.sub{color:var(--muted);font-size:14px;margin:9px 0 0;font-weight:400}.nav-ico,.metric-ico,.capture-ico,.glyph{display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:18px;line-height:1;width:22px}.capture-ico{font-size:20px;width:auto}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:4px}.metric{background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:22px}.metric .v{font-size:30px;font-weight:800;margin:8px 0 4px;color:#102744}.metric .lab{font-size:13px;color:#7086a0;display:flex;align-items:center;gap:6px;font-weight:650}.metric-ico{color:#2a67aa}.section{margin-top:23px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.section-title h2{margin:0;font-size:18px;font-weight:700;color:#102744}.two{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.wordrow{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #edf1f5;gap:14px}.wordrow:last-child{border-bottom:0}.word-main{min-width:0;flex:1}.word-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.word{flex:1 1 auto;font-size:19px;font-weight:750;color:#102744;min-width:0;overflow-wrap:anywhere}.word-date{flex:none;color:#8191a7;font-size:12px;font-weight:500;white-space:nowrap}.word-actions{flex:none;min-width:0}.word-actions .btn{min-width:44px}.pager{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:14px}.pager-page,.pager-nav{min-width:40px;min-height:40px;padding:0 10px;background:#eef3f9;color:#294a72;border-radius:10px;font-weight:650}.pager-page.is-current{background:#1d4f86;color:#fff}.pager-nav:disabled{opacity:.4;cursor:not-allowed}.pager-ellipsis{color:#8191a7;padding:0 4px}.task-actions{margin-top:18px}.task-actions .btn{flex:none;min-width:120px}.capture-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:12px;margin-top:12px}.capture .field{margin:0}.capture .field label{color:#d5e7ff;font-weight:650}.capture-help{margin:8px 0 0;color:#bdd6f6;font-size:12px;line-height:1.6}.capture textarea:focus,.capture input:focus,.capture select:focus{outline:none;box-shadow:0 0 0 3px #7eb3ff66}.check{display:flex;gap:10px;align-items:flex-start;margin:16px 0 4px;color:#e7f1ff;cursor:pointer}.check input{width:18px;height:18px;margin-top:3px;flex:none;accent-color:#fff}.check strong{display:block;font-size:14px;font-weight:650;color:#fff}.check small{display:block;margin-top:4px;color:#bdd6f6;font-size:12px;line-height:1.55;font-weight:400}.capture-ico{color:#ffd56a;margin-right:8px;vertical-align:-3px;display:inline-flex}.today-empty .btn{margin-top:12px}.item-ipa{color:#8191a7;font-weight:400;font-size:16px}.item-kind{margin:0 36px 6px 0}.item-kind .kind{background:#f3f6fa;color:#69829c;font-weight:550}.item-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 36px 8px 0}.item-tag,.tag-add{display:inline-flex;align-items:center;gap:2px;background:#e8f1fc;color:#1d4f86;border-radius:16px;font-size:12px;font-weight:650;padding:3px 4px 3px 10px;line-height:1.3}.tag-add{padding:6px 10px;background:#fff;border:1px dashed #b7cbe4;color:#2e5c91;min-height:32px}.tag-add-box{position:relative;min-width:min(220px,100%)}.tag-add-box input{min-height:36px;padding:7px 10px}.tag-suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:3;background:#fff;border:1px solid #d8e2ef;border-radius:10px;box-shadow:0 8px 20px #17345122;max-height:180px;overflow:auto}.tag-suggest-item{display:block;width:100%;text-align:left;background:none;color:#1d4f86;padding:10px 12px;min-height:40px;border-radius:0}.tag-suggest-item:hover,.tag-suggest-item:focus{background:#eef4fb}.notes-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#3d536c}.notes-body.is-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}.notes-body.is-expanded{display:block;overflow:visible}.notes-toggle{display:inline-flex;align-items:center;margin-top:6px;padding:0;min-height:36px;background:none;color:#2e5c91;font-size:13px;font-weight:650}.notes-edit textarea{min-height:180px}.module-title{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:13px}.module-title:after{content:"";flex:1 1 auto;height:1px;background:#d7e6f8;min-width:16px}.module-label{flex:none;background:#e8f1fc;color:#1d4f86;font-weight:750;padding:3px 9px;border-radius:6px}.correction-note code,.notice code{font-size:13px;background:#eef4fb;padding:1px 6px;border-radius:6px}.dup-hit{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px}.dup-hit .btn{flex:none}.panel,.card{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:23px;box-shadow:var(--shadow)}.field{margin:15px 0}.field label{font-weight:650;display:block;margin-bottom:7px;font-size:14px}input,textarea,select{width:100%;border:1px solid #d9e3ee;border-radius:10px;padding:11px 12px;background:#fff;color:var(--ink);font-size:16px;outline-color:#2b76c6}input[type=checkbox]{width:auto}textarea{min-height:80px;resize:vertical;line-height:1.6}textarea.short{min-height:72px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>*{flex:1;min-width:140px}.btn{background:var(--button);color:#fff;border-radius:11px;padding:11px 18px;font-weight:650}.btn:hover{background:var(--button-hover)}.btn.secondary{background:#e8eff8;color:#294a72}.btn.secondary:hover{background:#dce6f2}.btn.ghost{background:#fff;color:#2e5c91;border:1px solid #d8e2ef}.btn.danger{background:#fcebed;color:#b3424e}.btn:disabled{opacity:.45;cursor:not-allowed}.notice{border-left:4px solid #3a80cf;background:#edf5ff;color:#345c85;padding:13px 15px;border-radius:7px;font-size:13px;line-height:1.7;margin:12px 0}.error{border-left:4px solid #d36a73;background:#fcebed;color:#b3424e;padding:13px 15px;border-radius:7px;font-size:13px;margin:12px 0}.empty{text-align:center;padding:45px 18px;color:#7890a9}.list{display:flex;flex-direction:column}.item{display:block;width:100%;text-align:left;text-decoration:none;background:transparent;border:0;border-bottom:1px solid #edf1f5;border-radius:0;padding:14px 0;min-height:0}.item:last-child{border-bottom:0}.item b{display:block;font-size:19px;font-weight:750;overflow-wrap:anywhere}.meta,.tiny,.muted{color:#8191a7;font-size:12px}.kind,.tag,.pill{display:inline-block;background:#edf4ff;color:#2a67aa;border-radius:16px;font-size:12px;padding:4px 9px;margin:3px 4px 3px 0}.block{margin:10px 0;padding:4px 0 8px;border-bottom:0}.block:last-child{border-bottom:0}.block h3{margin:0 0 7px;font-size:14px;color:#69829c;font-weight:650}.en{color:var(--ink)}.zh{color:#3d536c}.note,.ipa{color:#8191a7;font-size:14px}.ex{padding:6px 0 0}.ex+.ex{margin-top:6px}.chips span{display:inline-block;margin:0 6px 6px 0;padding:4px 9px;border-radius:16px;background:#edf4ff;color:#2a67aa;font-size:12px}.sense{margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #edf1f5}.sense:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.sense .meta{color:#1d4f86;font-size:15px;font-weight:750;margin-bottom:6px}.sense .zh,.sense .en{margin:0 0 4px;line-height:1.65}.capture{background:linear-gradient(130deg,#132e58,#255ba2);color:#fff;border-radius:22px;padding:20px;margin-bottom:18px}.capture h2{font-size:21px;margin:0 0 6px}.capture p,.capture .sub{margin:0 0 14px;color:#d5e7ff;font-size:13px;line-height:1.6}.capture label{color:#d5e7ff}.capture textarea,.capture input:not([type=checkbox]),.capture select{width:100%;border:0;border-radius:12px;padding:14px;color:#1e3352;background:#fff}.capture input[type=checkbox]{width:18px;height:18px;margin:3px 0 0;flex:none;accent-color:#245ea9}.capture textarea{min-height:148px}.capture .advanced{margin:12px 0 4px;color:#d5e7ff}.capture .advanced summary{cursor:pointer;font-weight:650;font-size:13px}.capture .advanced .check{margin-top:10px}.capture .btn{background:#fff;color:#174b92;margin-top:10px;width:100%}.capture .btn.cta{background:var(--cta);color:var(--cta-ink);box-shadow:0 8px 18px #06152a33;font-weight:750}.capture .btn.cta:hover{background:var(--cta-hover)}.capture .btn.cta:focus-visible{outline:3px solid #fff8;outline-offset:2px}.capture .btn.cta:active{transform:translateY(1px)}.capture .btn.cta:disabled{opacity:.7;box-shadow:none}.capture .hint,.capture .tiny{margin-top:10px;font-size:12px;color:#bdd6f6}.review-front,.review-card{padding:36px 28px;text-align:center;min-height:240px;display:flex;flex-direction:column;justify-content:center;gap:10px}.review-front h2,.review-card h2{margin:12px 0;font-size:34px;overflow-wrap:anywhere}.answer{border-top:1px solid #e4eaf3;margin-top:20px;padding-top:22px;text-align:left}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.ratings button{padding:15px 3px;background:#eaf1f9;color:#264f7b;border-radius:9px;font-weight:650}.ratings button:hover{background:#d0e3f8}.ratings small{display:block;color:var(--muted);font-weight:400}.editor{margin:18px 0 8px}.editor>h3{margin:0 0 6px;font-size:18px}.editor-group{margin:16px 0}.editor-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;margin:10px 0}.editor-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.editor-head h3,.editor-head h4,.editor-sub h4{margin:0;font-size:14px;color:#69829c}.editor-sub{margin-top:8px}.bottom,.mobile-nav{display:none;position:fixed;left:0;right:0;bottom:0;z-index:20;background:#fff;border-top:1px solid #dde7f3;justify-content:space-around;padding:7px 5px calc(8px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;box-shadow:0 -5px 24px #0c29481a}.bottom button,.mobile-nav button{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:50px;font-size:12px;border-radius:10px;background:none;color:#58708d;font-weight:600;margin:0;width:auto;padding:9px 7px}.bottom button.active,.mobile-nav button.active{background:#eaf2ff;color:#1765bd;font-weight:800}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--paper)}.login .panel{width:min(420px,100%)}.login .brand{color:var(--ink);padding:0 0 8px}.login .brand-head{border-bottom:0;padding-bottom:8px}.login .brand-name{color:var(--ink)}.login .brand small{color:var(--muted)}.login .brand-logo{background:var(--sidebar)}.original{white-space:pre-wrap;margin:0;font:inherit;color:var(--ink)}.md p,.md li{margin:0 0 8px}.md h2,.md h3{margin:16px 0 8px;color:#16365f}.md-table-wrap{width:100%;max-width:100%;overflow-x:auto;margin:8px 0 12px}.md table{width:100%;min-width:0;border-collapse:collapse}.md th,.md td{padding:8px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #edf1f5;overflow-wrap:anywhere;word-break:break-word;line-height:1.55}.md th{background:#e8eef5;color:#16365f;font-size:13px;font-weight:650}.md td{color:#172940;font-size:14px}.md td .en{font-weight:650;color:#102744}.md td .zh{margin-top:3px;color:#4a6280;font-size:13px}.md td strong{color:#102744}code{background:#edf4ff;color:#2a67aa;padding:0 4px;border-radius:4px}.lib-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr) minmax(140px,1fr);gap:10px}.task-panel{max-width:820px}html.dialog-open,html.dialog-open body{overflow:hidden}.item-dialog{border:0;border-radius:16px;padding:26px 26px 22px;width:min(860px,95vw);max-height:min(90vh,920px);overflow-x:hidden;box-shadow:0 25px 75px #17345145;color:var(--ink)}.item-read{min-width:0;max-width:100%}.item-dialog::backdrop{background:#12213b99}.dialog-close{position:absolute;top:12px;right:12px;width:44px;height:44px;min-height:44px;border-radius:10px;background:#eef3f9;color:#294a72;font-size:22px}.dialog-body{overflow:auto;overflow-x:hidden;max-height:calc(90vh - 52px);padding-right:4px}.item-dialog h2{margin:0 36px 6px 0;font-size:28px;color:#16365f;font-weight:800;overflow-wrap:anywhere}.item-read{overflow-wrap:anywhere}.detail-block{padding:4px 0 8px;margin:8px 0;border-bottom:0}.detail-block:last-child{border:0}.detail-block h3{font-size:14px;color:#69829c;margin:0 0 7px}.explain{white-space:pre-wrap;line-height:1.7;color:#3d536c}.item-toolbar{margin:8px 36px 10px 0}.item-toolbar>*{flex:0 1 auto;min-width:0}.item-toolbar .btn{flex:none}.tag-editor{display:flex;gap:8px;margin-top:10px}.tag-remove{margin-left:2px;min-width:32px;min-height:32px;width:32px;height:32px;padding:0;background:none;color:#2a67aa;font-size:18px;line-height:1}.tags-block .section-title{margin-bottom:8px}.tags-block h3{margin:0;font-size:14px;color:#69829c}@media(max-width:900px){.side{width:195px}.main{margin-left:195px;width:calc(100% - 195px);padding:22px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.two{grid-template-columns:1fr}}@media(max-width:650px){body{background:#f4f7fc}.side{display:none}.main{margin:0 auto;width:100%;max-width:600px;padding:18px 14px calc(110px + env(safe-area-inset-bottom))}.top{margin-bottom:16px;align-items:flex-start}.home-title{display:flex;flex-wrap:nowrap;align-items:baseline;gap:clamp(6px,2vw,10px);width:100%;min-width:0}.home-title h1,.top h1{font-size:clamp(15px,4.7vw,22px);flex:0 1 auto;min-width:0;overflow-wrap:normal;white-space:nowrap}.lexue-mobile-slogan{display:block;flex:0 0 auto;width:auto;margin:0;white-space:nowrap;font-size:clamp(12px,3.3vw,15px)}.top .btn{font-size:13px;padding:10px 12px}.sub{line-height:1.45}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:13px}.metric .v{font-size:25px}.two,.capture-grid{grid-template-columns:1fr}.wordrow{align-items:flex-start;flex-direction:column;gap:8px}.word-head{flex-wrap:wrap}.word-actions{width:100%}.word-actions .btn{flex:1}.panel{border-radius:17px;padding:17px}.field{margin:12px 0}.field textarea{min-height:95px}.ratings{grid-template-columns:1fr 1fr;gap:11px}.ratings button{min-height:75px;font-size:16px}.review-front,.review-card{padding:22px 14px;min-height:260px}.review-front h2,.review-card h2{font-size:38px}.bottom,.mobile-nav{display:flex}.capture{padding:19px}.btn{padding:13px 16px}.lib-filters{grid-template-columns:1fr}.item-dialog{width:100%;max-width:none;max-height:92dvh;margin:auto auto 0;border-radius:22px 22px 0 0;padding:22px 16px calc(20px + env(safe-area-inset-bottom))}.item-dialog h2{font-size:24px}.md th,.md td{padding:7px 8px}.item-toolbar,.item-tags{margin-right:0}.tag-remove{min-width:40px;min-height:40px;width:40px;height:40px}}
