:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:rgb(var(--theme-text-primary-rgb));--theme-text-primary-rgb: 246 244 239;--theme-text-on-accent: #1c2438;--theme-surface-rgb: 17 24 39;--theme-surface-strong-rgb: 15 23 39;--theme-bg-glow-1-rgb: 255 191 105;--theme-bg-glow-2-rgb: 107 142 35;--theme-bg-start: #1f2a44;--theme-bg-mid: #0f1727;--theme-bg-end: #101826;--theme-accent-rgb: 255 191 105;--theme-accent-alt-rgb: 124 199 144;--theme-background-glow-alpha: .22;--theme-background-secondary-glow-alpha: .18;--theme-surface-alpha: .65;--theme-surface-strong-alpha: .78;--theme-secondary-fill-alpha: 1;--theme-secondary-hover-alpha: 1;--theme-panel-border-alpha: 1;--theme-input-border-alpha: 1;--theme-panel-shadow-alpha: 0;--theme-accent-shadow-alpha: 0;--theme-accent-soft-alpha: 1;--theme-accent-outline-alpha: 1;--color-text-primary: rgb(var(--theme-text-primary-rgb));--color-text-on-accent: var(--theme-text-on-accent);--color-text-on-danger: #fff7f7;--color-text-muted: rgb(201 205 214);--color-text-subtle: rgb(185 191 201);--color-text-faint: rgb(163 171 183);--color-panel-border-soft: rgb(86 98 121);--color-surface-dark: rgb(26 33 45);--color-surface-dark-strong: rgb(22 28 39);--color-accent-fill-start: rgb(var(--theme-accent-rgb));--color-accent-fill-end: rgb(var(--theme-accent-alt-rgb));--color-accent-shadow: rgb(var(--theme-accent-rgb));--color-accent-outline: rgb(var(--theme-accent-rgb));--color-accent-outline-soft: rgb(224 178 101);--color-danger-fill-start: rgb(255 107 107);--color-danger-fill-end: rgb(255 154 139);--color-danger-shadow: rgb(255 107 107);--color-danger-banner-bg: rgb(223 116 116);--color-danger-banner-border: rgb(255 107 107);--color-danger-banner-text: #ffdede;--color-danger-banner-strong: #fff3f3;--color-finger-shadow-base: rgb(130 82 19);--color-secondary-fill: rgb(36 44 58);--color-secondary-fill-strong: rgb(47 58 74);--color-input-border: rgb(105 117 138);--color-panel-shadow: rgb(0 0 0);--color-surface-raised: rgb(26 33 45);--color-surface-subtle: rgb(29 37 50);--color-surface-muted: rgb(32 40 54);--color-surface-overlay: rgb(18 25 37);--color-border-strong: rgb(125 138 161);--color-border-contrast: rgb(159 173 196);--color-text-secondary: rgb(218 220 225);--color-chip-text: rgb(218 220 225);--color-chip-count-text: rgb(204 208 216);--color-chip-hover-text: rgb(246 244 239);--color-status-success-bg: rgb(107 168 123);--color-status-success-border: rgb(124 199 144);--color-status-success-text: #e7ffe6;--color-status-warning-bg: rgb(231 185 112);--color-status-warning-border: rgb(var(--theme-accent-rgb));--color-status-warning-text: #ffe4bf;--color-status-error-bg: rgb(223 116 116);--color-status-error-border: rgb(255 107 107);--color-status-error-text: #ffd6d6;--color-status-info-bg: rgb(112 173 226);--color-status-info-border: rgb(121 192 255);--color-status-info-text: #d4e8ff;--color-success-chip-bg: rgb(98 160 116);--color-success-chip-border: rgb(124 199 144);--color-success-chip-text: #d9ffe3;--color-warning-chip-bg: rgb(232 182 110);--color-warning-chip-border: rgb(var(--theme-accent-rgb));--color-warning-chip-text: #ffe2b7;--color-neutral-chip-bg: rgb(52 61 77);--color-neutral-chip-border: rgb(119 133 154);--color-neutral-chip-text: rgb(218 220 225);background:var(--theme-bg-mid);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root[data-theme=forest]{--theme-surface-rgb: 12 33 29;--theme-surface-strong-rgb: 10 26 22;--theme-bg-glow-1-rgb: 124 199 144;--theme-bg-glow-2-rgb: 255 214 121;--theme-bg-start: #162f28;--theme-bg-mid: #0d1f1b;--theme-bg-end: #122119}:root[data-theme=ocean]{--theme-surface-rgb: 12 27 42;--theme-surface-strong-rgb: 9 21 34;--theme-bg-glow-1-rgb: 121 192 255;--theme-bg-glow-2-rgb: 133 219 255;--theme-bg-start: #183451;--theme-bg-mid: #0b1d30;--theme-bg-end: #0b1727}:root[data-theme=dawn]{--theme-surface-rgb: 38 25 45;--theme-surface-strong-rgb: 30 20 36;--theme-bg-glow-1-rgb: 255 150 167;--theme-bg-glow-2-rgb: 255 196 143;--theme-bg-start: #44263f;--theme-bg-mid: #241629;--theme-bg-end: #19141f}:root[data-theme=daylight]{--theme-text-primary-rgb: 37 48 69;--theme-text-on-accent: #0f1b2d;--theme-surface-rgb: 255 255 255;--theme-surface-strong-rgb: 248 244 237;--theme-bg-glow-1-rgb: 255 207 138;--theme-bg-glow-2-rgb: 167 219 196;--theme-bg-start: #f7efe3;--theme-bg-mid: #efe7da;--theme-bg-end: #e4efe8;--color-text-on-danger: #fff7f7;--color-danger-banner-bg: rgb(223 116 116);--color-danger-banner-border: rgb(255 107 107);--color-danger-banner-text: #7f1d1d;--color-danger-banner-strong: #5f1515;--color-finger-shadow-base: rgb(130 82 19);--color-surface-raised: rgb(255 251 245);--color-surface-subtle: rgb(248 244 236);--color-surface-muted: rgb(239 235 225);--color-surface-overlay: rgb(255 251 245);--color-border-strong: rgb(57 73 97);--color-border-contrast: rgb(79 96 124);--color-text-secondary: rgb(37 48 69);--color-chip-text: rgb(37 48 69);--color-chip-count-text: rgb(37 48 69);--color-chip-hover-text: rgb(37 48 69);--color-status-success-bg: rgb(191 225 202);--color-status-success-border: rgb(92 160 119);--color-status-success-text: #1e5b38;--color-status-warning-bg: rgb(249 222 168);--color-status-warning-border: rgb(184 123 28);--color-status-warning-text: #7b4c05;--color-status-error-bg: rgb(242 190 190);--color-status-error-border: rgb(188 74 74);--color-status-error-text: #8c2323;--color-status-info-bg: rgb(196 223 248);--color-status-info-border: rgb(72 129 183);--color-status-info-text: #1d4f79;--color-success-chip-bg: rgb(201 229 208);--color-success-chip-border: rgb(92 160 119);--color-success-chip-text: #1e5b38;--color-warning-chip-bg: rgb(248 226 176);--color-warning-chip-border: rgb(184 123 28);--color-warning-chip-text: #7b4c05;--color-neutral-chip-bg: rgb(229 234 240);--color-neutral-chip-border: rgb(90 105 128);--color-neutral-chip-text: rgb(37 48 69)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:var(--color-text-primary);background:inherit}button,input{font:inherit}button{border:1px solid var(--color-panel-border-soft);border-radius:14px;padding:.8rem 1.2rem;cursor:pointer;background:var(--color-accent-fill-start);color:var(--color-text-on-accent);font-weight:700;box-shadow:none;transition:background .12s ease,color .12s ease,border-color .12s ease}button.secondary{background:var(--color-secondary-fill);color:var(--color-text-primary);box-shadow:none}button.active{outline:2px solid var(--color-accent-outline)}button:disabled{cursor:not-allowed;background:var(--color-secondary-fill);border-color:var(--color-border-strong);color:var(--color-text-faint);box-shadow:none}input{border:1px solid var(--color-input-border);border-radius:16px;padding:.8rem 1rem;background:var(--color-surface-dark);color:inherit}#root{min-height:100vh}.app-shell{max-width:1040px;margin:0 auto;padding:1.5rem 1rem 2.5rem}.app-frame{display:grid;gap:.9rem}.label{margin:0;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:var(--color-text-muted)}.panel h2,.result-card h3{margin:0}.tabs-panel{padding:.25rem;border-radius:18px;background:var(--color-surface-dark-strong);border:1px solid var(--color-panel-border-soft)}.tabs{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tabs button{flex:1 1 10rem;min-height:2.9rem;background:var(--color-secondary-fill);color:var(--color-text-primary);border-color:var(--color-panel-border-soft)}.tabs button.active{background:var(--color-accent-fill-start);color:var(--color-text-on-accent);box-shadow:none}.grid{display:grid;gap:1rem}.panel{background:var(--color-surface-dark-strong);border:1px solid var(--color-panel-border-soft);border-radius:20px;padding:1.25rem;box-shadow:none}.panel-primary{padding:1.25rem;background:var(--color-surface-dark-strong);border-color:var(--color-panel-border-soft)}.tabs-panel,.panel,.guide-card,.words-toolbar,.words-hero,.settings-group,.word-section,.metric,.result-card,.results-feedback,.results-feedback-card,.empty-state{border-color:var(--color-border-strong)}.word-section-hidden{border-color:var(--color-border-contrast)}.panel,.settings-group,.word-section,.guide-card,.results-feedback-card,.metric,.result-card{box-shadow:none}.tabs-panel,.panel,.guide-card,.words-toolbar,.words-hero,.settings-group,.word-section,.metric,.result-card,.results-feedback,.results-feedback-card,.empty-state,.practice-word-stage,.practice-guides-panel,.practice-actions,.practice-step-hint,.practice-primary-status,.completion-banner,.settings-status,.add-word-preview,.profile-card,.settings-control-block,.settings-group-actions,.results-list,.status-row,.word-chip-row,.word-section-empty,input{border-width:2px}:root[data-color-scheme=light] .tabs-panel,:root[data-color-scheme=light] .panel,:root[data-color-scheme=light] .guide-card,:root[data-color-scheme=light] .words-toolbar,:root[data-color-scheme=light] .words-hero,:root[data-color-scheme=light] .settings-group,:root[data-color-scheme=light] .word-section,:root[data-color-scheme=light] .metric,:root[data-color-scheme=light] .result-card,:root[data-color-scheme=light] .results-feedback,:root[data-color-scheme=light] .results-feedback-card,:root[data-color-scheme=light] .empty-state{border-color:var(--color-border-strong)}:root[data-color-scheme=light] .word-section-hidden{border-color:var(--color-border-contrast)}:root[data-color-scheme=light] .panel,:root[data-color-scheme=light] .settings-group,:root[data-color-scheme=light] .word-section,:root[data-color-scheme=light] .guide-card,:root[data-color-scheme=light] .results-feedback-card,:root[data-color-scheme=light] .metric,:root[data-color-scheme=light] .result-card{box-shadow:none}:root[data-color-scheme=light] .practice-word-stage,:root[data-color-scheme=light] .practice-actions,:root[data-color-scheme=light] .settings-group>label,:root[data-color-scheme=light] .settings-group-actions,:root[data-color-scheme=light] .theme-settings-section,:root[data-color-scheme=light] .results-list{border-color:var(--color-border-contrast);box-shadow:none}.panel-header,.cta-row,.status-row,.add-word-row,.session-summary,.progress-copy{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}.session-summary{margin-bottom:1rem}.practice-panel.typing-active-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"metrics" "word" "keyboard" "finger" "feedback" "actions";gap:.9rem}.practice-layout-slot.metrics{grid-area:metrics}.practice-layout-slot.word{grid-area:word}.practice-layout-slot.keyboard{grid-area:keyboard}.practice-layout-slot.finger{grid-area:finger}.practice-panel.typing-active-layout .feedback{grid-area:feedback}.practice-panel.typing-active-layout .practice-actions{grid-area:actions}.practice-metrics-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.compact-metric{padding:.8rem .95rem}.progress-metric{display:grid;gap:.5rem}.practice-word-stage{display:grid;gap:.35rem;padding:1rem 1.05rem;border-radius:20px;background:var(--color-surface-raised);border:1px solid var(--color-border-strong);box-shadow:none}.practice-word-reading-slot{min-height:.95rem}.practice-word-reading{margin:0 0 .15rem;color:var(--color-text-muted);font-size:clamp(.95rem,2vw,1.1rem);letter-spacing:.08em}.progress-block{margin-bottom:1.5rem}.progress-track{height:14px;background:var(--color-secondary-fill);border-radius:999px;overflow:hidden;border:1px solid var(--color-border-strong)}.progress-fill{height:100%;border-radius:inherit;background:var(--color-accent-fill-start)}.word-display{display:flex;flex-wrap:wrap;gap:.4rem;margin:2rem 0;font-size:clamp(2rem,6vw,4rem);font-weight:700}.practice-panel.typing-active-layout .word-display{margin:1.35rem 0 1.6rem;font-size:clamp(2.2rem,6vw,4.3rem)}.char{display:inline-flex;min-width:.8em;justify-content:center;border-radius:18px;padding:.15em .2em}.char.done{color:var(--color-text-faint)}.char.target{background:var(--color-accent-outline);color:var(--color-text-on-accent)}.char.target.error{background:var(--color-danger-fill-start);color:var(--color-text-on-danger);box-shadow:none}.metric,.result-card{flex:1 1 180px;background:var(--color-surface-raised);border-radius:20px;padding:1rem}.status-row .metric,.practice-metrics-bar .metric{background:var(--color-surface-subtle);border:1px solid var(--color-border-contrast);box-shadow:none}.results-inline-metric{display:inline-grid;vertical-align:top;width:calc((100% - 3rem)/4);min-width:0;margin:0 1rem .9rem 0;background:var(--color-surface-subtle);border:1px solid var(--color-border-contrast);box-shadow:none}.results-inline-metric:nth-of-type(4){margin-right:0}.practice-layout-slot.keyboard,.practice-layout-slot.finger{margin:1rem 0 0}.practice-panel.typing-active-layout .practice-layout-slot.keyboard,.practice-panel.typing-active-layout .practice-layout-slot.finger{margin:0}.practice-panel.typing-active-layout .practice-layout-slot.keyboard,.practice-panel.typing-active-layout .practice-layout-slot.finger{margin-top:.8rem}.practice-guides-panel{display:grid;gap:.85rem;padding:0;border-radius:0;background:transparent;border:0;box-shadow:none}.guide-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.practice-guides-panel .practice-guide-disclosure,.practice-guides-panel .practice-guides-finger-slot,.practice-guides-panel .finger-guide-map-slot,.practice-guides-panel .finger-guide-label-slot,.practice-guides-panel [data-testid=keyboard-visual],.practice-guides-panel [data-testid=finger-button-visual],.practice-guides-panel [data-testid=finger-guide-slot]{background:inherit;border:0;box-shadow:none}.practice-guides-panel .keyboard-map,.practice-guides-panel .finger-button-map,.practice-guides-panel .keyboard-row,.practice-guides-panel .finger-cluster{background:inherit}.practice-guides-panel .keyboard-map,.practice-guides-panel .finger-button-map{justify-items:center;width:fit-content;max-width:100%;margin:0 auto}.practice-guides-panel .finger-guide-map-slot{width:fit-content;max-width:100%;margin:0 auto}.guide-card-header{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;margin-bottom:.9rem}.guide-card-header.typing-active{margin-bottom:.65rem}.guide-card-header.compact{margin-bottom:.55rem}.guide-card-header strong{display:block;margin-top:.25rem}.guide-card-copy,.results-summary,.empty-state p{margin:0;color:var(--color-text-muted)}.keyboard-map{display:grid;gap:.75rem;justify-items:center}.keyboard-map.compact{gap:.5rem}.keyboard-row{display:flex;gap:.5rem;justify-content:center}.keyboard-row.compact{gap:.35rem}.keycap{display:inline-flex;align-items:center;justify-content:center;min-height:2.7rem;padding:.6rem .9rem;border-radius:18px;background:var(--color-surface-dark);border:1px solid var(--color-panel-border-soft);color:var(--color-text-secondary)}.keycap{min-width:2.7rem;font-weight:700}.keycap.compact{min-width:2.35rem;min-height:2.35rem;padding:.45rem .65rem;border-radius:16px;font-size:.9rem}.keycap.active{background:var(--color-accent-fill-start);border-color:var(--color-border-strong);color:var(--color-text-on-accent);box-shadow:none}.keycap.target-outline{background:var(--color-surface-dark);border:3px solid var(--color-accent-outline);color:var(--color-text-primary);box-shadow:none}.keycap.mistyped{background:var(--color-danger-fill-start);border-color:var(--color-status-error-border);color:var(--color-text-on-danger);box-shadow:none}.finger-guide-layout{position:relative;min-height:3.2rem}.finger-guide-layout.compact{display:grid;gap:.75rem;min-height:0}.finger-guide-label-slot{position:static;min-height:0;display:flex;align-items:center}.finger-guide-map-slot{display:flex;justify-content:center}.finger-button-map{display:flex;align-items:center;justify-content:center;gap:2rem}.finger-guide-layout:not(.compact) .finger-button-map{width:auto}.finger-button-map.compact{gap:1rem}.finger-guide-current{display:inline-flex;align-items:center;text-align:left;white-space:nowrap;line-height:1}.finger-guide-layout.compact .finger-guide-label-slot{position:static;transform:none;min-height:0}.finger-guide-layout.compact .finger-guide-current{position:static}.language-toggle{display:flex;flex-wrap:wrap;gap:.6rem}.finger-cluster{display:flex;gap:.7rem}.finger-cluster.compact{gap:.45rem}.finger-button{display:inline-flex;align-items:center;justify-content:center;min-width:3.2rem;min-height:3.2rem;padding:.8rem .9rem;border-radius:18px;background:var(--color-surface-dark-strong);border:1px solid var(--color-panel-border-soft);color:var(--color-text-subtle);font-weight:700;letter-spacing:.02em;box-shadow:none;transition:background .12s ease,color .12s ease,border-color .12s ease}.finger-button.active{background:var(--color-accent-fill-start);border-color:var(--color-border-contrast);color:var(--color-text-on-accent)}.finger-button.target-outline{background:var(--color-surface-dark-strong);border:3px solid var(--color-accent-outline);color:var(--color-text-primary);box-shadow:none}.finger-button.compact{min-width:2.7rem;min-height:2.7rem;padding:.65rem .7rem;border-radius:16px}.feedback{margin:1rem 0 1.5rem;padding:.9rem 1rem;border-radius:18px;background:var(--color-status-success-bg);border:1px solid var(--color-status-success-border);color:var(--color-status-success-text)}.practice-panel.typing-active-layout .feedback{margin:.8rem 0 1rem;padding:.75rem .9rem}.feedback.persistent{min-height:3.4rem}.add-word-preview-list{display:grid;gap:.5rem;margin-top:.75rem}.add-word-preview{margin:0;padding:.7rem .9rem;border-radius:14px;background:var(--color-surface-raised);border:1px solid var(--color-panel-border-soft);color:var(--color-text-primary)}.add-word-preview-warning{background:var(--color-status-warning-bg);border-color:var(--color-status-warning-border);color:var(--color-status-warning-text)}.settings-status{margin-top:.05rem;padding:.65rem .75rem;border-radius:18px;background:var(--color-surface-raised);border:1px solid var(--color-panel-border-soft);color:var(--color-text-secondary)}.settings-status.pending{background:var(--color-status-warning-bg);border-color:var(--color-status-warning-border);color:var(--color-status-warning-text)}.settings-status-summary{display:grid;gap:.3rem;margin-top:.05rem}.settings-status-summary strong,.settings-status-summary ul{margin:0}.settings-status-summary ul{display:grid;gap:.45rem;padding:0;list-style:none;color:inherit}.settings-status-summary li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem;padding:.3rem .45rem;border-radius:14px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.settings-status-change-label{color:var(--color-text-secondary);font-size:.82rem;font-weight:700}.settings-status-change-values{color:var(--color-text-primary);font-weight:700}.feedback.error{background:var(--color-status-error-bg);border-color:var(--color-status-error-border);color:var(--color-status-error-text)}.feedback.success{background:var(--color-status-success-bg);border-color:var(--color-status-success-border);color:var(--color-status-success-text)}.practice-primary-status,.completion-banner{margin:0 0 1rem;padding:1rem 1.1rem;border-radius:18px}.practice-primary-status{display:flex;gap:.75rem;align-items:center;justify-content:space-between}.practice-primary-status-copy{display:grid;gap:.35rem}.practice-primary-status-copy strong,.practice-primary-status-copy p{margin:0}.practice-primary-status-copy p{color:var(--color-text-muted);font-weight:400}.practice-guide-disclosure{display:grid;gap:.7rem}.practice-actions{padding:.95rem 1rem;border-radius:18px;background:var(--color-surface-subtle);border:1px solid var(--color-border-strong)}.practice-step-hint{display:grid;gap:.3rem;margin:0 0 1rem;padding:.85rem 1rem;border-radius:18px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.practice-step-hint p{margin:0;color:var(--color-text-muted)}.practice-guide-toggle{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;padding:.8rem .95rem;border-radius:18px;text-align:left}.practice-guide-toggle.icon-only{width:auto;min-width:2.6rem;min-height:2.6rem;justify-self:start;justify-content:center;padding:.45rem}.practice-primary-status-neutral{background:var(--color-surface-raised);border:1px solid var(--color-panel-border-soft);color:var(--color-text-primary)}.practice-primary-status-warning{background:var(--color-status-warning-bg);border:1px solid var(--color-status-warning-border);color:var(--color-status-warning-text)}.practice-primary-status-error{background:var(--color-status-error-bg);border:1px solid var(--color-status-error-border);color:var(--color-status-error-text)}.practice-primary-status-success{background:var(--color-status-success-bg);border:1px solid var(--color-status-success-border);color:var(--color-status-success-text)}.practice-panel.typing-active-layout .practice-header{margin-bottom:.25rem}.typing-active-label{color:var(--color-text-faint)}.practice-panel.typing-active-layout .practice-actions{gap:.75rem;justify-content:flex-start}.practice-panel.typing-active-layout .practice-actions button{padding:.68rem 1rem}.practice-panel.typing-active-layout .practice-actions{margin-top:.1rem}.completion-banner{background:var(--color-surface-raised);border:1px solid var(--color-panel-border-soft)}.inline-action{padding:.55rem .9rem;white-space:nowrap}.inline-error{color:var(--color-status-error-text)}.words-page{display:grid;gap:1.5rem}.words-top-grid,.words-primary-column{display:grid;gap:1rem}.words-top-grid{grid-template-columns:minmax(0,1.05fr) minmax(20rem,.95fr);align-items:start;gap:1.25rem}.words-secondary-column{display:grid;gap:1rem;align-content:start}.words-hero{display:grid;gap:.9rem;padding:.95rem 1rem;border-radius:24px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.words-hero-copy,.words-toolbar,.search-field{display:grid;gap:.55rem}.words-hero-copy{gap:.4rem}.words-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.35rem}.words-hero-copy h3,.words-hero-copy p,.words-toolbar p,.word-list-empty,.word-search-empty{margin:0}.words-hero-summary{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin:0;color:var(--color-text-muted)}.words-hero-summary span,.words-toolbar-hint,.word-list-empty,.word-search-empty{color:var(--color-text-muted)}.words-toolbar{display:grid;gap:.9rem;padding:1rem 1.05rem;border-radius:22px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.words-search-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem}.search-summary-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.38rem .62rem;border-radius:999px;background:var(--color-surface-muted);border:1px solid var(--color-panel-border-soft);color:var(--color-chip-text);font-size:.8rem;white-space:nowrap;box-shadow:none}.search-summary-chip strong{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;min-height:1.35rem;padding:0 .32rem;border-radius:999px;background:var(--color-secondary-fill);color:var(--color-chip-count-text);font-size:.74rem;font-weight:700}.search-summary-chip:hover:not(:disabled),.search-summary-chip:focus-visible:not(:disabled){background:var(--color-surface-subtle);border-color:var(--color-border-strong);color:var(--color-chip-hover-text);box-shadow:none}.search-field input,.add-word-row input{width:100%}.search-field input{color:var(--color-text-primary);caret-color:var(--color-accent-outline);font-weight:500}.search-field input::placeholder{color:var(--color-text-faint)}.panel-header-compact{margin-top:.7rem}.word-section-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.45rem}.word-section-meta{display:grid;justify-items:end;gap:.4rem}.word-section-status,.word-section-tools{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.4rem}.section-inline-actions{display:inline-flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}.word-section-tools .inline-action,.word-section-tools .compact-toggle{min-height:2.25rem}.word-section>.panel-header,.word-section .panel-header-compact{align-items:flex-start;gap:1rem}.word-section>.panel-header>div:first-child,.word-section .panel-header-compact>div:first-child{display:grid;gap:.22rem}.word-section>.panel-header>div:first-child>p:not(.label),.word-section .panel-header-compact>div:first-child>p:not(.label){margin:0;font-size:.88rem;line-height:1.35;color:var(--color-text-muted)}.bulk-action-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.7rem;padding:.72rem .82rem;border-radius:18px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.bulk-action-copy{display:grid;gap:.2rem}.bulk-selection-pill{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-width:4.6rem;padding:.22rem .55rem;border-radius:999px;background:var(--color-warning-chip-bg);border:1px solid var(--color-warning-chip-border);color:var(--color-warning-chip-text);font-size:.78rem;line-height:1.1}.bulk-action-copy p{margin:0;color:var(--color-text-muted);font-size:.88rem}.bulk-action-bar .inline-action:disabled{color:var(--color-text-faint);border-color:var(--color-border-strong);background:var(--color-secondary-fill)}.word-select-toggle{display:inline-flex;align-items:center;justify-content:center}.word-select-toggle input{width:1rem;height:1rem}.word-count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:1.8rem;min-height:1.8rem;padding:.18rem .56rem;border-radius:999px;background:var(--color-warning-chip-bg);border:1px solid var(--color-warning-chip-border);color:var(--color-warning-chip-text);font-weight:700;font-size:.76rem}.compact-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;min-height:2.2rem;padding:.4rem}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:2.6rem;min-height:2.6rem;padding:.55rem}.icon-button-spacer{display:inline-flex;min-width:2.6rem;min-height:2.6rem}.icon-glyph{font-size:1rem;line-height:1}.word-list,.results-list,.settings-grid{display:grid;gap:.85rem;margin-top:1rem}.settings-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start}.settings-page{display:grid;gap:.55rem}.settings-page-header{display:grid;gap:.35rem}.settings-page-heading{display:grid;gap:.2rem}.settings-page-heading h2{margin:0;font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.2}.settings-group{display:grid;gap:.55rem;padding:.7rem;border-radius:20px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.profile-card-list{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.profile-card-current{grid-column:1 / -1}.profile-card{display:grid;gap:.55rem;padding:.75rem;border-radius:18px;background:var(--color-surface-subtle);border:1px solid var(--color-border-strong);box-shadow:none}.profile-card-compact{padding:.62rem .7rem;gap:.45rem;background:var(--color-surface-muted)}.profile-card-current{border-color:var(--color-accent-outline-soft);background:var(--color-secondary-fill-strong)}.profile-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.profile-card-title-group{display:grid;gap:.2rem}.profile-card-title-group strong{font-size:1rem;font-weight:700}.profile-card-compact .profile-card-title-group strong{font-size:.95rem}.profile-card-meta-list{display:grid;gap:.3rem;margin:0}.profile-card-compact .profile-card-meta-list{gap:.22rem}.profile-card-meta-item{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem}.profile-card-meta-item dt{color:var(--color-text-secondary);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.profile-card-compact .profile-card-meta-item dt{font-size:.68rem}.profile-card-meta-item dd{margin:0;color:var(--color-text-primary);font-size:.92rem}.profile-card-compact .profile-card-meta-item dd{font-size:.86rem}.profile-card-badge{display:inline-flex;align-items:center;padding:.22rem .55rem;border-radius:999px;background:var(--color-secondary-fill-strong);border:1px solid var(--color-accent-outline-soft);color:var(--color-text-secondary);font-size:.75rem;font-weight:700;white-space:nowrap}.profile-card-form{display:grid;gap:.45rem}.profile-card-form label{gap:.4rem}.profile-card-actions{display:flex;flex-wrap:wrap;gap:.4rem}.profile-card-actions-compact{gap:.35rem}.profile-card-actions button{flex:1 1 9rem;min-height:2.35rem;padding:.52rem .8rem}.profile-card-actions-compact button{flex-basis:7.5rem;min-height:2.05rem;padding:.42rem .68rem}.settings-profile-group{grid-column:1 / -1}.settings-immediate-group{align-self:start}.settings-stack{display:grid;gap:.5rem}.settings-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.4rem}.settings-control-block,.settings-group-actions,.theme-settings-section{padding:.62rem .75rem;border-radius:18px;background:var(--color-surface-subtle);border:1px solid var(--color-border-strong);box-shadow:none}.settings-control-block{display:grid;gap:.3rem}.settings-control-block>span:not(.label){color:var(--color-text-secondary);font-size:.9rem;font-weight:700}.settings-audio-tools{gap:.3rem}.words-session-config{max-width:none;justify-self:stretch;align-content:start;padding:1rem 1.1rem;background:var(--color-surface-subtle)}.words-session-config-controls{display:grid;grid-template-columns:minmax(10rem,12rem) auto;gap:1rem 1.25rem;align-items:end}.words-session-config-field,.words-session-config-field span{display:grid}.words-session-config-field{gap:.45rem}.words-session-config-toggle{min-height:100%;align-self:end}.words-session-config-footer{display:grid;gap:.85rem}.words-session-outcome-summary{display:grid;gap:.35rem;padding:.85rem .95rem;border-radius:16px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.words-session-outcome-summary p{margin:0}.words-session-outcome-summary-clamped{background:var(--color-surface-subtle);border-color:var(--color-accent-outline-soft)}.words-session-outcome-hint{padding-top:.2rem;color:var(--color-text-muted);font-size:.9rem;line-height:1.45}.words-session-config .settings-status{margin-top:0}.settings-group-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.settings-timing-pill{display:inline-flex;align-items:center;justify-content:center;padding:.22rem .55rem;border-radius:999px;background:var(--color-secondary-fill-strong);border:1px solid var(--color-accent-outline-soft);color:var(--color-text-secondary);font-size:.76rem;font-weight:700;white-space:nowrap}.settings-group-actions{display:grid;gap:.4rem}.settings-group-actions-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;padding:.62rem .75rem;border:1px solid var(--color-border-strong);border-radius:18px;background:var(--color-surface-subtle);box-shadow:none}.settings-group-actions-compact button{min-height:2.35rem;padding:.52rem .8rem}.theme-settings-section{display:grid;gap:.4rem;background:transparent;padding:0;border:0;border-radius:0;box-shadow:none}.theme-settings-copy{display:grid;gap:.15rem}.theme-settings-copy p{margin:0;color:var(--color-text-secondary)}.theme-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.4rem}.theme-option-card{justify-content:center;min-height:2.35rem;padding:.52rem .8rem;background:var(--color-secondary-fill);border:1px solid var(--color-panel-border-soft);border-radius:14px;box-shadow:none}.theme-option-card.secondary,.theme-accent-chip.secondary{background:var(--color-secondary-fill);border-color:var(--color-panel-border-soft)}.theme-slider-field{display:grid;gap:.3rem}.theme-slider-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:center}.theme-slider-row input[type=range]{width:100%;padding:0}.theme-accent-group{display:grid;gap:.35rem}.theme-accent-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:.4rem}.theme-accent-chip{min-width:0;justify-content:center;min-height:2.35rem;padding:.52rem .8rem;border:1px solid var(--color-panel-border-soft);border-radius:14px;background:var(--color-secondary-fill);box-shadow:none}.theme-option-card.active,.theme-accent-chip.active{border-radius:18px;background:var(--color-secondary-fill-strong);outline:1px solid var(--color-border-contrast);outline-offset:0}.theme-settings-actions .secondary{justify-self:start;padding:.52rem .8rem;border-radius:14px}.settings-inline-button{justify-self:start;border-color:var(--color-border-strong);box-shadow:none}.settings-group-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{margin:2rem 0;padding:1rem 1.1rem;border-radius:18px;background:var(--color-surface-raised);border:1px solid var(--color-panel-border-soft)}.empty-state strong{display:block;margin-bottom:.4rem}.word-section-empty{margin:.25rem 0 0;border:1px solid var(--color-panel-border-soft);background:var(--color-surface-muted)}.word-chip{display:inline-flex;align-items:center;padding:.55rem .8rem;border-radius:999px;background:var(--color-secondary-fill);margin-right:.2rem;font-weight:700}.word-source-tag{display:inline-flex;align-items:center;padding:.3rem .65rem;border-radius:999px;background:var(--color-success-chip-bg);border:1px solid var(--color-success-chip-border);color:var(--color-text-secondary);font-size:.82rem;font-weight:700}.word-source-tag-builtin{background:var(--color-warning-chip-bg);border-color:var(--color-warning-chip-border);color:var(--color-text-secondary)}.word-source-tag-custom{background:var(--color-success-chip-bg);border-color:var(--color-success-chip-border);color:var(--color-text-secondary)}.state-pill{display:inline-flex;align-items:center;justify-content:center;padding:.18rem .52rem;border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.02em;border:1px solid var(--color-panel-border-soft)}.state-pill-active{background:var(--color-warning-chip-bg);border-color:var(--color-warning-chip-border);color:var(--color-text-secondary)}.state-pill-hidden{background:var(--color-neutral-chip-bg);border-color:var(--color-neutral-chip-border);color:var(--color-neutral-chip-text)}.state-pill-local{background:var(--color-success-chip-bg);border-color:var(--color-success-chip-border);color:var(--color-text-secondary)}.state-pill-edited{background:var(--color-status-info-bg);border-color:var(--color-status-info-border);color:var(--color-text-secondary)}.word-match-highlight{padding:.05rem .12rem;border-radius:.35rem;background:#ffbf69;color:#1c2438}.word-row-actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin-left:auto}.word-row-actions-primary{display:inline-flex;flex-wrap:wrap;gap:.45rem}.word-row-actions-overflow{display:block;position:relative}.word-row-actions-overflow-toggle{list-style:none}.word-row-actions-overflow-toggle::-webkit-details-marker{display:none}.word-row-actions-overflow-menu{display:grid;gap:.45rem;margin-top:.55rem;padding:.7rem;border-radius:14px;background:var(--color-surface-overlay);border:1px solid var(--color-panel-border-soft);box-shadow:none;position:absolute;right:0;top:calc(100% + .35rem);min-width:12rem;z-index:2}.word-row-actions-overflow-menu .icon-button,.word-row-actions-overflow-menu .secondary.inline-action,.word-row-actions-overflow-menu .secondary{justify-content:flex-start}.word-chip-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.8rem .9rem;margin-bottom:0;border-radius:18px;background:var(--color-surface-muted);border:1px solid var(--color-panel-border-soft)}.word-chip-row-selected{border-color:var(--color-warning-chip-border);background:var(--color-warning-chip-bg);box-shadow:none}.word-chip-row-draggable{cursor:grab;touch-action:none;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.word-chip-row-dragging{background:var(--color-secondary-fill-strong)}.word-chip-row-drop-target{border-color:var(--color-accent-outline-soft);background:var(--color-secondary-fill-strong);box-shadow:none}.word-chip-row input{min-width:12rem;flex:1 1 14rem}.word-section{margin-top:0;padding:1rem 1.05rem 1.05rem;border-radius:24px;background:var(--color-surface-muted);border:1px solid var(--color-panel-border-soft)}.word-section-minimized{padding-bottom:1rem}.word-section-highlight{background:var(--color-surface-muted)}.word-section-active{background:var(--color-surface-muted);border-color:var(--color-accent-outline-soft);box-shadow:none}.word-section-builtin,.word-section-custom{background:var(--color-surface-muted);box-shadow:none}.word-section-hidden{background:var(--color-surface-muted);border-style:solid;box-shadow:none}.word-section-hidden-custom{border-color:var(--color-success-chip-border)}.word-section-summary{margin:.55rem 0 0;color:var(--color-text-muted)}.word-section-feedback{display:inline-flex;align-items:center;gap:.4rem;margin-top:1rem;padding:.5rem .75rem;border-radius:14px;background:var(--color-success-chip-bg);border:1px solid var(--color-success-chip-border);color:var(--color-success-chip-text);font-size:.9rem;font-weight:600}.word-section-sort{max-width:min(100%,26rem)}.word-section .panel-header .label{margin-bottom:.1rem}.word-section .panel-header h3,.word-section .panel-header h4,.word-section .panel-header h2{margin-bottom:.18rem}@media(max-width:760px){.words-top-grid,.words-toolbar{grid-template-columns:1fr;align-items:stretch}.words-search-summary{justify-content:flex-start}.search-summary-chip{width:fit-content;max-width:100%}.word-section-meta{width:100%;justify-items:stretch}.word-section-status,.word-section-tools{justify-content:flex-start}.word-section-sort{max-width:none}.word-row-actions{width:100%;justify-content:space-between}.word-row-actions-primary{flex:1 1 auto}.word-row-actions-overflow[open] .word-row-actions-overflow-menu{min-width:12rem}}.word-list-empty,.word-search-empty{padding:.2rem .1rem 0}.results-feedback{margin:1rem 0 1.2rem;padding:.9rem 1rem;border-radius:18px;background:var(--color-surface-raised);border:1px solid var(--color-panel-border-soft)}.results-list,.status-row{padding:.25rem;border-radius:20px;background:var(--color-surface-subtle);border:1px solid var(--color-border-strong)}.results-feedback-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;margin-top:.75rem}.results-feedback-card{display:grid;gap:.35rem;padding:.85rem .95rem;border-radius:16px;background:var(--color-surface-subtle);border:1px solid var(--color-panel-border-soft)}.results-feedback-item{margin:0}.results-feedback-supporting{margin:0;color:var(--color-text-muted)}.inline-action-destructive{border-color:var(--color-status-error-border);background:var(--color-status-error-bg);color:var(--color-status-error-text)}.inline-action-destructive:hover:not(:disabled),.inline-action-destructive:focus-visible:not(:disabled){border-color:var(--color-status-error-border);background:var(--color-status-error-bg);box-shadow:none}.inline-action-destructive:disabled{border-color:var(--color-status-error-border);color:var(--color-text-faint)}.settings-grid label{display:grid;gap:.5rem}.toggle{grid-template-columns:auto 1fr;align-items:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:720px){.app-shell{padding:1rem .8rem 1.75rem}.app-frame{gap:.75rem}.tabs{gap:.45rem}.tabs button{flex-basis:calc(50% - .45rem);min-height:2.7rem;padding:.65rem .75rem}.panel,.panel-primary{padding:.85rem}.settings-grid,.settings-control-grid,.words-top-grid,.words-hero,.words-toolbar{grid-template-columns:minmax(0,1fr)}.words-session-config{justify-self:stretch}.settings-group-actions{grid-template-columns:minmax(0,1fr)}.settings-group-actions button{flex:1 1 0}.words-session-config-controls{grid-template-columns:minmax(0,1fr)}.keyboard-row{gap:.35rem}.keycap,.inline-action{padding:.55rem .7rem}.finger-button-map{gap:1rem}.finger-cluster{gap:.45rem}.word-chip-row{padding:.75rem .8rem}.finger-button{min-width:2.7rem;min-height:2.7rem;padding:.65rem .7rem}.practice-metrics-bar{grid-template-columns:1fr}.practice-primary-status,.practice-guide-toggle{align-items:flex-start;flex-direction:column}}
