.sw-root,.sw-dialog{--sw-ink:#17273d;--sw-muted:#67768a;--sw-line:#e4eaf1;--sw-blue:#3270cf;--sw-gold:#ffd266;color:var(--sw-ink);font-family:inherit;font-size:14px;line-height:1.55}.sw-root *,.sw-dialog *{box-sizing:border-box}.sw-root button,.sw-dialog button{font:inherit;cursor:pointer;border:0;border-radius:12px;padding:11px 17px;font-weight:650;background:#244e7d;color:#fff;transition:background .18s,transform .18s}.sw-root button:hover,.sw-dialog button:hover{background:#193c65}.sw-root button:disabled,.sw-dialog button:disabled{opacity:.48;cursor:default;transform:none}.sw-root button:focus-visible,.sw-dialog button:focus-visible,.sw-dialog input:focus-visible,.sw-dialog textarea:focus-visible,.sw-dialog select:focus-visible{outline:3px solid #e9b850;outline-offset:3px}.sw-root a,.sw-dialog a{color:#23568a;text-decoration:none}.sw-root h2,.sw-root h3,.sw-root h4,.sw-dialog h2,.sw-dialog h3{margin:0;color:inherit;letter-spacing:-.025em}.sw-root p,.sw-dialog p{margin:10px 0;color:var(--sw-muted)}.sw-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:32px;background:radial-gradient(ellipse at 90% 5%,#234f78,transparent 60%),linear-gradient(115deg,#111f32,#1a304b);color:#fff;border-radius:24px;padding:34px 38px;overflow:hidden;position:relative;isolation:isolate}.sw-hero:after{content:'';position:absolute;width:340px;height:340px;border:1px solid #ffffff0c;border-radius:50%;right:-80px;bottom:-240px;box-shadow:0 0 0 45px #ffffff03,0 0 0 90px #ffffff03;z-index:-1}.sw-hero h2{font-size:clamp(26px,2.5vw,39px);line-height:1.2;font-weight:700;margin:16px 0}.sw-hero h2 span{color:#c5d6eb;font-weight:450}.sw-hero p{color:#b7c6d8;max-width:440px}.sw-eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;display:flex;align-items:center;gap:8px}.sw-dot{width:7px;height:7px;border-radius:50%;background:#7bdec3;box-shadow:0 0 0 4px #7bdec319}.sw-dot.off{background:#e0b675;box-shadow:0 0 0 4px #e0b67519}.sw-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:24px}.sw-tags span{font-size:10px;padding:5px 9px;border:1px solid #ffffff18;border-radius:20px;color:#bccddd}.sw-balance{border-left:1px solid #ffffff17;padding-left:34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;min-width:0}.sw-balance>small{text-transform:uppercase;letter-spacing:.1em;color:#a9bfd6;font-size:10px}.sw-balance>strong{font-size:clamp(29px,3.4vw,47px);line-height:1.3;letter-spacing:-.04em;word-break:break-word;margin:8px 0 0}.sw-balance>strong em{font-size:12px;letter-spacing:.06em;font-style:normal;color:#adc8e8}.sw-coin{display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;font-size:32px;border-radius:50%;height:49px;width:49px;background:linear-gradient(130deg,#a5daff,#509dea 60%,#3267b2);box-shadow:inset 0 0 0 4px #c3e0ff46,0 7px 26px #05234760;color:#e6f4ff;border:1px solid #b7dbff63;margin-bottom:13px}.sw-actions{display:flex;gap:7px;flex-wrap:wrap}.sw-hero button{background:#cde1f9;color:#162d48}.sw-hero button:hover{background:#e3edfc}.sw-hero button.secondary{background:#ffffff10;border:1px solid #ffffff20;color:#dfe9f5}.sw-hero .sw-icon{padding:10px 13px}.sw-welcome{margin-top:20px;display:flex;align-items:center;gap:24px;background:linear-gradient(105deg,#f9fbfe,#f1f6ff);border:1px solid #dfe8f5;border-radius:20px;padding:25px 30px}.sw-welcome small{font-size:10px;letter-spacing:.16em;font-weight:750;color:#557ab0}.sw-welcome h3{font-size:21px;margin-top:6px}.sw-welcome p{max-width:660px;margin-bottom:0}.sw-orbit{margin-left:auto;font-size:85px;line-height:1;color:#bed3ee;padding:0 24px}.sw-tabs{display:flex;gap:8px;border-bottom:1px solid var(--sw-line);margin:26px 0 24px;overflow:auto}.sw-tabs button{color:#697a90;background:none;white-space:nowrap;border-radius:0;border-bottom:3px solid transparent;padding:12px 15px}.sw-tabs button:hover{background:#edf3fa}.sw-tabs button[aria-selected=true]{color:#224c7b;border-color:#3a70ab}.sw-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.sw-section-head small{color:#7c8da0;font-size:10px;letter-spacing:.12em;font-weight:700}.sw-section-head h3{font-size:21px;margin-top:3px}.sw-section-head>span{font-size:11px;color:#8c99ab}.sw-movements{background:#fff;border:1px solid var(--sw-line);border-radius:17px;overflow:hidden}.sw-movements article{display:flex;align-items:center;padding:18px 20px;gap:15px;border-bottom:1px solid #eef2f7}.sw-movements article:last-child{border-bottom:0}.sw-movements article>div:nth-last-child(1),.sw-movements article>strong:last-child{margin-left:auto;text-align:right}.sw-movements article>div:not(.sw-move-total){min-width:0}.sw-movements article strong{font-size:13px}.sw-movements article small{display:block;font-size:11px;color:#8794a4;line-height:1.65}.sw-move-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:13px;font-size:20px;background:#e7f5ef;color:#398969}.sw-move-icon.out{background:#edf1fc;color:#5d6bae}.sw-move-total strong{white-space:nowrap}.sw-move-total strong small{display:inline;font-size:9px}.sw-move-total a{font-size:10px;display:block}.sw-root button.sw-text-button{padding:2px 0;background:transparent;color:#6485aa;font-size:10px;font-weight:500}.sw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.sw-offer{padding:24px;border:1px solid var(--sw-line);border-radius:20px;background:#fff;display:flex;flex-direction:column;position:relative}.sw-offer-mark{position:absolute;right:20px;top:13px;font-size:40px;font-weight:250;color:#dbe6f3}.sw-pill{display:inline-flex;align-self:flex-start;padding:5px 9px;border:1px solid #dce7f4;background:#f3f7fc;border-radius:8px;font-size:9px;font-weight:700;color:#617c9e;letter-spacing:.035em}.sw-pill.success{background:#ecf7f0;border-color:#d7eadf;color:#4f8766}.sw-offer h4{font-size:19px;margin-top:18px}.sw-offer p{font-size:12px;white-space:pre-line;flex:1}.sw-offer-end{border-top:1px solid #edf0f5;padding-top:18px;margin-top:18px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.sw-offer-end>strong{font-size:19px;letter-spacing:-.03em}.sw-offer-end>strong small{font-size:9px;color:#8291a2;letter-spacing:.04em}.sw-offer-end button{font-size:11px;padding:9px 12px}.sw-empty{padding:36px 22px;background:#f8fafc;border:1px dashed #dce4ed;border-radius:18px;text-align:center}.sw-empty>span{display:block;font-size:30px;color:#7f9fc7;margin-bottom:10px}.sw-empty h3{font-size:17px}.sw-empty p{font-size:12px;max-width:450px;margin:8px auto}.sw-foot{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#91a0b1;border-top:1px solid var(--sw-line);padding:16px 0;margin-top:28px}.sw-subhead{margin:28px 0 14px!important;font-size:18px}.sw-message{padding:12px 16px;border-radius:12px;background:#edf3fb;color:#315982;margin-bottom:16px}.sw-message.error{background:#fff0eb;color:#a04f3b}.sw-message.success{background:#eaf6ef;color:#417458}.sw-message[hidden],.sw-dialog [hidden]{display:none!important}.sw-pending{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px;background:#fff8e9;border:1px solid #f2dfb9;border-radius:13px;margin-top:15px;font-size:12px}.sw-pending button{flex:none;font-size:11px}.sw-loading{text-align:center;padding:80px 20px}.sw-loading .sw-coin{margin:0 auto;animation:sw-breathe 1.6s ease-in-out infinite}.sw-dialog{border:1px solid #e5edf6;background:#fff;border-radius:25px;padding:32px;width:min(570px,calc(100vw - 28px));max-height:calc(100dvh - 40px);box-shadow:0 28px 100px #101c4255;margin:auto;overflow-y:auto}.sw-dialog::backdrop{background:#0d1c39a1;backdrop-filter:blur(6px)}.sw-dialog-close{position:absolute;right:13px;top:13px}.sw-dialog-close button{padding:2px 8px;background:#fff0e9;color:#c17559;font-size:23px;line-height:1.3;border-radius:10px}.sw-dialog-close button:hover{background:#f9e2d8;color:#ae5b3e}.sw-modal-head{padding-right:18px}.sw-modal-head .sw-eyebrow{color:#698bb2;font-size:9px}.sw-modal-head h2{font-size:27px;line-height:1.2;margin:10px 0 20px}.sw-dialog .sw-lead{font-size:13px;line-height:1.75}.sw-form{display:grid;gap:15px;margin-top:20px}.sw-form label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#4e6076}.sw-form input,.sw-form textarea,.sw-form select{font:inherit;font-size:13px;padding:12px 13px;border:1px solid #dbe4ee;border-radius:11px;width:100%;color:#23394f;background:#f9fbfd;min-width:0}.sw-form textarea{resize:vertical}.sw-form input[type=file]{font-size:11px}.sw-dialog .sw-note,.sw-root .sw-note{font-size:11px;color:#8090a3;line-height:1.65}.sw-dialog button.secondary{background:#f1f5fa;color:#446b96;border:1px solid #dae5f0}.sw-check{display:flex!important;gap:10px!important;align-items:flex-start;font-size:12px!important;margin:18px 0;font-weight:450!important;color:#526b83}.sw-check input{width:17px!important;height:17px;flex:none;accent-color:#39689c;margin:1px 0}.sw-address{overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:11px!important;line-height:1.8}.sw-address-box{padding:15px;background:#f2f6fb;border:1px solid #e2e9f2;border-radius:12px;margin:20px 0!important}.sw-words{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:15px;background:#f1f6fc;border-radius:14px;margin:18px 0}.sw-words span{display:flex;align-items:center;gap:8px;font-size:12px;color:#274967}.sw-words small{color:#90a3b6;font-size:9px;min-width:10px}.sw-modal-error{background:#fff0ec;border-radius:12px;color:#a05742!important;padding:12px 14px;font-size:12px!important}.sw-progress{min-height:16px;font-size:11px;text-align:center;margin:0!important}.sw-payment-amount{font-size:34px;margin:20px 0 12px!important}.sw-payment-amount small{font-size:13px;color:#86a0bf}body:has(dialog.sw-dialog[open]){overflow:hidden}@keyframes sw-breathe{50%{transform:scale(.92);opacity:.65}}@media(max-width:760px){.sw-hero{grid-template-columns:1fr;padding:25px;gap:25px;border-radius:20px}.sw-hero h2{font-size:29px}.sw-balance{border-left:0;border-top:1px solid #ffffff17;padding:24px 0 0}.sw-balance .sw-coin{position:absolute;right:0;top:26px}.sw-balance>strong{font-size:35px;padding-right:40px}.sw-hero-main p{max-width:100%}.sw-tags{margin-top:18px}.sw-welcome{padding:20px}.sw-welcome h3{font-size:18px}.sw-orbit{display:none}.sw-grid{grid-template-columns:1fr}.sw-tabs{gap:0}.sw-tabs button{padding:12px 10px;font-size:12px}.sw-section-head>span{display:none}.sw-section-head h3{font-size:18px}.sw-movements article{padding:15px 13px;gap:10px;align-items:flex-start}.sw-move-icon{width:28px;height:28px;border-radius:10px;font-size:16px}.sw-movements article strong{font-size:11px}.sw-move-total strong{white-space:normal}.sw-move-total{max-width:110px;flex:none}.sw-foot{font-size:9px}.sw-dialog{padding:26px 20px;border-radius:20px}.sw-modal-head h2{font-size:24px}.sw-pending{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.sw-root *,.sw-dialog *{animation:none!important;transition:none!important}}

/* The wallet stays dark. Only wallet creation and its recovery step use white. */
.sw-root,.sw-dialog{
  --sw-ink:#edf5fd;--sw-muted:#a8b9cc;--sw-line:#294155;
  --sw-surface:#132639;--sw-subtle:#182e43;--sw-field:#0c1d2d;
  --sw-blue:#85c7ff;--sw-border:#36526c;
  color:var(--sw-ink);color-scheme:dark;
}
.sw-root{background:#0b1826;border:1px solid #22384c;border-radius:23px;padding:24px;min-width:0}
.sw-root :is(h2,h3,h4,strong),.sw-dialog :is(h2,h3,h4,strong){color:var(--sw-ink)}
.sw-root a,.sw-dialog a{color:var(--sw-blue)}
.sw-root button,.sw-dialog button{background:#285f8d;color:#f5faff}
.sw-root button:hover,.sw-dialog button:hover{background:#3677a7}
.sw-root .sw-hero{border:1px solid #2d506d;background:radial-gradient(ellipse at 90% 5%,#245471,transparent 65%),linear-gradient(115deg,#102333,#142d44)}
.sw-hero button{background:#bbe4fc;color:#122f44}
.sw-hero button:hover{background:#d6f0ff}
.sw-hero button.secondary{background:#ffffff0c;border:1px solid #ffffff26;color:#e2eef9}
.sw-root .sw-welcome{background:linear-gradient(110deg,#132c40,#142539);border-color:var(--sw-line)}
.sw-root .sw-welcome small{color:#8fc5f3}
.sw-root .sw-welcome p{color:var(--sw-muted)}
.sw-root .sw-orbit{color:#61acd7}
.sw-root .sw-tabs{padding:5px;gap:4px;border:1px solid var(--sw-line);background:#102235;border-radius:14px;scrollbar-width:thin}
.sw-root .sw-tabs button{color:#b5c9dc;border-bottom:0;border-radius:10px;background:transparent}
.sw-root .sw-tabs button:hover{background:#1c3850;color:#f1f8ff}
.sw-root .sw-tabs button[aria-selected=true]{background:#23597d;color:#f4fbff}
.sw-root .sw-section-head small,.sw-root .sw-section-head>span{color:#9bb4c9}
.sw-root .sw-movements,.sw-root .sw-offer{background:var(--sw-surface);border-color:var(--sw-line)}
.sw-root .sw-movements article{border-color:var(--sw-line)}
.sw-root .sw-movements article small{color:#a9bdd0}
.sw-root .sw-move-icon{background:#183e39;color:#8cdec0}
.sw-root .sw-move-icon.out{background:#223b60;color:#a6c2ff}
.sw-root .sw-offer-mark{color:#487598}
.sw-root .sw-offer-end{border-color:var(--sw-line)}
.sw-root .sw-offer-end>strong small{color:#a9bdd0}
.sw-root .sw-text-button{color:#9ac9f5}
.sw-root .sw-empty{background:#102337;border-color:#35546e}
.sw-root .sw-empty>span{color:#8ac6f1}
.sw-root .sw-pill,.sw-dialog .sw-pill{background:var(--sw-subtle);border-color:var(--sw-border);color:var(--sw-blue)}
.sw-root .sw-pill.success{background:#18392f;border-color:#2c604c;color:#a0dfbd}
.sw-root .sw-pending{background:#392e1a;border-color:#6a5530;color:#f3d59e}
.sw-root .sw-message,.sw-dialog .sw-message{background:#193c56;color:#c3e5fc}
.sw-root .sw-message.success{background:#173d32;color:#adedd0}
.sw-root .sw-message.error{background:#462926;color:#ffc9bc}
.sw-root .sw-note,.sw-root .sw-foot{color:#a3b7ca}
.sw-root .sw-foot a{color:#acd6f8;text-decoration:underline;text-underline-offset:3px}
.sw-sirio{display:inline-grid;place-items:center;width:104px;height:104px;flex:none;position:relative;isolation:isolate;margin-bottom:10px}
.sw-sirio::before{content:'';position:absolute;inset:9%;z-index:-1;border-radius:50%;background:#398fee65;filter:blur(19px)}
.sw-sirio img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 15px #00122480)}
.sw-root .sw-loading .sw-sirio{animation:sw-breathe 2s ease-in-out infinite}
.sw-root .sw-empty .sw-sirio{margin:0 auto 14px}
.sw-dialog{background:#112235;border-color:var(--sw-line);color:var(--sw-ink)}
.sw-dialog .sw-modal-head .sw-eyebrow{color:var(--sw-blue)}
.sw-dialog .sw-form label,.sw-dialog .sw-check{color:var(--sw-ink)}
.sw-dialog .sw-form :is(input,textarea,select){background:var(--sw-field);border-color:var(--sw-border);color:var(--sw-ink)}
.sw-dialog .sw-form :is(input,textarea)::placeholder{color:var(--sw-muted);opacity:1}
.sw-dialog .sw-note,.sw-dialog .sw-progress{color:var(--sw-muted)}
.sw-dialog button.secondary{background:var(--sw-subtle);color:var(--sw-blue);border-color:var(--sw-border)}
.sw-dialog .sw-dialog-close button{background:#462926;color:#ffc7b6}
.sw-dialog .sw-modal-error{background:#462926;color:#ffc9bc!important}
.sw-dialog .sw-address-box,.sw-dialog .sw-words{background:var(--sw-subtle);border-color:var(--sw-line)}
.sw-dialog .sw-words span{color:var(--sw-ink)}
.sw-dialog .sw-words small{color:var(--sw-muted)}
.sw-dialog .sw-payment-amount small{color:var(--sw-blue)}
.sw-dialog--create{
  --sw-ink:#17273d;--sw-muted:#5c7086;--sw-line:#dbe5ef;
  --sw-surface:#fff;--sw-subtle:#f0f5fb;--sw-field:#f8fafc;
  --sw-blue:#295e91;--sw-border:#ccdbe9;
  color-scheme:light;background:#fff;color:var(--sw-ink);border-color:#e0e8f0;
}
.sw-dialog--create .sw-modal-head{padding-right:10px}
.sw-dialog--create .sw-brand-logo{display:block;width:min(252px,90%);height:auto;margin:2px auto 25px;object-fit:contain}
.sw-dialog--create .sw-modal-head h2{margin-top:8px}
.sw-dialog--create .sw-dialog-close button{background:#fff0e9;color:#a85438}
.sw-dialog--create .sw-modal-error{background:#fff0eb;color:#8c3f2e!important}
.sw-dialog--create .sw-form input[type=checkbox]{accent-color:#295e91}
@media(max-width:760px){
  .sw-root{padding:14px;border-radius:18px}
  .sw-root .sw-hero{padding:22px}
  .sw-root .sw-balance{padding-right:80px}
  .sw-root .sw-balance>.sw-sirio{position:absolute;right:-4px;top:23px;width:72px;height:72px}
  .sw-root .sw-balance>strong{font-size:clamp(25px,6.5vw,35px);padding-right:0}
  .sw-root .sw-balance>.sw-actions{padding-right:0;margin-right:-80px}
  .sw-root .sw-tabs{gap:1px}
  .sw-root .sw-tabs button{padding:10px 9px;font-size:11px}
  .sw-dialog--create .sw-brand-logo{width:225px;margin-bottom:22px}
}
