*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--surface:#fff;--surface-alt:#f1f3f4;--surface-tint:#f0f4f9;--border:#dadce0;--border-soft:#e8eaed;--text:#202124;--text-sub:#5f6368;--text-muted:#80868b;--accent:#1a73e8;--accent-hover:#1765cc;--accent-soft:#e8f0fe;--on-accent:#fff;--pro:#e37400;--pro-soft:#fef7e0;--scrim:#20212480;--toast-bg:#303134;--toast-text:#e8eaed;--shadow-1:0 1px 2px #3c404326, 0 1px 3px 1px #3c404314;--shadow-3:0 4px 8px 3px #3c40431f, 0 1px 3px #3c404333;--radius:16px;--radius-lg:24px;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ease:.16s cubic-bezier(.2, 0, 0, 1);--header-h:56px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#202124;--surface:#202124;--surface-alt:#303134;--surface-tint:#28292c;--border:#5f6368;--border-soft:#3c4043;--text:#e8eaed;--text-sub:#bdc1c6;--text-muted:#9aa0a6;--accent:#8ab4f8;--accent-hover:#aecbfa;--accent-soft:#8ab4f829;--on-accent:#202124;--pro:#fdd663;--pro-soft:#fdd66324;--scrim:#0009;--toast-bg:#e8eaed;--toast-text:#202124;--shadow-1:0 1px 2px #0000004d, 0 1px 3px 1px #00000026;--shadow-3:0 4px 8px 3px #0000004d, 0 1px 3px #0000004d}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:none}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.b2b-app-root{background:var(--bg);flex-direction:column;min-height:100dvh;display:flex}.b2b-header{z-index:30;background:var(--bg);border-bottom:1px solid var(--border-soft);padding-top:env(safe-area-inset-top);position:sticky;top:0}.b2b-header-inner{max-width:1040px;height:var(--header-h);justify-content:space-between;align-items:center;margin:0 auto;padding:0 8px 0 16px;display:flex}.b2b-logo-zone{align-items:center;gap:10px;min-width:0;display:flex}.b2b-brand-name{letter-spacing:-.01em;color:var(--text);white-space:nowrap;font-size:1.25rem;font-weight:500}.b2b-brand-name em{font-style:normal}.b2b-header-actions{align-items:center;gap:2px;display:flex}.b2b-icon-btn{width:44px;height:44px;color:var(--text-sub);transition:background var(--ease), color var(--ease);border-radius:50%;flex-shrink:0;place-items:center;display:inline-grid}.b2b-icon-btn:hover{background:var(--surface-alt);color:var(--text)}.b2b-icon-btn:active{background:var(--border-soft)}.b2b-icon-btn.is-pro{color:var(--pro);background:var(--pro-soft)}.b2b-icon-btn.is-active{color:var(--accent);background:var(--accent-soft)}.b2b-icon-btn.is-locked{opacity:.55}.b2b-avatar-btn{width:36px;height:36px;color:var(--text-sub);background:var(--surface-alt);transition:box-shadow var(--ease);border-radius:50%;place-items:center;margin:0 4px;font-size:.95rem;font-weight:600;display:grid}.b2b-avatar-btn:hover{box-shadow:0 0 0 4px var(--surface-alt)}.b2b-avatar-btn.signed-in{background:var(--accent);color:var(--on-accent)}.b2b-nudge{background:var(--accent-soft);width:calc(100% - 32px);max-width:1040px;color:var(--text);border-radius:var(--radius);align-items:center;gap:8px;margin:12px auto 0;padding:8px 4px 8px 16px;font-size:.875rem;display:flex}.b2b-nudge-text{flex:1;min-width:0}.b2b-nudge-install{background:var(--accent);height:36px;color:var(--on-accent);border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:0 14px;font-size:.875rem;font-weight:500;display:inline-flex}.b2b-nudge-close{width:36px;height:36px;color:var(--text-sub);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.b2b-nudge-close:hover{background:#7f7f7f1f}.b2b-main{width:100%;max-width:1040px;padding:0 16px calc(32px + env(safe-area-inset-bottom));flex-direction:column;flex:1;margin:0 auto;display:flex}.b2b-lang-bar{top:calc(var(--header-h) + env(safe-area-inset-top));z-index:20;background:var(--bg);grid-template-columns:1fr auto 1fr;align-items:center;gap:4px;margin:0 -16px;padding:8px 12px;display:grid;position:sticky}.b2b-lang-btn{min-width:0;height:48px;color:var(--accent);background:var(--surface-alt);transition:background var(--ease);border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.95rem;font-weight:500;display:flex}.b2b-lang-btn:hover{background:var(--border-soft)}.b2b-lang-btn svg{color:var(--text-sub);flex-shrink:0}.b2b-lang-flag{font-size:1.05rem;line-height:1}.b2b-lang-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.b2b-swap-btn{width:44px;height:44px;color:var(--text-sub);transition:background var(--ease), transform .3s cubic-bezier(.2, 0, 0, 1);border-radius:50%;place-items:center;display:grid}.b2b-swap-btn:hover{background:var(--surface-alt)}.b2b-swap-btn:active{transform:rotate(180deg)}.b2b-workspace{grid-template-columns:1fr;gap:12px;margin-top:4px;display:grid}.b2b-card{border-radius:var(--radius-lg);flex-direction:column;min-height:168px;display:flex;position:relative}.b2b-input-card{background:var(--surface);border:1px solid var(--border);transition:border-color var(--ease), box-shadow var(--ease)}.b2b-input-card:focus-within{box-shadow:var(--shadow-3);border-color:#0000}.b2b-output-card{background:var(--surface-tint);padding:16px 20px 8px}.b2b-textarea{resize:none;width:100%;min-height:96px;max-height:45dvh;color:var(--text);background:0 0;border:none;outline:none;flex:1;padding:16px 52px 8px 20px;font-size:1.5rem;line-height:1.35;overflow-y:auto}.b2b-textarea.is-long{font-size:1.125rem;line-height:1.5}.b2b-textarea::placeholder{color:var(--text-muted)}.b2b-clear-x{width:40px;height:40px;color:var(--text-sub);border-radius:50%;place-items:center;display:grid;position:absolute;top:8px;right:8px}.b2b-clear-x:hover{background:var(--surface-alt)}.b2b-card-footer{justify-content:space-between;align-items:center;gap:8px;min-height:56px;padding:4px 8px 8px 20px;display:flex}.b2b-output-card .b2b-card-footer{margin:auto -12px 0;padding:4px 0 0}.b2b-footer-right{align-items:center;display:flex}.b2b-char-count{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.75rem}.b2b-translate-btn{background:var(--accent);height:44px;color:var(--on-accent);transition:background var(--ease), box-shadow var(--ease), opacity var(--ease);border-radius:999px;align-items:center;gap:6px;padding:0 20px 0 16px;font-size:.9375rem;font-weight:500;display:inline-flex}.b2b-translate-btn:hover:not(:disabled){background:var(--accent-hover);box-shadow:var(--shadow-1)}.b2b-translate-btn:disabled{opacity:.38}.b2b-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite b2b-spin}@keyframes b2b-spin{to{transform:rotate(360deg)}}.b2b-output-text{color:var(--text);white-space:pre-wrap;word-break:break-word;-webkit-user-select:text;user-select:text;font-size:1.5rem;line-height:1.35}.b2b-output-text.is-long{font-size:1.125rem;line-height:1.5}.b2b-output-placeholder{color:var(--text-muted);font-size:1.5rem;line-height:1.35}.b2b-explain{color:var(--text-muted);margin-top:12px;font-size:.8125rem;line-height:1.5}.b2b-skeleton{flex-direction:column;gap:12px;padding-top:8px;display:flex}.b2b-skeleton span{background:linear-gradient(90deg, var(--border-soft) 25%, var(--surface-alt) 50%, var(--border-soft) 75%);background-size:200% 100%;border-radius:9px;height:18px;animation:1.2s ease-in-out infinite b2b-shimmer}.b2b-skeleton span:nth-child(2){width:85%}.b2b-skeleton span:nth-child(3){width:55%}@keyframes b2b-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.b2b-section{margin-top:28px}.b2b-section-head{justify-content:space-between;align-items:center;min-height:40px;margin-bottom:4px;display:flex}.b2b-section-head h2{color:var(--text);align-items:center;gap:10px;font-size:1rem;font-weight:500;display:flex}.b2b-text-btn{height:36px;color:var(--accent);border-radius:999px;align-items:center;gap:6px;margin-right:-12px;padding:0 12px;font-size:.875rem;font-weight:500;display:inline-flex}.b2b-text-btn:hover{background:var(--accent-soft)}.b2b-list{border:1px solid var(--border-soft);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.b2b-list-item{text-align:left;border-bottom:1px solid var(--border-soft);transition:background var(--ease);flex-direction:column;gap:2px;min-width:0;padding:14px 16px;display:flex}.b2b-list-item:last-child{border-bottom:none}.b2b-list-item:hover{background:var(--surface-alt)}.b2b-list-meta{color:var(--text-muted);font-size:.75rem}.b2b-list-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.9375rem;overflow:hidden}.b2b-list-sub{color:var(--text-sub);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.b2b-empty{text-align:center;color:var(--text-muted);border:1px dashed var(--border);border-radius:var(--radius);padding:24px 16px;font-size:.875rem}.b2b-modal-overlay{z-index:50;background:var(--scrim);justify-content:center;align-items:flex-end;animation:.16s ease-out b2b-fade;display:flex;position:fixed;inset:0}.b2b-sheet{background:var(--surface);width:100%;max-height:88dvh;padding:8px 20px calc(24px + env(safe-area-inset-bottom));box-shadow:var(--shadow-3);border-radius:28px 28px 0 0;animation:.24s cubic-bezier(.2,0,0,1) b2b-slide-up;overflow-y:auto}.b2b-sheet-handle{background:var(--border);border-radius:2px;width:32px;height:4px;margin:4px auto 12px}.b2b-sheet-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.b2b-sheet-header h3{font-size:1.25rem;font-weight:500;line-height:44px}.b2b-sheet-header .b2b-icon-btn{margin-right:-10px}.b2b-sheet-sub{color:var(--text-sub);margin-top:-6px;font-size:.875rem}.b2b-sheet-body{color:var(--text-sub);padding-bottom:8px;font-size:1rem;line-height:1.6}.b2b-sheet-hint{color:var(--text-sub);font-size:.8125rem;line-height:1.5}@keyframes b2b-fade{0%{opacity:0}}@keyframes b2b-slide-up{0%{opacity:0;transform:translateY(40px)}}.b2b-picker-list{margin:0 -12px;list-style:none}.b2b-picker-item{border-radius:var(--radius);text-align:left;width:100%;min-height:64px;transition:background var(--ease);align-items:center;gap:16px;padding:8px 12px;display:flex}.b2b-picker-item:hover{background:var(--surface-alt)}.b2b-picker-item.selected{background:var(--accent-soft)}.b2b-picker-flag{font-size:1.5rem;line-height:1}.b2b-picker-text{flex-direction:column;flex:1;gap:2px;display:flex}.b2b-picker-text strong{font-size:1rem;font-weight:500}.b2b-picker-text small{color:var(--text-sub);font-size:.8125rem}.b2b-picker-check{color:var(--accent)}.b2b-form{flex-direction:column;gap:12px;display:flex}.b2b-field{flex-direction:column;gap:6px;display:flex}.b2b-field span{color:var(--text-sub);font-size:.8125rem;font-weight:500}.b2b-field input{border:1px solid var(--border);background:var(--surface);height:52px;transition:border-color var(--ease), box-shadow var(--ease);border-radius:12px;outline:none;padding:0 16px;font-size:1rem}.b2b-field input:focus{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.b2b-btn-primary,.b2b-btn-secondary{height:48px;transition:background var(--ease), opacity var(--ease);border-radius:999px;justify-content:center;align-items:center;gap:8px;font-size:.9375rem;font-weight:500;display:inline-flex}.b2b-btn-primary{background:var(--accent);color:var(--on-accent)}.b2b-btn-primary:hover:not(:disabled){background:var(--accent-hover)}.b2b-btn-secondary{border:1px solid var(--border);color:var(--accent)}.b2b-btn-secondary:hover:not(:disabled){background:var(--accent-soft)}.b2b-btn-primary:disabled,.b2b-btn-secondary:disabled{opacity:.5}.b2b-divider{color:var(--text-muted);align-items:center;gap:12px;margin:8px 0;font-size:.75rem;display:flex}.b2b-divider:before,.b2b-divider:after{content:"";background:var(--border-soft);flex:1;height:1px}.b2b-key-display{border-radius:var(--radius);background:var(--surface-tint);grid-template-columns:1fr auto;align-items:center;padding:12px 8px 12px 16px;display:grid}.b2b-key-display span{color:var(--text-sub);grid-column:1/-1;font-size:.75rem}.b2b-key-display code{letter-spacing:.06em;color:var(--accent);font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:1.375rem;font-weight:600}.b2b-toast{left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:60;background:var(--toast-bg);width:max-content;max-width:calc(100% - 32px);color:var(--toast-text);box-shadow:var(--shadow-3);border-radius:8px;padding:14px 20px;font-size:.875rem;line-height:1.4;animation:.2s cubic-bezier(.2,0,0,1) b2b-slide-up;position:fixed;transform:translate(-50%)}.b2b-page-footer{border-top:1px solid var(--border-soft);color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-top:40px;padding-top:20px;font-size:.8125rem;display:flex}.b2b-footer-links{gap:16px;display:flex}.b2b-footer-links a{color:var(--accent);text-decoration:none}.b2b-footer-links a:hover{text-decoration:underline}@media (width>=760px){.b2b-main{padding:0 24px 48px}.b2b-lang-bar{margin:16px 0 0;padding:0 0 8px;position:static}.b2b-lang-btn{background:0 0;justify-content:flex-start;padding:0 16px}.b2b-lang-btn:hover{background:var(--surface-alt)}.b2b-lang-bar .b2b-lang-btn:last-child{justify-content:flex-start}.b2b-workspace{border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:1fr 1fr;gap:0;overflow:hidden}.b2b-card{border-radius:0;min-height:240px}.b2b-input-card{border:none;border-right:1px solid var(--border)}.b2b-input-card:focus-within{box-shadow:none}.b2b-modal-overlay{align-items:center;padding:24px}.b2b-sheet{border-radius:28px;max-width:440px;padding:20px 24px 24px}.b2b-sheet-handle{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
