﻿/* Dashboard refine: menus, rail, page chrome, and overlay consistency. */

.side-profile {
  cursor: pointer;
  border-radius: 16px;
  margin: 0 -4px;
  padding: 8px 10px 16px;
}
.side-profile:hover,
.side-profile.is-open {
  background: rgba(255, 255, 255, 0.04);
}
.side-profile .pop-host {
  pointer-events: auto;
}

.account-pop {
  width: 248px;
  min-width: 248px;
  padding: 8px;
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .account-pop {
  background: #fff;
}
.pop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.pop-item .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--dash-muted, #9a9aa3);
}
.pop-item span {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.pop-item b {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.pop-item small {
  color: var(--dash-muted, #9a9aa3);
  font-size: 11px;
  font-weight: 500;
}
.pop-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
html[data-theme="light"] .pop-item:hover {
  background: rgba(15, 23, 42, 0.05);
}
.pop-sep {
  height: 1px;
  margin: 6px 8px;
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .pop-sep {
  background: rgba(15, 23, 42, 0.08);
}
.pop-item--danger {
  color: #fca5a5;
}
.pop-item--danger .ui-icon {
  color: #fca5a5;
}
.pop-item--danger:hover {
  background: rgba(239, 68, 68, 0.12);
}

.dash-nav .sec {
  margin: 20px 12px 4px;
  padding-left: 4px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--dash-muted) 72%, transparent);
  opacity: 0.72;
}
html[data-theme="light"] .dash-nav .sec {
  opacity: 0.85;
}
.dash-nav button {
  position: relative;
  gap: 10px;
}
.dash-nav button .nav-ico {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: none;
  opacity: 0.78;
}
.dash-nav button .nav-ico svg {
  width: 18px;
  height: 18px;
}
.dash-nav button.on {
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.12) 55%, rgba(255, 255, 255, 0.04)) !important;
  color: var(--dash-text);
  font-weight: 650;
  box-shadow: none !important;
}
.dash-nav button.on::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 99px;
  background: var(--dash-primary);
  box-shadow: 0 0 12px rgba(var(--dash-accent-rgb), 0.35);
}
.dash-nav button.on .nav-ico {
  opacity: 1;
  color: var(--dash-primary);
}
html[data-theme="light"] .dash-nav button.on {
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.08) 50%, rgba(15, 23, 42, 0.04)) !important;
}
.dash-nav .nav-hw {
  opacity: 0.78;
}
.dash-nav .nav-hw:hover {
  opacity: 1;
}

.dash[data-collapsed="true"] .dash-nav button {
  justify-content: center;
  padding-inline: 0;
}
.dash[data-collapsed="true"] .dash-nav button.on::before {
  left: 6px;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.page-hero-copy {
  min-width: 0;
  flex: 1 1 240px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.page-hero-title {
  margin: 0;
}
.page-hero-desc {
  margin: 8px 0 0;
}

.support-tabs,
.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.support-tabs button,
.date-chips button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--dash-line);
  border-radius: 999px;
  background: transparent;
  color: var(--dash-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.support-tabs button.on,
.date-chips button.on {
  color: var(--dash-text);
  background: color-mix(in srgb, var(--dash-text) 8%, transparent);
  border-color: color-mix(in srgb, var(--dash-text) 16%, var(--dash-line));
}

.settings-box-ico {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--dash-muted);
}
.settings-box-ico .ui-icon,
.settings-box-ico svg {
  width: 18px;
  height: 18px;
}
.settings-box-item.is-active .settings-box-ico {
  color: var(--dash-text);
}

.fab-menu {
  min-width: 188px;
  padding: 8px;
  border-radius: 16px;
  gap: 2px;
}
.fab-menu .fab-item,
.fab-menu .btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 650;
}
.fab-menu .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--dash-muted);
}

.chat-fab,
.fab-quick {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.chat-fab {
  font-size: 0;
}
.chat-fab::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><path d='M5 6h14v10H8l-3 3z'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><path d='M5 6h14v10H8l-3 3z'/></svg>") center / contain no-repeat;
}

.dash-announce:empty {
  display: none;
}
.announce-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 16px;
}
.announce-tag {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dash-muted);
}

.ui-card-hero {
  padding: 8px 8px 4px;
}
.ui-card-hero .page-hero {
  padding: 8px 12px 12px;
}

.insight-list {
  display: grid;
  gap: 2px;
}
.insight-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--dash-line);
}
.insight-row small {
  grid-column: 1 / -1;
  color: var(--dash-muted);
  font-size: 12px;
}

.notify-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 28px 16px;
  text-align: center;
  color: var(--dash-muted);
}
.notify-empty .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--dash-faint);
}

.dash-nav button.nav-transfer.is-active,
.dash-nav button.nav-transfer.on {
  font-weight: 700;
}

.page-case .page-hero-kicker,
.page-case-kicker,
.dash-kicker {
  font-size: 11px;
  text-transform: uppercase;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.quick-action {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--dash-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--dash-panel) 88%, transparent);
  color: inherit;
  cursor: pointer;
}
.quick-action b {
  font-size: 14px;
  letter-spacing: -0.03em;
}
.quick-action small {
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.35;
}
.quick-action:hover {
  border-color: color-mix(in srgb, var(--dash-text) 16%, var(--dash-line));
}

.dash-chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--dash-line);
  background: transparent;
  color: var(--dash-text);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.dash-chip--primary {
  background: var(--dash-primary);
  color: #fff;
  border-color: transparent;
}
.dash-chip--muted {
  color: var(--dash-muted);
  cursor: default;
}

.dash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .quick-actions {
    grid-template-columns: 1fr 1fr;
  }
}
.page-case {
  min-height: 0;
}
.page-case:has(.transfer-page-fill),
.stage.page-sheet:has(.transfer-page) {
  min-height: 0;
}

.dash[data-view="move"] .transfer-head-title,
.dash[data-view="move"] .transfer-head-kicker {
  display: none;
}

@media (max-width: 800px) {
  .account-pop {
    width: 100%;
    min-width: 0;
  }
  .page-hero {
    align-items: flex-start;
  }
  .page-hero-actions {
    width: 100%;
    margin-left: 0;
  }
  .glass-card:hover,
  .page-card:hover,
  .card-hover:hover {
    transform: none;
  }
  .notify-host {
    position: fixed;
    top: 58px;
    right: 10px;
    left: 10px;
    width: auto;
  }
  .chat-fab {
    bottom: calc(148px + env(safe-area-inset-bottom));
  }
  .fab-quick {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* Top bar â€” tighter vertical rhythm */
.dash-top {
  min-height: 56px;
  padding-block: 8px;
  gap: 12px;
}
.dash-title > div {
  display: grid;
  gap: 0;
  min-width: 0;
}
.dash-kicker {
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  opacity: 0.72;
}
.dash-top h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.15;
}
.breadcrumbs {
  margin: 0 0 1px;
  font-size: 11px;
  line-height: 1.2;
}
.breadcrumbs:empty {
  display: none;
}
.dash-announce:not(:empty) + .dash-top {
  border-top: 0;
}

/* Side promo â€” quieter, designed */
.side-promo {
  margin: 12px 8px 8px;
  padding: 14px 14px 12px;
  border-radius: var(--sc-radius-md, 14px);
  background: color-mix(in srgb, var(--dash-panel) 88%, rgba(var(--dash-accent-rgb), 0.04));
  border: 1px solid color-mix(in srgb, var(--dash-line) 90%, rgba(var(--dash-accent-rgb), 0.08));
  box-shadow: none;
}
.side-promo-badge {
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  margin-bottom: 8px;
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.1) 40%, transparent);
  color: var(--dash-muted);
}
.side-promo-mark {
  width: 28px;
  height: 28px;
  margin: 0 0 10px;
  border-radius: 8px;
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.14) 50%, transparent);
  opacity: 0.7;
}
.side-promo h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--dash-text);
}
.side-promo p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--dash-muted);
}
.side-promo .btn {
  min-height: 32px;
  font-size: 12px;
  font-weight: 650;
}
html[data-theme="light"] .side-promo {
  background: color-mix(in srgb, var(--dash-panel) 96%, rgba(var(--dash-accent-rgb), 0.03));
}

/* Control desk */
.control-desk {
  display: grid;
  gap: 16px;
}
.control-actions-shell {
  padding: 4px 0 8px;
}
.control-actions-shell .quick-actions {
  gap: 8px;
}
.control-actions-shell .quick-action {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: var(--sc-radius-md, 14px);
  background: color-mix(in srgb, var(--dash-panel) 92%, transparent);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.control-actions-shell .quick-action:hover {
  border-color: color-mix(in srgb, var(--dash-primary) 28%, var(--dash-line));
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.06) 40%, var(--dash-panel));
}
.control-actions-shell .quick-action b {
  font-size: 14px;
  font-weight: 650;
}
.control-actions-shell .quick-action small {
  font-size: 11px;
}

/* Holdings snapshot */
.holdings-snapshot {
  display: grid;
  gap: 0;
}
.snapshot-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid var(--dash-line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 140ms ease;
}
.snapshot-row:last-of-type {
  border-bottom: 0;
}
.snapshot-row:hover {
  background: color-mix(in srgb, var(--dash-text) 3.5%, transparent);
}
.snapshot-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.snapshot-asset img,
.snapshot-asset .coin-ico {
  width: 28px;
  height: 28px;
  flex: none;
}
.snapshot-asset b {
  display: block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.snapshot-asset small {
  display: block;
  font-size: 11px;
  color: var(--dash-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.snapshot-mid small {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.snapshot-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.snapshot-val b {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.snapshot-val small {
  display: block;
  font-size: 11px;
  color: var(--dash-muted);
}
.snapshot-foot {
  padding-top: 8px;
  border-top: 1px solid var(--dash-line);
  margin-top: 4px;
}

/* Page case â€” less nested card feel */
.page-case {
  gap: 12px;
  padding: clamp(12px, 1.6vw, 20px);
}
.page-case .ui-card {
  padding: 16px;
}
.page-case .ui-card > h3,
.page-case .ui-card .ui-card-head h3 {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.page-grid-2,
.page-grid-2-wide {
  gap: 12px;
}

/* Transfer pages â€” focused money desk */
.transfer-page--v2 {
  gap: 12px;
}
.transfer-insight-card,
html[data-theme="dark"] .transfer-insight-card,
html[data-surface="solid"] .transfer-insight-card,
html[data-surface="glass"] .transfer-insight-card,
.dash-body .transfer-insight-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.transfer-tabnav {
  gap: 4px;
  padding: 4px;
  border-radius: var(--sc-radius-md, 14px);
  background: color-mix(in srgb, var(--dash-panel) 90%, transparent);
  border: 1px solid var(--dash-line);
}
.transfer-tabnav-item {
  border-radius: var(--sc-radius-sm, 10px);
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}
.transfer-tabnav-item.is-active {
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.12) 50%, var(--dash-panel));
  color: var(--dash-text);
  box-shadow: inset 0 0 0 1px rgba(var(--dash-accent-rgb), 0.18);
}
.transfer-main--v2,
.transfer-side--v2 {
  border-radius: var(--sc-radius-md, 14px);
}
.transfer-head--v2 {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--dash-line);
}
.transfer-head-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dash-muted);
  margin: 0;
}

.transfer-receive-main--v2,
.transfer-receive-main--v2 > * {
  min-width: 0;
}

.net-row-list {
  min-width: 0;
}

.net-row-list .asset-row-head {
  display: none;
}

.net-row-list .asset-row-pro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
}

.net-row-list .ledger-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.net-row-list .ledger-asset .coin,
.net-row-list .ledger-asset img {
  flex: none;
  width: 28px;
  height: 28px;
}

.net-row-list .ledger-asset div {
  min-width: 0;
}

.net-row-list .ledger-asset b,
.net-row-list .ledger-asset small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.net-row-list .asset-row-mid,
.net-row-list .asset-row-meta {
  display: none;
}

.net-row-list .usd-primary {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

/* Cards product feel */
.cards-page-grid {
  gap: 16px;
}
.page-card.glass-card {
  padding: 18px;
  border-radius: var(--sc-radius-lg, 18px);
}
.plastic {
  border-radius: var(--sc-radius-md, 14px);
}

/* Settings calm grouping */
.settings-studio {
  gap: 12px;
}
.settings-box-item {
  border-radius: var(--sc-radius-sm, 10px);
  font-size: 13px;
}
.settings-tab-card {
  border-radius: var(--sc-radius-md, 14px);
}

/* Buttons & chips â€” unified scale */
.btn {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 13px;
  font-weight: 650;
  border-radius: var(--sc-radius-sm, 10px);
}
.btn-sm {
  min-height: 32px;
  padding-inline: 12px;
  font-size: 12px;
  border-radius: 8px;
}
.btn-primary {
  border-radius: var(--sc-radius-sm, 10px);
}

/* Mobile dock */
.dock {
  gap: 2px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--dash-line);
  background: color-mix(in srgb, var(--dash-panel) 94%, transparent);
  backdrop-filter: blur(16px);
}
.dock button {
  border-radius: 10px;
  font-size: 10px;
  gap: 3px;
  padding: 6px 4px;
}
.dock button.on {
  color: var(--dash-primary);
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.1) 45%, transparent);
}

@media (max-width: 760px) {
  .control-actions-shell .quick-actions {
    grid-template-columns: 1fr 1fr;
  }
  .snapshot-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .snapshot-mid {
    display: none;
  }
  .dash-top h1 {
    font-size: 1.05rem;
  }
}

/* Thin, arrowless scrollbars on every overflow surface */
html {
  --sc-scroll-thumb: color-mix(in srgb, var(--dash-text, #f4f4f5) 26%, transparent);
  --sc-scroll-hover: color-mix(in srgb, var(--dash-text, #f4f4f5) 42%, transparent);
}
html[data-theme="light"] {
  --sc-scroll-thumb: color-mix(in srgb, var(--dash-text, #0f172a) 22%, transparent);
  --sc-scroll-hover: color-mix(in srgb, var(--dash-text, #0f172a) 38%, transparent);
}

.dash-body,
.dash-body * {
  scrollbar-width: thin;
  scrollbar-color: var(--sc-scroll-thumb) transparent;
}

html:has(.dash-body)::-webkit-scrollbar,
.dash-body::-webkit-scrollbar,
.dash-body *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html:has(.dash-body)::-webkit-scrollbar-track,
.dash-body::-webkit-scrollbar-track,
.dash-body *::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}
html:has(.dash-body)::-webkit-scrollbar-thumb,
.dash-body::-webkit-scrollbar-thumb,
.dash-body *::-webkit-scrollbar-thumb {
  background-color: var(--sc-scroll-thumb);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
html:has(.dash-body)::-webkit-scrollbar-thumb:hover,
.dash-body::-webkit-scrollbar-thumb:hover,
.dash-body *::-webkit-scrollbar-thumb:hover {
  background-color: var(--sc-scroll-hover);
}
html:has(.dash-body)::-webkit-scrollbar-button,
.dash-body::-webkit-scrollbar-button,
.dash-body *::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
html:has(.dash-body)::-webkit-scrollbar-corner,
.dash-body::-webkit-scrollbar-corner,
.dash-body *::-webkit-scrollbar-corner {
  background: transparent;
}

html:has(.dash-body) {
  scrollbar-width: thin;
  scrollbar-color: var(--sc-scroll-thumb) transparent;
}

.asset-pick-list,
.net-row-list,
.command-list,
.modal,
.chat-log,
.wallet-main-card {
  scrollbar-gutter: stable;
}

/* Rails that already hide overflow stay hidden */
.dash-side,
.dash-nav,
.notify-list,
.hw-steps {
  scrollbar-width: none !important;
}
.dash-side::-webkit-scrollbar,
.dash-nav::-webkit-scrollbar,
.notify-list::-webkit-scrollbar,
.hw-steps::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* â•â•â• Desk v3 â€” flush canvas, aligned grids, premium surfaces â•â•â• */

.dash-view {
  padding: 0;
  background: var(--sc-canvas, var(--dash-bg));
}

.dash-view,
.stage.page-sheet,
.page-canvas {
  background: var(--sc-canvas, var(--dash-bg));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html[data-surface="solid"] .stage.page-sheet,
html[data-surface="solid"] .page-canvas,
html[data-surface="glass"] .stage.page-sheet,
html[data-surface="glass"] .page-canvas,
html[data-surface="flat"] .stage.page-sheet,
html[data-surface="flat"] .page-canvas {
  background: var(--sc-canvas, var(--dash-bg));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.page-case,
.page-case.layout-comfortable {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background: transparent;
  padding: 16px 20px 28px;
  gap: 16px;
  min-height: 0;
}

.transfer-page-fill {
  background: transparent;
}

.page-case.home-case,
.page-case.home-case.bento-home {
  border: 0;
  background: transparent;
  padding: 16px 20px 28px;
}

.page-case > .ui-card-hero,
.page-case > .ui-card-hero.glass-card,
.page-case > .ui-card-intro {
  padding: 0;
  margin: 0 0 18px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}

.page-case > .ui-card-hero:hover,
.page-case > .ui-card-hero.glass-card:hover {
  border-color: transparent;
  background: transparent !important;
}

.page-case > .ui-card-hero .page-hero {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 0;
  min-height: 0;
  border-bottom: 0;
}

.page-case > .ui-card-hero .page-hero-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.page-case > .ui-card-hero .page-hero-desc {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 62ch;
}

.page-case > .ui-card-hero .page-hero-actions {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.page-export-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-export-links button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  height: auto;
  min-height: 0;
  color: var(--dash-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.page-export-links button:hover {
  color: var(--dash-text);
  background: none;
}

/* Overview â€” 12-col alignment: hero metrics line up with board panels */
.home-desk .dash-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.home-desk .dash-hero-copy {
  grid-column: span 7;
  padding: 20px;
  background: color-mix(in srgb, var(--dash-panel) 96%, transparent);
  border: 1px solid var(--dash-line);
  border-radius: var(--sc-radius-lg, 18px);
  box-shadow: none;
}

.home-desk .dash-hero-panel {
  grid-column: span 5;
  padding: 12px;
  align-self: stretch;
}

.home-desk .dash-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
}

.home-desk .dash-metric {
  min-height: 0;
  padding: 12px 14px;
}

.home-desk .dash-hero-headline {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--dash-text);
}

.home-desk .dash-hero-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dash-muted);
  max-width: 52ch;
}

.home-desk .dash-hero-copy h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.home-desk .dash-board-grid {
  gap: 12px;
  align-items: stretch;
}

.home-desk .dash-panel {
  height: 100%;
  align-content: start;
  padding: 16px;
  border-radius: var(--sc-radius-md, 14px);
  background: color-mix(in srgb, var(--dash-panel) 96%, transparent);
  border: 1px solid var(--dash-line);
  box-shadow: none;
}

.home-desk .dash-panel-head h3 {
  font-size: 15px;
  font-weight: 650;
}

.home-desk .dash-panel .app-muted {
  font-size: 12px;
  margin: 0;
}

.home-desk .dash-metric {
  box-shadow: none;
}

/* Wallet desk â€” stretch columns, full-width balances */
.wallet-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.wallet-desk-main,
.wallet-desk-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.wallet-desk-main > .ui-card,
.wallet-desk-side > .ui-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.wallet-desk-side .dash-connect-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-desk-side .wallet-menu {
  flex: 1;
}

.wallet-balances-full {
  width: 100%;
}

.wallet-balances-full > .ui-card {
  width: 100%;
}

/* Market â€” scannable catalog */
.market-desk {
  display: grid;
  gap: 12px;
  width: 100%;
}

.market-toolbar {
  width: 100%;
  max-width: 420px;
}

.market-toolbar input {
  width: 100%;
}

.market-desk .transfer-insight-grid {
  margin-bottom: 0;
}

.chart-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chart-pick .dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-pick .dash-chip img,
.chart-pick .dash-chip .coin,
.chart-pick .dash-chip .ui-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.charts-tile {
  display: grid;
  gap: 8px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  min-height: 148px;
}

.charts-tile .asset-spark-chart {
  width: 100%;
}

.movers-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.movers-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

@media (max-width: 900px) {
  .movers-split {
    grid-template-columns: 1fr;
  }
}

.market-desk .ui-card:has(.assets-table) {
  padding: 0;
  overflow: hidden;
}

.market-desk .ui-card:has(.assets-table) > h3,
.market-desk .ui-card:has(.assets-table) .ui-card-head {
  padding: 16px 16px 0;
  margin: 0;
}

.market-desk .ui-card:has(.assets-table) .assets-table {
  padding: 8px 8px 12px;
}

.assets-table .ledger-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px 12px;
  margin: 0 0 4px;
  border-radius: var(--sc-radius-sm, 10px);
  background: color-mix(in srgb, var(--dash-panel) 98%, rgba(var(--dash-accent-rgb), 0.04));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dash-muted);
}

.assets-table .assets-row {
  border-radius: var(--sc-radius-sm, 10px);
  transition: background-color 140ms ease;
}

.assets-table .assets-row:nth-child(even) {
  background: color-mix(in srgb, var(--dash-text) 2.5%, transparent);
}

.assets-table .assets-row:nth-child(-n + 3) .ledger-asset b {
  font-size: 14px;
}

.assets-table .assets-row:nth-child(-n + 3) .usd-primary {
  font-weight: 700;
  color: var(--dash-text);
}

.assets-table .asset-row-chart {
  opacity: 0.85;
}

/* Settings â€” one desk shell */
.page-case .settings-studio {
  border: 1px solid var(--dash-line);
  border-radius: var(--sc-radius-lg, 18px);
  background: color-mix(in srgb, var(--dash-panel) 96%, transparent);
  padding: 12px;
  gap: 0;
  grid-template-columns: minmax(196px, 220px) minmax(0, 1fr);
  align-items: stretch;
}

.page-case .settings-box-nav,
.page-case .settings-box-nav-col {
  padding: 8px 12px 8px 4px;
  border-right: 1px solid var(--dash-line);
  margin-right: 0;
  max-height: none;
}

.page-case .settings-box-item {
  border: 0;
  border-radius: var(--sc-radius-sm, 10px);
  background: transparent;
  min-height: 44px;
  padding: 8px 10px;
  box-shadow: none;
}

.page-case .settings-box-item.is-active {
  background: color-mix(in srgb, rgba(var(--dash-accent-rgb), 0.1) 50%, transparent);
  box-shadow: inset 3px 0 0 var(--dash-primary);
}

.page-case .settings-studio-main,
.page-case .settings-pane {
  min-width: 0;
  padding: 4px 12px 8px 16px;
}

.page-case .settings-tab-card,
.page-case .settings-page-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.page-case .settings-control-banner {
  margin-bottom: 12px;
  border-radius: var(--sc-radius-md, 14px);
}

/* Transfers â€” form + recent share a row; size to content, not the viewport */
@media (min-width: 960px) {
  .transfer-layout.has-side,
  .transfer-page--send .transfer-layout.has-side,
  .transfer-page--receive .transfer-layout.has-side,
  .transfer-page--swap .transfer-layout.has-side,
  .transfer-page--withdraw .transfer-layout.has-side {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 340px);
    align-items: start;
    gap: 12px;
    min-height: 0;
  }

  .transfer-main--v2,
  .transfer-side--v2,
  .transfer-page--send .transfer-main--v2,
  .transfer-page--send .transfer-side--v2 {
    display: flex;
    flex-direction: column;
    flex: none;
    min-height: 0;
    height: auto;
  }

  .transfer-page--send .transfer-section,
  .transfer-page--send .transfer-section-body,
  .transfer-page--send .send-panel {
    flex: none;
    height: auto;
  }
}

/* Cards â€” plastic grid + clean empty state */
.cards-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  width: 100%;
}

.cards-empty-state {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 48px 24px;
  text-align: center;
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--dash-line) 70%, var(--dash-primary));
  border-radius: var(--sc-radius-lg, 18px);
  background: color-mix(in srgb, var(--dash-panel) 94%, rgba(var(--dash-accent-rgb), 0.03));
}

.cards-empty-state h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cards-empty-state p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 34ch;
}

.cards-empty-state .btn {
  margin-top: 8px;
}

.page-card.glass-card .plastic {
  aspect-ratio: 1.586 / 1;
  min-height: 168px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--sc-radius-md, 14px);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--dash-primary) 72%, #14141c),
    color-mix(in srgb, var(--dash-primary) 28%, #0a0a0f)
  );
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.page-card.glass-card .pan {
  font-size: 15px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

/* Menus â€” unified radius and spacing */
.account-pop,
.notify-pop,
.command-palette,
.fab-menu,
.chat-box {
  border-radius: var(--sc-radius-md, 14px);
  border: 1px solid var(--dash-line);
}

.command-palette {
  border-radius: var(--sc-radius-lg, 18px);
  overflow: hidden;
}

.command-item,
.notify-item,
.fab-menu .fab-item {
  border-radius: var(--sc-radius-sm, 10px);
}

.tool-btn,
.dash-search {
  border-radius: var(--sc-radius-sm, 10px);
}

.dash-search input {
  font-size: 13px;
}

/* Lonely half-width panels â€” pair or go full width */
.page-case > .ui-card:only-of-type {
  width: 100%;
}

.page-grid-2-wide,
.page-grid-2,
.page-grid-2-equal {
  align-items: stretch;
}

.page-grid-2-wide > .ui-card,
.page-grid-2 > .ui-card {
  height: 100%;
}

.page-grid-2-wide > .ui-card:only-child,
.page-grid-2 > .ui-card:only-child {
  grid-column: 1 / -1;
}

/* Motion â€” respect reduced */
html[data-motion="reduced"] .home-desk .dash-panel,
html[data-motion="reduced"] .page-card.glass-card,
html[data-motion="reduced"] .transfer-main--v2 {
  transition: none;
}

@media (max-width: 1080px) {
  .home-desk .dash-hero-copy,
  .home-desk .dash-hero-panel {
    grid-column: 1 / -1;
  }

  .wallet-desk {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-case,
  .page-case.home-case {
    padding: 12px 12px calc(88px + env(safe-area-inset-bottom));
  }

  .home-desk .dash-panel--main,
  .home-desk .dash-panel--side,
  .home-desk .dash-panel--wide {
    grid-column: 1 / -1;
  }

  .page-case .settings-studio {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .page-case .settings-box-nav,
  .page-case .settings-box-nav-col {
    border-right: 0;
    border-bottom: 1px solid var(--dash-line);
    padding: 0 0 12px;
    margin-bottom: 12px;
  }

  .market-toolbar {
    max-width: none;
  }

  .cards-page-grid {
    grid-template-columns: 1fr;
  }

  .chat-fab {
    bottom: calc(148px + env(safe-area-inset-bottom));
  }

  .fab-quick {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .fab-menu {
    bottom: calc(148px + env(safe-area-inset-bottom));
  }
}

/* Control desk â€” full-width action rail */
.control-desk {
  gap: 12px;
}

.control-desk .page-grid-2-wide {
  align-items: stretch;
}

.control-desk .page-grid-2-wide > .ui-card {
  height: 100%;
}

/* Support â€” tabbed desk */
.page-case .support-tabs {
  margin-bottom: 4px;
}

.page-case .support-tabs + .ui-card,
.page-case .support-tabs ~ .page-grid-2 {
  margin-top: 0;
}

/* Hardware modal â€” accent-aware chrome */
.hw-modal {
  border-radius: var(--sc-radius-lg, 18px);
  border: 1px solid var(--dash-line);
  box-shadow: var(--sc-shadow-overlay, 0 24px 70px rgba(0, 0, 0, 0.46));
}

.hw-modal .hw-progress-fill,
.hw-modal .hw-carousel-nav button.on {
  background: var(--dash-primary);
}

.hw-modal .btn-primary {
  background: var(--dash-primary);
  border-color: var(--dash-primary);
}

/* Support pane â€” stacked full-width desk */
.support-pane {
  display: grid;
  gap: 12px;
  width: 100%;
}

.support-pane > .ui-card {
  width: 100%;
}

/* Device detection â€” phone / tablet / desktop; wins over width-only media queries (incl. landscape phones) */
html[data-device="phone"],
html[data-device="tablet"] {
  overflow-x: clip;
}

html[data-device="phone"] .dash-body,
html[data-device="tablet"] .dash-body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

/* â€”â€” Phone â€”â€” */
html[data-device="phone"] .dash {
  grid-template-columns: 1fr !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

html[data-device="phone"] .dash-main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html[data-device="phone"] .dash-side {
  display: none !important;
}

html[data-device="phone"] .dash-side.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  z-index: 26;
  top: 0;
  left: 0;
  width: min(86vw, 300px);
  height: var(--vvh, 100dvh);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

html[data-device="phone"] .side-scrim.open {
  display: block !important;
}

html[data-device="phone"] .dock {
  display: grid !important;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
}

html[data-device="phone"] #menuBtn {
  display: inline-flex !important;
}

html[data-device="phone"] .dash-view,
html[data-device="phone"] #view {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  padding: 0 0 calc(108px + env(safe-area-inset-bottom)) !important;
}

html[data-device="phone"] .dash-top {
  padding-left: max(8px, env(safe-area-inset-left));
  padding-right: max(8px, env(safe-area-inset-right));
  gap: 8px;
}

html[data-device="phone"] .dash-title {
  min-width: 0;
  flex: 1 1 auto;
}

html[data-device="phone"] .dash-tools {
  min-width: 0;
  flex-shrink: 1;
}

html[data-device="phone"] .dash-search,
html[data-device="phone"] .tool-select,
html[data-device="phone"] .live-label {
  display: none !important;
}

html[data-device="phone"] .btn-deposit {
  padding: 8px 12px;
}

html[data-device="phone"] .page-case,
html[data-device="phone"] .page-case.home-case,
html[data-device="phone"] .stage.page-sheet,
html[data-device="phone"] .page-canvas {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  padding: 12px max(12px, env(safe-area-inset-right)) 16px max(12px, env(safe-area-inset-left));
}

html[data-device="phone"] .page-case .settings-studio {
  grid-template-columns: 1fr;
}

html[data-device="phone"] .page-case .settings-box-nav,
html[data-device="phone"] .page-case .settings-box-nav-col {
  border-right: 0;
  border-bottom: 1px solid var(--dash-line);
  padding: 0 0 12px;
  margin-bottom: 12px;
}

html[data-device="phone"] .page-grid-2,
html[data-device="phone"] .page-grid-2-wide,
html[data-device="phone"] .page-grid-2-equal,
html[data-device="phone"] .wallet-desk,
html[data-device="phone"] .cards-page-grid,
html[data-device="phone"] .grid-2,
html[data-device="phone"] .card-grid,
html[data-device="phone"] .row-2,
html[data-device="phone"] .receive-layout,
html[data-device="phone"] .flow-grid {
  grid-template-columns: 1fr;
}

html[data-device="phone"] .home-desk .dash-hero,
html[data-device="phone"] .home-desk .dash-board-grid,
html[data-device="phone"] .home-desk .dash-hero-copy,
html[data-device="phone"] .home-desk .dash-hero-panel,
html[data-device="phone"] .home-desk .dash-rail {
  grid-template-columns: 1fr;
}

html[data-device="phone"] .home-desk .dash-hero-copy,
html[data-device="phone"] .home-desk .dash-hero-panel {
  grid-column: 1 / -1;
}

html[data-device="phone"] .home-desk .dash-panel--main,
html[data-device="phone"] .home-desk .dash-panel--side,
html[data-device="phone"] .home-desk .dash-panel--wide {
  grid-column: 1 / -1;
}

html[data-device="phone"] .home-top,
html[data-device="phone"] .home-main-grid {
  grid-template-columns: 1fr;
}

html[data-device="phone"] .float-stack {
  top: 72px;
  right: max(12px, env(safe-area-inset-right));
  left: max(12px, env(safe-area-inset-left));
  width: auto;
}

html[data-device="phone"] .chat-fab {
  bottom: calc(148px + env(safe-area-inset-bottom)) !important;
}

html[data-device="phone"] .chat-box,
html[data-device="phone"] .fab-menu {
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(148px + env(safe-area-inset-bottom)) !important;
  width: auto;
}

html[data-device="phone"] .fab-quick {
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
}

html[data-device="phone"] .dash-body button,
html[data-device="phone"] .dash-body .btn {
  min-height: 40px;
}

/* â€”â€” Tablet â€”â€” */
html[data-device="tablet"] .dash {
  grid-template-columns: 84px 1fr !important;
}

html[data-device="tablet"] .dash-side {
  display: flex !important;
  padding-inline: 8px;
}

html[data-device="tablet"] .side-profile {
  justify-content: center;
  padding-inline: 4px;
}

html[data-device="tablet"] .dash-brand {
  justify-content: center;
  padding-inline: 0;
}

html[data-device="tablet"] .dash-brand span.label,
html[data-device="tablet"] .dash-nav .sec,
html[data-device="tablet"] .dash-nav button .nav-label,
html[data-device="tablet"] .side-profile-copy,
html[data-device="tablet"] .side-promo,
html[data-device="tablet"] .rail-toggle {
  display: none !important;
}

html[data-device="tablet"] .dash-nav button {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

html[data-device="tablet"] .dock {
  display: none !important;
}

html[data-device="tablet"] #menuBtn {
  display: none !important;
}

html[data-device="tablet"] .dash-view,
html[data-device="tablet"] #view {
  padding: 0 0 28px !important;
}

html[data-device="tablet"] .page-case,
html[data-device="tablet"] .page-case.home-case {
  padding: 16px 20px 28px !important;
}

html[data-device="tablet"] .chat-fab {
  bottom: 20px !important;
}

html[data-device="tablet"] .fab-quick {
  bottom: 20px !important;
}

html[data-device="tablet"] .chat-box {
  bottom: 82px !important;
}

html[data-device="tablet"] .dash-search {
  min-width: 0;
  width: min(220px, 32vw);
}

/* â€”â€” Desktop â€”â€” */
html[data-device="desktop"] .dash {
  grid-template-columns: 240px 1fr !important;
}

html[data-device="desktop"] .dash[data-collapsed="true"] {
  grid-template-columns: 72px 1fr !important;
}

html[data-device="desktop"] .dock {
  display: none !important;
}

html[data-device="desktop"] #menuBtn {
  display: none !important;
}

html[data-device="desktop"] .dash-side {
  display: flex !important;
  margin: 0;
  border-radius: 0;
  padding: 10px 8px 12px;
}

html[data-device="desktop"] .dash[data-collapsed="true"] .dash-side {
  padding: 10px 6px 12px;
}

html[data-device="desktop"] .dash[data-collapsed="true"] .dash-nav {
  flex: 0 1 auto;
}

html[data-device="desktop"] .dash[data-collapsed="true"] .rail-toggle {
  margin: 8px auto 0;
}

html[data-device="desktop"] .side-scrim {
  display: none !important;
}

html[data-device="desktop"] .dash-view,
html[data-device="desktop"] #view {
  padding: 0 0 40px !important;
}

html[data-device="desktop"] .page-case,
html[data-device="desktop"] .page-case.home-case {
  padding: 16px 20px 28px !important;
}

html[data-device="desktop"] .chat-fab {
  bottom: 20px !important;
}

html[data-device="desktop"] .chat-box {
  bottom: 82px !important;
}

html[data-device="desktop"] .fab-quick {
  bottom: 20px !important;
}

html[data-device="tablet"] .dash[data-account-menu-open="true"] {
  grid-template-columns: 240px 1fr !important;
}
.dash[data-account-menu-open="true"] {
  transition: none !important;
}

/* Sleek: drop filled grey bubbles, keep a single smooth canvas */
.dash-body .ui-card,
.dash-body .ui-card.glass-card,
.dash-body .bento-card,
.dash-body .settings-tab-card,
.dash-body .wallet-asset-card,
.dash-body .home-stat-card,
.dash-body .home-balance-card,
.dash-body .kpi,
.dash-body .panel,
.dash-body .form-card,
.dash-body .page-callout,
.dash-body .transfer-main,
.dash-body .transfer-side,
.dash-body .page-section,
.dash-body .stage.page-sheet,
.dash-body .page-canvas,
.dash-body .transfer-insight-card,
html[data-theme="dark"] .dash-body .transfer-insight-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.dash-body .ui-card:hover,
.dash-body .glass-card:hover,
.dash-body .bento-card:hover,
.dash-body .settings-tab-card:hover,
.dash-body .wallet-asset-card:hover,
.dash-body .transfer-insight-card:hover {
  background: transparent !important;
  border-color: transparent !important;
  transform: none !important;
}

.dash-body .page-case .ui-card + .ui-card,
.dash-body .page-case .bento-card + .bento-card {
  border-top: 1px solid color-mix(in srgb, var(--dash-text) 8%, transparent) !important;
  padding-top: 20px;
}

.dash-body .btn-ghost,
.dash-body .btn.btn-ghost,
.dash-body .btn-ghost.btn-sm,
html[data-theme="dark"] .dash-body .btn-ghost,
html[data-theme="light"] .dash-body .btn-ghost {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto;
  min-height: 0;
  padding: 6px 0;
  color: var(--dash-muted);
}

.dash-body .btn-ghost:hover,
.dash-body .btn-ghost:focus-visible {
  background: transparent !important;
  color: var(--dash-text);
}

.dash-body .date-chips,
.dash-body .support-tabs {
  gap: 18px;
  background: none;
}

.dash-body .date-chips button,
.dash-body .support-tabs button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 0;
  padding: 6px 0;
  color: var(--dash-muted);
  box-shadow: none !important;
}

.dash-body .date-chips button.on,
.dash-body .support-tabs button.on {
  background: transparent !important;
  color: var(--dash-text);
  box-shadow: inset 0 -1px 0 currentColor !important;
}

.dash-body .page-tabs {
  gap: 20px;
  background: none;
}

.dash-body .page-tabs button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 8px 0;
  box-shadow: none !important;
}

.dash-body .page-tabs button.on {
  background: transparent !important;
  box-shadow: inset 0 -1px 0 currentColor !important;
}

.dash-body .tool-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.dash-body .tool-btn:hover {
  background: transparent;
  transform: none;
}

.dash-body .transfer-tabnav {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 18px;
}

.dash-body .transfer-tabnav-item {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 8px 0;
  min-height: 0;
  box-shadow: none !important;
}

.dash-body .transfer-tabnav-item.is-active {
  background: transparent !important;
  box-shadow: inset 0 -1px 0 currentColor !important;
}

.dash-body .transfer-insight-grid {
  gap: 0 28px;
  margin-bottom: 8px;
}

.dash-body .transfer-insight-card {
  min-height: 0;
  padding: 8px 0;
}

.dash-body .transfer-insight-ico {
  background: transparent;
  border-radius: 0;
}

.dash-body .rail-toggle {
  background: transparent;
  border: 0;
}

.dash-body input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
.dash-body select,
.dash-body textarea {
  background: transparent;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--dash-text) 14%, transparent);
  padding-left: 0;
  padding-right: 8px;
}

.dash-body input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):focus,
.dash-body select:focus,
.dash-body textarea:focus {
  border-bottom-color: var(--dash-text);
}

.dash-body .page-card {
  background: var(--dash-panel);
  border-radius: 18px;
}

.connect-wrap {
  position: relative;
  flex: none;
}
.dash-body .btn-connect-top {
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.dash .side-profile .pop-host {
  position: absolute;
  box-sizing: border-box;
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 18px);
  z-index: 90;
  width: min(220px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.dash .side-profile { position: relative; }
.dash .side-profile .pop {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.dash[data-collapsed="true"] .side-profile .pop-host {
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 18px);
}
