:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f1f3f6;--card:#fff;--line:#d8dde5;--line-strong:#8491a1;--text:#171b22;--muted:#566273;--muted-strong:#465365;--subtle:#626e80;--reading-primary:#171b22;--reading-source:#465365;--reading-note:#626e80;--soft:#f6f7f9;--surface-strong:#eceff3;--control:#fbfcfd;--accent:#171b22;--accent-contrast:#fff;--danger:#b91c1c;--info-soft:#eef2ff;--info-line:#dbe3ff;--info-text:#3f4b66;--card-shadow:0 10px 30px #11182711}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1116;--card:#171b22;--line:#3a414c;--line-strong:#596473;--text:#f4f7fb;--muted:#aeb7c4;--muted-strong:#c1c8d2;--subtle:#9ba5b3;--reading-primary:#f4f7fb;--reading-source:#d8dee7;--reading-note:#9ba5b3;--soft:#20252d;--surface-strong:#101318;--control:#20252d;--accent:#f3f4f6;--accent-contrast:#111827;--danger:#fca5a5;--info-soft:#17243a;--info-line:#315b9b;--info-text:#dbeafe;--card-shadow:0 14px 40px #0000003d}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{background:var(--bg);min-height:100%;color:var(--text);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,textarea,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}.srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}[data-guide-action-host],[data-result-use-action-host]{display:contents}.initialLoadingPage{min-height:100dvh}.initialLoadingShell{min-height:calc(100dvh - 118px)}.initialLoadingHeader{gap:7px;margin:4px 2px 16px;display:grid}.initialLoadingCard{gap:12px;padding:15px;display:grid}.initialLoadingLanguages{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:8px;display:grid}.loadingSkeleton{background:linear-gradient(100deg, var(--soft) 20%, color-mix(in srgb, var(--soft) 65%, var(--line)) 42%, var(--soft) 64%);background-size:240% 100%;border-radius:12px;min-height:42px;animation:1.25s ease-in-out infinite loadingSkeletonShift;display:block}.loadingSkeletonEyebrow{border-radius:999px;width:92px;min-height:9px}.loadingSkeletonTitle{width:min(250px,66%);min-height:30px}.loadingSkeletonTabs{min-height:48px}.loadingSkeletonSwap{border-radius:12px}.loadingSkeletonInput{border-radius:15px;min-height:142px}.loadingSkeletonButton{min-height:46px}@keyframes loadingSkeletonShift{to{background-position-x:-240%}}.appErrorFallback{background:var(--bg);place-items:center;min-height:100dvh;padding:24px;display:grid}.appErrorFallback>section{border:1px solid var(--line);background:var(--card);text-align:center;border-radius:24px;width:min(390px,100%);padding:26px;box-shadow:0 14px 40px #11182714}.appErrorFallback h1{margin:0;font-size:21px}.appErrorFallback p{color:var(--muted);margin:9px 0 18px;font-size:13px;line-height:1.6}.appErrorFallback button{width:100%}.page{min-height:100dvh;padding:max(18px, env(safe-area-inset-top)) 14px 100px}.shell{width:min(720px,100%);margin:0 auto}.topbar{justify-content:space-between;align-items:end;gap:12px;margin:2px 2px 14px;display:flex}.eyebrow{letter-spacing:.16em;color:var(--muted);font-size:10px;font-weight:800}.topbar>div:first-child{min-width:0}.topbar h1{letter-spacing:-.03em;white-space:nowrap;margin:2px 0 0;font-size:25px;line-height:1.15}.topActions{flex:none;gap:7px;display:flex}.iconButton{border:1px solid var(--line);color:var(--muted-strong);white-space:nowrap;background:#ffffffe0;border-radius:11px;padding:8px 10px;font-size:12px;font-weight:700}.card{background:var(--card);border:1px solid var(--line);box-shadow:var(--card-shadow);border-radius:22px}.translatorCard{padding:15px}.modeTabs{background:var(--surface-strong);border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:12px;padding:4px;display:grid}.modeTabs button{color:var(--muted);background:0 0;border:0;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:800}.modeTabs button.active{background:var(--card);color:#111827;box-shadow:0 1px 4px #11182717}.languageRow{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px;display:grid}select,textarea,.pinInput{border:1px solid var(--line-strong);background:var(--control);color:var(--text);outline:none}select:focus,textarea:focus,.pinInput:focus{border-color:var(--subtle);box-shadow:0 0 0 3px #1118270d}select{border-radius:12px;width:100%;min-width:0;padding:11px 10px}.swap{border:1px solid var(--line);background:var(--card);height:42px;color:var(--muted-strong);border-radius:12px;font-size:20px}.swap:disabled{opacity:.35;cursor:default}.inputWrap{margin-top:12px;position:relative}textarea{resize:vertical;border-radius:15px;width:100%;min-height:142px;padding:15px 38px 30px 14px;font-size:17px;line-height:1.58;display:block}textarea::placeholder{color:var(--subtle)}.clearButton{background:var(--line);width:28px;height:28px;color:var(--muted);border:0;border-radius:50%;font-size:19px;line-height:1;position:absolute;top:10px;right:10px}.charCount{color:var(--subtle);font-size:11px;position:absolute;bottom:9px;right:12px}.advancedPanel{border:1px solid var(--line);background:var(--soft);border-radius:13px;margin-top:10px;overflow:hidden}.advancedPanel summary{cursor:pointer;color:var(--muted-strong);justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:11px;font-weight:800;list-style:none;display:flex}.advancedPanel summary::-webkit-details-marker{display:none}.advancedPanel summary:after{content:"⌄";color:var(--subtle);font-size:14px}.advancedPanel[open] summary:after{transform:rotate(180deg)}.advancedPanel summary small{color:var(--subtle);margin-left:auto;font-size:9px;font-weight:700}.advancedBody{border-top:1px solid #f0f2f4;padding:0 11px 11px}.controlGrid{grid-template-columns:1fr 1fr;gap:9px;margin-top:10px;display:grid}.controlGrid label>span{color:var(--muted);margin:0 0 5px 3px;font-size:11px;font-weight:700;display:block}.controlGrid select{padding:10px;font-size:13px}.fastToggle{background:var(--soft);border:1px solid var(--line);border-radius:13px;justify-content:space-between;align-items:center;gap:12px;margin-top:11px;padding:11px 12px;display:flex;position:relative}.fastToggle div{flex-direction:column;gap:2px;display:flex}.fastToggle strong{font-size:13px}.fastToggle small{color:var(--muted);font-size:10px}.fastToggle input{opacity:0;pointer-events:none;position:absolute}.switch{background:var(--line-strong);border-radius:999px;flex:none;width:42px;height:24px;transition:all .18s;position:relative}.switch:after{content:"";background:var(--card);border-radius:50%;width:18px;height:18px;transition:all .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.fastToggle input:checked+.switch{background:#111827}.fastToggle input:checked+.switch:after{transform:translate(18px)}.primary{background:var(--accent);color:#fff;border:0;border-radius:14px;width:100%;padding:14px 16px;font-weight:800}.primary:disabled{opacity:.45;cursor:not-allowed}.translateButton{min-height:49px;margin-top:12px}.buttonSpinner{vertical-align:-2px;border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:14px;height:14px;margin-right:7px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.error{color:var(--danger);background:#fef2f2;border-radius:11px;margin-top:10px;padding:10px 12px;font-size:12px;line-height:1.45}.result{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}.resultHeader{justify-content:space-between;align-items:center;gap:10px;display:flex}.statusPill{min-height:27px;color:var(--muted-strong);background:#f3f4f6;border-radius:999px;align-items:center;padding:6px 9px;font-size:10px;font-weight:800;display:inline-flex}.resultActions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.resultActions button{border:1px solid var(--line);background:var(--card);color:var(--muted-strong);border-radius:9px;padding:7px 8px;font-size:10px;font-weight:700}.resultActions .showButton{color:#fff;background:#111827;border-color:#111827}.translation{letter-spacing:-.02em;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px 1px 10px;font-size:clamp(22px,6vw,30px);font-weight:700;line-height:1.48}.pronunciation{background:var(--soft);border-radius:12px;margin-top:3px;padding:11px 12px}.pronunciation span{color:var(--reading-note);margin-bottom:4px;font-size:10px;font-weight:800;display:block}.pronunciation p{color:var(--reading-primary);overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.55}.resultMeta{color:var(--subtle);flex-wrap:wrap;gap:6px 12px;margin-top:10px;font-size:10px;display:flex}.quickRewrite{margin-top:11px}.quickRewrite>span{color:var(--subtle);margin-bottom:6px;font-size:9px;font-weight:800;display:block}.quickRewrite>div{flex-wrap:wrap;gap:6px;display:flex}.quickRewrite button{border:1px solid var(--line);background:var(--card);color:var(--muted-strong);border-radius:999px;padding:7px 9px;font-size:10px;font-weight:800}.quickRewrite button:disabled{opacity:.45}.relatedPhrases{border-top:1px dashed var(--line);margin-top:13px;padding-top:12px}.relatedTitle{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.relatedTitle span{color:var(--muted);font-size:10px;font-weight:800}.relatedTitle a{color:var(--muted);font-size:9px;font-weight:800;text-decoration:none}.relatedGrid{gap:6px;display:grid}.relatedGrid button{border:1px solid var(--line);background:var(--soft);text-align:left;border-radius:11px;gap:3px;width:100%;padding:9px 10px;display:grid}.relatedGrid small{color:var(--muted);font-size:9px}.relatedGrid strong{color:#111827;font-size:13px;line-height:1.4}.conversationToolbar{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;display:grid}.conversationToolbar label>span{color:var(--muted);margin:0 0 5px 3px;font-size:11px;font-weight:700;display:block}.conversationToolbar select{padding:10px;font-size:13px}.resetConversation{border:1px solid var(--line);background:var(--card);height:39px;color:var(--muted);border-radius:11px;padding:0 11px;font-size:11px;font-weight:800}.resetConversation:disabled{opacity:.4;cursor:default}.conversationHint{background:var(--soft);color:var(--muted);border-radius:11px;margin-top:9px;padding:9px 11px;font-size:10px;line-height:1.5}.speakerMode{background:var(--surface-strong);border-radius:12px;grid-template-columns:.8fr 1fr 1fr;gap:5px;margin-top:9px;padding:4px;display:grid}.speakerMode button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:8px 5px;font-size:10px;font-weight:800}.speakerMode button.active{background:var(--card);color:#111827;box-shadow:0 1px 3px #11182714}.conversationThread{overscroll-behavior:contain;border:1px solid var(--line);background:var(--soft);scroll-behavior:smooth;border-radius:16px;flex-direction:column;gap:12px;min-height:190px;max-height:52dvh;margin-top:12px;padding:13px;display:flex;overflow-y:auto}.conversationEmpty{text-align:center;min-height:164px;color:var(--subtle);place-content:center;gap:5px;display:grid}.conversationEmpty strong{color:var(--muted);font-size:13px}.conversationEmpty span{max-width:290px;font-size:10px;line-height:1.5}.conversationTurn{align-self:flex-start;width:min(90%,520px)}.conversationTurn.partner{align-self:flex-end}.turnLabel{color:var(--subtle);margin:0 5px 4px;font-size:10px;font-weight:800}.conversationTurn.partner .turnLabel{text-align:right}.turnCard{background:var(--card);border:1px solid #e4e7eb;border-radius:15px 15px 15px 5px;padding:12px 13px 10px;box-shadow:0 2px 7px #11182709}.conversationTurn.partner .turnCard{background:#eef1f4;border-radius:15px 15px 5px}.turnOriginal{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.turnDivider{background:#9ca3af38;height:1px;margin:9px 0}.turnTranslation{color:#111827;white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;font-weight:750;line-height:1.5}.turnPronunciation{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.45}.turnFooter{justify-content:space-between;align-items:center;gap:8px;margin-top:9px;display:flex}.turnMeta{color:#a1a1aa;flex-wrap:wrap;gap:7px;font-size:9px;display:flex}.turnActions{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.turnActions button{color:var(--muted);background:#ffffffc7;border:1px solid #9ca3af4d;border-radius:8px;padding:5px 6px;font-size:9px;font-weight:700}.turnActions .turnCorrection{min-height:44px;padding:8px 10px;font-size:12px}.turnActions .turnCorrection:disabled{opacity:.55}.conversationComposer{margin-top:10px}.conversationInputWrap{margin-top:0}.conversationInputWrap textarea{resize:vertical;min-height:92px;max-height:180px;font-size:16px}.conversationSend{min-height:47px;margin-top:9px}.usageDetails{border:1px solid var(--line);background:#ffffffb8;border-radius:14px;margin-top:10px;overflow:hidden}.usageDetails summary{cursor:pointer;align-items:baseline;gap:7px;padding:10px 12px;list-style:none;display:flex}.usageDetails summary::-webkit-details-marker{display:none}.usageDetails summary span{color:var(--muted);font-size:9px;font-weight:800}.usageDetails summary strong{margin-left:auto;font-size:12px}.usageDetails summary small{color:var(--subtle);font-size:9px}.usageBody{padding:0 12px 11px}.budgetTrack{background:#eceff2;border-radius:999px;height:6px;overflow:hidden}.budgetFill{border-radius:inherit;background:#111827;height:100%;transition:width .25s}.usageBody>small{color:var(--subtle);margin-top:7px;font-size:9px;line-height:1.45;display:block}footer{text-align:center;color:var(--subtle);padding:12px 4px 0;font-size:9px}.largeViewBackdrop{z-index:90;padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));background:#111827b8;place-items:center;display:grid;position:fixed;inset:0}.largeView{background:var(--card);border-radius:24px;flex-direction:column;width:min(760px,100%);min-height:min(74dvh,620px);max-height:92dvh;padding:18px;display:flex;box-shadow:0 28px 80px #00000047}.largeViewTop{justify-content:space-between;align-items:center;gap:10px;display:flex}.largeViewTop span{color:var(--muted);font-size:11px;font-weight:800}.largeViewTop button{background:var(--surface-strong);width:36px;height:36px;color:var(--muted-strong);border:0;border-radius:50%;font-size:22px}.largeViewText{color:#111827;text-align:center;letter-spacing:-.035em;overflow-wrap:anywhere;flex:1;place-items:center;padding:28px 8px;font-size:clamp(38px,10vw,76px);font-weight:850;line-height:1.28;display:grid}.largeViewPronunciation{color:var(--muted);text-align:center;margin:-8px 0 18px;font-size:clamp(16px,4vw,23px);line-height:1.5}.largeViewActions{grid-template-columns:1fr 1fr 1fr;gap:7px;display:grid}.largeViewActions button{border:1px solid var(--line);background:var(--card);min-height:46px;color:var(--muted-strong);border-radius:12px;font-size:11px;font-weight:800}.largeViewActions button:first-child{color:#fff;background:#111827;border-color:#111827}.centerPage{background:var(--bg);place-items:center;min-height:100dvh;padding:24px;display:grid}.lockCard{border:1px solid var(--line);background:var(--card);text-align:center;border-radius:24px;width:min(360px,100%);padding:26px;box-shadow:0 14px 40px #11182712}.appMark{color:#fff;background:#111827;border-radius:16px;place-items:center;width:54px;height:54px;margin:0 auto 13px;font-size:25px;font-weight:800;display:grid}.lockCard h1{letter-spacing:-.03em;margin:0;font-size:23px}.lockCard>p{color:var(--muted);margin:5px 0 18px;font-size:12px}.pinInput{text-align:center;letter-spacing:.18em;border-radius:13px;width:100%;margin-bottom:9px;padding:13px 14px}.lockCard small{color:var(--subtle);margin-top:13px;font-size:9px;display:block}.spinner{border:3px solid var(--line-strong);border-top-color:#111827;border-radius:50%;width:27px;height:27px;animation:.8s linear infinite spin}.modalBackdrop{z-index:80;background:#1118276b;align-items:end;padding:16px;display:grid;position:fixed;inset:0}.modal{width:min(520px,100%);margin:0 auto max(0px, env(safe-area-inset-bottom));background:var(--card);border-radius:21px;padding:19px;box-shadow:0 18px 50px #0000002e}.modal h2{margin:0 0 12px;font-size:19px}.modal p{color:var(--muted-strong);margin:9px 0;font-size:12px;line-height:1.55}.modal .primary{margin-top:8px}@media (max-width:440px){.topbar{gap:8px}.topbar h1{font-size:clamp(20px,6.4vw,25px)}.topActions{gap:4px}.iconButton{padding:8px 7px;font-size:11px}.advancedPanel summary small{display:none}.resultHeader{align-items:flex-start}.turnFooter{flex-direction:column;align-items:flex-end}.turnMeta{align-self:flex-start}.largeViewActions{grid-template-columns:1fr 1fr}.largeViewActions button:last-child{grid-column:1/-1}}@media (max-width:520px){.floatingActionBlocked{visibility:hidden;pointer-events:none}}@media (min-width:640px){.page{padding-top:28px}.translatorCard{padding:19px}textarea{min-height:175px}.conversationInputWrap textarea{min-height:96px}.conversationThread{max-height:560px}.modalBackdrop{align-items:center}.relatedGrid{grid-template-columns:repeat(3,1fr)}}@media (display-mode:standalone){.page{padding-top:max(14px, env(safe-area-inset-top))}}
.usageDetails summary strong,.usageDetails summary small{display:none}.usageDetails .usageToggleLabel{color:var(--subtle);margin-left:auto;font-size:9px;font-weight:800}.usageDetails[open] summary strong,.usageDetails[open] summary small{display:inline}.usageDetails .usageCollapse,.usageDetails[open] .usageExpand{display:none}.usageDetails[open] .usageCollapse{display:inline}
.resultMeta>span:last-child,.turnMeta>span:last-child{display:none}
.uxHistoryFab{z-index:38;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111827eb;border:1px solid #94a3b873;border-radius:999px;padding:9px 12px;font-size:11px;font-weight:850;position:fixed;bottom:88px;right:14px;box-shadow:0 8px 24px #0f172a2e}.uxHistoryBackdrop{z-index:70;padding:18px 12px max(92px,calc(env(safe-area-inset-bottom) + 78px));-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a6b;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.uxHistorySheet{border:1px solid var(--line);background:var(--card);border-radius:22px;width:min(620px,100%);max-height:min(72vh,680px);padding:16px;overflow:auto;box-shadow:0 20px 60px #0f172a38}.uxHistoryTop{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.uxHistoryTop>div{gap:3px;display:grid}.uxHistoryTop strong{color:#111827;font-size:16px}.uxHistoryTop small{color:var(--subtle);font-size:10px}.uxHistoryTop>button{background:var(--surface-strong);width:32px;height:32px;color:var(--muted-strong);border:0;border-radius:10px;font-size:20px}.uxHistoryBack{color:#111827;background:0 0;border:0;width:max-content;padding:0;font-size:14px;font-weight:850}.uxHistoryList{gap:8px;display:grid}.uxHistoryItem{border:1px solid var(--line);background:var(--soft);border-radius:14px;grid-template-columns:1fr auto;align-items:stretch;gap:8px;padding:10px;display:grid}.uxHistoryReuse{text-align:left;background:0 0;border:0;gap:5px;min-width:0;padding:0;display:grid}.uxHistoryReuse small{color:var(--subtle);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.35;overflow:hidden}.uxHistoryReuse strong{color:#111827;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.uxHistoryReuse em{color:var(--subtle);font-size:9px;font-style:normal;font-weight:750}.uxHistoryCopy{border:1px solid var(--line);background:var(--card);color:var(--muted-strong);border-radius:9px;align-self:center;padding:7px 9px;font-size:10px;font-weight:800}.uxHistoryClear{background:var(--surface-strong);width:100%;color:var(--muted-strong);border:0;border-radius:11px;margin-top:12px;padding:10px;font-size:10px;font-weight:800}.uxHistoryDetail{gap:12px;display:grid}.uxHistoryOriginal{background:var(--soft);color:var(--muted-strong);border-radius:12px;padding:11px 12px;font-size:12px;line-height:1.55}.uxHistoryTranslation{color:#111827;white-space:pre-wrap;font-size:25px;font-weight:850;line-height:1.45}.uxHistoryReading{border-top:1px solid var(--line);gap:4px;padding-top:10px;display:grid}.uxHistoryReading span{color:var(--subtle);font-size:9px;font-weight:800}.uxHistoryReading p{color:var(--muted-strong);white-space:pre-line;margin:0;font-size:12px;line-height:1.55}.uxHistoryDetailActions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.uxHistoryDetailActions button{border:1px solid var(--line);background:var(--card);min-height:42px;color:var(--muted-strong);border-radius:11px;padding:9px 10px;font-size:10px;font-weight:850}.uxHistoryDetailActions .primaryAction{color:#fff;background:#111827;border-color:#111827}.uxHistoryShowBackdrop{z-index:90;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020617d1;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.uxHistoryShow{color:#fff;background:#18181b;border:1px solid #ffffff1f;border-radius:24px;grid-template-rows:auto 1fr auto auto;gap:18px;width:min(720px,100%);max-height:92vh;padding:24px;display:grid;box-shadow:0 24px 80px #0006}.uxHistoryShowTop{color:#a1a1aa;justify-content:space-between;align-items:center;font-size:12px;font-weight:850;display:flex}.uxHistoryShowTop button{color:#e4e4e7;background:#3f3f46;border:0;border-radius:999px;width:42px;height:42px;font-size:26px}.uxHistoryShowText{text-align:center;white-space:pre-wrap;word-break:normal;overflow-wrap:anywhere;justify-content:center;align-items:center;font-size:clamp(40px,8.2vw,72px);font-weight:900;line-height:1.35;display:flex;overflow:auto}.uxHistoryShowText.long{font-size:clamp(30px,6.1vw,52px)}.uxHistoryShowMeaning{color:#a1a1aa;text-align:center;border-top:1px solid #3f3f46;padding-top:14px;font-size:13px;font-weight:750;line-height:1.55}.uxHistoryShowActions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.uxHistoryShowActions button{color:#f4f4f5;background:#3f3f46;border:0;border-radius:13px;min-height:48px;font-size:12px;font-weight:850}.uxHistoryShowActions button:first-child{background:#1e293b}.uxCameraActions{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;display:grid}.uxCameraActions button{border:1px solid var(--line);background:var(--card);min-height:42px;color:var(--muted-strong);border-radius:12px;padding:10px 12px;font-size:11px;font-weight:850}.uxCameraActions button:first-child{color:#fff;background:#111827;border-color:#111827}html[data-theme=dark] .uxHistorySheet{background:#18181b;border-color:#374151}html[data-theme=dark] .uxHistoryTop strong,html[data-theme=dark] .uxHistoryReuse strong,html[data-theme=dark] .uxHistoryBack,html[data-theme=dark] .uxHistoryTranslation{color:var(--text)}html[data-theme=dark] .uxHistoryTop>button,html[data-theme=dark] .uxHistoryItem,html[data-theme=dark] .uxHistoryClear,html[data-theme=dark] .uxHistoryOriginal{color:#a1a1aa;background:#27272a;border-color:#3f3f46}html[data-theme=dark] .uxHistoryItem{border-color:#3f3f46}html[data-theme=dark] .uxHistoryCopy,html[data-theme=dark] .uxHistoryDetailActions button{color:#d4d4d8;background:#18181b;border-color:#3f3f46}html[data-theme=dark] .uxHistoryDetailActions .primaryAction{color:#18181b;background:#f4f4f5}html[data-theme=dark] .uxHistoryReading{border-top-color:#3f3f46}html[data-theme=dark] .uxHistoryReading p{color:#a1a1aa}html[data-theme=dark] .uxCameraActions{border-top-color:#3f3f46}html[data-theme=dark] .uxCameraActions button{color:#e4e4e7;background:#27272a;border-color:#52525b}html[data-theme=dark] .uxCameraActions button:first-child{color:#18181b;background:#f4f4f5}
.homeRecentStrip{border:1px solid var(--line);background:var(--soft);border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;margin:-2px 0 10px;padding:6px 7px;display:grid}.homeRecentLabel{color:var(--subtle);white-space:nowrap;font-size:9px;font-weight:900}.homeRecentItems{scrollbar-width:none;gap:5px;min-width:0;display:flex;overflow-x:auto}.homeRecentItems::-webkit-scrollbar{display:none}.homeRecentChip{border:1px solid var(--line);background:var(--card);max-width:180px;height:30px;color:var(--muted-strong);border-radius:999px;flex:none;padding:0 9px;font-size:10px;font-weight:800}.homeRecentChip span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.homeRecentAll{color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:7px 4px;font-size:9px;font-weight:900}.savedPhraseDirectionRow{justify-content:space-between;align-items:center;gap:10px;display:flex}.savedPhrasePin{border:1px solid var(--line);background:var(--card);color:var(--muted-strong);border-radius:999px;flex:none;padding:6px 8px;font-size:9px;font-weight:850}.savedPhrasePin.active{background:var(--soft);color:var(--muted-strong);border-color:#cbd5e1}.savedPhraseList small .savedPhrasePinnedMark{color:var(--muted-strong);margin-right:3px}@media (max-width:440px){.homeRecentStrip{gap:6px}.homeRecentChip{max-width:132px}}html[data-theme=dark] .homeRecentStrip{background:#27272a;border-color:#3f3f46}html[data-theme=dark] .homeRecentChip{color:#d4d4d8;background:#18181b;border-color:#3f3f46}html[data-theme=dark] .homeRecentLabel,html[data-theme=dark] .homeRecentAll{color:#a1a1aa}html[data-theme=dark] .savedPhrasePin{color:#d4d4d8;background:#18181b;border-color:#3f3f46}html[data-theme=dark] .savedPhrasePin.active{color:#f4f4f5;background:#27272a}html[data-theme=dark] .savedPhraseList small .savedPhrasePinnedMark{color:#d4d4d8}
.speakingInlineMount{margin-top:8px}.speakingInlineCard{border-top:1px solid var(--line);background:0 0;padding:10px 0 2px}.speakingInlineTitle{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:5px;display:flex}.speakingInlineTitle strong{color:var(--reading-source);font-size:12px}.speakingInlineTitle small{color:var(--reading-note);font-size:10px}.speakingPairs{gap:0;display:grid}.speakingPair{padding:7px 0}.speakingPair+.speakingPair{border-top:1px dashed var(--line)}.speakingSourceSegment{color:var(--reading-source);font-size:13px;line-height:1.45}.speakingPinyinSegment{color:var(--reading-source);margin-top:2px;font-size:12px;line-height:1.5}.speakingHangulSegment{letter-spacing:.01em;color:var(--reading-primary);margin-top:2px;font-size:15px;font-weight:750;line-height:1.55}.speakingReadingLine+.speakingReadingLine{margin-top:7px}.speakingReadingLine span{color:var(--reading-note);margin-bottom:3px;font-size:10px;font-weight:800;display:block}.speakingReadingLine p{white-space:pre-line;letter-spacing:.01em;color:var(--reading-primary);margin:0;font-size:15px;font-weight:750;line-height:1.6}.speakingReadingLine:not(.speakingHangul) p{color:var(--reading-source);font-size:13px;font-weight:600}.resultExtras.speakingInlineActive .pronunciation{display:none}.speakingShowEmphasis{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--accent-contrast)!important;font-weight:850!important}.turnPronunciation,.largeViewPronunciation{white-space:pre-line;line-height:1.55}.turnPronunciation{color:var(--reading-primary)}@media (max-width:520px){.speakingInlineTitle{flex-direction:column;align-items:flex-start;gap:1px}.speakingSourceSegment{font-size:12px}.speakingHangulSegment,.speakingReadingLine p{font-size:14px}.speakingShowEmphasis{padding-left:10px!important;padding-right:10px!important}}
.showViewStaff .largeViewPronunciation{display:none!important}.showViewStaff .largeViewText{text-align:center;white-space:pre-wrap;min-height:0;padding:18px 6px 10px;overflow-y:auto}.showViewStaff .largeViewText.showViewSegmented{text-wrap:balance}.showViewStaff .showViewSegment{margin:0 0 .18em;display:block}.showViewStaff .showViewSegment:last-child{margin-bottom:0}.showViewStaff.showViewShort .largeViewText{font-size:clamp(48px,14vw,76px);line-height:1.2}.showViewStaff.showViewMedium .largeViewText{font-size:clamp(40px,11vw,62px);line-height:1.23}.showViewStaff.showViewLong .largeViewText{font-size:clamp(32px,8.2vw,50px);line-height:1.28}.showViewStaff.showViewExtraLong .largeViewText{font-size:clamp(25px,6.6vw,40px);line-height:1.34}.showViewMeaning{border-top:1px solid var(--line);width:min(640px,100%);color:var(--muted);text-align:center;margin:0 auto 14px;padding:10px 10px 0;font-size:clamp(12px,3.2vw,15px);font-weight:650;line-height:1.45}.showViewStaff .largeViewActions{grid-template-columns:1fr 1fr!important}.showViewStaff .largeViewActions>.showViewSecondaryAction{display:none!important}.showViewStaff .largeViewActions>.showViewReplyAction,.showViewStaff .largeViewActions>.showViewListenAction,.showViewStaff .largeViewActions>.showViewCloseAction{display:block!important}.showViewStaff .largeViewActions>.showViewReplyAction{grid-row:1;min-height:52px;color:#fff!important;background:#1e3a8a!important;border-color:#1d4ed8!important;grid-column:1/-1!important}.showViewStaff .largeViewActions>.showViewListenAction{color:#fff;background:#111827;border-color:#111827;grid-column:1}.showViewStaff .largeViewActions>.showViewCloseAction{grid-column:2!important}@media (max-width:440px){.showViewStaff .largeView{max-height:94dvh}.showViewMeaning{margin-bottom:10px}}
.partnerReplyGuide,.partnerVoiceReplyGuide{color:#1e3a8a;text-align:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:13px;width:min(640px,100%);margin:0 auto 9px;padding:10px 12px;font-size:clamp(14px,3.8vw,17px);font-weight:850;line-height:1.45}.showViewStaff .partnerReplyGuide{margin-bottom:8px}.partnerVoiceReplyGuide{width:100%;margin:10px 0 9px;font-size:15px}.savedPhraseShowActions>.savedPhraseReplyAction{background:#1e3a8a;grid-column:1/-1}.phrasebookLargeActions>.phrasebookReplyAction{background:#1e3a8a}.partnerVoiceReplyMode>button:last-child{box-shadow:0 0 0 2px #1d4ed814;border-color:#1d4ed8!important}html[data-theme=dark] .partnerReplyGuide,html[data-theme=dark] .partnerVoiceReplyGuide{color:#dbeafe;background:#14213a;border-color:#315b9b}html[data-theme=dark] .partnerVoiceReplyMode>button:last-child{box-shadow:0 0 0 2px #60a5fa1a;border-color:#60a5fa!important}
.phrasebookLargeMount{display:inline-flex}.phrasebookLargeButton{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:9px;padding:6px 8px;font-size:10px;font-weight:800}.phrasebookLargeBackdrop{z-index:1000;padding:max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#06080cf0;place-items:center;display:grid;position:fixed;inset:0}.phrasebookLargeDialog{color:#fff;text-align:center;background:#0f172a;border:1px solid #ffffff24;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;width:min(920px,100%);min-height:min(78dvh,720px);padding:72px 28px 32px;display:flex;position:relative;box-shadow:0 28px 80px #00000061}.phrasebookLargeClose{color:#fff;background:#ffffff1f;border:0;border-radius:50%;width:44px;height:44px;font-size:29px;line-height:1;position:absolute;top:18px;right:18px}.phrasebookLargeText{color:#fff;letter-spacing:-.035em;overflow-wrap:anywhere;max-width:100%;font-size:clamp(42px,8.5vw,86px);font-weight:800;line-height:1.28}.phrasebookLargeKorean{color:#cbd5e1;margin-top:28px;font-size:clamp(17px,3.8vw,24px);font-weight:700;line-height:1.5}.phrasebookLargeActions{gap:10px;margin-top:34px;display:flex}.phrasebookLargeActions button{color:#fff;background:#ffffff1a;border:1px solid #ffffff29;border-radius:13px;min-width:110px;padding:13px 18px;font-size:14px;font-weight:800}@media (max-width:430px){.phrasebookLargeBackdrop{padding-left:10px;padding-right:10px}.phrasebookLargeDialog{border-radius:22px;min-height:82dvh;padding:68px 18px 26px}.phrasebookLargeText{font-size:clamp(38px,13vw,64px)}.phrasebookLargeActions{grid-template-columns:1fr 1fr;width:100%;display:grid}.phrasebookLargeActions button{white-space:nowrap;min-width:0}.phrasebookLargeActions .phrasebookReplyAction{grid-column:1/-1}}
.resultUseSpeakButton,.resultUseSaveButton{min-width:42px}.savedPhraseFab{z-index:38;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111827eb;border:1px solid #94a3b873;border-radius:999px;padding:9px 12px;font-size:11px;font-weight:850;position:fixed;bottom:88px;left:14px;box-shadow:0 8px 24px #0f172a2e}.speakingViewBackdrop,.savedPhraseBackdrop,.savedPhraseShowBackdrop{z-index:95;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020617d1;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.resultUseModalHidden{display:none}.speakingView{color:#fff;background:#18181b;border:1px solid #ffffff1f;border-radius:24px;grid-template-rows:auto 1fr auto;gap:18px;width:min(720px,100%);max-height:92vh;padding:24px;display:grid;box-shadow:0 24px 80px #0006}.speakingViewTop,.savedPhraseTop,.savedPhraseShowTop{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.speakingViewTop>div{gap:3px;display:grid}.speakingViewTop strong{color:#fff;font-size:14px}.speakingViewTop small{color:#a1a1aa;font-size:10px}.speakingViewTop>button,.savedPhraseTop>button,.savedPhraseShowTop>button{color:#e4e4e7;background:#3f3f46;border:0;border-radius:999px;width:42px;height:42px;font-size:26px}.speakingViewBody{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:0;display:flex;overflow:auto}.speakingViewReading{white-space:pre-line;word-break:keep-all;font-size:clamp(36px,7vw,62px);font-weight:900;line-height:1.42}.speakingViewPinyin{color:#cbd5e1;white-space:pre-line;font-size:clamp(18px,3.4vw,28px);font-weight:750;line-height:1.5}.speakingViewForeign{color:#a1a1aa;white-space:pre-wrap;border-top:1px solid #3f3f46;padding-top:18px;font-size:clamp(18px,3.4vw,28px);font-weight:750;line-height:1.5}.speakingViewActions{grid-template-columns:1fr 1fr 1fr;gap:10px;display:grid}.speakingViewActions button{color:#f4f4f5;background:#3f3f46;border:0;border-radius:13px;min-height:48px;font-size:12px;font-weight:850}.speakingViewActions button:first-child{background:#1e293b}.savedPhraseBackdrop{padding:18px 12px max(92px,calc(env(safe-area-inset-bottom) + 78px));background:#0f172a6b;align-items:flex-end}.savedPhraseSheet{border:1px solid var(--line);background:var(--card);border-radius:22px;width:min(620px,100%);max-height:min(76vh,720px);padding:16px;overflow:auto;box-shadow:0 20px 60px #0f172a38}.savedPhraseTop{margin-bottom:12px}.savedPhraseTop>div{gap:3px;display:grid}.savedPhraseTop strong{color:#111827;font-size:16px}.savedPhraseTop small{color:var(--subtle);font-size:10px}.savedPhraseTop>button{background:var(--surface-strong);width:32px;height:32px;color:var(--muted-strong);border-radius:10px;font-size:20px}.savedPhraseList{gap:8px;display:grid}.savedPhraseList>button{border:1px solid var(--line);background:var(--soft);text-align:left;border-radius:14px;gap:5px;padding:12px;display:grid}.savedPhraseList small{color:var(--subtle);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.savedPhraseList strong{color:#111827;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.savedPhraseDetail{gap:12px;display:grid}.savedPhraseDirection{color:var(--subtle);font-size:10px;font-weight:800}.savedPhraseOriginal{background:var(--soft);color:var(--muted-strong);border-radius:12px;padding:11px 12px;font-size:12px;line-height:1.55}.savedPhraseTranslation{color:#111827;white-space:pre-wrap;font-size:25px;font-weight:850;line-height:1.45}.savedPhraseReading{border-top:1px solid var(--line);gap:4px;padding-top:10px;display:grid}.savedPhraseReading span{color:var(--subtle);font-size:9px;font-weight:800}.savedPhraseReading p{color:var(--muted-strong);white-space:pre-line;margin:0;font-size:12px;line-height:1.55}.savedPhraseActions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.savedPhraseActions button,.savedPhraseBack{border:1px solid var(--line);background:var(--card);min-height:42px;color:var(--muted-strong);border-radius:11px;padding:9px 10px;font-size:10px;font-weight:850}.savedPhraseActions .primary{color:#fff;background:#111827;border-color:#111827}.savedPhraseActions .danger{color:#b91c1c;grid-column:1/-1}.savedPhraseBack{background:var(--soft);width:100%}.savedPhraseShowBackdrop{z-index:98}.savedPhraseShow{color:#fff;background:#18181b;border:1px solid #ffffff1f;border-radius:24px;grid-template-rows:auto 1fr auto auto;gap:16px;width:min(760px,100%);max-height:92dvh;padding:22px;display:grid;overflow:auto;box-shadow:0 24px 80px #0000006b}.savedPhraseShowTop{color:#a1a1aa;align-items:center;font-size:11px;font-weight:800}.savedPhraseShowText{text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;justify-content:center;align-items:center;min-height:42dvh;font-size:clamp(40px,8.2vw,72px);font-weight:900;line-height:1.35;display:flex}.savedPhraseShowText.long{font-size:clamp(30px,6.1vw,52px)}.savedPhraseShowMeaning{color:#a1a1aa;text-align:center;border-top:1px solid #3f3f46;padding-top:14px;font-size:13px;font-weight:750;line-height:1.55}.savedPhraseShowActions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.savedPhraseShowActions button{color:#f4f4f5;background:#3f3f46;border:0;border-radius:13px;min-height:48px;font-size:12px;font-weight:850}.savedPhraseShowActions button:first-child{background:#1e293b}@media (max-width:520px){.speakingView,.savedPhraseShow{padding:20px}.speakingViewActions{grid-template-columns:1fr 1fr}.speakingViewActions button:last-child{grid-column:1/-1}}html[data-theme=dark] .savedPhraseSheet{background:#18181b;border-color:#374151}html[data-theme=dark] .savedPhraseTop strong,html[data-theme=dark] .savedPhraseList strong,html[data-theme=dark] .savedPhraseTranslation{color:var(--text)}html[data-theme=dark] .savedPhraseTop>button,html[data-theme=dark] .savedPhraseList>button,html[data-theme=dark] .savedPhraseOriginal,html[data-theme=dark] .savedPhraseBack{color:#a1a1aa;background:#27272a;border-color:#3f3f46}html[data-theme=dark] .savedPhraseReading{border-top-color:#3f3f46}html[data-theme=dark] .savedPhraseReading p{color:#a1a1aa}html[data-theme=dark] .savedPhraseActions button{color:#d4d4d8;background:#18181b;border-color:#3f3f46}html[data-theme=dark] .savedPhraseActions .primary{color:#18181b;background:#f4f4f5}html[data-theme=dark] .savedPhraseActions .danger{color:#fca5a5}
.savedPhraseLookupMount{margin:0 0 10px}.savedPhraseLookup{gap:6px;display:grid}.savedPhraseLookup label{gap:5px;display:grid}.savedPhraseLookup label>span,.savedPhraseTitleEditor>span{color:var(--muted-strong);font-size:10px;font-weight:850}.savedPhraseLookup input,.savedPhraseTitleEditor input{border:1px solid var(--line);background:var(--card);color:#111827;border-radius:12px;outline:none;width:100%;min-height:42px;padding:10px 12px;font-size:13px}.savedPhraseLookup input:focus,.savedPhraseTitleEditor input:focus{border-color:var(--subtle);box-shadow:0 0 0 3px #0f172a0f}.savedPhraseLookup small,.savedPhraseTitleEditor small{color:var(--subtle);font-size:9px;line-height:1.4}.savedPhraseLookupTitle{color:#111827;order:-2;align-items:center;gap:5px;font-size:14px;font-weight:900;line-height:1.35;display:flex}.savedPhraseList>button[hidden]{display:none}.savedPhraseList>button>small{order:-1}.savedPhraseList>button>strong{color:var(--muted-strong);font-size:12px;font-weight:750}.savedPhraseTitleEditorMount{margin-bottom:2px}.savedPhraseTitleEditor{border:1px solid var(--line);background:var(--soft);border-radius:12px;gap:5px;padding:10px 11px;display:grid}.savedPhrasePinnedMark{margin-right:3px}html[data-theme=dark] .savedPhraseLookup label>span,html[data-theme=dark] .savedPhraseTitleEditor>span{color:#a1a1aa}html[data-theme=dark] .savedPhraseLookup input,html[data-theme=dark] .savedPhraseTitleEditor input{color:var(--text);background:#27272a;border-color:#3f3f46}html[data-theme=dark] .savedPhraseLookup input:focus,html[data-theme=dark] .savedPhraseTitleEditor input:focus{border-color:#71717a;box-shadow:0 0 0 3px #ffffff0f}html[data-theme=dark] .savedPhraseLookupTitle{color:var(--text)}html[data-theme=dark] .savedPhraseList>button>strong{color:#d4d4d8}html[data-theme=dark] .savedPhraseTitleEditor{background:#27272a;border-color:#3f3f46}
[data-result-gesture=true]{-webkit-touch-callout:none}.resultGestureToast{left:50%;bottom:calc(78px + env(safe-area-inset-bottom));z-index:120;color:#fff;pointer-events:none;white-space:nowrap;background:#111827f0;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800;line-height:1;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #11182738}
.speakingView{max-height:calc(100dvh - 36px);overflow:hidden}.speakingViewBody{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;justify-content:safe center;padding:8px 2px 20px;overflow:hidden auto}.speakingViewReading,.speakingViewPinyin,.speakingViewForeign{flex:none;width:100%}.speakingViewForeign{margin-bottom:2px}@media (max-width:520px){.speakingView{max-height:calc(100dvh - 24px)}.speakingViewBody{scrollbar-gutter:auto;padding-bottom:16px}}
.appNav{left:50%;bottom:max(10px, env(safe-area-inset-bottom));z-index:50;border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border-radius:16px;grid-template-columns:repeat(4,1fr);width:min(470px,100% - 22px);padding:4px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 12px 35px #11182729}.appNavItem{min-height:43px;color:var(--muted);background:0 0;border-radius:12px;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:800;text-decoration:none;display:flex}.appNavItem.active{background:var(--accent);color:var(--accent-contrast)}.appFooter{width:min(720px,100% - 28px);padding:0 4px calc(88px + env(safe-area-inset-bottom));color:var(--subtle);text-align:center;margin:18px auto 0;font-size:9px;line-height:1.7}.appFooter a{color:inherit;text-underline-offset:2px;text-decoration:underline}.appFooterSep{margin:0 6px}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] .centerPage{background:var(--bg);color:var(--text)}html[data-theme=dark] .eyebrow,html[data-theme=dark] .charCount,html[data-theme=dark] .resultMeta,html[data-theme=dark] .quickRewrite>span,html[data-theme=dark] .turnLabel,html[data-theme=dark] .turnMeta,html[data-theme=dark] footer{color:#aeb7c4}html[data-theme=dark] .card,html[data-theme=dark] .lockCard,html[data-theme=dark] .modal{border-color:var(--line);background:var(--card);color:var(--text);box-shadow:0 14px 40px #0000003d}html[data-theme=dark] .iconButton{color:#f4f7fb;background:#252a33;border-color:#464d59}html[data-theme=dark] .modeTabs,html[data-theme=dark] .speakerMode{background:#101318}html[data-theme=dark] .modeTabs button,html[data-theme=dark] .speakerMode button{color:#aeb7c4}html[data-theme=dark] .modeTabs button.active,html[data-theme=dark] .speakerMode button.active{color:#fff;background:#303640;box-shadow:0 1px 4px #00000047}html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .pinInput,html[data-theme=dark] .swap{color:#f4f7fb;background:#20252d;border-color:#464d59}html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus,html[data-theme=dark] .pinInput:focus{border-color:#7d8795;box-shadow:0 0 0 3px #aeb7c421}html[data-theme=dark] textarea::placeholder,html[data-theme=dark] input::placeholder{color:#aeb7c4;opacity:1}html[data-theme=dark] .swap{color:#d3d9e2}html[data-theme=dark] .swap:disabled{color:#7f8997;opacity:1}html[data-theme=dark] .clearButton{color:#c9d0da;background:#303640}html[data-theme=dark] .advancedPanel{background:#181d24;border-color:#3c434e}html[data-theme=dark] .advancedPanel summary{color:#cbd2dc}html[data-theme=dark] .advancedPanel summary:after,html[data-theme=dark] .advancedPanel summary small{color:#9ba5b3}html[data-theme=dark] .advancedBody{border-top-color:#353c46}html[data-theme=dark] .fastToggle,html[data-theme=dark] .conversationHint,html[data-theme=dark] .pronunciation,html[data-theme=dark] .transcript{background:#20252d;border-color:#353c46}html[data-theme=dark] .switch{background:#4b5563}html[data-theme=dark] .fastToggle input:checked+.switch{background:#d8dee7}html[data-theme=dark] .fastToggle input:checked+.switch:after{background:#111827}html[data-theme=dark] .primary{color:#111827;background:#f3f4f6}html[data-theme=dark] .primary:disabled,html[data-theme=dark] .translateButton:disabled,html[data-theme=dark] .conversationSend:disabled{color:#959fac;opacity:1;background:#2c323b}html[data-theme=dark] .statusPill{color:#c7ced8;background:#252b34}html[data-theme=dark] .resultActions button,html[data-theme=dark] .quickRewrite button,html[data-theme=dark] .resetConversation,html[data-theme=dark] .turnActions button,html[data-theme=dark] .largeViewActions button{color:#d8dee7;background:#20252d;border-color:#454d59}html[data-theme=dark] .resultActions .showButton,html[data-theme=dark] .largeViewActions button:first-child{color:#111827;background:#f3f4f6;border-color:#f3f4f6}html[data-theme=dark] .pronunciation p,html[data-theme=dark] .turnPronunciation{color:var(--reading-primary)}html[data-theme=dark] .turnOriginal,html[data-theme=dark] .modal p{color:#bdc5d0}html[data-theme=dark] .relatedPhrases{border-top-color:#3a414c}html[data-theme=dark] .relatedTitle span,html[data-theme=dark] .relatedTitle a,html[data-theme=dark] .relatedGrid small{color:#aeb7c4}html[data-theme=dark] .relatedGrid button{background:#1d222a;border-color:#3a414c}html[data-theme=dark] .relatedGrid strong{color:#f4f7fb}html[data-theme=dark] .conversationThread{background:#11151b;border-color:#353c46}html[data-theme=dark] .conversationEmpty{color:#98a3b1}html[data-theme=dark] .conversationEmpty strong{color:#c2cad5}html[data-theme=dark] .turnCard{background:#1b2027;border-color:#3b424d;box-shadow:0 2px 7px #0000002e}html[data-theme=dark] .conversationTurn.partner .turnCard{background:#252b34}html[data-theme=dark] .turnDivider{background:#aeb7c433}html[data-theme=dark] .turnTranslation{color:#f4f7fb}html[data-theme=dark] .usageDetails{background:#171b22;border-color:#3a414c}html[data-theme=dark] .usageDetails summary span,html[data-theme=dark] .usageDetails summary small,html[data-theme=dark] .usageBody>small{color:#aeb7c4}html[data-theme=dark] .budgetTrack{background:#303640}html[data-theme=dark] .budgetFill{background:#e6e9ee}html[data-theme=dark] .largeViewBackdrop,html[data-theme=dark] .modalBackdrop{background:#000000b8}html[data-theme=dark] .largeView{color:#f4f7fb;background:#171b22;box-shadow:0 28px 80px #00000080}html[data-theme=dark] .largeViewTop span,html[data-theme=dark] .largeViewPronunciation{color:#b8c1cd}html[data-theme=dark] .largeViewTop button{color:#d8dee7;background:#2a3039}html[data-theme=dark] .largeViewText{color:var(--text)}html[data-theme=dark] .lockCard>p,html[data-theme=dark] .lockCard small{color:#aeb7c4}html[data-theme=dark] .appMark{color:#111827;background:#f3f4f6}html[data-theme=dark] .spinner{border-color:#f3f4f6 #444c58 #444c58}html[data-theme=dark] .error{color:#fecaca;background:#3a1d22}html[data-theme=dark] .appNav{background:#13171df0;border-color:#3e4651;box-shadow:0 12px 35px #0006}html[data-theme=dark] .appNavItem{color:#aeb7c4}html[data-theme=dark] .appNavItem.active{color:#111827;background:#f3f4f6}html[data-theme=dark] .appFooter{color:#aeb7c4}html[data-theme=dark] aside[aria-label="처음 사용 가이드"]{color:#f4f7fb!important;background:#1d2430!important;border-color:#465064!important;box-shadow:0 8px 24px #0000002e!important}html[data-theme=dark] aside[aria-label="처음 사용 가이드"] span{color:#b7c0cc!important}html[data-theme=dark] aside[aria-label="처음 사용 가이드"] a[href=\/guide]{color:#111827!important;background:#f3f4f6!important}html[data-theme=dark] aside[aria-label="처음 사용 가이드"] button{color:var(--text)!important;background:#252a33!important;border-color:#4a5260!important}
.themeSetting{border-top:1px solid var(--line);gap:8px;margin-top:10px;padding-top:10px;display:grid}.themeSettingCopy{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.themeSettingCopy strong{color:var(--muted-strong);font-size:11px}.themeSettingCopy span{color:var(--subtle);font-size:9px}.themeSegments{background:var(--surface-strong);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;display:grid}.themeSegments button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:9px;font-size:10px;font-weight:850}.themeSegments button.active{background:var(--card);color:#111827;box-shadow:0 1px 3px #11182717}.keyboardTranslateBar{left:50%;bottom:calc(var(--keyboard-inset,0px) + 8px);z-index:68;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border:1px solid #94a3b861;border-radius:16px;width:min(720px,100% - 22px);padding:6px;position:fixed;transform:translate(-50%);box-shadow:0 12px 34px #0f172a38}.keyboardTranslateButton{color:#fff;background:#111827;border:0;border-radius:12px;width:100%;min-height:50px;font-size:14px;font-weight:900}.keyboardTranslateButton:disabled{background:var(--line);color:var(--subtle)}.keyboardTranslateActive .appNav{display:none}@media (max-width:440px){.themeSettingCopy{flex-direction:column;align-items:flex-start;gap:2px}}html[data-theme=dark] .themeSetting{border-top-color:#353c46}html[data-theme=dark] .themeSettingCopy strong{color:#d2d8e1}html[data-theme=dark] .themeSettingCopy span{color:#9ba5b3}html[data-theme=dark] .themeSegments{background:#101318}html[data-theme=dark] .themeSegments button{color:#aeb7c4}html[data-theme=dark] .themeSegments button.active{color:#fff;background:#303640;box-shadow:0 1px 3px #00000047}html[data-theme=dark] .keyboardTranslateBar{background:#13171df2;border-color:#444c58;box-shadow:0 12px 34px #0000006b}html[data-theme=dark] .keyboardTranslateButton{color:#111827;background:#f3f4f6}html[data-theme=dark] .keyboardTranslateButton:disabled{color:#959fac;background:#2c323b}
.inputStaleResultNotice{border:1px solid color-mix(in srgb, var(--line) 78%, var(--accent));background:var(--soft);color:var(--muted);border-radius:12px;margin-top:12px;padding:9px 12px;font-size:13px;font-weight:700;line-height:1.35}
.offlineEscapeUx{border:1px solid var(--line,#dbe1e8);background:var(--card,#fff);color:var(--text,#111827);border-radius:14px;gap:10px;margin:-2px 0 14px;padding:12px 13px;display:grid}.offlineEscapeUx>div:first-child{gap:2px;display:grid}.offlineEscapeUx strong{font-size:13px;line-height:1.35}.offlineEscapeUx small{color:var(--muted,#6b7280);font-size:11px;line-height:1.45}.offlineEscapeActions{flex-wrap:wrap;gap:7px;display:flex}.offlineEscapeActions a,.offlineEscapeActions button{border:1px solid var(--line,#dbe1e8);background:var(--soft,#f5f7fa);min-height:38px;color:inherit;font:inherit;cursor:pointer;border-radius:11px;padding:8px 11px;font-size:12px;font-weight:800;line-height:1;text-decoration:none}.offlineEscapeActions a:focus-visible,.offlineEscapeActions button:focus-visible{outline-offset:2px;outline:2px solid}
.savedPhraseCameraBadge{color:#075985;white-space:nowrap;background:#e0f2fe;border-radius:999px;align-items:center;padding:3px 6px;font-size:9px;font-weight:900;display:inline-flex}.savedPhraseSavedAt{color:var(--subtle);margin-top:3px;font-size:9px;font-weight:750}.savedPhraseSourceUnavailable{border:1px dashed var(--line);background:var(--soft);color:var(--subtle);border-radius:12px;padding:11px 12px;font-size:10px;line-height:1.5}html[data-theme=dark] .savedPhraseCameraBadge{color:#93c5fd;background:#172b45}html[data-theme=dark] .savedPhraseSourceUnavailable{color:#aeb7c4;background:#20252d;border-color:#3f3f46}
:root{--accent:#1764d8;--accent-contrast:#fff;--action-soft:#eaf2ff;--action-text:#1257bf;--focus-ring:#1764d8;--radius-control:14px;--radius-card:24px;--space-page:20px;--type-body:1rem;--type-label:.8125rem;--type-reading:1.125rem}html[data-theme=dark]{--accent:#93bdff;--accent-contrast:#0b2041;--action-soft:#1a2c46;--action-text:#a9ceff;--focus-ring:#93bdff}.uiIcon{vertical-align:middle;flex:none;display:inline-block}.uiInline{align-items:center;gap:7px;display:inline-flex}html:root button,html:root a,html:root select,html:root input{-webkit-tap-highlight-color:transparent}html:root :where(button,a,input,select,textarea,summary,[role=button]):focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}html:root button{touch-action:manipulation}html:root button:disabled{cursor:default}html:root .page,html:root .uiPage{padding:max(24px, env(safe-area-inset-top)) var(--space-page) calc(100px + env(safe-area-inset-bottom));background:var(--bg);color:var(--text)}html:root .shell,html:root .uiShell{width:min(680px,100%)}html:root .topbar,html:root .uiHeader{align-items:center;gap:12px;margin:0 0 24px}html:root .topbar{flex-wrap:wrap}html:root .topbar>div:first-child{flex:170px}html:root .topbar h1{white-space:normal;overflow-wrap:anywhere}html:root .topbar h1,html:root .uiHeader h1{color:var(--text);letter-spacing:-.04em;margin:5px 0 0;font-size:1.75rem;font-weight:750;line-height:1.25}html:root .eyebrow,html:root .uiEyebrow{color:var(--muted);letter-spacing:0;font-size:.75rem;font-weight:600;line-height:1.5}html:root .uiHeader p{color:var(--muted);margin:9px 0 0;font-size:.875rem;line-height:1.6}.uiHeaderSymbol,.uiBrandMark{background:var(--action-soft);color:var(--action-text);border-radius:18px;flex-shrink:0;place-items:center;display:grid}.uiHeaderSymbol{width:56px;height:56px}.uiBrandMark{width:64px;height:64px;margin:0 auto 20px}html:root .topActions{gap:4px;margin-inline-start:auto}html:root .iconButton{border:1px solid var(--line);background:var(--card);min-height:44px;color:var(--muted-strong);border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:9px 12px;font-size:.8125rem;font-weight:650;display:inline-flex}html:root .uiIconOnly{width:44px;height:44px;padding:0}html:root .card,html:root .uiCard{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--card);box-shadow:none}html:root .translatorCard,html:root .uiCard{padding:24px}html:root .uiCard+.uiCard{margin-top:16px}html:root .modeTabs,html:root .speakerMode,html:root .uiSegments{background:var(--surface-strong);border-radius:14px;gap:4px;padding:4px;display:flex}html:root .modeTabs{margin-bottom:20px}html:root .modeTabs button,html:root .speakerMode button,html:root .uiSegments button{min-width:0;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:1 1 0;justify-content:center;align-items:center;margin:0;padding:8px;font-size:.875rem;font-weight:650;line-height:1.4;display:inline-flex}html:root .modeTabs button.active,html:root .speakerMode button.active,html:root .uiSegments button[aria-pressed=true]{background:var(--card);color:var(--text);box-shadow:0 2px 6px #11182712}html:root .languageRow{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:8px;margin:0 0 16px}html:root .languageRow select,html:root .swap,html:root .uiToolbar select,html:root .uiField select{border-radius:var(--radius-control);border-color:var(--line-strong);background:var(--control);min-height:48px;color:var(--text);font-size:1rem}html:root .swap{place-items:center;width:44px;padding:0;display:grid}html:root .swap:disabled{color:var(--subtle);opacity:.55}html:root .inputWrap textarea{letter-spacing:-.02em;border-radius:18px;min-height:150px;padding:18px 44px 32px 18px;font-size:1.125rem;line-height:1.65}html:root .inputWrap .clearButton{width:40px;height:40px;top:4px;right:4px}html:root .charCount{font-size:.75rem}html:root .advancedPanel{background:var(--soft);border-color:var(--line);border-radius:14px;margin-top:12px}html:root .advancedPanel summary{min-height:44px;color:var(--muted-strong);padding:12px;font-size:.8125rem}html:root .advancedPanel summary small{font-size:.6875rem;font-weight:500}html:root .controlGrid label>span,html:root .themeSettingCopy strong{font-size:.8125rem}html:root .controlGrid select{min-height:44px;font-size:.9375rem}html:root .themeSegments button{min-height:44px;font-size:.8125rem}html:root .fastToggle strong{font-size:.9375rem}html:root .fastToggle small,html:root .themeSettingCopy span{font-size:.75rem;line-height:1.5}html:root .primary,html:root .uiPrimary,html:root .keyboardTranslateButton{background:var(--accent);min-height:54px;color:var(--accent-contrast);border:0;border-radius:16px;padding:14px 18px;font-size:1rem;font-weight:700;line-height:1.5}html:root .primary:disabled,html:root .uiPrimary:disabled,html:root .keyboardTranslateButton:disabled{background:var(--surface-strong);color:var(--subtle);opacity:1}html:root .translateButton,html:root .conversationSend{margin-top:14px}html:root .error{font-size:.875rem;line-height:1.6}html:root .conversationHint,html:root .uiHint{padding:12px 14px;font-size:.8125rem;line-height:1.6}html:root .result{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.resultTitle{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.8125rem;font-weight:600;display:flex}.resultTitle span{background:var(--action-soft);color:var(--action-text);border-radius:8px;padding:5px 9px}html:root .translation{color:var(--text);letter-spacing:-.025em;padding:14px 0 18px;font-size:clamp(1.625rem,6.5vw,2rem);font-weight:700;line-height:1.6}html:root .speakingInlineMount{margin:0}html:root .speakingInlineCard{background:var(--soft);border:0;border-radius:16px;padding:16px}html:root .speakingInlineTitle{margin-bottom:8px}html:root .speakingInlineTitle strong{color:var(--reading-source);font-size:.8125rem}html:root .speakingInlineTitle small{font-size:.75rem;line-height:1.5}html:root .speakingSourceSegment{font-size:.9375rem;line-height:1.6}html:root .speakingHangulSegment,html:root .speakingReadingLine p{color:var(--reading-primary);font-size:var(--type-reading);letter-spacing:0;margin-top:5px;font-weight:650;line-height:1.75}html:root .speakingReadingLine:not(.speakingHangul) p,html:root .speakingPinyinSegment{font-size:1rem;line-height:1.6}html:root .speakingReadingLine span{font-size:.75rem}html:root .resultHeader{flex-direction:column;align-items:stretch;gap:12px;margin-top:18px;display:flex}html:root .resultHeader .statusPill{min-height:24px;color:var(--subtle);background:0 0;order:2;align-self:flex-start;padding:4px 0;font-size:.75rem;font-weight:500}html:root .resultActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}html:root .resultActions button{border:1px solid var(--line);background:var(--card);min-width:0;min-height:44px;color:var(--muted-strong);border-radius:12px;flex-wrap:wrap;grid-column:auto;justify-content:center;align-items:center;gap:6px;padding:10px 6px;font-size:.8125rem;font-weight:650;display:inline-flex}html:root .resultActions .resultListenAction,html:root .resultActions .showButton{grid-column:auto;min-height:52px;font-size:1rem}html:root .resultActions .resultListenAction{background:var(--action-soft);color:var(--action-text);border-color:#0000}html:root .resultActions .showButton{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}html:root .resultActions button:disabled{color:var(--subtle);background:var(--soft);border-color:var(--line);opacity:1}html:root .resultExtras{margin-top:16px}html:root .quickRewrite>span,html:root .relatedTitle span,html:root .relatedTitle a{font-size:.8125rem}html:root .quickRewrite button{min-height:44px;padding:10px;font-size:.8125rem}html:root .relatedGrid small{font-size:.75rem}html:root .relatedGrid strong{font-size:1rem;line-height:1.6}html:root .resultMeta{gap:8px 12px;font-size:.6875rem}html:root .homeRecentStrip{background:0 0;border:0;gap:8px;margin:-4px 0 16px;padding:8px 0}html:root .homeRecentLabel,html:root .homeRecentAll{color:var(--muted);font-size:.75rem}html:root .homeRecentAll{min-height:44px}html:root .homeRecentChip{border-color:var(--line);background:var(--soft);max-width:180px;height:auto;min-height:44px;color:var(--muted-strong);border-radius:12px;padding:8px 12px;font-size:.8125rem}html:root .uxHistoryFab{right:max(16px,50vw - 340px);bottom:calc(90px + env(safe-area-inset-bottom));background:var(--card);min-height:44px;color:var(--text);border-color:var(--line);padding:11px 15px;font-size:.8125rem;box-shadow:0 4px 20px #0000001f}.uxHistoryCopyNotice{background:var(--soft);color:var(--muted-strong);border-radius:12px;margin:0 0 12px;padding:10px 12px;font-size:.8125rem;line-height:1.55}.uxHistoryCopyNotice[data-kind=failed]{color:var(--danger)}html:root .conversationToolbar select{min-height:48px;font-size:1rem}html:root .conversationToolbar label>span{margin-bottom:8px;font-size:.8125rem}html:root .resetConversation{height:auto;min-height:48px;font-size:.8125rem}html:root .speakerMode{margin:16px 0 0}html:root .conversationThread{background:var(--soft);border-radius:18px;margin-top:20px;padding:12px}html:root .conversationEmpty strong{font-size:1rem}html:root .conversationEmpty span{font-size:.875rem;line-height:1.6}html:root .turnLabel{margin-bottom:7px;font-size:.8125rem}html:root .turnCard{border-color:var(--line);background:var(--card);box-shadow:none;padding:16px}html:root .conversationTurn.partner .turnCard{background:var(--card);border-inline-start:3px solid var(--accent)}html:root .turnOriginal{color:var(--muted);font-size:.9375rem;line-height:1.65}html:root .turnTranslation{color:var(--text);font-size:1.375rem;line-height:1.6}html:root .turnPronunciation{color:var(--reading-primary);font-size:1rem;line-height:1.7}html:root .turnFooter{flex-direction:column;align-items:stretch;gap:8px}html:root .turnMeta{font-size:.6875rem}html:root .turnActions{justify-content:flex-start;gap:6px}html:root .turnActions button{border-color:var(--line);background:var(--card);min-width:44px;min-height:44px;color:var(--muted-strong);border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:10px;font-size:.8125rem;display:inline-flex}html:root .turnActions .turnCorrection{background:var(--action-soft);width:100%;color:var(--action-text);margin-top:4px}html:root .conversationComposer textarea{min-height:112px}html:root .uiToolbar{align-items:end;gap:12px}html:root .uiToolbar label>span,html:root .uiField>span{color:var(--muted);margin-bottom:8px;font-size:.8125rem;display:block}html:root .uiToolbar>button{height:auto;min-height:48px;font-size:.8125rem}html:root .uiPrivacy{margin-top:18px;font-size:.75rem;line-height:1.7}html:root .uiActions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}html:root .uiActions button{border-color:var(--line);background:var(--card);min-width:44px;min-height:44px;color:var(--muted-strong);border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:10px 12px;font-size:.8125rem;display:inline-flex}html:root .uiResultText{color:var(--text);overflow-wrap:anywhere;padding:18px 0;font-size:clamp(1.625rem,6vw,2rem);font-weight:700;line-height:1.6}html:root .uiReading{color:var(--reading-primary);font-size:1.0625rem;line-height:1.7}html:root .uiOriginal{color:var(--muted);font-size:.9375rem;line-height:1.65}html:root .uiOriginal span,html:root .uiLabel{font-size:.8125rem}html:root .uiCurrentResult{margin-top:24px;padding-top:20px}html:root .uiTurn{border-color:var(--line);background:var(--soft);border-radius:16px;margin-top:14px;padding:18px}html:root .uiTurnText{color:var(--text);font-size:1.25rem;line-height:1.6}html:root .uiMicGrid{gap:12px;margin-top:18px}html:root .uiMicButton{border-color:var(--line);min-height:144px;box-shadow:none;border-radius:18px;gap:8px}html:root [data-app-screen=voice] .uiMicButton[data-speaker=me]{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}html:root [data-app-screen=voice] .uiMicButton[data-speaker=partner]{background:var(--action-soft);color:var(--action-text)}html:root [data-app-screen=voice] .uiMicButton[data-recording=true]{background:var(--danger);border-color:var(--danger);color:var(--card)}html:root [data-app-screen=voice] .uiMicButton:disabled{background:var(--surface-strong);border-color:var(--line);color:var(--subtle);opacity:1}html:root .uiMicButton strong{font-size:1.125rem}html:root .uiMicButton small{opacity:1;font-size:.875rem}html:root .uiPhotoSource{border-color:var(--line);background:var(--soft);height:auto;min-height:88px;color:var(--muted-strong);border-radius:16px;justify-content:center;align-items:center;padding:16px 12px;font-size:.9375rem;display:flex}html:root .uiPhotoSource>span{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}html:root .uiPhotoSourcePrimary{background:var(--action-soft);color:var(--action-text);border-color:#0000}html:root .uiPhotoSource:focus-within{outline:3px solid var(--focus-ring);outline-offset:3px}html:root .uiSegments{margin-bottom:18px}html:root .uiPhraseFilters{gap:8px;margin-top:16px}html:root .uiPhraseFilters button{border-radius:12px;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:10px 12px;font-size:.8125rem;display:inline-flex}html:root .uiPhraseFilters button[aria-pressed=true]{background:var(--action-soft);color:var(--action-text);border-color:var(--action-text)}html:root .uiSearch{border-color:var(--line-strong);background:var(--control);height:auto;min-height:52px;color:var(--text);padding:14px 44px 14px 16px;font-size:1rem}html:root .uiPhraseCard{border-color:var(--line);background:var(--card);border-radius:18px;padding:20px 56px 18px 18px}html:root .uiPhraseMeaning{color:var(--muted);font-size:.9375rem;line-height:1.6}html:root .uiPhraseText{color:var(--text);margin-top:8px;font-size:1.5rem;font-weight:700;line-height:1.6}html:root .uiPhraseNote{font-size:.8125rem;line-height:1.6}html:root .uiFavorite{place-items:center;min-width:44px;min-height:44px;display:grid;top:8px;right:6px}html:root .uiOfflineBadge{background:var(--action-soft);color:var(--action-text);font-size:.75rem}html:root .uiHelp{font-size:.8125rem;line-height:1.7}html:root .uiSummaryGrid span,html:root .uiSummaryGrid small{font-size:.8125rem}html:root .uiFileButton{min-height:54px;font-size:1rem}html:root .uiChoiceGroup legend,html:root .uiChoiceGroup strong{font-size:.9375rem}html:root .uiChoiceGroup small{font-size:.8125rem}html:root .lockCard,html:root .uiLockCard{border-radius:var(--radius-card);box-shadow:none;padding:28px}html:root .lockCard p,html:root .uiLockCard p{font-size:.9375rem}html:root .lockCard input,html:root .uiLockCard input{min-height:54px;font-size:1.125rem}html:root .lockCard small{font-size:.8125rem}html:root .savedPhraseFab{left:max(16px,50vw - 340px);bottom:calc(90px + env(safe-area-inset-bottom));border-color:var(--line);background:var(--card);min-height:44px;color:var(--text);justify-content:center;align-items:center;gap:6px;padding:11px 15px;font-size:.8125rem;display:inline-flex;box-shadow:0 4px 20px #0000001f}html:root .appNav{width:min(720px,100%);padding:6px 12px max(6px, env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:20px 20px 0 0;bottom:0;box-shadow:0 -6px 24px #1118270a}html:root .appNavItem{min-height:58px;color:var(--muted);border-radius:14px;flex-direction:column;gap:5px;font-size:.75rem;font-weight:600}html:root .appNavItem.active{background:var(--action-soft);color:var(--action-text)}html:root .appFooter{width:min(680px,100% - 32px);padding-bottom:calc(104px + env(safe-area-inset-bottom));margin-top:0;font-size:.6875rem;line-height:2}@media (max-width:520px){html:has(.uxHistoryFab,.savedPhraseFab){--shortcut-dock-height:58px}html:root .appNav{padding-top:calc(6px + var(--shortcut-dock-height,0px))}html:root .uxHistoryFab,html:root .savedPhraseFab{bottom:calc(72px + max(6px, env(safe-area-inset-bottom)));z-index:51;max-width:calc(50vw - 24px)}html:root .page,html:root .uiPage{padding-bottom:calc(100px + var(--shortcut-dock-height,0px) + env(safe-area-inset-bottom))}html:root .appFooter{padding-bottom:calc(104px + var(--shortcut-dock-height,0px) + env(safe-area-inset-bottom))}}html:root .shell>footer{font-size:.75rem;line-height:1.6}html:root .largeViewActions button,html:root .savedPhraseShowActions button,html:root .phrasebookLargeActions button{justify-content:center;align-items:center;gap:8px;font-size:1rem;display:inline-flex}html:root .partnerReplyGuide,html:root .partnerVoiceReplyGuide{border-color:var(--line);background:var(--action-soft);color:var(--action-text)}html:root .savedPhraseSheet,html:root .speakingSheet,html:root .uxHistorySheet{border-color:var(--line);background:var(--card);color:var(--text);border-radius:24px;padding:24px}html:root .savedPhraseTranslation,html:root .uxHistoryTranslation{color:var(--text);font-size:1.5rem;line-height:1.65}html:root .savedPhraseOriginal,html:root .uxHistoryOriginal{color:var(--muted-strong);font-size:.9375rem;line-height:1.65}html:root .savedPhraseReading p,html:root .uxHistoryReading p{font-size:1.0625rem;line-height:1.7}html:root .savedPhraseActions button,html:root .uxHistoryDetailActions button,html:root .savedPhraseSheet button.savedPhraseBack,html:root .savedPhrasePin{min-height:44px;padding:10px 12px;font-size:.8125rem}html:root .savedPhraseLookup input{min-height:48px;font-size:1rem}html:root .savedPhraseList button{padding:16px}html:root .savedPhraseList strong{font-size:1.0625rem;line-height:1.6}html:root .savedPhraseList small{font-size:.75rem;line-height:1.6}html:root .savedPhraseTop>button,html:root .uxHistoryTop>button,html:root .largeViewTop>button{width:44px;min-width:44px;height:44px;min-height:44px}@media (max-width:440px){:root{--space-page:16px}html:root .page,html:root .uiPage{padding-top:max(20px, env(safe-area-inset-top))}html:root .topbar{gap:8px}html:root .topbar h1{font-size:clamp(1rem,5.5vw,1.375rem)}html:root .topbar .eyebrow{font-size:.6875rem}html:root .translatorCard,html:root .uiCard{border-radius:22px;padding:18px}html:root .advancedPanel summary small{white-space:nowrap;text-overflow:ellipsis;max-width:45%;overflow:hidden}html:root .homeRecentChip{max-width:140px}html:root .speakingInlineTitle{flex-direction:column;align-items:flex-start;gap:3px}html:root .uiMicGrid{grid-template-columns:1fr}html:root .uiMicButton{min-height:128px}html:root .uiHeader h1{font-size:1.5rem}html:root .uiHeaderSymbol{border-radius:14px;width:48px;height:48px}}@media (prefers-reduced-motion:reduce){html:root *,html:root :before,html:root :after{scroll-behavior:auto;transition-duration:.01ms;animation-duration:.01ms;animation-iteration-count:1}}
.uiLocaleBar{width:min(680px,100% - 32px);color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 8px;margin:4px auto 0;font-size:12px;line-height:1.55;display:flex}.uiLocaleBar>label{align-items:center;gap:8px;display:flex}.uiLocaleBar select{border:1px solid var(--line);background:var(--card);width:auto;max-width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:12px;flex:none;padding:8px 12px;font-size:14px}.uiLocaleScopeButton{min-height:44px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:12px;padding:8px;text-decoration:underline}.uiLocaleBar>p{text-align:start;overflow-wrap:anywhere;flex-basis:100%;margin:5px 0}.uiLocaleScope{border:1px solid var(--line);background:var(--card);width:min(420px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--text);border-radius:20px;padding:20px;font-size:14px;line-height:1.65;overflow:auto}.uiLocaleScope::backdrop{background:#0000008c}.uiLocaleScopeHeading{justify-content:space-between;align-items:center;gap:12px;display:flex}.uiLocaleScopeHeading h2{margin:0;font-size:18px;line-height:1.4}.uiLocaleScopeHeading button{border:1px solid var(--line);background:var(--soft);width:44px;height:44px;color:var(--text);border-radius:12px;font-size:24px}.uiLocaleScope p{overflow-wrap:anywhere;margin:12px 0 0}@media (max-width:520px){.uiLocaleBar>label>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html:root .page,html:root .uiPage{padding-top:max(12px, env(safe-area-inset-top))}html:root .topbar{margin-bottom:16px}}
