/* The live converter owns its controls; legacy sample markup remains hidden. */
.fx-enabled .currency-inner[hidden] { display:none!important; }
.fx-live-shell {position:relative;z-index:1;box-sizing:border-box;width:min(100%,860px);margin:0 auto;padding:28px 20px 118px;min-height:100dvh;color:#edf2ff;overflow-wrap:anywhere;}
.fx-live-shell *, .fx-admin-dialog * {box-sizing:border-box;}
.fx-live-shell [hidden] {display:none!important;}
.fx-topbar,.fx-section-top {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.fx-back,.fx-refresh,.fx-secondary,.fx-swap,.fx-primary {font:inherit;cursor:pointer;border:1px solid #344568;color:#eaf0ff;border-radius:13px;min-height:44px;background:#14213b;padding:10px 15px;}
.fx-back {width:44px;flex:0 0 44px;padding:4px;font-size:25px;line-height:1;}
.fx-refresh {font-size:12px;padding:8px 11px;}
.fx-state {font-size:11px;color:#96abc9;flex:1;}
.fx-state[data-state=current],.fx-quote-state[data-state=current] {color:#80d9b4;}
.fx-state[data-state=stale],.fx-quote-state[data-state=stale] {color:#e7bf72;}
.fx-hero {margin:30px 0 18px;}
.fx-kicker {font-size:10px;letter-spacing:.17em;color:#91b6ef;font-weight:700;direction:ltr;}
.fx-hero h1 {font-size:clamp(27px,5vw,36px);line-height:1.4;letter-spacing:-.02em;margin:10px 0;}
.fx-subtitle {color:#aabbd6;font-size:14px;line-height:1.8;margin:0;}
.fx-provider-info {padding:0 2px 20px;color:#95a8c9;font-size:11px;line-height:1.8;}
.fx-provider-info p {margin:2px 0;}
.fx-provider-info a,.fx-source-link {display:inline-block;color:#9ac6ff;text-underline-offset:4px;line-height:1.8;}
.fx-provider-info a {margin-top:6px;}
.fx-card {padding:20px;border-radius:22px;border:1px solid #2c3d60;background:linear-gradient(135deg,rgba(26,42,75,.82),rgba(10,23,45,.86));box-shadow:0 14px 40px rgba(0,0,0,.08);min-width:0;}
.fx-card h2 {margin:0 0 12px;font-size:18px;line-height:1.6;}
.fx-field {display:flex;flex-direction:column;gap:8px;font-size:12px;color:#c7d4e9;min-width:0;margin-bottom:16px;}
.fx-input,.fx-select {display:block;width:100%;min-width:0;min-height:48px;border:1px solid #354a70;border-radius:13px;background:#0b1830;color:#edf3ff;font:inherit;font-size:14px;padding:11px 12px;outline:none;color-scheme:dark;}
.fx-input:focus,.fx-select:focus {border-color:#83b7ff;box-shadow:0 0 0 3px #497fd130;}
.fx-pair {display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:8px;align-items:end;}
.fx-swap {width:42px;padding:6px;font-size:22px;margin-bottom:16px;}
.fx-primary {border:1px solid #7384ed;background:linear-gradient(115deg,#5a64dc,#358bce);font-weight:700;width:100%;box-shadow:0 8px 22px #315ec124;}
.fx-secondary {background:#172740;font-size:12px;}
.fx-live-shell button:disabled,.fx-admin-dialog button:disabled {opacity:.52;cursor:default;}
.fx-live-shell button:focus-visible,.fx-live-shell a:focus-visible,.fx-admin-dialog button:focus-visible {outline:3px solid #8ebcff;outline-offset:3px;}
.fx-note {font-size:11px;color:#9aacc9;line-height:1.8;}
.fx-form>.fx-note {margin:-3px 0 20px;}
.fx-market-fields {display:grid;grid-template-columns:1fr;gap:0;}
.fx-error {min-height:1em;margin:12px 0 0;color:#f4a6ab;font-size:12px;line-height:1.8;}
.fx-conversion-grid {display:grid;gap:15px;align-items:start;margin-bottom:18px;}
.fx-result {background:linear-gradient(140deg,#143f73,#192c59);}
.fx-result-line {font-size:clamp(20px,5vw,27px);font-weight:750;line-height:1.7;margin:12px 0;overflow-wrap:anywhere;unicode-bidi:isolate;text-align:start;}
.fx-rate-line {font-size:13px;color:#c7dfff;unicode-bidi:isolate;line-height:1.8;}
.fx-meta {color:#9db1d2;font-size:11px;line-height:1.8;margin:6px 0;}
.fx-stale-warning {color:#efcb82;font-size:12px;}
.fx-quotes,.fx-history {margin-top:18px;}
.fx-quote-list {display:grid;gap:12px;margin:15px 0;}
.fx-quote {padding:16px;border-radius:15px;border:1px solid #334b70;background:#102039;min-width:0;}
.fx-quote h3 {font-size:15px;margin:0;}
.fx-quote-state {font-size:10px;color:#a9bad2;}
.fx-quote-unit {font-size:12px;color:#c4d4ee;}
.fx-quote-values {display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0;font-size:13px;}
.fx-quote-values dt {color:#aabedb;}
.fx-quote-values dd {margin:0;font-weight:700;color:#edf5ff;}
.fx-quotes>.fx-secondary {margin-top:12px;}
.fx-source-link {font-size:12px;}
.fx-empty {font-size:12px;color:#9bacc7;line-height:1.9;}
.fx-history .fx-section-top h2 {margin:0;}
.fx-history-list {display:grid;gap:9px;margin-top:16px;}
.fx-history-item {display:flex;flex-direction:column;gap:7px;width:100%;border:1px solid #2f4367;background:#10203b;color:#e6efff;padding:13px 14px;border-radius:13px;text-align:start;font:inherit;cursor:pointer;min-height:64px;}
.fx-history-item strong {font-size:13px;direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere;}
.fx-history-item span {font-size:10px;color:#9bafcf;}
.fx-status-message {font-size:12px;line-height:1.8;color:#8bd8b5;}
.fx-time-note {font-size:10px;color:#778eaf;margin:20px 4px;}
.fx-admin-dialog {border:1px solid #3b5077;background:#0b1931;color:#edf3ff;border-radius:24px;width:min(92vw,560px);max-height:90dvh;padding:24px;overflow:auto;color-scheme:dark;}
.fx-admin-dialog::backdrop {background:#030b1cc9;backdrop-filter:blur(7px);}
.fx-admin-dialog h2 {font-size:22px;margin:0 0 10px;line-height:1.5;}
.fx-admin-dialog .fx-note {margin-bottom:22px;}
.fx-admin-actions {display:flex;gap:10px;margin-top:18px;}
.fx-admin-actions .fx-primary {flex:1;}
@media(min-width:720px){.fx-live-shell{padding:36px 30px 125px;}.fx-conversion-grid:has(.fx-result:not([hidden])){grid-template-columns:1.1fr 1fr;}.fx-quote-list{grid-template-columns:repeat(2,minmax(0,1fr));}.fx-market-fields{grid-template-columns:1fr 1fr;gap:12px;}.fx-hero{margin-top:38px;}}
@media(max-width:359px){.fx-live-shell{padding-inline:13px;}.fx-card{padding:16px;}.fx-pair{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:5px;}.fx-swap{width:36px;}.fx-select{padding-inline:7px;font-size:12px;}.fx-refresh{font-size:10px;}}
@media(prefers-reduced-motion:reduce){.fx-live-shell *{scroll-behavior:auto!important;}}
/* Source-reported indication is deliberately outside the conversion controls. */
.fx-local-indications {margin-top:18px;}
.fx-local-list {display:grid;gap:12px;margin:15px 0;}
.fx-local-quote {padding:16px;border:1px solid #334b70;border-radius:15px;background:#102039;min-width:0;}
.fx-local-quote h3 {margin:0;font:inherit;font-weight:700;font-size:15px;}
.fx-local-state {color:#d5c38b;font-size:10px;line-height:1.8;margin:8px 0;}
.fx-local-value {font:inherit;font-weight:700;font-size:18px;line-height:1.8;unicode-bidi:isolate;overflow-wrap:anywhere;}
.fx-local-quote .fx-meta {margin-block:8px;}
@media(min-width:720px){.fx-local-list{grid-template-columns:repeat(2,minmax(0,1fr));}}
