:root {
  --ink: #17203b;
  --muted: #6f7890;
  --line: #e7eaf1;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --navy: #111b3a;
  --navy-soft: #1c2b55;
  --blue: #1677ff;
  --blue-soft: #eaf3ff;
  --green: #20b486;
  --green-soft: #e8f8f2;
  --amber: #eaa322;
  --amber-soft: #fff7e5;
  --red: #e4505d;
  --red-soft: #ffedef;
  --shadow: 0 16px 45px rgba(22, 32, 60, .08);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.boot-screen { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--muted); background: radial-gradient(circle at 50% 35%, #fff, #eef2f9); }
.boot-mark img { width: 58px; height: 58px; border-radius: 17px; box-shadow: var(--shadow); object-fit: cover; }
.spinner { width: 24px; height: 24px; border: 3px solid #dce3ee; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(420px, .95fr); }
.login-visual { position: relative; overflow: hidden; display: flex; align-items: center; padding: clamp(48px, 8vw, 120px); color: white; background: linear-gradient(145deg, #111b3a 0%, #183e75 55%, #0a8b8d 125%); }
.login-visual::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0); background-size: 27px 27px; }
.login-visual__content { position: relative; z-index: 2; max-width: 640px; }
.login-visual h1 { font-size: clamp(44px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; margin: 20px 0 28px; }
.login-visual p { max-width: 540px; font-size: 18px; line-height: 1.7; color: #cfdbec; }
.proof-grid { display: flex; gap: 50px; margin-top: 56px; }
.proof-grid div { display: grid; gap: 6px; }.proof-grid strong { font-size: 30px; }.proof-grid span { color: #aebed3; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .25; }.orb-one { width: 340px; height: 340px; right: -100px; top: -90px; background: #35d3a8; }.orb-two { width: 280px; height: 280px; left: 18%; bottom: -190px; background: #2d8cff; }
.login-panel { display: grid; place-items: center; padding: 48px; background: #fff; }
.login-card { width: min(430px, 100%); display: grid; gap: 20px; }
.brand-lockup { display: flex; gap: 13px; align-items: center; margin-bottom: 52px; }.brand-lockup img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; }.brand-lockup div { display: grid; gap: 2px; }.brand-lockup strong { font-size: 18px; }.brand-lockup span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.eyebrow--light { color: #65e3c0; }
.login-copy h2 { font-size: 38px; letter-spacing: -.04em; margin: 8px 0 8px; }.login-copy p { color: var(--muted); margin: 0 0 18px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: #3e4961; }
input, select, textarea { width: 100%; border: 1px solid #dfe4ed; border-radius: 11px; padding: 12px 13px; color: var(--ink); background: white; outline: none; transition: border .18s, box-shadow .18s; }
input:focus, select:focus, textarea:focus { border-color: #8bbcff; box-shadow: 0 0 0 4px rgba(22,119,255,.1); }
textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; }
.form-error { color: #b92e40; background: var(--red-soft); border-radius: 10px; padding: 11px 13px; margin: 0; font-size: 13px; }
.login-footnote { text-align: center; color: #929aad; font-size: 12px; margin: 4px 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 14px; border-radius: 10px; border: 1px solid transparent; font-size: 13px; font-weight: 750; transition: transform .15s, background .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); }.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button--primary { color: white; background: linear-gradient(135deg, #1677ff, #075bcc); box-shadow: 0 8px 20px rgba(22,119,255,.22); }.button--primary:hover { box-shadow: 0 11px 25px rgba(22,119,255,.3); }
.button--soft { color: #43506b; background: #f1f4f9; border-color: #e5e9f0; }.button--ghost { color: var(--blue); background: transparent; border-color: #cfe1fb; }.button--danger { color: var(--red); background: var(--red-soft); }.button--large { min-height: 50px; font-size: 14px; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #5d6880; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 18px 20px; color: white; background: linear-gradient(180deg, #111b3a 0%, #0c142d 100%); }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 0 9px 29px; }.sidebar-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }.sidebar-brand div { display: grid; }.sidebar-brand strong { font-size: 15px; }.sidebar-brand span { color: #8998b9; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.nav-list { display: grid; gap: 5px; }.nav-list button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: #9faecc; text-align: left; font-weight: 650; font-size: 13px; }.nav-list button:hover { color: white; background: rgba(255,255,255,.06); }.nav-list button.active { color: white; background: linear-gradient(90deg, rgba(46,128,255,.3), rgba(46,128,255,.11)); box-shadow: inset 3px 0 #3f96ff; }
.nav-icon { width: 24px; font-size: 18px; text-align: center; }
.sidebar-status { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #42d49d; box-shadow: 0 0 0 5px rgba(66,212,157,.12); }.sidebar-status div { display: grid; gap: 2px; }.sidebar-status strong { font-size: 12px; }.sidebar-status span:last-child { color: #8998b9; font-size: 10px; }
.main-column { min-width: 0; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }.topbar > div:first-of-type { flex: 1; }.topbar p { margin: 0 0 3px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }.topbar h1 { margin: 0; font-size: 22px; letter-spacing: -.025em; }.topbar-actions { display: flex; align-items: center; gap: 11px; }.menu-button { display: none; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.user-chip > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: white; background: linear-gradient(135deg, #263d75, #168eb4); font-size: 12px; font-weight: 800; }.user-chip div { display: grid; }.user-chip strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }.user-chip small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.content { padding: 30px 32px 56px; max-width: 1680px; margin: 0 auto; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }.page-head h2 { margin: 0 0 6px; font-size: 25px; letter-spacing: -.035em; }.page-head p { margin: 0; color: var(--muted); font-size: 13px; }.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 21px; }.metric-card { position: relative; min-height: 132px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 7px 25px rgba(22,32,60,.04); overflow: hidden; }.metric-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -33px; top: -27px; background: var(--tint, #edf4ff); }.metric-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }.metric-card strong { display: block; margin-top: 19px; font-size: 31px; letter-spacing: -.045em; }.metric-card small { color: var(--muted); font-size: 11px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 30px rgba(22,32,60,.045); overflow: hidden; }.panel + .panel { margin-top: 18px; }.panel-head { min-height: 65px; padding: 16px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }.panel-head h3 { margin: 0 0 3px; font-size: 15px; }.panel-head p { margin: 0; color: var(--muted); font-size: 11px; }.panel-body { padding: 19px; }
.grid-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 18px; }.provider-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }.provider-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.provider-card__top { display: flex; align-items: center; justify-content: space-between; }.provider-badge { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-size: 15px; font-weight: 850; color: #1a65cb; background: var(--blue-soft); }.provider-card h4 { margin: 14px 0 2px; }.provider-card p { margin: 0; color: var(--muted); font-size: 11px; }.provider-balances { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 13px; }.provider-balances span { font-size: 10px; color: #68738a; background: #f5f7fa; padding: 5px 7px; border-radius: 7px; }
.health-list { display: grid; gap: 13px; }.health-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; }.health-row > div { display: flex; align-items: center; gap: 7px; font-size: 12px; }.health-row strong { font-size: 12px; }.health-track { grid-column: 1 / -1; height: 6px; border-radius: 10px; background: #edf0f5; overflow: hidden; }.health-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.status-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; padding: 5px 8px; font-size: 10px; font-weight: 800; text-transform: capitalize; }.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.status-success, .status-active { color: #15845f; background: var(--green-soft); }.status-failed, .status-alert { color: #c43c4a; background: var(--red-soft); }.status-warning, .status-running { color: #af7412; background: var(--amber-soft); }.status-never, .status-none, .status-viewer { color: #68738a; background: #edf0f5; }.status-admin { color: #225fc4; background: var(--blue-soft); }.status-operator { color: #7a53c4; background: #f1ebff; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 15px; }.search { position: relative; min-width: 260px; flex: 1; }.search input { padding-left: 38px; }.search::before { content: "⌕"; position: absolute; left: 13px; top: 10px; color: #8791a6; font-size: 18px; }.provider-tabs { display: flex; flex-wrap: wrap; gap: 6px; }.provider-tabs button { border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; background: #fff; color: #69748b; font-size: 11px; font-weight: 750; }.provider-tabs button.active { color: white; border-color: var(--blue); background: var(--blue); }
.table-wrap { overflow: auto; }.data-table { width: 100%; border-collapse: collapse; min-width: 840px; }.data-table th { padding: 11px 14px; color: #7d879c; background: #f8f9fb; border-bottom: 1px solid var(--line); text-align: left; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }.data-table td { padding: 12px 14px; border-bottom: 1px solid #edf0f4; font-size: 12px; vertical-align: middle; }.data-table tr:last-child td { border-bottom: 0; }.data-table tbody tr:hover { background: #fafcff; }.account-name { display: flex; align-items: center; gap: 9px; font-weight: 750; }.mini-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #2d68b8; background: #edf4fd; font-size: 10px; font-weight: 850; }.money { white-space: nowrap; font-variant-numeric: tabular-nums; }.muted { color: var(--muted); }.row-actions { display: flex; gap: 5px; justify-content: flex-end; }.row-actions button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); color: #667189; background: white; }.row-actions button:hover { color: var(--blue); border-color: #bad6fb; }
.extra-balances { display: flex; flex-wrap: wrap; gap: 5px; min-width: 130px; }.extra-balances span { padding: 4px 6px; border-radius: 7px; color: #3f4c66; background: #f0f4f9; font-size: 10px; white-space: nowrap; }
.empty-state { display: grid; place-items: center; text-align: center; padding: 60px 25px; }.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: var(--blue-soft); font-size: 24px; }.empty-state h3 { margin: 16px 0 6px; }.empty-state p { color: var(--muted); margin: 0; font-size: 12px; }

.connection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.connection-card { border: 1px solid var(--line); border-radius: 15px; background: white; padding: 17px; }.connection-card__head { display: flex; justify-content: space-between; gap: 12px; }.connection-card h3 { margin: 0 0 3px; font-size: 14px; }.connection-card p { margin: 0; color: var(--muted); font-size: 11px; }.connection-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 17px 0; }.connection-meta div { padding: 9px; border-radius: 9px; background: #f7f8fb; }.connection-meta span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }.connection-meta strong { display: block; margin-top: 4px; font-size: 11px; }.connection-actions { display: flex; gap: 7px; }.connection-actions .button { flex: 1; min-height: 34px; padding: 6px 9px; font-size: 11px; }
.timeline { display: grid; }.timeline-row { position: relative; display: grid; grid-template-columns: 11px 1fr auto; gap: 11px; align-items: start; padding: 9px 0; }.timeline-row > i { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #bdc5d3; }.timeline-row.success > i { background: var(--green); }.timeline-row.failed > i { background: var(--red); }.timeline-row strong { display: block; font-size: 11px; }.timeline-row span { color: var(--muted); font-size: 10px; }.timeline-row time { color: var(--muted); font-size: 9px; white-space: nowrap; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8,15,34,.55); backdrop-filter: blur(5px); }.modal { width: min(700px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 19px; background: white; box-shadow: 0 30px 90px rgba(5,12,32,.28); }.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 15px; padding: 19px 21px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }.modal-head h2 { margin: 0 0 4px; font-size: 18px; }.modal-head p { margin: 0; color: var(--muted); font-size: 11px; }.modal-close { border: 0; background: #f1f3f7; width: 32px; height: 32px; border-radius: 9px; color: #6c768b; }.modal-body { padding: 21px; }.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 21px; border-top: 1px solid var(--line); background: #fafbfc; }.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.form-grid .full { grid-column: 1 / -1; }.help { color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 500; }.secret-note { padding: 11px 12px; border-radius: 10px; color: #755510; background: var(--amber-soft); font-size: 11px; line-height: 1.5; }.token-box { word-break: break-all; padding: 14px; border: 1px dashed #93b8eb; border-radius: 10px; background: #f4f8ff; font-family: ui-monospace, monospace; font-size: 11px; }
.modal.modal--wide { width: min(1040px, 100%); }
.connector-wizard { font-size: 15px; }.connector-wizard .modal-head { padding: 22px 28px; }.connector-wizard .modal-head h2 { margin-top: 5px; font-size: 22px; }.connector-wizard .modal-head p { font-size: 13px; }.connector-wizard .modal-body { padding: 26px 28px 32px; }.connector-wizard label { font-size: 14px; }.connector-wizard input, .connector-wizard select, .connector-wizard textarea { min-height: 44px; }.connector-wizard .help { font-size: 12px; }.connector-wizard .secret-note { margin-top: 18px; font-size: 13px; }
.connector-wizard .modal-close { width: 44px; height: 44px; flex: 0 0 44px; }.connector-wizard .button, .connector-wizard .subsection-head .button, .connector-wizard .kv-row input, .connector-wizard .kv-row button { min-height: 44px; }.connector-wizard .kv-row { grid-template-columns: minmax(120px,.75fr) minmax(160px,1.25fr) 44px; }.connector-wizard .kv-row input { min-width: 0; }
.wizard-steps { position: sticky; top: 84px; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 28px; border-bottom: 1px solid var(--line); background: rgba(250,251,253,.97); }.wizard-step { position: relative; display: flex; align-items: center; gap: 9px; color: #8b94a6; font-size: 13px; }.wizard-step:not(:last-child)::after { content: ""; position: absolute; left: 35px; right: 18px; bottom: -8px; height: 2px; background: #e1e5ed; }.wizard-step > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d7dce6; border-radius: 50%; background: white; font-size: 12px; font-weight: 800; }.wizard-step.current { color: var(--ink); }.wizard-step.current > span { border-color: var(--blue); color: white; background: var(--blue); }.wizard-step.complete { color: #167b5c; }.wizard-step.complete > span { border-color: #a9dfcc; color: #167b5c; background: var(--green-soft); }.wizard-step.complete::after { background: #a9dfcc; }
.wizard-copy { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }.wizard-copy h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.02em; }.wizard-copy p { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }.source-inline { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #1c65c6; background: var(--blue-soft); font-weight: 850; }
.docs-link { display: inline-block; margin-top: 7px; color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: none; }.docs-link:hover { text-decoration: underline; }
.source-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 24px; }.source-card { position: relative; min-height: 128px; display: grid; justify-items: start; align-content: start; gap: 5px; padding: 15px; text-align: left; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; transition: transform .16s, border-color .16s, box-shadow .16s; }.source-card:hover { transform: translateY(-2px); border-color: #b9d5fb; box-shadow: 0 10px 25px rgba(22,119,255,.08); }.source-card.selected { border-color: var(--blue); box-shadow: inset 0 0 0 2px rgba(22,119,255,.12); }.source-card > span { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 9px; color: #1d66c6; background: var(--blue-soft); font-weight: 850; }.source-card strong { font-size: 13px; }.source-card small { color: var(--muted); font-size: 11px; line-height: 1.35; }.source-card em { position: absolute; right: 8px; top: 8px; padding: 3px 6px; border-radius: 99px; color: #167b5c; background: var(--green-soft); font-size: 8px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.wizard-section { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.section-title h3 { margin: 0 0 4px; font-size: 16px; }.section-title p { margin: 0; color: var(--muted); font-size: 13px; }.optional { color: var(--muted); font-size: 10px; font-weight: 650; text-transform: uppercase; }.wide-3 { grid-column: span 2; }.body-field { margin-top: 15px; }.body-field textarea { min-height: 90px; }
.subsection { margin-top: 16px; padding: 15px; border: 1px solid #e9ecf2; border-radius: 12px; background: #fafbfc; }.subsection-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }.subsection-head div { display: grid; gap: 3px; }.subsection-head strong { font-size: 13px; }.subsection-head small { color: var(--muted); font-size: 11px; }.subsection-head .button { min-height: 34px; padding: 5px 10px; }.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.kv-list { display: grid; gap: 8px; }.kv-row { display: grid; grid-template-columns: minmax(120px,.75fr) minmax(160px,1.25fr) 34px; gap: 7px; }.kv-row input { min-height: 38px; padding: 8px 10px; font-size: 12px; }.kv-row button { border: 0; border-radius: 8px; color: var(--red); background: var(--red-soft); }.kv-empty { padding: 12px; text-align: center; color: var(--muted); border: 1px dashed #dce1ea; border-radius: 9px; font-size: 12px; }.inline-note { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: #54617a; background: #f3f6fa; font-size: 13px; line-height: 1.45; }
.toggle-field { display: flex; align-items: center; gap: 11px; min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; }.toggle-field input { width: 20px; min-height: 20px; accent-color: var(--blue); }.toggle-field > span { display: grid; gap: 3px; }.toggle-field strong { font-size: 13px; }.toggle-field small { color: var(--muted); font-size: 11px; font-weight: 500; }.switch { display: flex; }.switch input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }.switch span { width: 48px; height: 27px; position: relative; border-radius: 99px; background: #ccd2dd; transition: background .16s; }.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(10,20,40,.2); transition: transform .16s; }.switch input:checked + span { background: var(--blue); }.switch input:checked + span::after { transform: translateX(21px); }.switch input:focus-visible + span { outline: 3px solid rgba(22,119,255,.22); outline-offset: 2px; }
.danger-toggle { margin-top: 16px; border-color: #efd79b; background: #fffaf0; }.danger-toggle input { accent-color: #b37b00; }
.connector-wizard__foot { position: sticky; bottom: 0; z-index: 3; justify-content: space-between; padding: 16px 28px; }.connector-wizard__foot > div { display: flex; gap: 9px; }.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }.review-grid div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; }.review-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }.review-grid strong { font-size: 13px; }.preview-state, .preview-result { margin: 18px 0; padding: 20px; border: 1px dashed #cdd5e2; border-radius: 14px; background: #fafbfc; }.preview-state { display: flex; align-items: center; gap: 13px; }.preview-state > span, .preview-result__head > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--blue); background: var(--blue-soft); font-weight: 850; }.preview-state strong, .preview-result strong { font-size: 14px; }.preview-state p, .preview-result p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }.preview-state.failed { border-color: #efb4bc; background: #fff7f8; }.preview-state.failed > span { color: var(--red); background: var(--red-soft); }.preview-state.success { border-color: #b5e1d2; background: #f6fcf9; }.preview-result { border-style: solid; border-color: #b5e1d2; background: #f6fcf9; }.preview-result__head { display: flex; align-items: center; gap: 12px; }.preview-result__head > span { color: #167b5c; background: var(--green-soft); }.balance-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }.balance-preview div { min-width: 130px; padding: 10px 12px; border-radius: 10px; background: white; }.balance-preview span { display: block; color: var(--muted); font-size: 10px; }.balance-preview strong { display: block; margin-top: 3px; font-variant-numeric: tabular-nums; }.sample-list { display: grid; gap: 7px; margin-top: 16px; }.sample-list > strong { margin-bottom: 2px; }.sample-list div { display: grid; grid-template-columns: 90px 130px 1fr; gap: 9px; padding: 9px 11px; border-radius: 9px; background: white; }.sample-list small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }.empty-compact { padding: 28px; text-align: center; }.empty-compact p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(22,119,255,.25); outline-offset: 2px; }
.toast-region { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 9px; }.toast { min-width: 280px; max-width: 430px; padding: 13px 15px; border-radius: 11px; color: white; background: #25304c; box-shadow: 0 15px 40px rgba(11,18,37,.2); font-size: 12px; animation: toast-in .2s ease-out; }.toast.error { background: #b83a49; }.toast.success { background: #167b5c; } @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.skeleton { border-radius: 9px; background: linear-gradient(90deg, #edf0f4 25%, #f8f9fb 50%, #edf0f4 75%); background-size: 200% 100%; animation: shimmer 1.1s infinite; }.skeleton-line { height: 13px; margin: 8px 0; } @keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1180px) { .metrics { grid-template-columns: repeat(2, 1fr); }.connection-grid { grid-template-columns: repeat(2, 1fr); }.grid-two { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .login-screen { grid-template-columns: 1fr; }.login-visual { display: none; }.app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; z-index: 80; left: -270px; width: 248px; transition: left .2s; box-shadow: 20px 0 60px rgba(5,10,28,.25); }.app-shell.menu-open .sidebar { left: 0; }.menu-button { display: block; }.topbar { padding: 0 18px; }.content { padding: 23px 18px 50px; }.source-grid { grid-template-columns: repeat(3, 1fr); }.request-grid, .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .login-panel { padding: 28px; }.brand-lockup { margin-bottom: 34px; }.metrics, .provider-grid, .connection-grid, .form-grid, .source-grid, .request-grid, .review-grid { grid-template-columns: 1fr; }.form-grid .full, .wide-3 { grid-column: auto; }.topbar-actions .button--soft, .user-chip div { display: none; }.page-head { align-items: flex-start; flex-direction: column; }.content { padding-inline: 13px; }.topbar { height: 76px; }.metric-card { min-height: 118px; }.search { min-width: 100%; }.modal-backdrop { padding: 0; }.modal, .modal.modal--wide { max-height: 100vh; min-height: 100vh; border-radius: 0; }.connector-wizard .modal-head, .connector-wizard .modal-body, .connector-wizard__foot { padding-inline: 16px; }.wizard-steps { top: 87px; padding-inline: 16px; }.wizard-step strong { display: none; }.wizard-step:not(:last-child)::after { right: 8px; }.connector-wizard .kv-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px; }.sample-list div { grid-template-columns: 70px 100px 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
