.fx-shell{
  --ink:var(--tk-ink);--muted:var(--tk-muted);--line:var(--tk-border-strong);
  --panel:var(--tk-surface);--field:var(--tk-raised);--accent:var(--tk-ink);
  --band:var(--tk-ink-secondary);--band-ink:var(--tk-bg);
  font-family:system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0
}
html.light-mode:not([data-tk-theme-lock="dark"]) .fx-shell{--band:var(--tk-btn-top);--band-ink:var(--tk-ink)}
.fx-shell,.fx-shell dialog{color:var(--ink)}
.fx-shell [hidden]{display:none!important}.fx-shell{padding-bottom:60px}
.fx-shell h2,.fx-shell p,.fx-shell ul{margin:0;letter-spacing:0}.fx-shell h2{font-size:21px;font-weight:680;line-height:1.3}
.fx-shell button,.fx-shell input,.fx-shell select{font:inherit;color:inherit;letter-spacing:0}
.fx-shell button{cursor:pointer}.fx-shell button:disabled{opacity:.55;cursor:default}
.fx-shell :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fx-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.fx-workspace{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:38px;align-items:start;padding-bottom:36px;scroll-margin-top:18px}
.fx-convert{position:relative;border-radius:8px;background:var(--panel);padding:10px}
.fx-banner{text-align:center;background:var(--band);color:var(--band-ink);border-radius:6px;padding:19px 6px;margin-bottom:10px}
.fx-banner h2{font-size:23px;color:inherit;overflow-wrap:anywhere}.fx-banner p{font-size:12px;margin-top:5px;color:inherit}
.fx-amount-line{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:center;gap:10px;min-height:89px;background:var(--field);padding:10px 15px;border-radius:6px}
.fx-shell .fx-amount-line label:not(.fx-sr),.fx-market-base label{display:block;color:var(--muted);font-size:12px;font-weight:580}
.fx-selector,.fx-row-name{display:flex;align-items:center;gap:8px;min-width:0}
.fx-shell .fx-selector select{width:100%;min-width:0;min-height:38px;border:0;border-radius:4px;background-color:transparent;font-size:14px;font-weight:650;padding:4px 20px 4px 12px}
.fx-shell .fx-selector select option{color:var(--ink);background:var(--field)}
.fx-shell #fx-amount,.fx-shell output{display:block;text-align:right;font-size:32px;font-weight:640;line-height:1.18;width:100%;min-width:0;border:0;background:transparent!important;border-radius:0;padding:3px 0;box-shadow:none}
.fx-shell output{overflow-wrap:anywhere;color:var(--accent)}.fx-shell output[data-long]{font-size:22px}
.fx-bridge{height:9px;position:relative;z-index:1}.fx-shell #fx-swap{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:36px;height:36px;background:var(--field);color:var(--accent);border:3px solid var(--panel);border-radius:50%;font-size:19px;font-weight:700}
.fx-shell #fx-status{color:var(--muted);font-size:12px;line-height:1.5;margin:10px 4px 2px}.fx-anchor{position:absolute;top:0;pointer-events:none}
.fx-flag{display:inline-grid;place-items:center;width:29px;height:29px;flex:0 0 auto;overflow:hidden;border-radius:50%;background-color:var(--line);background-image:var(--flag-image,none);background-repeat:no-repeat;font:650 var(--flag-size,9px)/1 system-ui;color:var(--ink);box-shadow:inset 0 0 0 1px #8883}
.fx-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#fx-mode{font-size:12px;color:var(--muted)}#fx-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.fx-shell .fx-pair{display:flex;align-items:center;gap:8px;min-height:40px;min-width:0;padding:5px 8px;background:var(--panel);border:1px solid transparent;border-radius:6px;text-align:left;font-size:13px;font-weight:580}
.fx-shell .fx-pair:hover,.fx-shell .fx-pair[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
.fx-flags{display:flex;align-items:center;flex:none}.fx-flags .fx-flag{width:20px;height:20px}.fx-flags .fx-flag+ i{margin-left:-6px;box-shadow:0 0 0 2px var(--panel)}
.fx-band{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.4fr);gap:40px;border-top:1px solid var(--line);padding:27px 0}
.fx-band header p,.fx-band p,.fx-band li{color:var(--muted);font-size:14px;line-height:1.7;margin-top:8px}
.fx-shell a{color:var(--ink);text-underline-offset:4px}.fx-band header a,.fx-notes a{display:inline-block;margin-top:13px;text-decoration:underline}
.fx-guides a{display:block;padding:12px 0;color:var(--tk-ink);text-decoration:underline;text-underline-offset:4px}.fx-guides a:hover{color:var(--tk-ink-secondary)}
.fx-related{text-align:center;padding:64px 0;border-top:1px solid var(--tk-border);background-color:var(--tk-bg);background-image:radial-gradient(var(--tk-border) 1px,transparent 1px);background-size:24px 24px}
.fx-related h2{font-size:28px;font-weight:700;color:var(--tk-ink);margin:0 0 24px}
.fx-market{margin-bottom:26px}.fx-market-base{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;background:var(--panel);border-radius:8px}.fx-market-base strong{font-size:26px}.fx-market-base .fx-selector{gap:13px}.fx-market-base .fx-selector>div{min-width:0}.fx-market-base .fx-flag{width:39px;height:39px}
.fx-market #fx-filters,.fx-market #fx-views{display:flex;gap:8px;align-items:center}.fx-market #fx-filters{justify-content:space-between;flex-wrap:wrap;margin:15px 0}
.fx-shell #fx-edit,.fx-shell #fx-more,.fx-shell #fx-views button,.fx-shell dialog button{border-radius:6px;border:1px solid var(--line);padding:7px 12px;min-height:38px;background:transparent;font-size:13px}
.fx-shell #fx-views button[aria-pressed=true],.fx-shell #fx-save{background:var(--band);color:var(--band-ink);border-color:transparent}
.fx-shell input[type=search]{border-radius:5px;background:var(--field);border:1px solid var(--line);min-height:38px;padding:5px 12px;max-width:100%}
.fx-shell table{width:100%;border-collapse:collapse;font-size:14px}.fx-shell th,.fx-shell td{padding:8px;text-align:right;vertical-align:middle}.fx-shell th:first-child,.fx-shell td:first-child{text-align:left}.fx-shell th{font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}.fx-shell tbody tr:nth-child(even){background:var(--panel)}.fx-shell td:last-child,.fx-row-name small{color:var(--muted);font-size:12px}.fx-row-name small{display:block}.fx-row-name{font-weight:600}.fx-shell #fx-more{margin-top:12px}
.fx-shell dialog{position:fixed;inset:0;margin:auto;width:min(410px,94%);max-height:84dvh;border:1px solid var(--line);padding:18px;background:var(--panel);border-radius:8px}.fx-shell dialog::backdrop{background:#0009}
.fx-shell dialog form{display:grid;gap:10px}.fx-shell dialog .fx-section-title{margin:0}.fx-shell #fx-options{overflow:auto;max-height:45dvh}.fx-shell #fx-options label{display:flex;align-items:center;gap:9px;padding:6px;min-height:40px;cursor:pointer}.fx-shell #fx-options input{accent-color:var(--accent)}
@media(max-width:840px){.fx-workspace{gap:16px}.fx-shell .fx-pair{font-size:12px;padding:4px;gap:5px}}
@media(max-width:740px){.fx-workspace,.fx-band{grid-template-columns:minmax(0,1fr);gap:20px}.fx-workspace{padding-bottom:26px}.fx-band{padding:21px 0;gap:12px}.fx-shell h2{font-size:20px}.fx-banner h2{font-size:22px}.fx-market #fx-filters{align-items:stretch}.fx-market #fx-filters input{width:100%}.fx-shell th,.fx-shell td{padding:7px 3px}.fx-shell td:last-child{max-width:110px}.fx-shell #fx-amount,.fx-shell output{font-size:26px}.fx-amount-line{padding:8px;min-height:85px}.fx-shell .fx-pair{font-size:13px}.fx-shell #fx-views{flex-wrap:wrap}.fx-market-base{gap:8px}.fx-selector .fx-flag{width:24px;height:24px}.fx-shell .fx-selector select{font-size:13px}}
@media(max-width:360px){.fx-flags .fx-flag{width:16px;height:16px}.fx-shell .fx-pair{font-size:12px}.fx-amount-line{grid-template-columns:minmax(0,1fr) minmax(0,.94fr)}}
@media(max-width:460px){.fx-amount-line{grid-template-columns:1fr;gap:2px}.fx-amount-line>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.fx-amount-line .fx-selector{max-width:74%}.fx-shell #fx-amount,.fx-shell output{text-align:right}.fx-banner h2{font-size:20px}}
