:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.word-entry-screen{box-sizing:border-box;flex:1;grid-template-columns:minmax(0,1fr);place-items:center;width:100%;padding:48px 24px;display:grid}.word-entry{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:min(100%,560px);box-shadow:var(--shadow);text-align:left;border-radius:8px;padding:40px}.word-entry-header{margin-bottom:32px}.word-entry-brand{color:var(--accent);margin:0 0 12px;font-size:14px;font-weight:700}.word-entry-header h1{letter-spacing:0;margin:0 0 8px;font-size:36px}.word-entry-description{color:var(--text)}.data-management{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:28px;display:flex}.import-file-input{display:none}.import-confirmation{border:1px solid var(--border);border-radius:6px;flex-basis:100%;gap:12px;padding:16px;display:grid}.import-confirmation h2{margin:0;font-size:18px}.import-confirmation p{margin:0}.export-feedback{color:#207a4b;margin:0;font-size:14px;font-weight:600}.practice-section{border-bottom:1px solid var(--border);margin-bottom:32px;padding-bottom:28px}.practice-section h2{letter-spacing:0;margin:0 0 12px;font-size:20px}.practice-question{color:var(--text-h);margin-bottom:20px;font-size:24px;font-weight:600}.practice-direction-label{color:var(--text);margin-bottom:8px;font-size:14px;font-weight:600}.practice-scope-controls{gap:16px;margin-bottom:16px;display:grid}.practice-scope-controls select,.word-list-controls select{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;min-height:48px;color:var(--text-h);font:inherit;border-radius:5px;padding:12px 14px;font-weight:400}.practice-scope-controls select:focus-visible,.word-list-controls select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.practice-scope-label{color:var(--text);margin:0 0 16px;font-size:14px;font-weight:600}.practice-empty{border-left:3px solid var(--border);color:var(--text);margin:0;padding:12px 14px}.ukrainian-hint{border-left:3px solid var(--accent);background:var(--accent-bg);border-radius:0 5px 5px 0;margin-bottom:20px;padding:12px 14px}.ukrainian-hint h3{color:var(--text-h);margin:0 0 4px;font-size:15px}.ukrainian-hint p{color:var(--text-h)}.word-context{border-left:3px solid var(--accent);background:var(--accent-bg);border-radius:0 5px 5px 0;margin-bottom:20px;padding:12px 14px}.word-context h3{color:var(--text-h);margin:0 0 4px;font-size:15px}.word-context p{color:var(--text-h)}.revealed-answer{border-left:3px solid var(--accent);background:var(--accent-bg);border-radius:0 5px 5px 0;margin-bottom:20px;padding:12px 14px}.revealed-answer h3{color:var(--text-h);margin:0 0 4px;font-size:15px}.revealed-answer p{color:var(--text-h)}.word-entry-form{gap:20px;display:grid}.word-entry-mode{color:var(--text);margin:0;font-size:14px;font-weight:600}.word-entry-actions{flex-wrap:wrap;gap:10px;display:flex}.word-entry-field{color:var(--text-h);gap:8px;font-size:15px;font-weight:600;display:grid}.word-entry-field input,.word-entry-field textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);font:inherit;border-radius:5px;padding:12px 14px;font-weight:400}.word-entry-field input{min-height:48px}.word-entry-field textarea{resize:vertical}.word-entry-field input::placeholder,.word-entry-field textarea::placeholder{color:var(--text);opacity:.75}.word-entry-field input:focus-visible,.word-entry-field textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.practice-direction select{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;min-height:48px;color:var(--text-h);font:inherit;border-radius:5px;padding:12px 14px;font-weight:400}.practice-direction select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.word-entry-save{background:var(--accent);color:#fff;min-height:48px;font:inherit;cursor:pointer;border:0;border-radius:5px;margin-top:4px;padding:12px 18px;font-weight:700;transition:filter .15s}.word-entry-save:hover{filter:brightness(.92)}.word-entry-save:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.word-entry-cancel,.word-list-edit{border:1px solid var(--border);background:var(--bg);min-height:40px;color:var(--text-h);font:inherit;cursor:pointer;border-radius:5px;padding:8px 12px;font-weight:600}.word-entry-cancel:focus-visible,.word-list-edit:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.word-list-edit{min-height:34px;padding:5px 9px;font-size:13px}.practice-feedback{margin:0;font-weight:700}.practice-feedback.correct{color:#207a4b}.practice-feedback.incorrect{color:#a12d35}.word-list{margin-top:36px}.word-list h2{letter-spacing:0;margin:0 0 12px;font-size:20px}.word-list table{border-collapse:collapse;table-layout:fixed;text-align:left;width:100%;font-size:14px}.word-list th,.word-list td{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:10px 8px}.word-list-controls{gap:16px;margin-bottom:16px;display:grid}.word-list td{color:var(--text)}.word-list-metadata{color:var(--text);font-size:12px;display:block}.word-list-empty{text-align:center}@media (width<=600px){.word-entry-screen{padding:24px 16px}.word-entry{padding:28px 22px}.word-entry-header h1{font-size:30px}.word-list table{font-size:13px}.word-list th,.word-list td{padding:9px 5px}}.practice-counter{color:var(--text);margin:16px 0 12px;font-size:14px;font-weight:600}.practice-actions{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.practice-actions:empty{display:none}.practice-actions>.ukrainian-hint,.practice-actions>.word-context,.practice-actions>.revealed-answer{flex:100%;min-width:0;margin-bottom:0}.practice-question,.practice-feedback,.practice-empty,.practice-scope-label,.practice-direction-label,.ukrainian-hint p,.word-context p,.revealed-answer p,.import-confirmation p,.export-feedback,.word-entry-field>span,.word-entry-description{overflow-wrap:break-word}.word-entry-field,.word-entry-form>*,.import-confirmation{min-width:0}.word-list-scroll{max-width:100%;overflow-x:auto}@media (width<=600px){.word-list table{min-width:560px}.word-list th:last-child,.word-list td:last-child{background:var(--bg);box-shadow:-1px 0 0 var(--border);position:sticky;right:0}.word-list-edit{min-width:44px;min-height:44px}.word-entry-cancel{min-height:48px}}@media (width<=480px){.word-entry-screen{padding:16px 12px}.word-entry{padding:20px 16px}.word-entry-header{margin-bottom:24px}.word-entry-header h1{overflow-wrap:break-word;font-size:26px}.practice-question{font-size:21px}.data-management,.word-entry-actions,.practice-actions{flex-direction:column;align-items:stretch}.data-management>button,.word-entry-actions>button,.practice-actions>button,.practice-section>button,.word-entry-form>button{width:100%}}.audio-feedback{color:var(--text);overflow-wrap:break-word;margin:-8px 0 20px;font-size:14px;font-weight:600}.word-entry-save:disabled{opacity:.5;cursor:not-allowed;filter:none}
