:root{color-scheme:light;--bg: #fbfaf7;--surface: #ffffff;--surface-subtle: #f2f0ea;--surface-hover: #f7f5f0;--fg: #23262b;--muted: #626975;--border: #e7e4dd;--border-strong: #d6d2c8;--accent: #a8442c;--accent-hover: #8f3824;--accent-soft: #f7ece7;--on-accent: #ffffff;--success: #35644b;--success-soft: #edf4ef;--warning: #805400;--warning-soft: #fbf2df;--danger: #aa322c;--danger-hover: #8e2823;--danger-soft: #fbeceb;--focus: #a8442c;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--shadow-pop: 0 12px 36px rgba(35, 38, 43, .14);--shadow-soft: 0 1px 2px rgba(35, 38, 43, .04);--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--content-width: 1040px;--control-height: 48px;--button-height: 44px}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #161719;--surface: #1d1f22;--surface-subtle: #25272b;--surface-hover: #2a2c31;--fg: #e3e2dd;--muted: #a7a79f;--border: #35373c;--border-strong: #474a50;--accent: #e08468;--accent-hover: #f09a7f;--accent-soft: #35251f;--on-accent: #211612;--success: #9ac7ab;--success-soft: #1d2b24;--warning: #e7bf76;--warning-soft: #322918;--danger: #ffa298;--danger-hover: #ffb7af;--danger-soft: #3a2220;--focus: #e08468;--shadow-pop: 0 12px 36px rgba(0, 0, 0, .42);--shadow-soft: 0 1px 2px rgba(0, 0, 0, .22)}}:root[data-theme=dark]{color-scheme:dark;--bg: #161719;--surface: #1d1f22;--surface-subtle: #25272b;--surface-hover: #2a2c31;--fg: #e3e2dd;--muted: #a7a79f;--border: #35373c;--border-strong: #474a50;--accent: #e08468;--accent-hover: #f09a7f;--accent-soft: #35251f;--on-accent: #211612;--success: #9ac7ab;--success-soft: #1d2b24;--warning: #e7bf76;--warning-soft: #322918;--danger: #ffa298;--danger-hover: #ffb7af;--danger-soft: #3a2220;--focus: #e08468;--shadow-pop: 0 12px 36px rgba(0, 0, 0, .42);--shadow-soft: 0 1px 2px rgba(0, 0, 0, .22)}:root[data-theme=light]{color-scheme:light}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}@media(min-width:768px){html{scrollbar-gutter:stable}}body{margin:0;min-height:100dvh;background:var(--bg);color:var(--fg);font-family:var(--font-sans);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body.picker-open{overflow:hidden}h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}ul,ol{padding:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled,input:disabled,textarea:disabled{cursor:not-allowed}a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:.22em}a:hover{color:var(--accent-hover)}::selection{background:var(--accent-soft);color:var(--fg)}:focus-visible{outline:2px solid var(--focus);outline-offset:3px}:focus:not(:focus-visible){outline:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:10px;left:10px;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--fg);font-size:.875rem;font-weight:600;text-decoration:none;transform:translateY(-160%);transition:transform .14s ease}.skip-link:focus-visible{transform:translateY(0)}.tabular{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.muted{color:var(--muted)}.small{font-size:.8125rem}.nowrap{white-space:nowrap}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{display:flex;min-height:100dvh;flex-direction:column}.container{width:100%;max-width:var(--content-width);margin:0 auto;padding-right:1.5rem;padding-left:1.5rem}.app-header{border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}.brand{display:inline-flex;padding-block:.625rem;align-items:baseline;gap:.5rem;color:var(--fg);font-size:.95rem;font-weight:650;letter-spacing:.01em;text-decoration:none}.brand:hover{color:var(--accent)}.brand-tag{color:var(--muted);font-size:.8125rem;font-weight:400}.header-actions{display:flex;align-items:center;gap:1rem;font-size:.8125rem}.header-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--muted);text-decoration:none}.header-link:hover,.header-link[aria-current=page]{color:var(--accent)}.app-nav{border-bottom:1px solid var(--border)}.tool-nav{display:flex;gap:1.75rem}.tool-nav a{display:inline-flex;align-items:center;min-height:48px;margin-bottom:-1px;padding:.85rem .1rem .75rem;border-bottom:2px solid transparent;color:var(--muted);font-size:.875rem;text-decoration:none;transition:color .14s ease,border-color .14s ease}.tool-nav a:hover{color:var(--fg)}.tool-nav a[aria-current=page]{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.app-main{flex:1;padding-top:1.5rem;padding-bottom:2rem}.app-footer{border-top:1px solid var(--border);padding:1.1rem 0 calc(1.5rem + env(safe-area-inset-bottom))}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--muted);font-size:.8125rem}.footer-inner .text-button{min-height:44px}.page-head{margin-bottom:1.25rem}.page-title{font-size:1.75rem;font-weight:650;letter-spacing:-.02em;line-height:1.35}.page-subtitle{margin-top:.3rem;color:var(--muted);font-size:.8125rem;line-height:1.6}.panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:1.5rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:var(--button-height);padding:0 1rem;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--fg);font-size:.875rem;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease}.button-primary{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.button-primary:hover:not(:disabled){border-color:var(--accent-hover);background:var(--accent-hover);color:var(--on-accent)}.button-secondary{border-color:var(--border-strong);background:var(--surface);color:var(--fg)}.button-secondary:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.button-ghost{min-height:44px;padding:0 .5rem;color:var(--muted);font-size:.8125rem;font-weight:500}.button-ghost:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.button-danger{border-color:var(--danger);color:var(--danger)}.button-danger:hover:not(:disabled){background:var(--danger-soft);color:var(--danger-hover)}.button:disabled{opacity:.55}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-width:44px;min-height:44px;padding:0 .5rem;border:0;background:transparent;color:var(--muted);font-size:.8125rem;font-weight:500;text-decoration:none;transition:color .14s ease}.text-button:hover:not(:disabled){color:var(--accent)}.text-button:disabled{opacity:.45}.field{display:block;min-width:0}.field-label{display:block;margin-bottom:.375rem;color:var(--muted);font-size:.8125rem;font-weight:500}.input,.textarea,.select-trigger{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--fg);transition:border-color .14s ease,background-color .14s ease}.input{min-height:var(--control-height);padding:.55rem .75rem}.textarea{padding:.7rem .75rem;resize:vertical;line-height:1.6}.input:hover,.textarea:hover,.select-trigger:hover{border-color:var(--border-strong)}.input:focus-visible,.textarea:focus-visible,.select-trigger:focus-visible{border-color:var(--accent)}.input[aria-invalid=true],.textarea[aria-invalid=true]{border-color:var(--danger)}.input::placeholder,.textarea::placeholder{color:var(--muted);opacity:.8}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:var(--control-height);padding:.5rem .8rem;text-align:left}.select-trigger[aria-expanded=true]{border-color:var(--accent)}.select-main{display:inline-flex;align-items:baseline;gap:.45rem;min-width:0}.select-code{flex:none;font-weight:650;letter-spacing:.01em}.select-value{display:inline-flex;align-items:baseline;gap:.45rem;min-width:0}.select-value>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-sub{color:var(--muted);font-size:.8125rem;font-weight:400}.select-chevron{flex:none;color:var(--muted);transition:transform .14s ease}.select-trigger[aria-expanded=true] .select-chevron{transform:rotate(180deg)}.field-error{margin-top:.4rem;color:var(--danger);font-size:.8125rem;line-height:1.5}.inline-hint{color:var(--muted);font-size:.8125rem;line-height:1.55}.notice{display:flex;gap:.5rem;padding:.75rem .875rem;border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--fg);font-size:.8125rem;line-height:1.65}.notice strong{color:var(--accent);font-weight:600}.storage-notice{display:flex;align-items:flex-start;gap:.45rem;margin-bottom:1rem;padding:.6rem .8rem;border:1px solid color-mix(in srgb,var(--warning) 26%,var(--border));border-radius:var(--radius-sm);background:var(--warning-soft);color:var(--warning);font-size:.8125rem;line-height:1.55}.status-line{display:flex;align-items:flex-start;gap:.35rem;color:var(--muted);font-size:.8125rem;line-height:1.6}.status-line[data-tone=success]{color:var(--success)}.status-line[data-tone=warning]{color:var(--warning)}.status-line[data-tone=error]{color:var(--danger)}.status-line .status-action{margin-left:.25rem}.copy-control{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}.copy-status{color:var(--success);font-size:.8125rem}.copy-status[data-tone=error]{color:var(--danger)}.segmented{display:inline-flex;gap:.2rem;padding:.2rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle)}.segmented label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.35rem .9rem;border-radius:7px;color:var(--muted);font-size:.8125rem;font-weight:500;text-align:center;cursor:pointer;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}.segmented input{position:absolute;width:1px;height:1px;opacity:0}.segmented label:has(input:checked){background:var(--surface);color:var(--fg);box-shadow:0 1px 2px #23262b14}.segmented label:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}.dialog{width:min(calc(100vw - 32px),560px);max-height:min(88dvh,760px);margin:auto;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--fg);box-shadow:var(--shadow-pop)}.dialog-inner{max-height:min(88dvh,760px);overflow-y:auto;overscroll-behavior:contain}.dialog::backdrop{background:#1212127a}.dialog-inner{padding:1.5rem}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.dialog-title{font-size:1.125rem;font-weight:650;line-height:1.45}.dialog-body{margin-top:.9rem;color:var(--fg);font-size:.875rem;line-height:1.75}.dialog-body p+p{margin-top:.65rem}.dialog-body ul{margin:.4rem 0 0;padding-left:1.15rem}.dialog-body li+li{margin-top:.25rem}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.55rem;margin-top:1.25rem}.danger-check{display:flex;align-items:flex-start;gap:.55rem;margin-top:.9rem;padding:.7rem .8rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--muted);font-size:.8125rem;line-height:1.55;cursor:pointer}.danger-check input{flex:none;width:1.05rem;height:1.05rem;margin:.12rem 0 0;accent-color:var(--accent)}.empty-state{padding:1rem 0;color:var(--muted);font-size:.875rem}.swap-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--muted);transition:background-color .14s ease,border-color .14s ease,color .14s ease}.swap-button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.swap-button:disabled{opacity:.42}@keyframes result-pulse{0%,to{opacity:.55}50%{opacity:1}}@media(max-width:767px){.container{padding-right:1rem;padding-left:1rem}.header-inner{min-height:58px}.app-main{padding-top:1.25rem}.tool-nav{gap:0}.tool-nav a,.tool-nav a[aria-current=page]{position:relative;flex:1 1 0;justify-content:center;border-bottom-color:transparent}.tool-nav a[aria-current=page]:after{content:"";position:absolute;right:0;bottom:-1px;left:0;width:2.5rem;height:2px;margin:0 auto;background:var(--accent)}.page-title{font-size:1.5rem}.panel{padding:1rem}.dialog-inner{padding:1.15rem}.dialog-actions .button{flex:1 1 0}}@media(max-width:380px){.brand-tag{display:none}.header-actions{gap:.6rem}}.select-anchor{position:relative}.picker-backdrop{position:fixed;z-index:60;inset:0;background:#1212122e}.picker-panel{position:absolute;z-index:61;top:calc(100% + 8px);left:0;display:flex;flex-direction:column;width:min(420px,max(100%,320px));max-width:calc(100vw - 32px);max-height:360px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--fg);box-shadow:var(--shadow-pop)}.picker-panel.is-align-end{right:0;left:auto}.picker-panel.is-above{top:auto;bottom:calc(100% + 8px)}.picker-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .9rem .45rem 1rem}.picker-title{font-size:.875rem;font-weight:650;line-height:1.4}.picker-head-actions{display:flex;align-items:center;gap:.55rem;flex:none}.picker-search-wrap{padding:.15rem .9rem .65rem 1rem}.picker-search{min-height:48px;font-size:.875rem}.picker-search:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.picker-search::-webkit-search-cancel-button{cursor:pointer}.picker-list{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 .45rem .55rem;scrollbar-color:var(--border-strong) transparent}.picker-group+.picker-group{margin-top:.25rem}.picker-group-label{padding:.5rem .55rem .25rem;color:var(--muted);font-size:.8125rem;font-weight:600;letter-spacing:.04em}.picker-option{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:44px;padding:.5rem .55rem;border-radius:var(--radius-sm);cursor:pointer}.picker-option:hover,.picker-option.is-active{background:var(--surface-subtle)}.picker-option.is-selected{color:var(--fg)}.picker-option.is-active.is-selected{background:var(--accent-soft)}.picker-option-text{display:flex;min-width:0;flex-direction:column;gap:.05rem}.picker-option-title{min-width:0;font-size:.875rem;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.picker-option-sub{min-width:0;color:var(--muted);font-size:.8125rem;line-height:1.45;overflow-wrap:anywhere}.picker-option-check{display:inline-flex;flex:none;color:var(--accent)}.picker-empty{padding:1.6rem 1rem 1.8rem;color:var(--muted);font-size:.8125rem;line-height:1.6;text-align:center}@media(max-width:767px){.picker-backdrop{background:#1212127a}.picker-panel,.picker-panel.is-above,.picker-panel.is-align-end{position:fixed;inset:auto 0 0;width:auto;max-width:none;max-height:80dvh;border-right:0;border-bottom:0;border-left:0;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding-bottom:env(safe-area-inset-bottom)}.picker-panel:before{content:"";display:block;width:36px;height:4px;margin:.45rem auto 0;border-radius:999px;background:var(--border-strong)}.picker-head{padding-top:.55rem}.picker-option{min-height:48px}}.currency-panel{display:flex;flex-direction:column}.amount-input{min-height:56px;padding:.5rem .85rem;border-color:var(--border);font-size:1.375rem;font-weight:500;line-height:1.3}.pair-grid{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:end;gap:.75rem;margin-top:1rem}.pair-grid .swap-button{height:48px;margin-bottom:0}.result-block{margin-top:1.35rem;padding-top:1.15rem;border-top:1px solid var(--border)}.result-eyebrow{color:var(--muted);font-size:.8125rem;font-weight:500;letter-spacing:.03em;line-height:1.5}.result-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:.35rem}.result-value{display:flex;align-items:baseline;flex-wrap:wrap;min-width:0;color:var(--fg);font-size:2.5rem;font-weight:650;letter-spacing:-.025em;line-height:1.15;overflow-wrap:anywhere}.result-approx{margin-right:.4rem;color:var(--muted);font-size:1rem;font-weight:400;letter-spacing:0}.result-code{margin-left:.5rem;color:var(--muted);font-size:1rem;font-weight:500;letter-spacing:.02em}.result-value .copy-button{margin-left:auto}.rate-line{margin-top:.55rem;color:var(--fg);font-size:.9375rem;line-height:1.5}.rate-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:.6rem;color:var(--muted);font-size:.8125rem;line-height:1.55}.refresh-button{gap:.35rem;flex:none}.refresh-button svg{flex:none}.result-skeleton{display:flex;flex-direction:column;gap:.55rem;margin-top:.55rem;max-width:260px;animation:result-pulse 1.4s ease-in-out infinite}.result-skeleton span{display:block;height:2.4rem;border-radius:var(--radius-sm);background:var(--surface-subtle)}.result-skeleton span:last-child{width:55%;height:.9rem}.result-placeholder{display:flex;align-items:center;min-height:3.4rem;margin-top:.35rem;color:var(--muted);font-size:.9375rem}.result-block .status-line{margin-top:.75rem}.currency-footnote{margin-top:1rem;color:var(--muted);font-size:.8125rem;line-height:1.65}@media(max-width:767px){.amount-input{min-height:52px;font-size:1.25rem}.pair-grid{grid-template-columns:minmax(0,1fr);gap:.55rem}.pair-grid .swap-button{width:38px;height:38px;margin:.1rem auto;transform:rotate(90deg)}.result-value{font-size:2rem}.result-code{font-size:.9375rem}.result-row{align-items:flex-start}.result-row .copy-button{min-height:40px}}@media(max-width:420px){.result-row{flex-direction:column;align-items:stretch}.result-row .copy-control{align-self:flex-start}}.provider-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.provider-switch{flex:none}.provider-mode{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.2rem;color:var(--muted);font-size:.8125rem;line-height:1.5}.provider-mode a{color:var(--accent)}.translate-note{margin-top:.75rem;margin-bottom:.25rem}.translate-page>.field-error{margin-top:.55rem}.translation-grid{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);grid-template-areas:"source swap target" "action action action";gap:.9rem .75rem;margin-top:.9rem}.source-editor{grid-area:source}.target-editor{grid-area:target}.translation-swap{grid-area:swap;align-self:center}.translate-action{grid-area:action;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.55rem}.keyboard-hint{color:var(--muted);font-size:.8125rem;line-height:1.5}.translate-submit{min-width:96px}.editor{display:flex;min-width:0;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);transition:border-color .14s ease,box-shadow .14s ease}.editor:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.editor-head{border-bottom:1px solid var(--border);border-radius:var(--radius-md) var(--radius-md) 0 0}.editor-select{min-height:48px;padding:.4rem .9rem;border:0;border-radius:var(--radius-md) var(--radius-md) 0 0;background:transparent}.editor-select:hover{background:var(--surface-hover)}.editor-select[aria-expanded=true]{border-color:transparent;background:var(--surface-hover)}.editor-select:focus-visible{outline-offset:-2px}.editor-select .select-value{display:inline-flex;align-items:baseline;gap:.35rem}.editor-select .select-sub{margin-top:.05rem}.editor-select[aria-invalid=true] .select-sub{color:var(--danger)}.detected-note{color:var(--muted);font-size:.8125rem;font-weight:400}.translation-input{width:100%;min-height:240px;flex:1;padding:1rem;border:0;border-radius:0;background:transparent;color:var(--fg);font-size:1rem;line-height:1.65;resize:vertical}.translation-input:focus-visible{outline:0}.translation-input::placeholder{color:var(--muted);opacity:.8}.editor-error{padding:0 .9rem .4rem;color:var(--danger);font-size:.8125rem;line-height:1.5}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;min-height:48px;padding:.35rem .9rem}.char-count{color:var(--muted);font-size:.8125rem;line-height:1.5}.char-count.is-over{color:var(--danger);font-weight:600}.translated{min-height:240px;flex:1;padding:1rem;color:var(--fg);font-size:1rem;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap;user-select:text}.translated:focus-visible{outline-offset:-2px}.translated.is-empty{color:var(--muted)}.translation-skeleton{display:flex;flex-direction:column;gap:.65rem}.translation-skeleton span{display:block;width:92%;height:.9rem;border-radius:999px;background:var(--surface-subtle);animation:result-pulse 1.4s ease-in-out infinite}.translation-skeleton span:nth-child(2){width:74%}.translation-skeleton span:nth-child(3){width:55%}.target-editor.is-stale .translated{opacity:.72}.stale-notice{margin:0 .9rem .1rem;padding:.55rem .65rem;border-radius:var(--radius-sm);background:var(--warning-soft);color:var(--warning);font-size:.8125rem;line-height:1.55}.result-footer{align-items:center}.switch-control{display:inline-flex;min-width:0;flex-direction:column}.switch{position:relative;display:inline-flex;align-items:center;gap:.5rem;min-height:44px;cursor:pointer}.switch input{position:absolute;width:1px;height:1px;opacity:0}.switch-track{position:relative;flex:none;width:36px;height:20px;border:1px solid var(--muted);border-radius:999px;background:var(--surface-subtle);transition:background-color .14s ease,border-color .14s ease}.switch-thumb{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:var(--muted);transition:transform .15s ease,background-color .14s ease}.switch input:checked+.switch-track{border-color:var(--accent);background:var(--accent)}.switch input:checked+.switch-track .switch-thumb{background:var(--on-accent);transform:translate(16px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--focus);outline-offset:3px}.switch-text{display:inline-flex;align-items:baseline;gap:.35rem;white-space:nowrap}.switch-label{color:var(--fg);font-size:.8125rem;font-weight:500}.switch-state{color:var(--muted);font-size:.8125rem}.result-footer .copy-button{min-height:44px;padding:0 .8rem;font-size:.8125rem}.swap-hint{margin-top:.55rem;color:var(--muted);font-size:.8125rem;line-height:1.6}.translate-page>.status-line{margin-top:.75rem}@media(max-width:767px){.translation-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"source" "swap" "action" "target";gap:.6rem;margin-top:.8rem}.translation-swap{justify-self:center;width:36px;height:36px;transform:rotate(90deg)}.translate-action{justify-content:flex-end;margin:.05rem 0}.translation-input,.translated{min-height:160px}.editor-footer{padding-right:.75rem;padding-left:.75rem}.translation-input,.translated{padding:.85rem}.editor-head .select-trigger{padding-right:.75rem;padding-left:.75rem}.stale-notice{margin-right:.75rem;margin-left:.75rem}.provider-mode{flex-basis:100%}.keyboard-hint{display:none}}@media(max-width:420px){.result-footer{align-items:flex-start}.switch-text{white-space:normal}}.settings-page{width:100%;max-width:880px;margin:0}.settings-section{margin-bottom:2rem}.settings-section-head{margin-bottom:.75rem}.settings-heading{font-size:1.0625rem;font-weight:650;letter-spacing:-.01em;line-height:1.4}.settings-description{margin-top:.2rem;color:var(--muted);font-size:.8125rem;line-height:1.6}.settings-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:1.25rem}.settings-card+.settings-card{margin-top:.75rem}.theme-fieldset{min-width:0;margin:0;padding:0;border:0}.theme-switch{margin-top:.2rem}.provider-info{scroll-margin-top:1rem;transition:border-color .14s ease,box-shadow .14s ease}.provider-info.is-highlighted{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.provider-info-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.provider-info-title{font-size:1rem;font-weight:650;line-height:1.45}.badge{display:inline-flex;align-items:center;min-height:24px;padding:.1rem .55rem;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:.8125rem;font-weight:600;line-height:1.4;white-space:nowrap}.provider-info-mode{margin-top:.45rem;color:var(--fg);font-size:.8125rem;font-weight:600;line-height:1.55}.provider-info-text{margin-top:.5rem;color:var(--muted);font-size:.875rem;line-height:1.75}.settings-common-note{margin-top:.75rem;background:var(--surface-subtle)}.settings-common-note p{color:var(--muted);font-size:.8125rem;line-height:1.7}.data-card{padding:.15rem 1.25rem}.data-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;flex-wrap:wrap}.data-row+.data-row{border-top:1px solid var(--border)}.data-title{font-size:.9375rem;font-weight:600;line-height:1.45}.data-description{margin-top:.2rem;color:var(--muted);font-size:.8125rem;line-height:1.6}.data-row .button{flex:none}.settings-section>.status-line{margin-top:.65rem}.privacy-card ul{padding-left:1.1rem;color:var(--muted);font-size:.875rem;line-height:1.75}.privacy-card li::marker{color:var(--accent)}.privacy-card li+li{margin-top:.45rem}@media(max-width:767px){.settings-card{padding:1rem}.data-card{padding:.1rem 1rem}.theme-switch{display:flex;width:100%}.theme-switch label{flex:1;padding-right:.45rem;padding-left:.45rem}.data-row{align-items:flex-start}.data-row .button{width:100%}.provider-info-text{font-size:.8125rem}}
