:root{color:#1f2933;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:radial-gradient(circle at 0 0,#eba36b59,#0000 28%),radial-gradient(circle at 100% 100%,#608bc133,#0000 24%),linear-gradient(135deg,#f4ecde 0%,#fbf8f2 48%,#eef3f4 100%);font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}a{color:inherit;text-decoration:none}button{font:inherit}#root{min-height:100vh}.app-shell{grid-template-columns:310px 1fr;min-height:100vh;display:grid}.app-shell.sidebar-collapsed{grid-template-columns:94px 1fr}.sidebar{color:#f8f3eb;background:#212b36eb;border-right:1px solid #ffffff0f;flex-direction:column;align-self:start;gap:28px;height:100vh;padding:32px 24px;display:flex;position:sticky;top:0;overflow-y:auto}.auth-page{background:radial-gradient(circle at 18% 18%,#e8ab6b5c,#0000 30%),radial-gradient(circle at 82% 70%,#53869733,#0000 28%),linear-gradient(135deg,#f5eddf 0%,#fffaf2 52%,#edf5f5 100%);place-items:center;min-height:100vh;padding:28px;display:grid}.auth-card{background:#fffcf5e0;border:1px solid #2d3c4b14;border-radius:30px;width:min(620px,100%);padding:34px;box-shadow:0 28px 70px #2d3c4b24}.auth-card h1{margin:6px 0 12px;font-size:clamp(32px,7vw,54px);line-height:1.05}.auth-description{color:#596674;margin:0 0 22px;font-size:17px;line-height:1.7}.auth-hint{color:#244f55;background:#e5f2f0b8;border:1px solid #2672782e;border-radius:18px;margin:0 0 18px;padding:14px 16px}.auth-hint code{color:#1f2933;background:#ffffffb8;border-radius:8px;padding:3px 7px}.auth-mode-switch{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.auth-form{gap:16px;display:grid}.auth-form label{color:#4d5968;gap:8px;font-weight:700;display:grid}.auth-form input{color:#1f2933;width:100%;font:inherit;background:#fffc;border:1px solid #2d3c4b24;border-radius:18px;padding:14px 16px}.auth-status-pill{z-index:80;color:#244f55;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffcf5db;border-radius:999px;align-items:center;gap:10px;padding:8px 10px 8px 14px;display:flex;position:fixed;top:16px;right:18px;box-shadow:0 12px 36px #2d3c4b24}.auth-status-pill button{color:#244f55;cursor:pointer;background:#22797b1f;border:0;border-radius:999px;padding:7px 12px}.sidebar-toggle-button{color:#f8f3eb;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;align-self:flex-end;width:34px;height:34px}.brand-mini{text-align:center;letter-spacing:.06em;margin:0;font-size:28px}.brand-block h1{margin:8px 0 12px;font-size:30px;line-height:1.1}.subtitle,.section-description,.book-row p,.stat-card p,.panel p,.detail-list li,.milestone-list li{color:#5d6975}.sidebar .subtitle,.sidebar .card-meta{color:#f8f3ebb8}.eyebrow{letter-spacing:.18em;text-transform:uppercase;color:#d9aa77;margin:0;font-size:12px}.nav-list{flex-direction:column;gap:8px;display:flex}.nav-item{color:#f8f3ebbd;border-radius:16px;padding:14px 16px;transition:background-color .12s,color .12s}.sidebar-collapsed .sidebar{gap:18px;padding:24px 12px}.sidebar-collapsed .nav-item{text-align:center;padding:12px 10px}.nav-item:hover,.nav-item-active{color:#fff8ef;background:#ffffff14}.sidebar-card{background:linear-gradient(#efc3853d,#7c562d2e);border:1px solid #ffffff1a;border-radius:20px;margin-top:auto;padding:18px}.card-label,.answer-label{text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px;font-size:12px;display:block}.content{min-width:0;padding:32px}.settings-page,.settings-page .panel,.settings-page .input-group input,.settings-page .input-group select{min-width:0}.settings-page .panel{overflow-wrap:anywhere}.mobile-menu-button,.mobile-sidebar-backdrop{display:none}.pwa-install-prompt{z-index:36;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fff8eff5;border:1px solid #212b3614;border-radius:22px;align-items:center;gap:16px;max-width:420px;padding:14px 16px;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 42px #131b2033}.pwa-install-prompt strong{color:#25323d;display:block}.pwa-install-prompt p{color:#5d6975;margin:5px 0 0;font-size:14px;line-height:1.45}.pwa-install-actions{flex-shrink:0;gap:8px;display:flex}.pwa-install-actions .primary-button,.pwa-install-actions .ghost-button{padding:9px 13px}.page{flex-direction:column;gap:24px;display:flex}.queue-mode-switch{flex-wrap:wrap;gap:12px;display:flex}.queue-mode-button{color:#44505b;cursor:pointer;background:#212b3614;border:0;border-radius:999px;padding:10px 16px}.queue-mode-button-active{color:#184f50;background:#2c7a7b24}.page-hint,.page-error{background:#ffffffb8;border:1px solid #212b360f;border-radius:18px;padding:14px 16px}.page-error{color:#9b2c2c;background:#ffececdb}.study-stats-note{flex-direction:column;gap:6px;display:flex}.study-stats-note strong{color:#2f3b46}.ai-v3-section{flex-direction:column;gap:14px;display:flex}.ai-v3-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.supporting-text{color:#5d6975;word-break:break-all;margin:12px 0 0}.input-group{flex-direction:column;gap:10px;margin-top:18px;display:flex}.input-group span{color:#44505b;font-size:14px}.input-group input,.input-group select{width:100%;font:inherit;background:#ffffffe6;border:1px solid #212b361f;border-radius:16px;padding:13px 14px}.input-group textarea{width:100%;min-height:110px;font:inherit;resize:vertical;background:#ffffffe6;border:1px solid #212b361f;border-radius:16px;padding:13px 14px}.checkbox-group{flex-direction:row;justify-content:space-between;align-items:center}.checkbox-group input[type=checkbox]{width:18px;height:18px}.preview-stack{flex-direction:column;gap:18px;display:flex}.preview-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-chip,.success-box{background:#f8fafbe6;border:1px solid #212b360f;border-radius:18px;padding:16px}.metric-chip span{color:#6b7784;margin-bottom:8px;font-size:12px;display:block}.metric-chip strong{font-size:26px}.success-box{background:#ddf0e9db;margin-top:18px}.section-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.section-header h2{margin:10px 0 8px;font-size:34px;line-height:1.1}.primary-button,.ghost-button,.rate-button,.danger-button{cursor:pointer;border:0;border-radius:999px;padding:12px 18px}.primary-button{color:#fff;background:#2c7a7b}.ghost-button{color:#184f50;background:#2c7a7b1a}.rate-button{color:#8e4d22;background:#e97f4e29}.danger-button{color:#8c2f2f;background:#b037371f}.primary-button:disabled,.ghost-button:disabled,.rate-button:disabled,.danger-button:disabled{cursor:not-allowed;opacity:.55}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.compact-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat-card,.panel,.study-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffbd;border:1px solid #212b360f;border-radius:28px;padding:24px;box-shadow:0 14px 40px #434c5414}.stat-card strong,.dictation-answer strong{margin:14px 0 10px;font-size:38px;line-height:1;display:block}.warm{background:linear-gradient(#ffecd0eb,#fffaf1d6)}.sand{background:linear-gradient(#f2e8d2eb,#fffbf5d6)}.leaf{background:linear-gradient(#ddf0e9eb,#f7fffbd6)}.coral{background:linear-gradient(#ffdfd6eb,#fff7f4d6)}.panel-grid{grid-template-columns:minmax(280px,.95fr) minmax(560px,1.35fr);gap:18px;display:grid}.panel-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.panel-header h3,.study-card h3,.dictation-panel h3,.detail-hero h3{margin:0;font-size:24px}.book-list,.word-table,.detail-list,.milestone-list{flex-direction:column;gap:14px;display:flex}.management-box{border-top:1px solid #212b3614;margin-top:22px;padding-top:22px}.book-row,.word-row{background:#f8fafbe6;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.word-row{border:1px solid #212b360f}.word-appendix-line{flex-wrap:wrap;align-items:baseline;gap:8px 10px;display:flex}.word-appendix-line strong{font-size:18px}.word-audio-chip{color:#184f50;cursor:pointer;-webkit-user-select:none;user-select:none;background:#deece8bd;border:1px solid #2c7a7b29;border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;font-size:12px;font-weight:700;line-height:1.3;display:inline-flex}.word-audio-chip:hover,.word-audio-chip:focus-visible{background:#2c7a7b29;outline:none}.word-appendix-pos,.word-appendix-meaning{color:#5d6975}.word-appendix-pos{font-size:14px}.word-appendix-meaning{font-size:15px;line-height:1.55}.button-row{cursor:pointer;text-align:left;width:100%;font:inherit;border:1px solid #212b360f}.selected-row{background:#2c7a7b1a;border-color:#2c7a7b59}.filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.toolbar-field{flex-direction:column;gap:8px;min-width:0;display:flex}.filter-toolbar .toolbar-field:first-child{grid-column:1/-1}.toolbar-field span{color:#5d6975;white-space:nowrap;font-size:13px;display:block}.toolbar-field input,.toolbar-field select{width:100%;font:inherit;background:#ffffffeb;border:1px solid #212b361f;border-radius:14px;padding:11px 12px}.word-meta{color:#6b7784;font-size:13px}.word-error{color:#9b2c2c;margin-top:6px;font-size:13px}.empty-state{color:#5d6975;background:#f8fafbe6;border-radius:18px;padding:20px}.status-pill{text-transform:capitalize;border-radius:999px;justify-content:center;align-items:center;min-width:92px;padding:7px 12px;font-size:13px;display:inline-flex}.status-success{color:#226140;background:#38a16924}.status-partial{color:#8b4d14;background:#dd6b2026}.status-failed{color:#9b2c2c;background:#e53e3e24}.status-processing,.status-pending{color:#275a9b;background:#3182ce1f}.detail-layout{grid-template-columns:1.4fr 1fr;align-items:start;gap:18px;display:grid}.detail-word-sticky-bar{z-index:16;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f4ecdff5;border:1px solid #212b3614;border-radius:20px;justify-content:space-between;align-items:center;gap:14px;margin:0 0 16px;padding:10px 12px;display:flex;position:sticky;top:10px;box-shadow:0 10px 24px #434c541f}.detail-word-sticky-main,.detail-word-sticky-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.detail-word-sticky-main strong{color:#25323d;font-size:26px;line-height:1}.detail-word-sticky-main span{color:#4f5f6f;background:#ffffffa8;border-radius:999px;align-items:center;min-height:30px;padding:5px 10px;font-size:13px;display:inline-flex}.detail-word-sticky-actions .ghost-button{padding:8px 12px}.detail-hero{grid-column:1/-1}.detail-quick-meta{border-top:1px solid #212b3614;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:16px;display:flex}.detail-quick-meta span:not(.status-pill){color:#4f5f6f;background:#2c7a7b14;border-radius:999px;align-items:center;min-height:32px;padding:6px 11px;font-size:13px;display:inline-flex}.compact-detail-box{background:#f8fafbc7;border:1px solid #212b360f;border-radius:18px;margin-top:14px;padding:12px 14px}.compact-detail-box summary{cursor:pointer;color:#184f50;font-weight:700}.compact-detail-list{color:#5d6975;gap:8px;margin-top:12px;font-size:14px}.phonetic{color:#1f6f72;margin:0 0 14px;font-size:20px}.part-of-speech{color:#184f50;text-transform:lowercase;background:#2c7a7b1f;border-radius:999px;margin:0 0 16px;padding:6px 10px;font-size:13px;display:inline-flex}.meaning-line{color:#25323d;margin:0 0 12px;font-size:24px}.example-line{margin:12px 0;font-size:18px;line-height:1.6}.translation-line{color:#64707d;margin:0}.study-card,.dictation-panel{min-height:320px}.study-card-rich{flex-direction:column;gap:22px;padding-bottom:96px;display:flex}.study-word-anchor{position:static}.study-page{gap:14px}.study-overview,.study-status-line{color:#64707d;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:13px;line-height:1.6;display:flex}.study-overview{background:#ffffffa6;border-radius:16px;padding:10px 14px}.study-overview strong,.study-status-line strong{color:#25323d}.study-overview details{flex-basis:100%}.study-overview details:not([open]){flex-basis:auto;margin-left:auto}.study-overview summary,.study-tool-panel summary{cursor:pointer}.study-overview p{margin:6px 0 0}.study-queue-progress{color:#64707d;align-self:center;margin-left:auto;font-size:13px}.study-page .study-card-rich{gap:12px}.study-status-line{border-bottom:1px solid #212b3614;padding:0 4px 8px}.study-recall-hint{color:#6a5a4d;background:#fff4e1a6;border-radius:12px;margin:0;padding:10px 14px;font-size:14px}.study-recall-controls{color:#64707d;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:4px;font-size:13px;display:flex}.study-recall-controls label{cursor:pointer;align-items:center;gap:5px;min-height:32px;display:inline-flex}.study-recall-controls small{flex-basis:100%;font-size:12px}.study-page .study-sync-banner{border-radius:12px;flex-flow:wrap;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;font-size:13px}.study-page .study-sync-banner .ghost-button{width:auto;margin-left:auto;padding:7px 12px}.study-tool-panel{background:#f8fafba6;border:1px solid #212b3614;border-radius:16px;min-width:0}.study-tool-panel>summary{color:#44505b;padding:10px 14px}.study-tool-panel>summary strong{margin-right:12px;font-size:14px}.study-tool-panel>summary span{text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;color:#64707d;max-width:min(72%,48rem);font-size:13px;display:inline-block;overflow:hidden}.study-tool-body{padding:0 14px 14px}.study-tool-body textarea{min-height:90px}.study-tool-panel .pronunciation-panel{box-shadow:none;border:0;border-radius:0 0 16px 16px}.study-tool-panel summary:focus-visible,.study-overview summary:focus-visible{outline-offset:2px;outline:2px solid #2c7a7b}.study-sync-banner{background:#fff4e1eb;border:1px solid #e97f4e29;border-radius:20px;justify-content:space-between;align-items:center;gap:16px;margin:18px 0 6px;padding:16px 18px;display:flex}.study-sync-banner strong{color:#8e4d22;display:block}.study-sync-banner p{color:#6a5a4d;margin:6px 0 0}.study-hero{grid-template-columns:minmax(0,1.4fr) 320px;gap:18px;display:grid}.study-hero-main h3{margin:0 0 10px;font-size:42px;line-height:1}.study-word-anchor .study-hero-main{padding:8px 0 0}.study-word-sticky-bar{z-index:12;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f4ecdff5;border:1px solid #212b3614;border-radius:20px;align-items:center;width:fit-content;max-width:100%;margin:6px 0 8px;padding:10px 12px;display:inline-flex;position:sticky;top:10px;box-shadow:0 10px 24px #434c541f}.study-hero-side{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.study-stat-card,.study-summary-card,.study-prompt-panel{background:#f8fafbe6;border:1px solid #212b360f;border-radius:22px;padding:18px}.study-stat-card>span:not(.ai-sentence-with-action),.study-summary-card>span:not(.ai-sentence-with-action){letter-spacing:.08em;text-transform:uppercase;color:#6b7784;margin-bottom:8px;font-size:12px;display:block}.study-stat-card>strong,.study-summary-card>strong{color:#25323d;font-size:18px;line-height:1.4;display:block}.study-stat-card strong{font-size:16px}.study-summary-card p,.study-prompt-panel p{color:#5d6975;margin:10px 0 0;line-height:1.7}.study-chip-row{flex-wrap:wrap;gap:10px;display:flex}.study-info-chip{color:#184f50;background:#2c7a7b14;border-radius:999px;align-items:center;padding:7px 12px;font-size:13px;display:inline-flex}.study-prompt-panel{background:linear-gradient(#fff8ebf2,#ffffffdb)}.study-prompt-title{color:#25323d;margin:0;font-size:22px}.study-recall-grid,.study-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.study-answer-stack{flex-direction:column;gap:18px;display:flex}.pronunciation-panel{background:linear-gradient(135deg,#ebf8f5f0,#fffaf1eb),#fffaf1;border:1px solid #427c7c2e;border-radius:24px;gap:1rem;padding:1.4rem;display:grid;box-shadow:0 18px 50px #22323d14}.pronunciation-toggle{flex-wrap:wrap;gap:.45rem;display:flex}.pronunciation-target{background:#ffffffb8;border-radius:20px;gap:.4rem;padding:1rem;display:grid}.pronunciation-target span,.pronunciation-history>span{color:var(--muted);font-size:.9rem}.pronunciation-target span em{color:var(--teal);background:#427c7c1f;border-radius:999px;margin-left:.5rem;padding:.18rem .55rem;font-size:.78rem;font-style:normal;display:inline-flex}.pronunciation-target strong{color:var(--ink);font-size:clamp(1.2rem,2.4vw,1.85rem);line-height:1.35}.ai-sentence-with-action{flex-wrap:wrap;align-items:center;gap:.35rem;display:inline-flex}.ai-sentence-prefix{color:var(--muted)}.sentence-practice-button{color:var(--teal);cursor:pointer;background:#deece8c7;border:1px solid #427c7c2e;border-radius:999px;padding:.16rem .5rem;font-size:.75rem;font-weight:700;line-height:1.4}.sentence-audio-button{width:1.65rem;height:1.65rem;color:var(--teal);cursor:pointer;background:#ffffffdb;border:1px solid #427c7c2e;border-radius:999px;justify-content:center;align-items:center;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.sentence-audio-button:disabled,.sentence-practice-button:disabled{cursor:wait;opacity:.72}.sentence-audio-button:hover{background:#427c7c1f}.ai-sentence-with-action .sentence-audio-error{color:#a04436;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere;flex-basis:100%;font-size:.8rem;line-height:1.5}.sentence-practice-button:hover{background:#427c7c29}.pronunciation-transcript{color:var(--muted);line-height:1.7}.pronunciation-result{background:#ffffffc2;border-radius:20px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:.8rem;padding:1rem;display:flex}.pronunciation-result audio{width:100%;margin-top:0;display:block}.manual-pronunciation-score{background:#faf6ecd1;border-radius:18px;gap:.75rem;padding:.85rem;display:grid}.weakness-practice-panel,.weakness-task-list,.weakness-word-list{gap:1rem;display:grid}.weakness-task-card,.weakness-word-card{background:#ffffffc2;border:1px solid #22323d14;border-radius:22px;gap:.85rem;padding:1rem;display:grid}.weakness-task-header,.weakness-word-title{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.weakness-word-title h3,.weakness-task-card h3{margin:0}.weakness-word-title strong{color:#9a4c24;background:#eea97829;border-radius:999px;margin-left:auto;padding:.3rem .75rem}.weakness-event-list{color:var(--muted);gap:.35rem;font-size:.92rem;display:grid}.weakness-event-list p,.weakness-reference p{margin:0}.weakness-reference{color:var(--muted)}.weakness-shadowing-panel{gap:.75rem;display:grid}.weakness-shadowing-panel .pronunciation-panel{box-shadow:none;background:linear-gradient(135deg,#ebf8f5c2,#fffaf1d1),#ffffffc7}.pronunciation-score-row{flex-wrap:wrap;gap:.5rem;display:flex}.pronunciation-score-pill{color:#245d5e;background:#427c7c1f;border-radius:999px;align-items:center;gap:.4rem;padding:.45rem .7rem;display:inline-flex}.pronunciation-score-pill strong{color:var(--ink)}.pronunciation-alignment{background:#f8fafbdb;border-radius:18px;flex-wrap:wrap;gap:.45rem;padding:.75rem;display:flex}.pronunciation-token{border-radius:999px;align-items:center;min-height:2rem;padding:.32rem .58rem;font-weight:700;display:inline-flex}.pronunciation-token-exact{color:#155b3b;background:#46a6782e}.pronunciation-token-close{color:#4e5b11;background:#dfca5338}.pronunciation-token-misread{color:#8a4429;background:#e37e502e}.pronunciation-token-missing{color:#8b2f2f;background:#dc5c5c29;text-decoration:line-through}.pronunciation-token-extra{color:#315270;background:#558bbc29}.pronunciation-feedback-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.pronunciation-feedback-grid div{background:#ffffffad;border-radius:16px;padding:.75rem}.pronunciation-feedback-grid strong{color:var(--ink);margin-bottom:.35rem;display:block}.pronunciation-feedback-grid p{color:var(--muted);margin:0;line-height:1.6}.pronunciation-service-meta{color:var(--muted);flex-wrap:wrap;gap:.45rem;font-size:.82rem;display:flex}.pronunciation-service-meta span,.pronunciation-word-meta span,.pronunciation-detail-header span,.pronunciation-metric-grid span{background:#deece8ad;border-radius:999px;padding:.28rem .55rem}.pronunciation-detail-section{background:#f6f9f5cc;border:1px solid #427c7c1a;border-radius:18px;gap:.75rem;padding:.95rem;display:grid}.pronunciation-detail-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.pronunciation-word-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.pronunciation-word-card{background:#ffffffd1;border-left:4px solid #427c7c38;border-radius:16px;gap:.55rem;padding:.85rem;display:grid}.pronunciation-word-card-exact{border-left-color:#38805cb3}.pronunciation-word-card-close{border-left-color:#cd9644bf}.pronunciation-word-card-misread,.pronunciation-word-card-missing{border-left-color:#ab553fc7}.pronunciation-word-card-extra{border-left-color:#63748cb8}.pronunciation-word-card-header{color:var(--ink);justify-content:space-between;gap:.75rem;display:flex}.pronunciation-word-card-header span{color:var(--teal);font-weight:700}.pronunciation-word-meta,.pronunciation-metric-grid{color:var(--muted);flex-wrap:wrap;gap:.4rem;font-size:.78rem;display:flex}.pronunciation-word-spoken,.pronunciation-word-phonemes{color:var(--muted);margin:0;line-height:1.6}.pronunciation-word-phonemes{font-family:Space Mono,Courier New,monospace;font-size:.88rem}.pronunciation-hint-list{color:var(--muted);gap:.35rem;margin:0;padding-left:1.1rem;line-height:1.6;display:grid}.pronunciation-ctc-list{color:#8a4b39}.pronunciation-history{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.pronunciation-history-item{color:var(--ink);cursor:pointer;background:#ffffffb8;border:0;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem .75rem;display:inline-flex}.pronunciation-history-item span{color:var(--muted)}.study-sense-groups{flex-direction:column;gap:16px;display:flex}.study-sense-group{background:#f8fafbd6}.study-ai-panel{background:linear-gradient(#e4eef7eb,#ffffffdb);border:1px solid #608bc129;border-radius:24px;padding:22px}.study-ai-actions{flex-wrap:wrap;gap:10px;display:flex}.study-ai-stack{flex-direction:column;gap:18px;display:flex}.study-ai-meta{flex-wrap:wrap;gap:10px;display:flex}.study-ai-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.study-ai-card{background:#ffffffe6}.study-ai-list{color:#44505b;margin:0;padding-left:18px}.study-ai-list li+li{margin-top:8px}.study-ai-collocations{flex-direction:column;gap:12px;display:flex}.study-ai-collocation-card{background:#f8fafbeb;border:1px solid #212b360f;border-radius:18px;padding:14px 16px}.study-ai-collocation-card strong{display:block}.study-ai-confusions{flex-direction:column;gap:12px;display:flex}.study-ai-confusion-card{background:#f8fafbeb;border:1px solid #212b360f;border-radius:18px;padding:14px 16px}.study-ai-confusion-card strong{margin-bottom:6px;display:block}.study-ai-confusion-card p{color:#5d6975;margin:6px 0 0}.study-ai-examples{flex-direction:column;gap:14px;display:flex}.action-row{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.study-action-dock{z-index:12;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #212b3614;border-radius:18px;margin-top:8px;padding:12px;position:sticky;bottom:14px;box-shadow:0 14px 30px #434c5424}.study-meta{justify-content:space-between;align-items:center;gap:16px;display:flex}.progress-badge{color:#184f50;background:#2c7a7b1a;border-radius:999px;padding:8px 12px;font-size:13px}.compact-actions{margin-top:0}.detail-editor,.detail-senses{grid-column:1/-1}.detail-management{grid-column:1/-1;padding:12px 16px}.sense-groups,.sense-list{flex-direction:column;gap:16px;display:flex}.sense-group{background:#f8fafbd1;border:1px solid #212b360f;border-radius:22px;padding:18px}.sense-group-header{color:#5d6975;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.sense-card{background:#ffffffe0;border:1px solid #212b360f;border-radius:18px;padding:16px 18px}.sense-card strong{color:#25323d;margin-bottom:8px;display:block}.sense-card p{margin:8px 0 0}.sense-source{color:#6b7784;margin-top:10px;font-size:12px;display:inline-block}.dictation-answer{background:#2c7a7b14;border-radius:20px;margin-top:28px;padding:18px}.dictation-answer p{margin:0}.dictation-comparison,.dictation-history-panel{gap:12px;min-width:0;display:grid}.dictation-comparison{margin:12px 0}.dictation-spelling-row{grid-template-columns:80px minmax(0,1fr);align-items:baseline;gap:12px;display:grid}.dictation-spelling-row>span{color:#61717c;font-size:13px}.dictation-spelling-row strong{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:22px}.spelling-incorrect{color:#983e30;text-underline-offset:4px;background:#f9e2dd;-webkit-text-decoration:underline wavy;text-decoration:underline wavy}.spelling-correction{color:#145c45;text-underline-offset:4px;background:#cfeae0;text-decoration:underline}.dictation-difference{color:#52646d;overflow-wrap:anywhere;font-size:14px}.dictation-history-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.dictation-history-filters>.input-group{flex:160px}.dictation-history-search{flex:2 240px;align-items:end;gap:8px;min-width:0;display:flex}.dictation-history-search .input-group{flex:1;min-width:0}.dictation-history-filters .input-group{margin:0}.dictation-history-group{background:#f7faf9cc;border:1px solid #2c7a7b1f;border-radius:18px;min-width:0;padding:16px}.dictation-history-group>.panel-header strong{overflow-wrap:anywhere;font-size:20px}.dictation-history-attempt+.dictation-history-attempt{border-top:1px solid #2c7a7b1f;margin-top:16px;padding-top:16px}.dictation-history-meta{color:#61717c;flex-wrap:wrap;gap:12px;font-size:13px;display:flex}.dictation-result-correct{color:#145c45}.dictation-result-wrong{color:#983e30}@media (width<=600px){.dictation-spelling-row{grid-template-columns:65px minmax(0,1fr);gap:8px}.dictation-history-group{padding:12px}.dictation-history-pagination{justify-content:center}}.application-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.application-main,.application-history,.cloze-history-list,.cloze-feedback-list{flex-direction:column;gap:16px;display:flex}.cloze-options-grid{grid-template-columns:repeat(4,minmax(140px,1fr));gap:14px;display:grid}.cloze-article-panel{flex-direction:column;gap:18px;display:flex}.compact-header{margin-top:8px}.cloze-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.cloze-listen-button{white-space:nowrap}.cloze-score-badge{color:#184f50;background:#2c7a7b1a;border-radius:999px;padding:10px 14px;font-weight:700}.cloze-word-bank{flex-wrap:wrap;gap:10px;display:flex}.cloze-passage{background:#f8fafbe6;border:1px solid #212b360f;border-radius:20px;padding:22px;font-size:18px;line-height:2.15}.cloze-inline-input{width:150px;font:inherit;color:#25323d;background:#ffffffd1;border:0;border-bottom:2px solid #2c7a7b6b;border-radius:10px 10px 0 0;margin:0 6px;padding:6px 10px}.usage-prompt-card{background:#f8fafbe6;border:1px solid #212b360f;border-radius:20px;padding:20px}.usage-prompt-card strong{color:#25323d;margin-bottom:12px;display:block}.usage-prompt-card p{margin:10px 0 0;font-size:17px;line-height:1.7}.usage-feedback-stack{flex-direction:column;gap:14px;display:flex}.cloze-feedback-card.correct{background:#ddf0e9b3;border-color:#2c7a7b38}.cloze-feedback-card.wrong{background:#ffece2c7;border-color:#e97f4e40}.cloze-history-item{width:100%;color:inherit;cursor:pointer;text-align:left;font:inherit;background:#f8fafbe6;border:1px solid #212b3614;border-radius:16px;padding:14px}.cloze-history-item strong,.cloze-history-item span,.cloze-history-item small{display:block}.cloze-history-item span{color:#2c7a7b;margin-top:8px;font-weight:700}.cloze-history-item small{color:#6b7784;margin-top:6px}.cloze-history-item-active{background:#2c7a7b1a;border-color:#2c7a7b61}.dictation-success{background:#ddf0e9db}.dictation-failure{background:#ffecece6}@media (width<=1280px){.app-shell{grid-template-columns:260px 1fr}.app-shell.sidebar-collapsed{grid-template-columns:84px 1fr}.stats-grid,.preview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-toolbar,.panel-grid,.detail-layout,.application-layout,.study-hero,.study-recall-grid,.study-answer-grid,.study-ai-grid{grid-template-columns:1fr}.cloze-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.study-action-dock{bottom:8px}}@media (width<=980px){.settings-page .panel-grid{grid-template-columns:minmax(0,1fr)}.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.app-shell-mobile .sidebar{z-index:30;width:min(82vw,320px);padding:24px 18px 18px;transition:transform .18s;position:fixed;top:0;bottom:0;left:0;transform:translate(-104%)}.app-shell-mobile.mobile-sidebar-open .sidebar{transform:translate(0)}.app-shell-mobile .sidebar-toggle-button{display:none}.app-shell-mobile .sidebar-card{margin-top:10px}.content{padding:72px 12px 86px}.auth-status-pill{z-index:34;max-width:calc(100vw - 108px);padding:7px 8px 7px 12px;top:10px;left:12px;right:auto}.auth-status-pill span{white-space:nowrap;text-overflow:ellipsis;max-width:120px;overflow:hidden}.auth-status-pill button{white-space:nowrap;padding:7px 10px}.section-header h2{font-size:30px}.panel,.study-card,.stat-card{border-radius:20px;padding:18px}.mobile-menu-button{z-index:35;color:#fff8ef;cursor:pointer;white-space:nowrap;background:#212b36db;border:0;border-radius:999px;justify-content:center;align-items:center;min-width:78px;padding:10px 12px;display:inline-flex;position:fixed;top:10px;right:12px;box-shadow:0 8px 24px #131b2047}.mobile-sidebar-backdrop{z-index:24;background:#1018204d;border:0;display:block;position:fixed;inset:0}.pwa-install-prompt{border-radius:18px;flex-direction:column;align-items:flex-start;gap:10px;max-width:none;bottom:12px;left:12px;right:12px}.pwa-install-actions{width:100%}.pwa-install-actions .primary-button,.pwa-install-actions .ghost-button{flex:1;justify-content:center}.action-row{flex-wrap:wrap}.primary-button,.ghost-button,.rate-button{padding:11px 14px}.page{gap:16px}.study-card,.panel,.stat-card{border-radius:16px;padding:14px}.study-word-sticky-bar{top:56px}.detail-word-sticky-bar{border-radius:16px;flex-direction:column;align-items:flex-start;gap:10px;padding:10px;top:56px}.detail-word-sticky-main strong{font-size:24px}.detail-word-sticky-actions{width:100%}.detail-word-sticky-actions .ghost-button{flex:1;justify-content:center}.study-sync-banner{flex-direction:column;align-items:flex-start;gap:10px}.study-sync-banner .ghost-button{text-align:center;width:100%}.panel-header{flex-direction:column;align-items:flex-start;gap:10px}.study-ai-panel{border-radius:18px;padding:16px}.study-ai-actions{width:100%}.study-ai-actions .ghost-button{flex:1;justify-content:center}.ai-v3-section .panel-header h3{font-size:22px;line-height:1.25}.study-ai-card,.study-ai-panel .study-summary-card,.study-ai-panel .sense-card{border-radius:16px;padding:14px}}@media (width<=640px){.content{padding-left:8px;padding-right:8px}.auth-status-pill{max-width:calc(100vw - 104px)}.auth-status-pill span{max-width:88px}.section-header{flex-direction:column;align-items:flex-start;gap:10px}.section-header h2{font-size:26px}.stats-grid,.preview-metrics{grid-template-columns:1fr}.detail-word-sticky-main span{display:none}.study-action-dock{left:max(6px, env(safe-area-inset-left));right:max(6px, env(safe-area-inset-right));border-radius:16px;gap:8px;padding:10px;bottom:6px}.study-action-dock .primary-button,.study-action-dock .ghost-button,.study-action-dock .rate-button{text-align:center;flex:calc(50% - 8px)}.study-hero-side{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cloze-options-grid{grid-template-columns:1fr}.cloze-passage{padding:16px;font-size:16px;line-height:2}.cloze-inline-input{width:112px;margin:0 3px;padding:5px 8px}.study-stat-card{border-radius:14px;padding:12px}.study-stat-card span{letter-spacing:.04em;margin-bottom:6px;font-size:11px}.study-stat-card strong{font-size:14px;line-height:1.3}.study-word-sticky-bar{top:56px}.study-card-rich{margin-left:-4px;margin-right:-4px;padding-bottom:132px;padding-left:8px;padding-right:8px}.study-ai-panel{border-left:0;border-right:0;border-radius:18px;margin-left:-8px;margin-right:-8px;padding:12px 8px}.study-ai-stack{gap:14px}.study-ai-meta{gap:8px}.study-ai-meta .study-info-chip{overflow-wrap:anywhere;max-width:100%}.ai-v3-section{margin-left:0;margin-right:0}.ai-v3-section .panel-header{margin-bottom:10px}.ai-v3-section .panel-header h3{font-size:21px}.study-ai-panel .sense-group{border-radius:16px;padding:10px}.study-ai-panel .sense-list,.study-ai-panel .sense-groups,.study-ai-panel .ai-v3-grid{gap:10px}.study-ai-card,.study-ai-panel .study-summary-card,.study-ai-panel .sense-card{border-radius:14px;padding:12px}.study-ai-card strong,.study-ai-panel .sense-card strong,.study-ai-panel .study-summary-card strong{font-size:17px;line-height:1.45}.study-ai-card p,.study-ai-panel .sense-card p,.study-ai-panel .study-summary-card p,.study-ai-panel .translation-line{overflow-wrap:anywhere;font-size:15px;line-height:1.65}.pronunciation-panel{border-radius:18px;padding:12px}.pronunciation-feedback-grid{grid-template-columns:1fr}.pronunciation-token{overflow-wrap:anywhere;max-width:100%}}
