:root {
  color-scheme: dark;
  --bg: #070b13;
  --bg-soft: #0b1220;
  --panel: rgba(16, 24, 40, .82);
  --panel-strong: rgba(19, 31, 51, .96);
  --line: rgba(148, 163, 184, .18);
  --text: #e7edf7;
  --muted: #97a4ba;
  --muted-2: #6f7d91;
  --primary: #69b7ff;
  --primary-strong: #2f8bff;
  --accent: #d7ff72;
  --danger: #ff6b7a;
  --warning: #ffca69;
  --success: #70e59c;
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(47, 139, 255, .28), transparent 30rem),
    radial-gradient(circle at 82% 14%, rgba(215, 255, 114, .15), transparent 22rem),
    linear-gradient(135deg, #050814 0%, #081323 48%, #09111c 100%);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }

.app-shell { min-height: 100vh; }
.hidden { display: none !important; }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 520px);
  gap: 32px;
  min-height: 100vh;
  padding: 40px;
  align-items: center;
}
.hero-card, .auth-card, .panel, .tile, dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.hero-card {
  border-radius: 36px;
  padding: clamp(28px, 5vw, 64px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% 32%;
  height: 260px;
  background: radial-gradient(circle, rgba(105, 183, 255, .22), transparent 70%);
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 1.35rem;
}
.brand img { width: 42px; height: 42px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: 1.02; }
h1 { font-size: clamp(3.6rem, 7vw, 7rem); max-width: 980px; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.1rem; }
p { color: var(--muted); line-height: 1.6; }
.hero-copy p { max-width: 760px; font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.feature-pill { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.035); color: var(--text); }
.feature-pill span { display:block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.auth-card { border-radius: 32px; padding: 28px; }
.auth-card .tabs { display: flex; padding: 5px; border-radius: 18px; background: rgba(255,255,255,.05); margin-bottom: 24px; }
.tab-btn { flex: 1; border: 0; color: var(--muted); background: transparent; border-radius: 14px; padding: 12px; font-weight: 700; }
.tab-btn.active { background: rgba(105,183,255,.15); color: var(--text); }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 8px; }
.form-row.inline { grid-template-columns: 1fr 1fr; }
label { color: var(--muted); font-weight: 700; font-size: .86rem; }
input, select, textarea {
  width: 100%;
  color: var(--text);
  background: rgba(5, 11, 22, .78);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 15px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(105, 183, 255, .72); box-shadow: 0 0 0 4px rgba(105,183,255,.12); }
select option { background: #111827; color: var(--text); }

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 11px 16px;
  min-height: 44px;
  color: #06111f;
  background: linear-gradient(135deg, var(--accent), #72ffb6);
  font-weight: 850;
  letter-spacing: -.02em;
}
.btn.secondary { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--line); }
.btn.ghost { color: var(--muted); background: transparent; border-color: transparent; }
.btn.danger { color: white; background: rgba(255, 107, 122, .16); border-color: rgba(255, 107, 122, .34); }
.btn.small { min-height: 34px; padding: 7px 10px; border-radius: 11px; font-size: .86rem; }
.notice { border: 1px solid rgba(255, 202, 105, .26); background: rgba(255,202,105,.08); color: #ffe1a3; padding: 12px 14px; border-radius: 16px; }
.notice.success { border-color: rgba(112,229,156,.25); background: rgba(112,229,156,.08); color: #a7f3c0; }
.notice.danger { border-color: rgba(255,107,122,.34); background: rgba(255,107,122,.10); color: #ffc0c7; }
.notice.info { border-color: rgba(105,183,255,.28); background: rgba(105,183,255,.08); color: #b8dcff; }
.notice + .notice { margin-top: 12px; }
.import-preview-block { display: grid; gap: 12px; margin-top: 2px; }
.import-preview-block .notice + .notice { margin-top: 0; }
.input-action-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.terms-box { white-space: pre-wrap; max-height: 320px; overflow: auto; border: 1px solid var(--line); background: rgba(5, 11, 22, .78); border-radius: 16px; padding: 14px; color: var(--text); line-height: 1.55; }
.terms-box + .form-grid, #cloud-terms-links + .form-grid { margin-top: 18px; }
.account-terms-consent { display: grid; gap: 12px; }
.account-terms-box { max-height: 220px; font-size: .9rem; }
.cloud-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; color: var(--muted); font-size: .84rem; }
.cloud-legal-links a { color: var(--primary); text-decoration: none; font-weight: 800; }
.cloud-legal-links a:hover { text-decoration: underline; }
.cloud-legal-title { color: var(--muted-2); font-weight: 800; }
.check-row { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 700; line-height: 1.45; }
input[type="checkbox"] { width: 17px; height: 17px; min-width: 17px; padding: 0; border-radius: 5px; flex: 0 0 auto; }
.check-row input { margin-top: 2px; }
.smallprint { color: var(--muted-2); font-size: .84rem; line-height: 1.5; }

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  background: rgba(5, 10, 20, .62);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar nav { display: grid; gap: 8px; }
.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 16px;
  text-align: left;
  font-weight: 760;
}
.nav-btn.active, .nav-btn:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.055); }
.profile-chip { margin-top: auto; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.profile-chip b { display:block; }
.profile-chip span { color: var(--muted); font-size: .82rem; }
.profile-chip > span { display: block; margin-top: 6px; }
.profile-chip > .cloud-chip-line { display: flex; }
.sidebar-legal-card { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); display: grid; gap: 6px; text-align: left; }
.sidebar-legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted-2); font-size: .82rem; }
.sidebar-legal-links a { color: var(--primary); text-decoration: none; font-weight: 850; }
.sidebar-legal-links a:hover { text-decoration: underline; }
.sidebar-legal-links .legal-separator { color: var(--muted-2); }
.sidebar-version { color: var(--muted-2); font-size: .78rem; font-weight: 750; letter-spacing: .01em; }
.cloud-chip-line { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.cloud-chip-line b { display: inline; color: var(--text); font-weight: 900; }
.cloud-pill { display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: 999px; padding: 1px 6px; font-size: .64rem; line-height: 1.12; font-weight: 800; letter-spacing: .005em; white-space: nowrap; }
.cloud-pill.enabled { background: rgba(112,229,156,.14); color: #a7f3c0; border: 1px solid rgba(112,229,156,.32); }
.cloud-pill.warning { background: rgba(255,202,105,.14); color: #ffe1a3; border: 1px solid rgba(255,202,105,.34); }
.cloud-pill.disabled { background: rgba(255,107,122,.14); color: #ffc0c7; border: 1px solid rgba(255,107,122,.34); }
.main { padding: 28px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.topbar p { margin: 8px 0 0; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.tile { border-radius: var(--radius); padding: 20px; }
.tile .label { color: var(--muted); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tile .value { display: block; margin-top: 12px; font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.055em; }
.tile .delta { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.panel { border-radius: var(--radius); padding: 20px; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.panel-head p { margin: 6px 0 0; }

.panel-subhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.panel-subhead h4 { margin: 0; letter-spacing: -.035em; font-size: 1rem; }
.panel-subhead p { margin: 5px 0 0; color: var(--muted); }
.panel-subhead .badge { background: rgba(105,183,255,.12); color: #b8dcff; border: 1px solid rgba(105,183,255,.24); }
.empty.compact { padding: 22px 14px; margin-bottom: 6px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.section { display: none; }
.section.active { display: block; }
.chart-box { min-height: 300px; display: grid; align-items: center; overflow: hidden; }
canvas { display: block; width: 100%; max-width: 100%; height: 260px; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.035); }
td { color: #dbe5f5; }
tr:hover td { background: rgba(255,255,255,.025); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; font-weight: 800; font-size: .74rem; letter-spacing: .02em; }
.badge.buy, .badge.airdrop, .badge.staking_reward, .badge.transfer_in { background: rgba(112,229,156,.12); color: #a7f3c0; }
.badge.sell, .badge.transfer_out { background: rgba(255,107,122,.12); color: #ffc0c7; }
.badge.transfer_internal { background: rgba(105,183,255,.12); color: #b8dcff; }

.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 12px; margin-bottom: 16px; }
.empty { text-align: center; padding: 44px 18px; color: var(--muted); }

.dialog { border: 0; color: var(--text); border-radius: 28px; padding: 0; max-width: 820px; width: min(92vw, 820px); }
.dialog::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(10px); }
.dialog-body { padding: 24px; }
.close-x { float: right; margin: -4px -4px 0 0; }

.import-box { border: 1px dashed rgba(148, 163, 184, .32); border-radius: 18px; padding: 18px; background: rgba(255,255,255,.035); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; color: #cfe8ff; background: rgba(0,0,0,.25); padding: 2px 5px; border-radius: 6px; }

@media (max-width: 1180px) {
  .auth-layout { grid-template-columns: 1fr; }
  .hero-card { min-height: auto; }
  .dashboard { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; }
  .sidebar nav { display: flex; }
  .profile-chip { margin-top: 0; min-width: 220px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .auth-layout, .main { padding: 16px; }
  .hero-card, .auth-card, .panel, .tile { border-radius: 20px; }
  .feature-grid, .kpi-grid, .filters, .form-row.inline { grid-template-columns: 1fr; }
  .topbar { display: grid; }
  .sidebar { padding: 14px; }
  h1 { font-size: 3rem; }
}

@media print {
  body { background: white; color: black; }
  .sidebar, .btn-row, .filters, dialog { display: none !important; }
  .dashboard { display: block; }
  .panel, .tile { box-shadow: none; border-color: #ddd; background: white; color: black; }
  .section { display: block !important; page-break-inside: avoid; }
  p, label, .smallprint, .delta { color: #444 !important; }
}

/* Product-ready compact sign-in */
.compact-auth {
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 440px);
  gap: 28px;
  padding: 32px;
}
.auth-intro {
  display: grid;
  gap: 28px;
  align-content: center;
  min-height: auto;
}
.auth-intro .brand { margin-bottom: 12px; }
.auth-intro h1 { font-size: clamp(2.35rem, 5.8vw, 5rem); max-width: 680px; }
.auth-intro .hero-copy p { max-width: 620px; }
.auth-card-compact { padding: 24px; border-radius: 28px; }
.auth-card-compact h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.profile-list { display: grid; gap: 8px; margin: 14px 0; }
.profile-list-item { display: flex; justify-content: space-between; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.035); }
.profile-list-item span { color: var(--muted); font-size: .82rem; }
.empty.compact { padding: 18px; }
.cloud-danger-panel { border-color: rgba(255,107,122,.28); background: rgba(255,107,122,.06); }

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 26px) 52%, calc(100% - 20px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

@media (max-width: 1180px) {
  .compact-auth { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .auth-intro { gap: 18px; }
}

@media (max-width: 720px) {
  .compact-auth { padding: 18px; }
  .auth-intro h1 { font-size: 2.4rem; }
  .profile-list-item { display: grid; }
}

/* Recovery phrase flow */
.recovery-panel {
  border: 1px solid rgba(105, 183, 255, .24);
  border-radius: 18px;
  background: rgba(105, 183, 255, .06);
  padding: 16px;
}
.mnemonic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.mnemonic-word {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 11, 22, .62);
  padding: 8px 10px;
  font-weight: 800;
}
.mnemonic-word small {
  color: var(--muted-2);
  min-width: 22px;
}

/* Keep the sign-in area compact on large screens. */
.compact-auth {
  min-height: 100vh;
  grid-template-columns: minmax(260px, .82fr) minmax(320px, 430px);
}
.auth-card-compact {
  max-height: calc(100vh - 64px);
  overflow: auto;
}
.auth-intro h1 { font-size: clamp(2rem, 4.8vw, 4.4rem); }
.auth-intro .hero-copy p { font-size: .98rem; }

@media (max-width: 720px) {
  .mnemonic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-card-compact { max-height: none; }
}

.recovery-dialog {
  max-width: 1040px;
  width: min(94vw, 1040px);
}
.recovery-dialog .dialog-body {
  max-height: min(88vh, 880px);
  overflow: auto;
}
.recovery-dialog .recovery-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.035);
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-weight: 760;
}
.check-row input {
  width: auto;
}
.snapshot-table table { min-width: 760px; }
@media (max-width: 720px) {
  .recovery-dialog {
    width: 96vw;
  }
  .recovery-dialog .dialog-body {
    padding: 16px;
  }
}

.advanced-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.03);
}
.advanced-box summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}
.advanced-box[open] summary { margin-bottom: 12px; }
.notice ul { margin: 8px 0 0 18px; padding: 0; }
.tax-warning-list { margin-top: 12px; }
#section-tax .kpi-grid, #section-sync .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) {
  #section-tax .kpi-grid, #section-sync .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
  #section-tax .kpi-grid, #section-sync .kpi-grid { grid-template-columns: 1fr !important; }
}
.mnemonic-plain {
  min-height: 74px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6;
  resize: vertical;
}

/* Extra spacing for the two-step recovery phrase flow. */
.recovery-dialog h2 + form { margin-top: 18px; }
.recovery-dialog .recovery-panel h3 { margin-bottom: 12px; }
.recovery-dialog .recovery-panel p { margin-top: 0; }
.recovery-dialog .mnemonic-grid { margin-bottom: 18px; }
.recovery-dialog .mnemonic-plain { margin-top: 8px; }
.recovery-dialog #copy-recovery-phrase { margin-top: 8px; }

/* Settings subsections need visual breathing room after their headings. */
.settings-section-spaced { margin-top: 20px; }
.subsection-title { margin-bottom: 18px; }
.profile-table, .snapshot-table { margin-top: 6px; }

/* Compact Cloud Connect + Sync surface */
.cloud-connect-panel { padding: 18px; }
.cloud-connect-panel .panel-head { margin-bottom: 14px; }
.cloud-connect-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
  gap: 16px;
  align-items: start;
}
.cloud-connect-add {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}
.cloud-connect-sync {
  min-width: 0;
}
.cloud-sync-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.cloud-sync-kpis .tile { padding: 14px; border-radius: 18px; }
.cloud-sync-kpis .tile .value { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.compact-notice { padding: 10px 12px; border-radius: 14px; }
.cloud-target-empty { margin-top: 14px; padding: 24px 14px; }
.cloud-target-table table { min-width: 980px; }
.cloud-target-actions { gap: 8px; flex-wrap: nowrap; }
.cloud-target-actions .btn.small { white-space: nowrap; }

@media (max-width: 1180px) {
  .cloud-connect-layout { grid-template-columns: 1fr; }
  .cloud-sync-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .cloud-connect-panel { padding: 16px; }
  .cloud-sync-kpis { grid-template-columns: 1fr; }
  .input-action-row { grid-template-columns: 1fr; }
  .cloud-target-actions { flex-wrap: wrap; }
}

.inline-select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 0 12px;
}
.topbar-actions { justify-content: flex-end; }
.topbar-actions .account-profile-select {
  width: clamp(140px, 14vw, 220px);
  min-width: 140px;
  max-width: 220px;
  flex: 0 1 220px;
}
.tx-table { min-width: 900px; }
.tx-actions-cell {
  width: 1%;
  min-width: 150px;
  white-space: nowrap;
}
.tx-action-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.tx-action-buttons .btn.small { white-space: nowrap; }
.profile-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.profile-manager-grid { display: grid; gap: 14px; }
.profile-create-form {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
}
@media (max-width: 720px) {
  .profile-create-form { grid-template-columns: 1fr; }
  .topbar-actions .account-profile-select {
    width: min(48vw, 220px);
    min-width: 132px;
  }
}

/* Targeted UI fixes: compact address actions, visible select arrow, robust table wrapping. */
.address-book-form .btn-row { justify-content: flex-start; }
.address-book-form .btn-row .btn { width: auto; flex: 0 0 auto; }
.inline-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-color: rgba(255,255,255,.06);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.tx-table { min-width: 1040px; }
.tx-table .tx-source-cell {
  width: 16%;
  max-width: 170px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.tx-table th:nth-child(7) { width: 16%; max-width: 170px; }
.cloud-target-table table { min-width: 1180px; }
.cloud-target-disabled { opacity: .72; }
.cloud-target-actions { align-items: center; }
.cloud-target-actions .btn.small { flex: 0 0 auto; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .86rem;
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-page {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.pagination-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pagination-size select {
  min-width: 86px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.notice .pagination {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 10px;
}

.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.section-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
