:root{--bg:#0f0f12;--surface:#18181d;--border:#2a2a32;--text:#e8e8ed;--muted:#8888a0;--accent:#0052ff;--accent-hover:#2962ff;--success:#00c853;--error:#ff5252;--radius:12px;--font:"DM Sans",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}.app-wrap,body{min-height:100vh}.app-wrap{display:flex;flex-direction:column}main{flex:1 1;padding:1.5rem;max-width:520px;margin:0 auto;width:100%}.page-header{margin-bottom:1.5rem;text-align:center}.page-hero{width:100%;max-width:100%;height:auto;border-radius:var(--radius);margin-bottom:1rem;display:block;object-fit:cover}.assistant{width:100%;display:flex;flex-direction:column}.assistant-header{display:flex;align-items:center;justify-content:flex-end;margin-bottom:1.25rem;padding-bottom:.75rem;position:relative}.assistant-header-title{position:absolute;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none}.assistant-header-title h1{margin:0}.lang-switcher-popover{position:relative;flex-shrink:0}.lang-switcher-trigger{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .65rem;font-size:.9rem;font-weight:500;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;transition:background .15s,border-color .15s}.lang-switcher-trigger:hover{border-color:var(--muted);background:var(--border)}.lang-switcher-chevron{font-size:.6rem;opacity:.8;transition:transform .2s}.lang-switcher-dropdown{position:absolute;top:100%;right:0;margin-top:.25rem;min-width:100%;padding:.25rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.35);z-index:50;display:flex;flex-direction:column;gap:.125rem}.lang-switcher-option{padding:.5rem .75rem;font-size:.9rem;text-align:left;border:none;border-radius:6px;background:transparent;color:var(--text);cursor:pointer;transition:background .15s}.lang-switcher-option:hover{background:var(--border)}.lang-switcher-option--active{background:var(--accent);color:#fff}.assistant-step-card{margin-bottom:1.25rem;min-height:450px;display:flex;flex-direction:column}.assistant-step-inner{flex:1 1;display:flex;flex-direction:column;min-height:0}.assistant-step-body{flex:1 1;min-height:0;padding:.25rem 0}.step-badge{display:inline-block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:.5rem}.step .step-title{font-size:1.2rem;font-weight:600;margin:0 0 .5rem;line-height:1.3;color:var(--text)}.step .step-desc{font-size:.95rem;line-height:1.55;color:var(--muted);margin:0 0 1.25rem;max-width:44ch}.step-action{margin-top:.5rem;padding-top:1rem;border-top:1px solid var(--border)}.step-connect{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.step-connect>*{margin-left:auto;margin-right:auto}.step-connect--list{gap:.75rem}.assistant-intro{text-align:center}.assistant-intro .page-hero{margin-left:auto;margin-right:auto}.assistant-desc{color:var(--muted);font-size:.95rem;line-height:1.5;max-width:42ch;margin:0 auto 1.25rem}.assistant-nav{display:flex;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:1.25rem;flex-wrap:wrap}.assistant-nav--center{justify-content:center}.assistant-btn-back{background:transparent;color:var(--muted);border:1px solid var(--border)}.assistant-btn-back:hover{color:var(--text);border-color:var(--muted)}.assistant-progress{margin-top:.5rem;padding-top:1.25rem;text-align:center}.assistant-progress-text{font-size:.85rem;color:var(--muted);display:block;margin-bottom:.5rem}.assistant-progress-dots{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}.assistant-dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--border);background:var(--surface);transition:background .2s,border-color .2s;pointer-events:none}.assistant-dot--active{background:var(--accent);border-color:var(--accent)}.assistant-dot--current{box-shadow:0 0 0 2px var(--bg);outline:2px solid var(--accent);outline-offset:2px}button{cursor:pointer}button,input,select{font-family:inherit}a{color:var(--accent)}h1{font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-bottom:1.25rem}.step{margin-bottom:0}.step-title{font-weight:600;margin-bottom:.35rem}.step-desc{font-size:.9rem;color:var(--muted);margin-bottom:.75rem}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1.2rem;border-radius:8px;border:none;font-size:1rem;font-weight:500;transition:background .15s}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn:disabled{opacity:.6;cursor:not-allowed}.form-group{margin-bottom:1rem}.form-group label{display:block;font-size:.9rem;margin-bottom:.35rem;color:var(--muted)}.form-group input{width:100%;padding:.6rem;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:1rem}.msg-error{color:var(--error)}.msg-error,.msg-success{font-size:.9rem;margin-top:.5rem}.msg-success{color:var(--success)}.badge{display:inline-block;padding:.2rem .5rem;border-radius:6px;font-size:.8rem;background:var(--border);color:var(--muted)}.step2-send-tago{width:100%}.step2-destination-preview{margin-bottom:1rem;padding:.6rem .75rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:.25rem}.step2-destination-preview-label{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.step2-destination-preview-value{font-size:.9rem;font-family:ui-monospace,monospace;color:var(--text)}.step2-destination-preview--full .step2-destination-preview-value{word-break:break-all}.step2-token-select{margin-bottom:1rem}.step2-token-select-label{display:block;font-size:.9rem;color:var(--muted);margin-bottom:.35rem}.step2-token-btns{display:flex;flex-wrap:wrap;gap:.35rem}.step2-token-btn{padding:.4rem .85rem;font-size:.9rem;font-weight:500;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;transition:background .15s,border-color .15s}.step2-token-btn:hover{border-color:var(--muted);background:var(--border)}.step2-token-btn--active{background:var(--accent);color:#fff;border-color:var(--accent)}.step2-balance{font-size:.95rem;color:var(--muted);margin:0 0 .75rem}.step2-balance--loading{font-style:italic}.step2-balance strong{color:var(--text)}.step2-balance-wrap{min-height:3.5rem;margin-bottom:.75rem}.step2-balance-box{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .5rem;padding:.6rem .85rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;font-size:.95rem;transition:opacity .2s ease}.step2-balance-box--loading .step2-balance-value{opacity:.7}.step2-balance-spinner{display:inline-block;width:.9rem;height:.9rem;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:step2-spin .6s linear infinite}@keyframes step2-spin{to{transform:rotate(1turn)}}.step2-balance-label{color:var(--muted)}.step2-balance-value{font-weight:600;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.step2-balance-unit{color:var(--muted);font-weight:500}.step2-balance-error{margin-bottom:0}.step2-balance-error .msg-error{margin-bottom:.5rem}.step2-retry-btn{background:var(--border);color:var(--text);margin-top:.25rem}.step2-retry-btn:hover{background:var(--muted)}.step2-input-group{margin-bottom:1rem}.step2-amount-input{width:100%;min-height:48px;padding:.75rem 1rem;font-size:1.125rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent}.step2-amount-input:focus{outline:2px solid var(--accent);outline-offset:2px}.step2-percent-desc{font-size:.85rem;color:var(--muted);margin:.5rem 0 .35rem}.step2-receive-preview{margin:.75rem 0 0;font-size:.95rem;font-weight:600;color:var(--success);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.step2-fee-note{margin:.25rem 0 0;font-size:.8rem;color:var(--muted)}.step2-bot-insufficient{margin-top:.5rem}.step2-percent-btns{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.4rem}.step2-percent-btn{min-height:32px;min-width:48px;padding:.3rem .5rem;font-size:.8rem;font-weight:500;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;transition:background .15s,border-color .15s;-webkit-tap-highlight-color:transparent}.step2-percent-btn:hover:not(:disabled){background:var(--border);border-color:var(--muted)}.step2-percent-btn:disabled{opacity:.5;cursor:not-allowed}.step2-submit{min-height:48px;width:100%;font-size:1rem;margin-top:.25rem}@media (min-width:480px){.step2-percent-btn{min-width:52px}}.step4-connect-hint{color:var(--muted);font-size:.95rem;margin:0}.step4-confirm{width:100%}.step4-amounts{margin-bottom:1rem;padding:.75rem 1rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:.5rem}.step4-amount-row{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}.step4-amount-label{font-size:.85rem;color:var(--muted)}.step4-amount-value{font-size:1rem;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.step4-amount-value--highlight{color:var(--success)}.step4-summary{font-size:.95rem;color:var(--text);margin:0 0 1rem;font-weight:500}.step4-address-block{margin-bottom:1rem;padding:.75rem 1rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;gap:.35rem}.step4-address-label{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.step4-address-value{font-size:.9rem;font-family:ui-monospace,monospace;word-break:break-all;color:var(--text)}.step4-address-block--full .step4-address-value{word-break:break-all}.step4-payout-pending{display:flex;align-items:center;gap:.6rem;margin-top:1rem;padding:.75rem;background:var(--bg);border-radius:8px;border:1px solid var(--border)}.step4-payout-spinner{width:1.25rem;height:1.25rem;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:step2-spin .6s linear infinite;flex-shrink:0}.step4-payout-text{margin:0;font-size:.95rem;color:var(--muted)}.step4-payout-success{margin-top:1rem}.step4-payout-success-text{margin:0 0 .35rem;font-weight:600;color:var(--success)}.step4-restart-btn{margin-top:.75rem}.step4-payout-link{font-size:.9rem;color:var(--accent);text-decoration:none}.step4-payout-link:hover{text-decoration:underline}.step4-payout-error{margin-top:1rem}.step2-destination{width:100%}.step2-destination-tabs{display:flex;gap:.25rem;margin-bottom:1rem}.step2-destination-tab{padding:.4rem .75rem;font-size:.9rem;font-weight:500;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;transition:background .15s,border-color .15s,color .15s}.step2-destination-tab:hover{color:var(--text);border-color:var(--muted)}.step2-destination-tab--active{background:var(--accent);color:#fff;border-color:var(--accent)}.step2-destination-connected{color:var(--success);margin:0 0 .5rem;font-size:.95rem}.step2-manual-address-wrap{position:relative;display:flex;align-items:center}.step2-manual-address-wrap .step2-manual-address-input{flex:1 1}.step2-resolve-spinner{position:absolute;right:.75rem;width:1rem;height:1rem;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:step2-spin .6s linear infinite}.step2-manual-address-input{width:100%;padding:.6rem;font-family:ui-monospace,monospace;font-size:.9rem;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text)}.step2-destination-hint{font-size:.85rem;margin:.35rem 0 0}.step2-destination-hint--error{color:var(--error)}.step2-destination-resolved{margin:.5rem 0 0;font-size:.85rem;color:var(--muted);font-family:ui-monospace,monospace}.step2-destination-resolved:hover{color:var(--text)}.step2-destination-resolved--full{word-break:break-all}.app-footer{text-align:center;padding:1.5rem 1rem;margin-top:auto;color:var(--muted);font-size:.85rem}.app-footer-version{font-size:.7rem;opacity:.5;color:var(--muted)}