:root{color:#111513;font-synthesis:none;text-rendering:optimizelegibility;--jade:#005b4f;--jade-dark:#00483e;--text:#111513;--muted:#69716e;--border:#d5dad8;--surface:#fff;--danger:#c62f35;--focus:#0a7a69;background:#f2f4f3;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;min-height:100dvh}button,input,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 45%, transparent);outline-offset:2px}.app-shell{background:var(--surface);flex-direction:column;width:min(100%,440px);min-height:100dvh;margin:0 auto;display:flex;overflow:hidden}.app-header{min-height:92px;padding:calc(24px + env(safe-area-inset-top)) 28px 20px;background:var(--surface);justify-content:space-between;align-items:center;gap:16px;display:flex}.wordmark{color:var(--jade);letter-spacing:-.04em;font-size:30px;font-weight:750}.header-actions{align-items:center;gap:8px;display:flex}.screen{min-height:0;padding:22px 28px calc(28px + env(safe-area-inset-bottom));flex-direction:column;flex:1;gap:28px;display:flex}h1,h2,p{margin:0}h1{letter-spacing:-.035em;font-size:clamp(30px,8vw,36px);font-weight:760;line-height:1.18}h2{font-size:19px;font-weight:700;line-height:1.35}.intro{color:#3f4643;margin-top:14px;font-size:17px;line-height:1.6}.grow{margin-top:auto}.field{color:var(--text);gap:9px;font-size:17px;font-weight:600;display:grid}.field input,.field textarea,.result-box textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:12px;font-size:18px;font-weight:430;line-height:1.55;transition:border-color .14s,box-shadow .14s}.field input{min-height:68px;padding:0 16px}.field textarea,.result-box textarea{resize:vertical;min-height:150px;padding:15px 16px}.field input:focus,.field textarea:focus,.result-box textarea:focus{border-color:var(--jade);box-shadow:0 0 0 1px var(--jade)}.field input::placeholder,.field textarea::placeholder{color:#939996}.field small,.helper{color:var(--muted);font-size:14px;font-weight:450;line-height:1.55}.centered{text-align:center}.form-actions{gap:14px;display:grid}.button{cursor:pointer;border:1px solid #0000;border-radius:12px;width:100%;min-height:56px;padding:14px 20px;font-size:18px;font-weight:720}.button:disabled{cursor:not-allowed;opacity:.46}.button-primary{background:var(--jade);color:#fff}.button-primary:not(:disabled):hover{background:var(--jade-dark)}.button-outline{background:var(--surface);border-color:var(--jade);color:var(--jade)}.button-outline:not(:disabled):hover{background:#f3f8f6}.button-danger{background:var(--danger)}.button-text{min-height:48px;color:var(--jade);cursor:pointer;background:0 0;border:0;padding:10px 8px;font-size:16px;font-weight:680}.button-text:hover{text-underline-offset:3px;text-decoration:underline}.status{min-height:24px;color:var(--muted);text-align:center;font-size:14px;line-height:1.5}.status-error{color:var(--danger)}.status-success{color:var(--jade)}.password-field{position:relative}.password-field input{padding-right:62px}.password-field button{color:#707774;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:50px;height:50px;display:grid;position:absolute;top:8px;right:6px}.password-field svg{width:25px;height:25px}.locked-screen{gap:30px}.locked-footer{color:var(--muted);justify-items:center;gap:8px;font-size:14px;display:grid}.subtle-link{color:var(--muted);font-size:14px}.update-banner{min-height:48px;color:var(--jade);border:1px solid #b9d3cd;border-radius:12px;justify-content:space-between;align-items:center;margin:-10px 0 4px;padding:0 12px 0 16px;font-size:14px;display:flex}.word-grid{border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(3,1fr);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.word-grid li{border-right:1px solid var(--border);border-bottom:1px solid var(--border);flex-direction:column;justify-content:space-between;gap:6px;min-height:88px;padding:10px 12px;display:flex}.word-grid li:nth-child(3n){border-right:0}.word-grid li:nth-last-child(-n+3){border-bottom:0}.word-grid li span{color:var(--jade);font-size:13px;font-weight:750}.word-grid li strong{text-align:center;font-size:17px;font-weight:560}.checkbox-row{cursor:pointer;align-items:center;gap:12px;min-height:52px;font-size:17px;display:flex}.checkbox-row input{width:26px;height:26px;accent-color:var(--jade);margin:0}.main-screen{gap:20px;padding-top:4px}.group-heading{width:100%;min-height:54px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;font-size:30px;font-weight:760;display:flex}.chevron{width:24px;height:24px;color:var(--muted)}.tabs{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;display:grid}.tabs button{color:#8a908d;cursor:pointer;background:0 0;border:0;min-height:52px;font-size:17px;font-weight:650;position:relative}.tabs button[aria-selected=true]{color:var(--jade)}.tabs button[aria-selected=true]:after{content:"";background:var(--jade);height:3px;position:absolute;bottom:-1px;left:0;right:0}.tool-panel{gap:18px;display:grid}.field-plain{display:block}.byte-count{color:var(--muted);text-align:right;margin-top:-12px;font-size:12px}.byte-count.over-limit{color:var(--danger);font-weight:700}.result-box{border:1px solid var(--border);border-radius:12px;gap:10px;padding:12px;display:grid}.result-box textarea{overflow-wrap:anywhere;border:0;border-radius:0;min-height:125px;padding:4px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.plaintext-result{border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;min-height:158px;padding:18px;font-size:18px;line-height:1.65}.main-status{padding-top:2px}.settings-screen{gap:0;padding-top:4px}.settings-screen>h1{margin-bottom:28px}.settings-section{border-top:1px solid #e3e6e5;gap:14px;padding:24px 0;display:grid}.settings-section:first-of-type{border-top:0;padding-top:0}.setting-value{border:1px solid var(--border);border-radius:12px;align-items:center;min-height:64px;padding:0 16px;font-size:18px;display:flex}.old-key-list{margin:0;padding:0;list-style:none;display:grid}.old-key-list li{min-height:58px;color:var(--muted);border-bottom:1px solid #e6e8e7;justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.danger-link{color:var(--danger)}.settings-footer{justify-items:stretch;padding-top:26px;display:grid}.dialog-backdrop{z-index:20;background:#0a14117a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border-radius:16px;gap:16px;width:min(100%,380px);padding:26px;display:grid;box-shadow:0 20px 60px #0928212e}.dialog h2{font-size:24px}.dialog p{color:#4e5552;line-height:1.65}.dialog-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:6px;display:grid}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=560px){.app-shell{border:1px solid #dde1df;border-radius:24px;min-height:calc(100dvh - 32px);margin-top:16px;margin-bottom:16px;box-shadow:0 14px 40px #14322b14}}@media (width<=359px){.app-header,.screen{padding-left:20px;padding-right:20px}.word-grid li{padding-left:8px;padding-right:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
