/* ============================================================
   BRILL VAULT PREMIUM UI V4
   Presentation layer only
   ============================================================ */

:root {
  --bv-bg: #07101b;
  --bv-bg-deep: #050b13;

  --bv-sidebar: rgba(5, 11, 20, .965);
  --bv-surface: rgba(12, 21, 35, .78);
  --bv-surface-strong: rgba(13, 23, 39, .94);
  --bv-surface-soft: rgba(255, 255, 255, .035);

  --bv-line: rgba(147, 177, 220, .14);
  --bv-line-strong: rgba(88, 150, 255, .27);

  --bv-text: #f4f7fc;
  --bv-text-soft: #bac7da;
  --bv-muted: #718198;

  --bv-blue: #438eff;
  --bv-blue-bright: #66a5ff;
  --bv-blue-soft: rgba(67, 142, 255, .16);

  --bv-green: #56dfaf;
  --bv-gold: #d8b65b;

  --bv-shadow:
    0 24px 70px rgba(0, 0, 0, .26);

  --bv-radius-lg: 24px;
  --bv-radius-md: 18px;
  --bv-radius-sm: 13px;
}

/* ============================================================
   GLOBAL APP
   ============================================================ */

#appShell,
#appShell * {
  box-sizing: border-box;
}

#appShell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% -10%, rgba(40, 104, 202, .12), transparent 34%),
    radial-gradient(circle at 42% 42%, rgba(36, 88, 160, .055), transparent 42%),
    linear-gradient(145deg, #08111d 0%, #07101a 48%, #050c15 100%);
  color: var(--bv-text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: -.012em;
}

#appShell .app-main {
  min-width: 0;
  padding: 0 34px 54px;
}

#appShell .app-view {
  animation: bvViewIn .24s ease both;
}

@keyframes bvViewIn {
  from {
    opacity: .35;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SIDEBAR
   ============================================================ */

#appShell .app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  overflow-y: auto;

  padding: 30px 16px 18px;

  background:
    linear-gradient(180deg, rgba(8, 16, 28, .98), rgba(5, 11, 20, .985));

  border-right: 1px solid rgba(133, 165, 214, .11);

  box-shadow:
    18px 0 50px rgba(0, 0, 0, .12);

  scrollbar-width: thin;
}

#appShell .app-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 10% 4%, rgba(58, 134, 255, .09), transparent 27%);
}

/* Brand */

#appShell .app-sidebar .brand {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 13px;

  padding: 2px 7px 28px;
}

#appShell .brand-mark {
  width: 42px;
  height: 42px;

  border-radius: 13px;

  display: grid;
  place-items: center;

  background:
    linear-gradient(145deg, rgba(38, 87, 154, .36), rgba(10, 19, 33, .75));

  border: 1px solid rgba(83, 151, 255, .38);

  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, .018),
    0 10px 28px rgba(0, 0, 0, .27);
}

#appShell .brand-mark b {
  color: #f7faff;
  font-size: 19px;
  font-weight: 800;
}

#appShell .brand-copy strong {
  display: block;

  color: #f5f8fe;
  font-size: 13px;
  font-weight: 800;

  letter-spacing: .16em;
}

#appShell .brand-copy small {
  display: block;
  margin-top: 5px;

  color: #6f7e92;
  font-size: 9px;
  font-weight: 600;

  letter-spacing: .18em;
}

/* Navigation */

#appShell .app-nav {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

#appShell .app-nav-item {
  position: relative;

  width: 100%;
  min-height: 48px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 0 14px;

  border: 1px solid transparent;
  border-radius: 13px;

  background: transparent;

  color: #8190a6;
  font-size: 13px;
  font-weight: 650;

  cursor: pointer;

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

#appShell .app-nav-item > span:first-child {
  flex: 0 0 24px;

  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  color: #71a6f5;
  font-size: 14px;
  font-weight: 500;

  border-radius: 8px;

  transition:
    color .18s ease,
    background .18s ease;
}

#appShell .app-nav-item:hover {
  color: #dce6f5;

  background: rgba(255, 255, 255, .035);
  border-color: rgba(132, 164, 211, .08);

  transform: translateX(2px);
}

#appShell .app-nav-item.active {
  color: #fff;

  background:
    linear-gradient(
      90deg,
      rgba(49, 125, 245, .17),
      rgba(28, 60, 105, .13)
    );

  border-color: rgba(68, 142, 255, .42);

  box-shadow:
    inset 3px 0 0 #438eff,
    0 12px 32px rgba(0, 0, 0, .10);
}

#appShell .app-nav-item.active > span:first-child {
  color: #82b4ff;
  background: rgba(67, 142, 255, .09);
}

/* Admin */

#appShell #adminNavItem {
  margin-top: 8px;

  background:
    linear-gradient(
      90deg,
      rgba(185, 138, 47, .07),
      rgba(255, 255, 255, .012)
    );

  border-color: rgba(205, 164, 78, .13);
}

#appShell #adminNavItem:hover {
  border-color: rgba(217, 179, 90, .30);
}

#appShell .bv-admin-nav-role {
  margin-left: auto;

  padding: 4px 7px;

  color: #d8b65b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;

  border: 1px solid rgba(216, 182, 91, .25);
  border-radius: 6px;

  background: rgba(216, 182, 91, .08);
}

/* Sidebar secure session */

#appShell .sidebar-security {
  position: relative;
  z-index: 1;

  margin-top: 18px;
  padding: 14px;

  border-radius: 13px;

  background:
    linear-gradient(145deg, rgba(18, 31, 49, .76), rgba(10, 18, 30, .78));

  border: 1px solid rgba(121, 158, 207, .11);
}

#appShell .sidebar-security strong {
  color: #dce5f2;
  font-size: 11px;
}

#appShell .sidebar-security small {
  color: #718095;
  font-size: 9px;
}

#appShell .sidebar-security .live-dot {
  box-shadow: 0 0 14px rgba(86, 223, 175, .65);
}

/* ============================================================
   TOP BAR
   ============================================================ */

#appShell .app-topbar {
  min-height: 142px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  padding: 26px 0 23px;

  border-bottom: 1px solid rgba(137, 165, 207, .095);
}

#appShell .app-topbar .eyebrow {
  margin: 0 0 11px;

  color: #5c99ff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .20em;
}

#appShell #appTitle {
  margin: 0;

  color: #f7f9fd;

  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1;
  font-weight: 750;

  letter-spacing: -.045em;
}

#appShell .account-chip {
  min-width: 169px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 8px 10px;

  border: 1px solid rgba(122, 155, 202, .13);
  border-radius: 15px;

  background:
    linear-gradient(145deg, rgba(14, 25, 41, .83), rgba(8, 16, 27, .78));

  box-shadow:
    0 12px 28px rgba(0, 0, 0, .10);

  transition:
    border-color .18s ease,
    background .18s ease;
}

#appShell .account-chip:hover {
  border-color: rgba(74, 145, 255, .28);
  background: rgba(16, 28, 46, .90);
}

#appShell .account-chip .avatar {
  width: 40px;
  height: 40px;

  border-radius: 11px;

  display: grid;
  place-items: center;

  color: white;
  font-size: 13px;
  font-weight: 800;

  background:
    linear-gradient(145deg, #3f8df8, #2263c7);

  box-shadow:
    0 9px 24px rgba(34, 99, 199, .22);
}

#appShell .account-chip strong {
  display: block;

  color: #eef3fb;
  font-size: 11px;
  font-weight: 700;
}

#appShell .account-chip small {
  display: block;
  margin-top: 4px;

  color: #68778b;
  font-size: 8px;
}

/* ============================================================
   VIEW SPACING
   ============================================================ */

#appShell .app-view {
  padding-top: 30px;
}

#appShell .app-view > * + * {
  margin-top: 18px;
}

/* ============================================================
   GENERAL PANELS
   ============================================================ */

#appShell .panel {
  position: relative;

  border: 1px solid var(--bv-line);
  border-radius: var(--bv-radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(13, 23, 38, .84),
      rgba(9, 17, 29, .76)
    );

  box-shadow:
    0 18px 55px rgba(0, 0, 0, .11);

  overflow: hidden;

  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#appShell .panel:hover {
  border-color: rgba(108, 151, 213, .21);
  background:
    linear-gradient(
      145deg,
      rgba(15, 26, 43, .91),
      rgba(10, 19, 32, .83)
    );
}

#appShell .panel::before {
  content: "";

  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(138, 177, 230, .16),
      transparent
    );
}

#appShell .eyebrow {
  color: #6f9bd8;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;

  text-transform: uppercase;
}

/* ============================================================
   OVERVIEW GRID
   ============================================================ */

#appShell .balance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, .72fr);
  gap: 18px;
  align-items: stretch;
}

/* ============================================================
   BALANCE HERO
   ============================================================ */

#appShell .real-balance-card {
  position: relative;

  min-height: 345px;

  padding: 34px;

  border-radius: 24px;

  overflow: hidden;

  color: #f8fbff;

  background:
    radial-gradient(circle at 18% 40%, rgba(82, 150, 255, .19), transparent 36%),
    radial-gradient(circle at 78% 20%, rgba(49, 108, 205, .15), transparent 33%),
    linear-gradient(135deg, #163667 0%, #102b54 42%, #0b1f3b 100%);

  border: 1px solid rgba(80, 147, 247, .28);

  box-shadow:
    0 25px 65px rgba(2, 8, 19, .24),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

#appShell .real-balance-card::before {
  content: "";

  position: absolute;
  width: 430px;
  height: 430px;

  left: -190px;
  top: -120px;

  border-radius: 50%;

  border: 1px solid rgba(135, 182, 255, .12);

  box-shadow:
    0 0 0 65px rgba(96, 151, 239, .035),
    0 0 0 130px rgba(96, 151, 239, .022);

  pointer-events: none;
}

#appShell .real-balance-card::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, .035),
      transparent 22%,
      transparent 70%,
      rgba(255, 255, 255, .018)
    );
}

/* Balance label */

#appShell .balance-label {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 100%;

  color: #b9cae3;
  font-size: 11px;
  font-weight: 550;
}

#appShell .balance-label .status {
  padding: 5px 9px;

  color: var(--bv-green);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;

  border: 1px solid rgba(86, 223, 175, .23);
  border-radius: 999px;

  background: rgba(86, 223, 175, .07);
}

/* Balance amount */

#appShell .balance-number {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 50px;
}

#appShell #balanceValue {
  color: #ffffff;

  font-size: clamp(50px, 5vw, 74px);
  line-height: .94;
  font-weight: 520;

  letter-spacing: -.065em;

  text-shadow:
    0 8px 35px rgba(0, 0, 0, .14);
}

#appShell #balanceCurrency {
  color: #9db8df;

  font-size: 18px;
  font-weight: 700;

  letter-spacing: -.02em;
}

#appShell .real-balance-card > small {
  position: relative;
  z-index: 2;

  display: block;

  margin-top: 16px;

  color: #9cb0ce;
  font-size: 11px;
  font-weight: 450;
}

/* Balance buttons */

#appShell .balance-buttons {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 31px;
}

#appShell .balance-buttons .btn {
  min-width: 112px;
  min-height: 44px;

  padding: 0 20px;

  border-radius: 11px;

  font-size: 11px;
  font-weight: 750;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#appShell .balance-buttons .btn:hover {
  transform: translateY(-1px);
}

#appShell .balance-buttons .btn-light {
  color: #fff;

  border: 1px solid rgba(115, 177, 255, .58);

  background:
    linear-gradient(145deg, #4c98ff, #327be4);

  box-shadow:
    0 13px 30px rgba(40, 112, 216, .22);
}

#appShell .balance-buttons .btn-outline-light {
  color: #e2eaf5;

  border: 1px solid rgba(175, 202, 238, .13);

  background: rgba(5, 13, 25, .60);
}

/* ============================================================
   BANK / VAULT CARD
   ============================================================ */

#appShell .vault-card {
  position: relative;

  border-radius: 20px !important;

  background:
    radial-gradient(circle at 17% 8%, rgba(226, 193, 100, .10), transparent 32%),
    linear-gradient(135deg, #211f1a 0%, #171714 47%, #10110f 100%) !important;

  border:
    1px solid rgba(202, 168, 82, .38) !important;

  box-shadow:
    0 26px 62px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .06) !important;

  overflow: hidden;
}

#appShell .vault-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, .025) 32%,
      transparent 47%,
      rgba(255, 255, 255, .015) 68%,
      transparent 100%
    );

  pointer-events: none;
}

#appShell .vault-card::after {
  content: "";

  position: absolute;

  width: 210px;
  height: 210px;

  right: -70px;
  top: -70px;

  border-radius: 50%;

  border: 1px solid rgba(224, 193, 108, .10);

  box-shadow:
    0 0 0 50px rgba(224, 193, 108, .018),
    0 0 0 100px rgba(224, 193, 108, .012);

  pointer-events: none;
}

#appShell .vault-card-top,
#appShell .vault-card-bottom {
  position: relative;
  z-index: 2;
}

#appShell .vault-symbol {
  color: #dfbd60;
}

/* ============================================================
   ACCOUNT SUMMARY
   ============================================================ */

#appShell .account-summary {
  min-height: 345px;

  padding: 27px 27px 24px;
}

#appShell .account-summary .eyebrow {
  margin: 0 0 22px;
}

#appShell .account-summary h3 {
  margin: 0 0 27px;

  color: #f4f7fc;

  font-size: 25px;
  line-height: 1;
  font-weight: 700;

  letter-spacing: -.04em;
}

#appShell .account-summary dl {
  margin: 0;

  display: flex;
  flex-direction: column;
}

#appShell .account-summary dl > div {
  min-height: 69px;

  display: grid;
  grid-template-columns: minmax(90px, .6fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 14px;

  border-top: 1px solid rgba(139, 170, 214, .10);
}

#appShell .account-summary dt {
  color: #6d7c91;

  font-size: 10px;
  font-weight: 500;
}

#appShell .account-summary dd {
  margin: 0;

  color: #e5ebf5;

  font-size: 10px;
  font-weight: 650;

  text-align: right;

  overflow-wrap: anywhere;
}

#appShell .account-summary dd.positive {
  justify-self: end;

  width: fit-content;

  padding: 6px 9px;

  color: var(--bv-green);

  border-radius: 999px;

  border: 1px solid rgba(86, 223, 175, .18);

  background: rgba(86, 223, 175, .055);
}

/* ============================================================
   LEDGER
   ============================================================ */

#appShell #view-overview > .panel {
  padding: 27px;
}

#appShell .panel-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 18px;
}

#appShell .panel-title .eyebrow {
  margin: 0 0 10px;
}

#appShell .panel-title h2 {
  margin: 0;

  color: #f2f5fa;

  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;

  letter-spacing: -.035em;
}

#appShell .text-button {
  color: #6ca5f8;

  border: 0;
  background: none;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;

  transition:
    color .18s ease,
    transform .18s ease;
}

#appShell .text-button:hover {
  color: #98c2ff;
  transform: translateX(2px);
}

#appShell .transaction-list {
  display: flex;
  flex-direction: column;
}

#appShell .transaction {
  min-height: 72px;

  display: grid;
  align-items: center;

  padding: 12px 4px;

  border-top: 1px solid rgba(140, 169, 211, .075);

  transition:
    background .18s ease,
    padding .18s ease;
}

#appShell .transaction:hover {
  padding-left: 9px;
  padding-right: 9px;

  background: rgba(255, 255, 255, .018);
}

#appShell .transaction:first-child {
  border-top-color: transparent;
}

#appShell .transaction .tx-icon {
  border-radius: 11px !important;
}

#appShell .transaction.credit .tx-icon {
  color: var(--bv-green);

  background: rgba(86, 223, 175, .08);

  border: 1px solid rgba(86, 223, 175, .10);
}

#appShell .transaction.credit .tx-amount strong {
  color: #65e1b5;
}

/* ============================================================
   BUTTONS
   ============================================================ */

#appShell .btn {
  border-radius: 11px;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#appShell .btn:hover {
  transform: translateY(-1px);
}

#appShell .btn:active {
  transform: translateY(0);
}

#appShell .btn-primary {
  color: #fff;

  background:
    linear-gradient(145deg, #438eff, #276dcc);

  border-color: rgba(107, 169, 255, .32);

  box-shadow:
    0 12px 28px rgba(31, 101, 203, .18);
}

#appShell .btn-primary:hover {
  background:
    linear-gradient(145deg, #5199ff, #2f75d6);

  box-shadow:
    0 15px 34px rgba(31, 101, 203, .24);
}

/* ============================================================
   FORMS
   ============================================================ */

#appShell .two-col {
  gap: 18px;
}

#appShell .two-col > .panel {
  padding: 28px;
}

#appShell .panel > .eyebrow:first-child {
  margin-top: 0;
}

#appShell .panel h2 {
  color: #f3f6fb;

  font-size: 21px;
  font-weight: 700;

  letter-spacing: -.035em;
}

#appShell .form {
  gap: 16px;
}

#appShell .form label {
  color: #9cabc0;

  font-size: 10px;
  font-weight: 600;
}

#appShell input,
#appShell textarea,
#appShell select {
  min-height: 48px;

  margin-top: 7px;
  padding: 0 14px;

  color: #edf3fb;

  outline: none;

  border: 1px solid rgba(128, 157, 200, .13);
  border-radius: 11px;

  background: rgba(4, 11, 20, .56);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .018);

  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#appShell input::placeholder,
#appShell textarea::placeholder {
  color: #526176;
}

#appShell input:hover,
#appShell textarea:hover,
#appShell select:hover {
  border-color: rgba(102, 153, 225, .21);
}

#appShell input:focus,
#appShell textarea:focus,
#appShell select:focus {
  border-color: rgba(70, 145, 255, .58);

  background: rgba(6, 14, 25, .78);

  box-shadow:
    0 0 0 3px rgba(67, 142, 255, .08);
}

#appShell .recipient-preview,
#appShell .quote-box,
#appShell .notice {
  border-radius: 11px;

  border-color: rgba(129, 160, 204, .11);

  background: rgba(255, 255, 255, .022);
}

/* ============================================================
   PROFILE
   ============================================================ */

#appShell .profile-list {
  margin-top: 22px;
}

#appShell .profile-list > div {
  min-height: 61px;

  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;

  border-top: 1px solid rgba(134, 165, 209, .08);
}

#appShell .profile-list dt {
  color: #6e7d91;
  font-size: 10px;
}

#appShell .profile-list dd {
  margin: 0;

  color: #e5ebf5;
  font-size: 11px;
  font-weight: 600;

  text-align: right;

  overflow-wrap: anywhere;
}

/* ============================================================
   ASSETS
   ============================================================ */

#appShell .bv-assets-page {
  color: var(--bv-text);
}

#appShell .bv-assets-hero,
#appShell .bv-assets-section,
#appShell .bv-assets-stat {
  border-color: var(--bv-line) !important;

  background:
    linear-gradient(
      145deg,
      rgba(13, 23, 38, .84),
      rgba(9, 17, 29, .76)
    ) !important;

  box-shadow:
    0 18px 55px rgba(0, 0, 0, .10) !important;
}

#appShell .bv-assets-hero {
  border-radius: var(--bv-radius-lg) !important;
}

#appShell .bv-assets-section,
#appShell .bv-assets-stat {
  border-radius: var(--bv-radius-md) !important;
}

#appShell .bv-assets-kicker {
  color: #679df1 !important;
  letter-spacing: .16em !important;
}

#appShell .bv-assets-refresh {
  border-radius: 11px !important;
}

/* ============================================================
   BILLS
   ============================================================ */

#appShell .bv-bills-page {
  color: var(--bv-text);
}

#appShell .bv-bills-hero,
#appShell .bv-bills-panel,
#appShell .bv-bills-summary-card {
  border-color: var(--bv-line) !important;

  background:
    linear-gradient(
      145deg,
      rgba(13, 23, 38, .84),
      rgba(9, 17, 29, .76)
    ) !important;

  box-shadow:
    0 18px 55px rgba(0, 0, 0, .10) !important;
}

#appShell .bv-bills-hero {
  border-radius: var(--bv-radius-lg) !important;
}

#appShell .bv-bills-panel,
#appShell .bv-bills-summary-card {
  border-radius: var(--bv-radius-md) !important;
}

#appShell .bv-bills-summary-card strong {
  letter-spacing: -.05em;
}

#appShell .bv-bills-readonly,
#appShell .bv-bills-sync {
  border-radius: 11px !important;
}

/* ============================================================
   SECURITY
   ============================================================ */

#appShell .bv-sec-page {
  color: var(--bv-text);
}

#appShell .bv-sec-panel,
#appShell .bv-sec-stat,
#appShell .bv-sec-security-note {
  border-color: var(--bv-line) !important;

  background:
    linear-gradient(
      145deg,
      rgba(13, 23, 38, .84),
      rgba(9, 17, 29, .76)
    ) !important;

  box-shadow:
    0 18px 55px rgba(0, 0, 0, .10) !important;

  border-radius: var(--bv-radius-md) !important;
}

#appShell .bv-sec-actions button,
#appShell #bvSecRefresh,
#appShell #bvSecRevokeOthers {
  border-radius: 11px !important;
}

/* ============================================================
   ADMIN CENTER
   ============================================================ */

#appShell #brillAdminRoot {
  color: var(--bv-text);
}

#appShell #brillAdminRoot > *,
#appShell #brillAdminRoot article,
#appShell #brillAdminRoot section {
  border-color: rgba(139, 170, 213, .12);
}

#appShell .bv-admin-loading {
  padding: 30px;

  border: 1px solid var(--bv-line);
  border-radius: var(--bv-radius-md);

  background: var(--bv-surface);
}

/* ============================================================
   EMPTY / MESSAGES
   ============================================================ */

#appShell .empty {
  padding: 30px 12px;

  color: #637289;

  text-align: center;
  font-size: 11px;
}

#appShell .form-message {
  color: #8fa0b6;
  font-size: 10px;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

#appShell ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#appShell ::-webkit-scrollbar-track {
  background: transparent;
}

#appShell ::-webkit-scrollbar-thumb {
  background: rgba(129, 159, 204, .16);

  border: 2px solid transparent;
  border-radius: 999px;

  background-clip: padding-box;
}

#appShell ::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 159, 204, .25);
  background-clip: padding-box;
}

/* ============================================================
   RESPONSIVE - LAPTOP
   ============================================================ */

@media (max-width: 1250px) {
  #appShell .app-main {
    padding-left: 26px;
    padding-right: 26px;
  }

  #appShell .balance-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(275px, .75fr);
  }

  #appShell #balanceValue {
    font-size: clamp(48px, 5.2vw, 67px);
  }
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (max-width: 1040px) {
  #appShell .balance-grid {
    grid-template-columns: 1fr;
  }

  #appShell .account-summary {
    min-height: auto;
  }

  #appShell .account-summary dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  #appShell .account-summary dl > div {
    min-height: 80px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 12px;

    border: 1px solid rgba(139, 170, 214, .08);
    border-radius: 11px;

    background: rgba(255, 255, 255, .018);
  }

  #appShell .account-summary dd {
    margin-top: 8px;
    text-align: left;
  }

  #appShell .account-summary dd.positive {
    justify-self: auto;
  }
}

/* ============================================================
   RESPONSIVE - MOBILE NAV
   ============================================================ */

@media (max-width: 820px) {
  #appShell {
    display: block !important;
  }

  #appShell .app-sidebar {
    position: sticky;
    top: 0;

    z-index: 100;

    width: 100%;
    height: auto;
    min-height: 0;

    padding: 12px 13px;

    border-right: 0;
    border-bottom: 1px solid rgba(132, 163, 207, .11);

    box-shadow:
      0 14px 35px rgba(0, 0, 0, .17);
  }

  #appShell .app-sidebar .brand {
    padding: 0 3px 11px;
  }

  #appShell .brand-mark {
    width: 35px;
    height: 35px;

    border-radius: 10px;
  }

  #appShell .app-nav {
    flex-direction: row;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 5px;

    padding-bottom: 3px;

    scrollbar-width: none;
  }

  #appShell .app-nav::-webkit-scrollbar {
    display: none;
  }

  #appShell .app-nav-item {
    flex: 0 0 auto;

    width: auto;
    min-height: 39px;

    padding: 0 11px;

    font-size: 10px;

    white-space: nowrap;
  }

  #appShell .app-nav-item > span:first-child {
    width: 18px;
    height: 18px;
  }

  #appShell #adminNavItem {
    margin-top: 0;
  }

  #appShell .sidebar-security {
    display: none;
  }

  #appShell .app-main {
    padding: 0 17px 38px;
  }

  #appShell .app-topbar {
    min-height: 104px;

    padding: 18px 0;

    gap: 14px;
  }

  #appShell .account-chip {
    min-width: 0;
  }

  #appShell .account-chip small {
    display: none;
  }

  #appShell .app-view {
    padding-top: 19px;
  }

  #appShell .real-balance-card {
    min-height: 300px;

    padding: 25px;
  }

  #appShell .balance-number {
    margin-top: 38px;
  }

  #appShell #balanceValue {
    font-size: clamp(44px, 11vw, 65px);
  }

  #appShell .two-col {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE
   ============================================================ */

@media (max-width: 560px) {
  #appShell .brand-copy small {
    display: none;
  }

  #appShell #appTitle {
    font-size: 24px;
  }

  #appShell .app-topbar .eyebrow {
    margin-bottom: 7px;
  }

  #appShell .account-chip {
    padding: 6px;
  }

  #appShell .account-chip > div {
    display: none;
  }

  #appShell .real-balance-card {
    min-height: 280px;

    padding: 21px;

    border-radius: 19px;
  }

  #appShell .balance-number {
    margin-top: 34px;
  }

  #appShell #balanceValue {
    font-size: clamp(38px, 12vw, 55px);
  }

  #appShell #balanceCurrency {
    font-size: 14px;
  }

  #appShell .balance-buttons {
    margin-top: 25px;
  }

  #appShell .balance-buttons .btn {
    flex: 1;

    min-width: 0;

    padding: 0 12px;
  }

  #appShell .account-summary {
    padding: 22px;
  }

  #appShell .account-summary dl {
    grid-template-columns: 1fr;
  }

  #appShell #view-overview > .panel,
  #appShell .two-col > .panel {
    padding: 21px;
  }

  #appShell .panel-title {
    align-items: flex-start;
  }

  #appShell .profile-list > div {
    grid-template-columns: 1fr;

    padding: 12px 0;
  }

  #appShell .profile-list dd {
    margin-top: 6px;
    text-align: left;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  #appShell *,
  #appShell *::before,
  #appShell *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* BRILL VAULT PREMIUM UI V4 END */

/* BRILL VAULT RADICAL UI V5 START */

/* ============================================================
   NEW APPLICATION COMPOSITION
   ============================================================ */

#appShell {
  grid-template-columns: 238px minmax(0, 1fr) !important;
  background:
    radial-gradient(circle at 70% -10%, rgba(38, 104, 219, .10), transparent 30%),
    radial-gradient(circle at 25% 85%, rgba(22, 78, 153, .05), transparent 35%),
    #070d16 !important;
}

/* ============================================================
   COMPACT SIDEBAR
   ============================================================ */

#appShell .app-sidebar {
  width: 238px !important;
  padding: 25px 13px 16px !important;

  background:
    linear-gradient(
      180deg,
      rgba(6, 12, 21, .99),
      rgba(5, 10, 17, .99)
    ) !important;

  border-right:
    1px solid rgba(111, 146, 194, .10) !important;
}

#appShell .app-sidebar .brand {
  padding: 0 8px 30px !important;
}

#appShell .brand-mark {
  width: 39px !important;
  height: 39px !important;
  border-radius: 11px !important;
}

#appShell .brand-copy strong {
  font-size: 12px !important;
}

#appShell .brand-copy small {
  font-size: 8px !important;
}

#appShell .app-nav {
  gap: 4px !important;
}

#appShell .app-nav-item {
  min-height: 45px !important;

  padding: 0 12px !important;

  border-radius: 11px !important;

  font-size: 12px !important;
}

#appShell .app-nav-item.active {
  background:
    linear-gradient(
      90deg,
      rgba(50, 124, 238, .20),
      rgba(23, 53, 94, .08)
    ) !important;

  border-color:
    rgba(68, 142, 255, .32) !important;

  box-shadow:
    inset 3px 0 0 #438eff !important;
}

#appShell .sidebar-security {
  padding: 12px !important;
  border-radius: 11px !important;
}

/* ============================================================
   MAIN AREA
   ============================================================ */

#appShell .app-main {
  padding:
    0 clamp(24px, 3vw, 48px)
    54px !important;
}

#appShell .app-topbar {
  min-height: 116px !important;
  padding: 23px 0 20px !important;
}

#appShell #appTitle {
  font-size: 30px !important;
}

#appShell .account-chip {
  border-radius: 13px !important;

  background:
    rgba(10, 18, 30, .68) !important;

  backdrop-filter: blur(18px);
}

/* ============================================================
   NEW OVERVIEW LAYOUT
   ============================================================ */

#appShell .balance-grid {
  grid-template-columns:
    minmax(0, 1fr)
    330px !important;

  gap: 20px !important;
}

/* ============================================================
   BALANCE MODULE - COMPLETELY NEW
   ============================================================ */

#appShell .real-balance-card {
  position: relative !important;

  min-height: 330px !important;

  padding:
    35px
    min(32vw, 500px)
    34px
    36px !important;

  border-radius: 21px !important;

  overflow: hidden !important;

  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(50, 121, 238, .13),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #101a29 0%,
      #0b1421 50%,
      #09111c 100%
    ) !important;

  border:
    1px solid rgba(109, 150, 209, .18) !important;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255, 255, 255, .025) !important;
}

/* remove the old huge blue circle */
#appShell .real-balance-card::before {
  content: "" !important;

  position: absolute !important;

  left: 0 !important;
  top: 35px !important;
  bottom: 35px !important;

  width: 3px !important;
  height: auto !important;

  border: 0 !important;
  border-radius: 0 6px 6px 0 !important;

  background:
    linear-gradient(
      180deg,
      transparent,
      #438eff,
      transparent
    ) !important;

  box-shadow:
    12px 0 45px rgba(67, 142, 255, .20) !important;
}

#appShell .real-balance-card::after {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;

  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, .018),
      transparent 28%,
      transparent 72%,
      rgba(255, 255, 255, .01)
    ) !important;

  pointer-events: none !important;
}

#appShell .balance-label {
  max-width: 280px !important;

  color: #8292a9 !important;

  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: .10em !important;
}

#appShell .balance-number {
  margin-top: 55px !important;

  gap: 9px !important;
}

#appShell #balanceValue {
  font-size:
    clamp(48px, 4.25vw, 67px) !important;

  line-height: .92 !important;

  font-weight: 500 !important;

  letter-spacing: -.065em !important;
}

#appShell #balanceCurrency {
  font-size: 16px !important;
  color: #7395c8 !important;
}

#appShell .real-balance-card > small {
  margin-top: 17px !important;

  color: #65758c !important;

  font-size: 10px !important;
}

#appShell .balance-buttons {
  margin-top: 28px !important;
}

/* ============================================================
   CARD - NOW A SEPARATE PREMIUM OBJECT
   ============================================================ */

#appShell .real-balance-card .vault-card {
  position: absolute !important;

  top: 50% !important;
  right: 29px !important;

  transform:
    translateY(-50%)
    perspective(900px)
    rotateY(-2deg) !important;

  width: min(29vw, 410px) !important;
  max-width: 410px !important;

  height: 235px !important;
  min-height: 235px !important;

  margin: 0 !important;

  padding: 25px !important;

  border-radius: 19px !important;

  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(222, 184, 82, .15),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #25231e 0%,
      #171714 46%,
      #10110f 100%
    ) !important;

  border:
    1px solid rgba(213, 174, 72, .42) !important;

  box-shadow:
    0 30px 60px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 0 50px rgba(213, 174, 72, .025) !important;
}

#appShell .real-balance-card .vault-card:hover {
  transform:
    translateY(-50%)
    perspective(900px)
    rotateY(0deg)
    translateY(-3px) !important;
}

#appShell .vault-card::before {
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, .045) 33%,
      transparent 44%,
      rgba(255, 255, 255, .012) 66%,
      transparent 100%
    ) !important;
}

/* ============================================================
   ACCOUNT PANEL - NEW STYLE
   ============================================================ */

#appShell .account-summary {
  min-height: 330px !important;

  padding: 25px !important;

  border-radius: 21px !important;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(57, 126, 224, .07),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      rgba(14, 23, 36, .94),
      rgba(8, 15, 25, .92)
    ) !important;

  border:
    1px solid rgba(117, 149, 193, .15) !important;
}

#appShell .account-summary h3 {
  font-size: 27px !important;

  margin-bottom: 25px !important;
}

#appShell .account-summary dl > div {
  min-height: 63px !important;

  border-top:
    1px solid rgba(120, 151, 194, .08) !important;
}

#appShell .account-summary dt {
  font-size: 9px !important;

  text-transform: uppercase !important;
  letter-spacing: .07em !important;
}

#appShell .account-summary dd {
  font-size: 10px !important;
}

/* ============================================================
   LEDGER - TRANSACTIONS BECOME CARDS
   ============================================================ */

#appShell #view-overview > .panel {
  margin-top: 20px !important;

  padding: 25px !important;

  border-radius: 21px !important;

  background:
    linear-gradient(
      145deg,
      rgba(12, 21, 34, .84),
      rgba(7, 14, 24, .82)
    ) !important;
}

#appShell .panel-title {
  margin-bottom: 14px !important;
}

#appShell .panel-title h2 {
  font-size: 20px !important;
}

#appShell .transaction-list {
  gap: 8px !important;
}

#appShell .transaction {
  min-height: 68px !important;

  margin: 0 !important;

  padding: 10px 13px !important;

  border:
    1px solid rgba(120, 151, 194, .08) !important;

  border-radius: 13px !important;

  background:
    rgba(255, 255, 255, .018) !important;
}

#appShell .transaction:hover {
  padding:
    10px 13px !important;

  transform:
    translateY(-1px) !important;

  border-color:
    rgba(77, 146, 247, .18) !important;

  background:
    rgba(53, 105, 179, .035) !important;
}

/* ============================================================
   OTHER PAGES
   ============================================================ */

#appShell .two-col {
  gap: 20px !important;
}

#appShell .two-col > .panel {
  border-radius: 20px !important;

  background:
    linear-gradient(
      145deg,
      rgba(13, 22, 36, .91),
      rgba(8, 15, 25, .87)
    ) !important;
}

#appShell input,
#appShell textarea,
#appShell select {
  border-radius: 10px !important;

  background:
    rgba(3, 9, 17, .66) !important;
}

#appShell .btn {
  border-radius: 10px !important;
}

/* ============================================================
   ASSETS / BILLS / SECURITY
   ============================================================ */

#appShell .bv-assets-hero,
#appShell .bv-bills-hero,
#appShell .bv-sec-header {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(55, 125, 225, .075),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      rgba(14, 23, 37, .94),
      rgba(8, 15, 25, .91)
    ) !important;
}

#appShell .bv-assets-stat,
#appShell .bv-assets-section,
#appShell .bv-bills-panel,
#appShell .bv-bills-summary-card,
#appShell .bv-sec-panel,
#appShell .bv-sec-stat {
  background:
    linear-gradient(
      145deg,
      rgba(12, 21, 34, .88),
      rgba(7, 14, 23, .86)
    ) !important;

  border:
    1px solid rgba(119, 151, 194, .11) !important;

  border-radius: 17px !important;
}

/* ============================================================
   LAPTOP
   ============================================================ */

@media (max-width: 1350px) {

  #appShell {
    grid-template-columns:
      220px minmax(0, 1fr) !important;
  }

  #appShell .app-sidebar {
    width: 220px !important;
  }

  #appShell .real-balance-card {
    padding-right: 400px !important;
  }

  #appShell .real-balance-card .vault-card {
    width: 345px !important;
  }
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

  #appShell .balance-grid {
    grid-template-columns: 1fr !important;
  }

  #appShell .real-balance-card {
    padding:
      30px !important;
  }

  #appShell .real-balance-card .vault-card {
    position: relative !important;

    top: auto !important;
    right: auto !important;

    transform: none !important;

    width: 100% !important;
    max-width: 430px !important;

    margin:
      32px 0 0 auto !important;
  }

  #appShell .real-balance-card .vault-card:hover {
    transform:
      translateY(-2px) !important;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 820px) {

  #appShell {
    display: block !important;
  }

  #appShell .app-sidebar {
    width: 100% !important;
  }

  #appShell .real-balance-card {
    min-height: auto !important;
  }

  #appShell .account-summary {
    min-height: auto !important;
  }
}

/* BRILL VAULT RADICAL UI V5 END */


/* ============================================================
   BRILL VAULT V6
   REAL DASHBOARD REBUILD
   ============================================================ */


/* APP */

#appShell {
  grid-template-columns:
    228px minmax(0, 1fr) !important;

  background:
    radial-gradient(
      circle at 72% 0%,
      rgba(39, 103, 197, .09),
      transparent 30%
    ),
    #070d15 !important;
}


/* MAIN */

#appShell .app-main {
  padding:
    0 clamp(30px, 3.2vw, 58px)
    60px !important;
}


/* TOPBAR */

#appShell .app-topbar {
  min-height: 122px !important;
}


/* DASHBOARD */

#appShell .bv6-dashboard {
  display: grid;

  grid-template-columns:
    minmax(0, 1.85fr)
    minmax(290px, .72fr);

  gap: 18px;
}


/* ============================================================
   IMPORTANT:
   OLD BALANCE CONTAINER BECOMES LAYOUT ONLY
   ============================================================ */

#appShell .real-balance-card {
  display: grid !important;

  grid-template-columns:
    minmax(360px, .95fr)
    minmax(390px, 1.05fr);

  gap: 18px !important;

  min-height: 0 !important;

  padding: 0 !important;
  margin: 0 !important;

  overflow: visible !important;

  background: none !important;

  border: 0 !important;

  border-radius: 0 !important;

  box-shadow: none !important;
}

#appShell .real-balance-card::before,
#appShell .real-balance-card::after {
  display: none !important;
}


/* ============================================================
   BALANCE CARD
   ============================================================ */

#appShell .bv6-balance-panel {
  position: relative;

  min-height: 318px;

  display: flex;
  flex-direction: column;

  padding: 29px 30px 24px;

  overflow: hidden;

  border:
    1px solid rgba(112, 150, 204, .17);

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(62, 132, 234, .12),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #101a29,
      #0b1420 58%,
      #08111c
    );

  box-shadow:
    0 24px 70px rgba(0,0,0,.22),
    inset 0 1px rgba(255,255,255,.025);
}


#appShell .bv6-balance-panel::before {
  content: "";

  position: absolute;

  left: 0;
  top: 32px;
  bottom: 32px;

  width: 3px;

  border-radius:
    0 6px 6px 0;

  background:
    linear-gradient(
      180deg,
      transparent,
      #428bff 30%,
      #428bff 70%,
      transparent
    );

  box-shadow:
    10px 0 32px rgba(66,139,255,.21);
}


#appShell .bv6-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;
}


#appShell .bv6-kicker {
  margin: 0;

  color: #7b8aa0;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: .17em;
}


#appShell .bv6-subtitle {
  display: block;

  margin-top: 7px;

  color: #53647a;

  font-size: 10px;
}


#appShell .bv6-panel-top .status {
  padding: 5px 9px;

  border:
    1px solid rgba(71,220,170,.20);

  border-radius: 99px;

  color: #58dfae;

  background:
    rgba(71,220,170,.055);

  font-size: 8px;

  letter-spacing: .12em;
}


/* BALANCE NUMBER */

#appShell .bv6-balance-panel .balance-number {
  margin-top: 51px !important;
}


#appShell .bv6-balance-panel #balanceValue {
  font-size:
    clamp(47px, 4vw, 66px) !important;

  font-weight: 500 !important;

  letter-spacing:
    -.065em !important;
}


#appShell .bv6-balance-panel #balanceCurrency {
  font-size: 15px !important;

  color: #7596c9 !important;
}


#appShell .bv6-sync {
  margin:
    15px 0 0;

  color: #63738a;

  font-size: 10px;
}


/* BUTTONS */

#appShell .bv6-balance-panel .balance-buttons {
  margin-top: 24px !important;
}


#appShell .bv6-balance-panel .balance-buttons .btn {
  height: 43px !important;

  min-width: 118px !important;
}


/* FOOTER */

#appShell .bv6-balance-footer {
  margin-top: auto;

  padding-top: 22px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #4f6076;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .09em;
}


#appShell .bv6-balance-footer span:first-child {
  display: flex;
  align-items: center;

  gap: 7px;
}


#appShell .bv6-balance-footer i {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #54ddad;

  box-shadow:
    0 0 10px rgba(84,221,173,.55);
}


/* ============================================================
   DYNAMIC BRILL VAULT CARD
   Now becomes its OWN separate card
   ============================================================ */

#appShell .real-balance-card > .vault-card {
  position: relative !important;

  inset: auto !important;

  transform: none !important;

  width: 100% !important;
  max-width: none !important;

  height: auto !important;
  min-height: 318px !important;

  margin: 0 !important;

  padding: 28px !important;

  border-radius: 22px !important;

  background:
    radial-gradient(
      circle at 11% 5%,
      rgba(211,172,67,.14),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #24221c 0%,
      #171713 46%,
      #0e0f0d 100%
    ) !important;

  border:
    1px solid rgba(210,170,67,.34) !important;

  box-shadow:
    0 26px 70px rgba(0,0,0,.32),
    inset 0 1px rgba(255,255,255,.06) !important;
}


#appShell .real-balance-card > .vault-card:hover {
  transform:
    translateY(-3px) !important;

  border-color:
    rgba(221,183,78,.46) !important;
}


/* ============================================================
   ACCOUNT
   ============================================================ */

#appShell .account-summary {
  min-height: 318px !important;

  padding: 27px !important;

  display: flex;
  flex-direction: column;

  border-radius: 22px !important;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(50,120,225,.075),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #0e1826,
      #09121e
    ) !important;

  border:
    1px solid rgba(112,149,199,.15) !important;

  box-shadow:
    0 24px 70px rgba(0,0,0,.18) !important;
}


#appShell .bv6-account-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 15px;

  margin-bottom: 22px;
}


#appShell .bv6-account-head .eyebrow {
  margin: 0 0 14px !important;
}


#appShell .bv6-account-head h3 {
  margin: 0 !important;

  font-size: 27px !important;
}


#appShell .bv6-account-badge {
  padding: 5px 7px;

  border-radius: 6px;

  color: #5be2b1;

  background:
    rgba(80,222,174,.06);

  border:
    1px solid rgba(80,222,174,.16);

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .10em;
}


#appShell .account-summary dl {
  flex: 1;
}


#appShell .account-summary dl > div {
  min-height: 57px !important;
}


#appShell .bv6-account-footer {
  display: flex;

  justify-content: space-between;

  padding-top: 18px;

  color: #46566b;

  border-top:
    1px solid rgba(119,151,194,.075);

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .10em;
}


/* ============================================================
   LEDGER
   ============================================================ */

#appShell .bv6-ledger {
  margin-top: 18px !important;

  padding: 25px 26px !important;

  border-radius: 20px !important;

  background:
    linear-gradient(
      145deg,
      #0c1522,
      #08111c
    ) !important;

  border:
    1px solid rgba(112,149,199,.13) !important;
}


#appShell .bv6-ledger .panel-title {
  margin-bottom: 17px !important;
}


#appShell .bv6-ledger .transaction-list {
  display: flex;

  flex-direction: column;

  gap: 7px !important;
}


#appShell .bv6-ledger .transaction {
  min-height: 66px !important;

  padding: 10px 13px !important;

  border:
    1px solid rgba(113,147,194,.075) !important;

  border-radius: 12px !important;

  background:
    rgba(255,255,255,.015) !important;
}


/* ============================================================
   SIDEBAR CLEANUP
   ============================================================ */

#appShell .app-sidebar {
  width: 228px !important;
}


#appShell .app-nav-item {
  min-height: 44px !important;
}


#appShell #adminNavItem {
  margin-top: 8px !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1380px) {

  #appShell .bv6-dashboard {
    grid-template-columns:
      1fr !important;
  }


  #appShell .real-balance-card {
    grid-template-columns:
      1fr 1fr !important;
  }


  #appShell .account-summary {
    min-height: auto !important;
  }

}


@media (max-width: 980px) {

  #appShell .real-balance-card {
    grid-template-columns:
      1fr !important;
  }

}


@media (max-width: 820px) {

  #appShell {
    display: block !important;
  }


  #appShell .app-sidebar {
    width: 100% !important;
  }


  #appShell .bv6-dashboard {
    display: block !important;
  }


  #appShell .account-summary {
    margin-top: 15px;
  }

}


@media (max-width: 560px) {

  #appShell .bv6-balance-panel,
  #appShell .real-balance-card > .vault-card,
  #appShell .account-summary {
    min-height: auto !important;

    padding: 21px !important;

    border-radius: 17px !important;
  }


  #appShell .bv6-balance-panel #balanceValue {
    font-size: 44px !important;
  }

}


/* BRILL VAULT REAL DASHBOARD V6 END */



/* ============================================================
   BRILL VAULT V6.1
   PROFESSIONAL FINTECH POLISH
   ============================================================ */


/* ------------------------------------------------------------
   GLOBAL
   ------------------------------------------------------------ */

#appShell {
  grid-template-columns: 220px minmax(0, 1fr) !important;

  background:
    radial-gradient(
      circle at 78% -12%,
      rgba(41, 102, 190, .085),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #07101a 0%,
      #070d16 55%,
      #050b12 100%
    ) !important;
}


#appShell .app-main {
  width: 100% !important;
  max-width: 1510px !important;

  margin: 0 auto !important;

  padding:
    0 clamp(28px, 3vw, 48px)
    54px !important;
}


/* ------------------------------------------------------------
   REMOVE EXCESSIVE TOP EMPTY SPACE
   ------------------------------------------------------------ */

#appShell .app-topbar {
  min-height: 105px !important;

  padding:
    19px 0 17px !important;
}


#appShell .app-view {
  padding-top: 22px !important;
}


#appShell #appTitle {
  font-size: 29px !important;
  font-weight: 720 !important;

  letter-spacing: -.045em !important;
}


#appShell .app-topbar .eyebrow {
  margin-bottom: 8px !important;

  font-size: 8px !important;

  letter-spacing: .18em !important;
}


/* ------------------------------------------------------------
   SIDEBAR
   ------------------------------------------------------------ */

#appShell .app-sidebar {
  width: 220px !important;

  padding:
    23px 12px 15px !important;

  background:
    linear-gradient(
      180deg,
      rgba(6, 12, 21, .995),
      rgba(4, 10, 17, .995)
    ) !important;

  border-right:
    1px solid rgba(130, 157, 194, .085) !important;

  box-shadow:
    16px 0 50px rgba(0,0,0,.12) !important;
}


#appShell .app-sidebar .brand {
  padding:
    0 6px 28px !important;
}


#appShell .brand-mark {
  width: 38px !important;
  height: 38px !important;

  border-radius: 10px !important;
}


#appShell .brand-copy strong {
  font-size: 12px !important;
  letter-spacing: .14em !important;
}


#appShell .brand-copy small {
  margin-top: 4px !important;

  font-size: 7px !important;
}


#appShell .app-nav {
  gap: 3px !important;
}


#appShell .app-nav-item {
  min-height: 43px !important;

  gap: 10px !important;

  padding:
    0 11px !important;

  border-radius: 10px !important;

  font-size: 11px !important;
  font-weight: 610 !important;

  color: #8190a5 !important;
}


#appShell .app-nav-item:hover {
  color: #d9e2ef !important;

  transform: none !important;

  background:
    rgba(255,255,255,.025) !important;
}


#appShell .app-nav-item.active {
  color: #f7f9fc !important;

  background:
    linear-gradient(
      90deg,
      rgba(48, 120, 230, .18),
      rgba(27, 57, 99, .075)
    ) !important;

  border-color:
    rgba(69, 142, 248, .28) !important;

  box-shadow:
    inset 3px 0 0 #438eff !important;
}


/* Remove duplicated OWNER badge */

#appShell #adminNavItem::after {
  display: none !important;
  content: none !important;
}


#appShell #adminNavItem .bv-admin-nav-role {
  margin-left: auto !important;

  padding: 4px 6px !important;

  border-radius: 5px !important;

  font-size: 7px !important;

  background:
    rgba(203,163,66,.07) !important;

  border:
    1px solid rgba(203,163,66,.24) !important;
}


/* ------------------------------------------------------------
   PROFILE CHIP
   ------------------------------------------------------------ */

#appShell .account-chip {
  min-width: 157px !important;

  padding:
    7px 9px !important;

  border-radius: 12px !important;

  background:
    rgba(10, 18, 29, .71) !important;

  border:
    1px solid rgba(121,151,194,.11) !important;

  box-shadow: none !important;
}


#appShell .account-chip .avatar {
  width: 38px !important;
  height: 38px !important;

  border-radius: 9px !important;

  background:
    linear-gradient(
      145deg,
      #438ef4,
      #286ec9
    ) !important;

  box-shadow:
    0 8px 22px rgba(35,102,197,.18) !important;
}


/* ------------------------------------------------------------
   PRIMARY DASHBOARD
   ------------------------------------------------------------ */

#appShell .bv6-dashboard {
  grid-template-columns:
    minmax(0, 1fr)
    320px !important;

  gap: 17px !important;

  align-items: stretch !important;
}


#appShell .real-balance-card {
  grid-template-columns:
    minmax(360px, .92fr)
    minmax(400px, 1.08fr) !important;

  gap: 17px !important;

  align-items: center !important;
}


/* ------------------------------------------------------------
   BALANCE PANEL
   ------------------------------------------------------------ */

#appShell .bv6-balance-panel {
  min-height: 330px !important;

  padding:
    27px 29px 23px !important;

  border-radius: 18px !important;

  border:
    1px solid rgba(115,147,190,.13) !important;

  background:
    radial-gradient(
      circle at 8% 6%,
      rgba(61,130,230,.095),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #0f1927 0%,
      #0b1420 58%,
      #09111b 100%
    ) !important;

  box-shadow:
    0 20px 54px rgba(0,0,0,.17),
    inset 0 1px 0 rgba(255,255,255,.022) !important;
}


#appShell .bv6-balance-panel::before {
  top: 27px !important;
  bottom: 27px !important;

  width: 2px !important;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(67,142,255,.85),
      transparent
    ) !important;

  box-shadow:
    8px 0 25px rgba(67,142,255,.13) !important;
}


#appShell .bv6-kicker {
  color: #8190a5 !important;

  font-size: 8px !important;
  font-weight: 750 !important;

  letter-spacing: .145em !important;
}


#appShell .bv6-subtitle {
  margin-top: 6px !important;

  color: #56667b !important;

  font-size: 9px !important;
}


#appShell .bv6-balance-panel .balance-number {
  margin-top: 46px !important;
}


#appShell .bv6-balance-panel #balanceValue {
  font-size:
    clamp(46px, 3.9vw, 61px) !important;

  font-weight: 480 !important;

  line-height: .92 !important;

  letter-spacing:
    -.062em !important;
}


#appShell .bv6-balance-panel #balanceCurrency {
  color: #7796c2 !important;

  font-size: 14px !important;
}


#appShell .bv6-sync {
  margin-top: 16px !important;

  color: #5f6f84 !important;

  font-size: 9px !important;
}


#appShell .bv6-balance-panel .balance-buttons {
  margin-top: 24px !important;

  gap: 9px !important;
}


#appShell .bv6-balance-panel .balance-buttons .btn {
  min-width: 112px !important;
  height: 41px !important;

  border-radius: 9px !important;

  font-size: 10px !important;
}


#appShell .bv6-balance-panel .btn-light {
  background:
    linear-gradient(
      145deg,
      #438df4,
      #2e72d1
    ) !important;

  border:
    1px solid rgba(108,168,255,.30) !important;

  box-shadow:
    0 10px 25px rgba(36,101,194,.17) !important;
}


#appShell .bv6-balance-panel .btn-outline-light {
  color: #cfd8e5 !important;

  background:
    rgba(6,12,20,.53) !important;

  border:
    1px solid rgba(126,156,198,.14) !important;
}


#appShell .bv6-balance-footer {
  padding-top: 19px !important;

  font-size: 7px !important;

  color: #48586d !important;
}


/* ------------------------------------------------------------
   PREMIUM BANK CARD
   ------------------------------------------------------------ */

#appShell .real-balance-card > .vault-card {
  width: 100% !important;

  max-width: 445px !important;

  min-height: 278px !important;
  height: 278px !important;

  justify-self: center !important;
  align-self: center !important;

  padding: 27px !important;

  border-radius: 18px !important;

  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(213,177,79,.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 92% 92%,
      rgba(190,152,57,.035),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #25231d 0%,
      #181713 48%,
      #10110f 100%
    ) !important;

  border:
    1px solid rgba(210,171,70,.38) !important;

  box-shadow:
    0 28px 70px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 -35px 60px rgba(0,0,0,.12) !important;

  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease !important;
}


#appShell .real-balance-card > .vault-card:hover {
  transform:
    translateY(-3px) !important;

  border-color:
    rgba(219,181,79,.50) !important;

  box-shadow:
    0 34px 78px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.065) !important;
}


/* Make card lettering calmer */

#appShell .vault-card {
  letter-spacing: .02em !important;
}


/* ------------------------------------------------------------
   ACCOUNT PANEL
   ------------------------------------------------------------ */

#appShell .account-summary {
  min-height: 330px !important;

  padding:
    25px 24px 20px !important;

  border-radius: 18px !important;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(48,116,215,.055),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      #0e1724 0%,
      #09121d 100%
    ) !important;

  border:
    1px solid rgba(115,147,190,.13) !important;

  box-shadow:
    0 20px 54px rgba(0,0,0,.15) !important;
}


#appShell .bv6-account-head {
  margin-bottom: 19px !important;
}


#appShell .bv6-account-head h3 {
  font-size: 25px !important;
  font-weight: 690 !important;

  letter-spacing: -.035em !important;
}


#appShell .bv6-account-badge {
  padding: 4px 7px !important;

  color: #59dcae !important;

  background:
    rgba(75,213,168,.045) !important;

  border:
    1px solid rgba(75,213,168,.15) !important;

  font-size: 6px !important;
}


#appShell .account-summary dl > div {
  min-height: 55px !important;

  grid-template-columns:
    78px minmax(0,1fr) !important;
}


#appShell .account-summary dt {
  font-size: 8px !important;
  letter-spacing: .06em !important;
}


#appShell .account-summary dd {
  font-size: 9px !important;
  font-weight: 620 !important;
}


#appShell .account-summary dd.positive {
  padding:
    5px 8px !important;

  font-size: 8px !important;
}


#appShell .bv6-account-footer {
  padding-top: 14px !important;

  font-size: 6px !important;
}


/* ------------------------------------------------------------
   LEDGER
   ------------------------------------------------------------ */

#appShell .bv6-ledger {
  margin-top: 17px !important;

  padding:
    23px 24px !important;

  border-radius: 18px !important;

  border:
    1px solid rgba(112,145,188,.115) !important;

  background:
    linear-gradient(
      145deg,
      rgba(12,21,34,.91),
      rgba(7,14,23,.91)
    ) !important;

  box-shadow:
    0 20px 55px rgba(0,0,0,.11) !important;
}


#appShell .bv6-ledger .panel-title {
  margin-bottom: 15px !important;
}


#appShell .bv6-ledger .panel-title h2 {
  font-size: 19px !important;

  font-weight: 680 !important;
}


#appShell .bv6-ledger .eyebrow {
  margin-bottom: 8px !important;

  font-size: 8px !important;
}


#appShell .bv6-ledger .transaction {
  min-height: 63px !important;

  padding:
    9px 12px !important;

  border-radius: 11px !important;

  border:
    1px solid rgba(112,145,188,.07) !important;

  background:
    rgba(255,255,255,.012) !important;
}


#appShell .bv6-ledger .transaction:hover {
  transform: none !important;

  border-color:
    rgba(82,142,228,.14) !important;

  background:
    rgba(61,105,169,.025) !important;
}


/* ------------------------------------------------------------
   GENERAL PANELS
   ------------------------------------------------------------ */

#appShell .panel {
  box-shadow:
    0 18px 50px rgba(0,0,0,.10) !important;
}


#appShell .panel:hover {
  border-color:
    rgba(112,151,205,.17) !important;
}


/* ------------------------------------------------------------
   BUTTON / INPUT DISCIPLINE
   ------------------------------------------------------------ */

#appShell .btn,
#appShell input,
#appShell select,
#appShell textarea {
  border-radius: 9px !important;
}


#appShell input,
#appShell select,
#appShell textarea {
  background:
    rgba(4,10,18,.62) !important;

  border-color:
    rgba(119,149,190,.12) !important;
}


#appShell input:focus,
#appShell select:focus,
#appShell textarea:focus {
  border-color:
    rgba(67,142,255,.45) !important;

  box-shadow:
    0 0 0 3px rgba(67,142,255,.055) !important;
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1360px) {

  #appShell .bv6-dashboard {
    grid-template-columns:
      1fr !important;
  }


  #appShell .account-summary {
    min-height: auto !important;
  }


  #appShell .account-summary dl {
    display: grid !important;

    grid-template-columns:
      repeat(3, 1fr) !important;

    gap: 8px !important;
  }


  #appShell .account-summary dl > div {
    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    justify-content: center !important;

    padding: 10px !important;

    border:
      1px solid rgba(112,145,188,.07) !important;

    border-radius: 9px !important;
  }


  #appShell .account-summary dd {
    margin-top: 7px !important;

    text-align: left !important;
  }

}


@media (max-width: 1000px) {

  #appShell .real-balance-card {
    grid-template-columns:
      1fr !important;
  }


  #appShell .real-balance-card > .vault-card {
    max-width: 480px !important;

    justify-self: start !important;
  }

}


@media (max-width: 820px) {

  #appShell {
    display: block !important;
  }


  #appShell .app-sidebar {
    width: 100% !important;
  }


  #appShell .app-main {
    padding:
      0 17px 38px !important;
  }

}


@media (max-width: 560px) {

  #appShell .bv6-balance-panel #balanceValue {
    font-size: 42px !important;
  }


  #appShell .account-summary dl {
    grid-template-columns:
      1fr !important;
  }

}


/* BRILL VAULT V6.1 PROFESSIONAL POLISH END */

