.app-layout {
  background: var(--canvas);
  min-height: 100dvh;
}
.sidebar {
  width: 246px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  z-index: 60;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #92a1b4;
  font-weight: 600;
  margin: 40px 14px 16px;
}
.app-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-nav > a {
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 11px;
  color: #728298;
  transition:
    background 0.2s,
    color 0.2s;
  min-height: 43px;
}
.app-nav > a .material-symbols-rounded {
  font-size: 20px;
  color: #90a0b3;
}
.app-nav > a:hover {
  background: #f6f9fc;
  color: var(--ink);
}
.app-nav > a.active {
  background: #eaf2fa;
  color: #305982;
  font-weight: 700;
}
.app-nav > a.active .material-symbols-rounded {
  color: #648bb5;
}
.app-nav > a > b {
  font-size: 8px;
  border-radius: 20px;
  padding: 2px 6px;
  background: #dce9f7;
  color: #54799e;
  margin-left: auto;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-note {
  padding: 18px 16px;
  background: #f6f9fd;
  border: 1px solid #eef2f7;
  border-radius: 17px;
}
.sidebar-note .pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.sidebar-note .pill-icon span {
  font-size: 18px;
}
.sidebar-note strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
}
.sidebar-note p {
  font-size: 9px;
  line-height: 1.9;
  color: #91a0b3;
  margin-top: 9px;
}
.sidebar-note a {
  font-size: 9px;
  color: #557fa9;
  font-weight: 700;
  display: block;
  margin-top: 12px;
}
.sidebar-logout {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #8694a7;
  font-size: 10px;
  padding: 21px 14px 3px;
  cursor: pointer;
  width: 100%;
}
.sidebar-logout .material-symbols-rounded {
  font-size: 18px;
}
.sidebar-logout:hover {
  color: var(--red);
}
.app-stage {
  margin-left: 246px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #ffffffeb;
  position: sticky;
  top: 0;
  z-index: 35;
  backdrop-filter: blur(15px);
}
.app-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.app-home {
  font-size: 11px;
  font-weight: 600;
  color: #6f8197;
}
.topbar-divider {
  width: 1px;
  height: 14px;
  background: #e1e7ef;
}
.workspace-type {
  font-size: 10px;
  color: #a0acbb;
}
.app-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.server-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8ba395;
  font-size: 9px;
}
.server-state > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #80a894;
}
.server-state.offline {
  color: #b78966;
}
.server-state.offline > i {
  background: #ba936b;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #e2edf8;
  color: #6a8eb4;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.user-chip strong {
  font-size: 10px;
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip small {
  font-size: 8px;
  color: #96a5b7;
  display: block;
  margin-top: 4px;
}
.notification-button {
  position: relative;
  border: 1px solid #e7ecf3;
  width: 34px;
  height: 34px;
}
.notification-button > span {
  font-size: 18px;
}
.notification-button > i {
  height: 5px;
  width: 5px;
  position: absolute;
  right: 7px;
  top: 7px;
  background: #739ec9;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}
.app-content {
  padding: 36px 38px 40px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -1.3px;
}
.page-heading .eyebrow {
  font-size: 7px;
  letter-spacing: 1.7px;
  margin-bottom: 10px;
  color: #8aa2bd;
}
.page-heading p {
  font-size: 11px;
  color: #8a98ab;
  margin-top: 12px;
  line-height: 1.8;
}
.page-heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-heading-actions .btn {
  font-size: 10px;
  min-height: 36px;
  padding: 10px 15px;
  gap: 10px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 20px #192e4902;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 24px;
}
.panel-head h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.panel-head a {
  font-size: 10px;
  color: #728baa;
}
.panel-head .material-symbols-rounded {
  font-size: 16px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
}
.dashboard-balance {
  background: linear-gradient(115deg, #d9ecfa, #edf5fc);
  border: 1px solid #d7e7f4;
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.dashboard-balance:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -70px;
  top: -85px;
  border: 1px solid #bbd4e980;
  border-radius: 50%;
  box-shadow:
    0 0 0 45px #c6dded28,
    0 0 0 90px #c6dded10;
}
.balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  font-size: 10px;
  color: #6585a8;
}
.balance-top > .material-symbols-rounded {
  font-size: 23px;
  color: #84a6c7;
}
.balance-value {
  position: relative;
  z-index: 1;
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -1.7px;
  margin: 22px 0 8px;
  color: #2e547b;
  line-height: 1.2;
}
.balance-caption {
  font-size: 9px;
  color: #7f98b2;
  position: relative;
  z-index: 1;
}
.balance-currencies {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}
.balance-currencies span {
  font-size: 9px;
  background: #ffffff78;
  padding: 5px 10px;
  border-radius: 20px;
  color: #6a86a3;
}
.balance-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.balance-actions .btn {
  min-height: 35px;
  padding: 9px 15px;
  gap: 8px;
  font-size: 10px;
}
.dashboard-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 116px;
}
.metric .metric-label {
  font-size: 9px;
  color: #8d9db0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.metric-label .material-symbols-rounded {
  font-size: 17px;
  color: #9ab0c7;
}
.metric-value {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-top: 14px;
}
.metric small {
  font-size: 8px;
  color: #98a8ba;
  margin-top: 8px;
}
.dashboard-lower {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.transaction-list {
  display: flex;
  flex-direction: column;
}
.transaction-row {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.transaction-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.transaction-row:last-child {
  padding-bottom: 0;
}
.transaction-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0f5fb;
  color: #7994b3;
  flex-shrink: 0;
}
.transaction-icon span {
  font-size: 18px;
}
.transaction-text {
  min-width: 0;
  flex: 1;
}
.transaction-text strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}
.transaction-text small {
  font-size: 8px;
  color: #98a6b8;
  display: block;
  margin-top: 4px;
}
.transaction-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 6px;
}
.transaction-right strong {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.transaction-right .badge {
  font-size: 8px;
  padding: 3px 7px;
}
.card-visual {
  background: linear-gradient(120deg, #355a82, #789fc4);
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 205px;
}
.card-visual.card-blocked {
  filter: saturate(0.2);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.card-top strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.card-top span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #d4e4f1;
}
.card-number {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.7px;
  margin-top: 29px;
  position: relative;
  z-index: 1;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}
.card-bottom small {
  font-size: 7px;
  color: #d9e7f3;
  display: block;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
.card-bottom strong {
  font-size: 22px;
  letter-spacing: -0.7px;
  font-weight: 500;
  display: block;
}
.card-bottom .expiry {
  font-size: 10px;
  font-weight: 500;
}
.card-visual.card-crypto {
  background: linear-gradient(120deg, #366c76, #88b6c0);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card-shell {
  background: white;
  border: 1px solid var(--line);
  padding: 17px;
  border-radius: 23px;
}
.card-shell .card-visual {
  min-height: 213px;
}
.card-shell-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  padding: 19px 5px 2px;
}
.card-shell-actions .btn {
  font-size: 10px;
  min-height: 32px;
  padding: 8px 10px;
  gap: 6px;
}
.card-shell-actions .btn .material-symbols-rounded {
  font-size: 16px;
}
.request-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 25px;
  align-items: start;
}
.request-form {
  max-width: 560px;
}
.request-form .field {
  margin-bottom: 23px;
}
.request-form input,
.request-form select {
  font-size: 12px;
  background: #f7f9fc;
}
.request-aside {
  background: #eaf3fb;
  border: 1px solid #dce8f4;
  border-radius: 22px;
  padding: 28px;
}
.request-aside h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin: 20px 0;
}
.request-aside p {
  color: #718ba7;
  font-size: 11px;
  line-height: 1.9;
}
.request-aside .benefit-row {
  gap: 12px;
  margin-top: 25px;
}
.request-aside .benefit-row .pill-icon {
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
}
.request-aside .benefit-row .pill-icon > span {
  font-size: 17px;
}
.request-aside .benefit-row h3 {
  font-size: 11px;
  font-weight: 600;
}
.request-aside .benefit-row p {
  font-size: 10px;
}
.app-callout {
  margin-bottom: 24px;
}
.app-callout .btn {
  margin-left: auto;
  flex-shrink: 0;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.search-field > span {
  position: absolute;
  left: 12px;
  top: 11px;
  font-size: 18px;
  color: #98a9bd;
}
.search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px 13px 11px 40px;
  color: var(--ink);
  font-size: 11px;
  height: 41px;
}
.filter-bar select {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 10px;
  min-height: 41px;
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-tabs button {
  border: 0;
  background: transparent;
  border-radius: 25px;
  font-size: 10px;
  padding: 9px 14px;
  color: #8b9caf;
  cursor: pointer;
}
.filter-tabs button.active {
  background: #e5effa;
  color: #4b729c;
  font-weight: 700;
}
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  font-size: 11px;
}
.data-table th {
  text-align: left;
  font-size: 8px;
  color: #91a0b4;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 17px 22px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 20px 22px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: #fbfdff;
}
.data-table .client-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.data-table .client-name strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.data-table .client-name small {
  font-size: 9px;
  color: #91a0b4;
  display: block;
  margin-top: 4px;
}
.data-table .avatar {
  width: 33px;
  height: 33px;
  font-size: 9px;
}
.data-table .table-action {
  background: #f0f5fb;
  border: 0;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #7393b8;
}
.data-table .table-action span {
  font-size: 16px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stats-row .metric {
  min-height: 125px;
  padding: 23px;
}
.stats-row .metric:nth-child(2) {
  background: #eaf3fb;
  border-color: #dce9f5;
}
.recipient-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.recipient-card,
.account-card {
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.recipient-top,
.account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.recipient-top h2,
.account-top h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.recipient-top .pill-icon,
.account-top .pill-icon {
  width: 37px;
  height: 37px;
  border-radius: 12px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  padding: 11px 0;
  border-top: 1px solid #edf1f6;
  color: #8c9daf;
}
.detail-row strong {
  color: #486381;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 70%;
}
.account-value {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 20px 0;
}
.account-number {
  font-size: 11px;
  color: #8799ae;
  font-family: var(--font);
  overflow-wrap: anywhere;
}
.recipient-number {
  background: #f2f6fb;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: #6782a0;
  font-size: 11px;
  letter-spacing: 0.4px;
  gap: 12px;
  overflow-wrap: anywhere;
}
.recipient-number .icon-btn {
  width: 28px;
  height: 28px;
  background: #fff;
}
.recipient-number .material-symbols-rounded {
  font-size: 15px;
}
.account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.account-actions .btn {
  font-size: 10px;
  gap: 8px;
  min-height: 33px;
  padding: 8px 12px;
}
.section-subheading {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 30px 0 20px;
}
.section-subheading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.section-subheading-row .section-subheading {
  margin-bottom: 0;
}
.account-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f8fd;
  border: 1px solid #d5e4f2;
}
.account-notice strong {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}
.account-notice p {
  font-size: 13px;
  line-height: 1.6;
  color: #31465f;
}
.details-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.profile-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 25px;
}
.profile-card > .avatar {
  width: 65px;
  height: 65px;
  font-size: 20px;
  margin-bottom: 20px;
  background: #e1edf8;
}
.profile-card h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.profile-card p {
  font-size: 11px;
  color: #8c9db2;
  margin: 10px 0 17px;
}
.profile-id {
  font-size: 9px;
  color: #9aabbd;
  margin-top: 17px;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 25px;
}
.profile-actions .btn {
  padding: 9px 12px;
  min-height: 33px;
  font-size: 9px;
  gap: 6px;
}
.detail-panel h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 23px;
}
.detail-panel .detail-row {
  padding: 17px 0;
}
.support-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 22px;
  min-height: 460px;
  align-items: start;
}
.support-thread-list {
  padding: 0;
  overflow: hidden;
}
.thread-item {
  display: block;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.thread-item:last-child {
  border-bottom: none;
}
.thread-item:hover,
.thread-item.active {
  background: #f1f6fc;
}
.thread-item h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  margin-bottom: 9px;
}
.thread-item p {
  font-size: 9px;
  color: #8d9fb3;
  margin-bottom: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.thread-item small {
  font-size: 8px;
  color: #a0afbf;
  margin-left: 9px;
}
.conversation {
  padding: 25px;
}
.conversation-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.conversation-heading h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.conversation-heading p {
  font-size: 10px;
  color: #90a1b6;
  margin-top: 8px;
}
.conversation-messages {
  max-height: 470px;
  overflow-y: auto;
  padding: 0 3px 8px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.chat-message {
  padding: 17px 20px;
  border-radius: 16px 16px 16px 3px;
  background: #f2f6fc;
  max-width: 85%;
  align-self: start;
  min-width: 110px;
}
.chat-message.own {
  background: #dfeef9;
  border-radius: 16px 16px 3px 16px;
  align-self: end;
}
.chat-message strong {
  font-size: 9px;
  color: #7190ad;
  display: block;
  margin-bottom: 8px;
}
.chat-message p {
  font-size: 12px;
  color: #47617e;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-message time {
  font-size: 8px;
  color: #91a5ba;
  text-align: right;
  display: block;
  margin-top: 10px;
}
.reply-form {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  align-items: end;
}
.reply-form textarea {
  resize: vertical;
  min-height: 46px;
  max-height: 150px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  font-size: 11px;
  background: #f8fafc;
  color: var(--ink);
}
.reply-form .btn {
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}
.support-empty {
  min-height: 430px;
}
.security-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.security-panel h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 9px;
}
.security-panel > p {
  font-size: 11px;
  color: #8d9fb5;
  line-height: 1.9;
  margin-bottom: 25px;
}
.security-panel .field > label {
  font-size: 11px;
}
.security-panel .field input {
  font-size: 12px;
}
.session-card {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  margin-top: 22px;
}
.session-card strong {
  font-size: 12px;
  display: block;
}
.session-card small {
  font-size: 9px;
  color: #93a2b6;
  display: block;
  margin-top: 5px;
}
.session-card .badge {
  margin-left: auto;
}
.upload-field {
  background: #f6f9fc;
  border: 1px dashed #c9d8e7;
  border-radius: 14px;
  padding: 17px;
  font-size: 11px;
  color: #7a91ac;
  margin-bottom: 17px;
}
.upload-field label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  margin-bottom: 12px;
}
.upload-field input {
  font-size: 10px;
  max-width: 100%;
}
.upload-field input::file-selector-button {
  background: #e5eff9;
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: #597da3;
  font-size: 10px;
  margin-right: 10px;
}
.currency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.currency-card {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
}
.currency-card h2 {
  font-size: 13px;
  font-weight: 600;
}
.currency-card strong {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-top: 25px;
  display: block;
}
.currency-card p {
  font-size: 10px;
  color: #8d9fb4;
  margin-top: 15px;
}
.demo-banner {
  padding: 14px 18px;
  border: 1px solid #cbddec;
  border-radius: 14px;
  background: #eaf3fb;
  color: #6583a3;
  font-size: 10px;
  line-height: 1.8;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 23px;
}
.demo-banner > span {
  font-size: 18px;
}
.trading-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 20px;
}
.trade-chart-panel {
  padding: 25px;
}
.trade-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.trade-header h2 {
  font-size: 20px;
  font-weight: 600;
}
.trade-header small {
  font-size: 9px;
  color: #8e9fb5;
  display: block;
  margin-top: 7px;
}
.trade-quote {
  text-align: right;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
}
.trade-quote small {
  font-size: 9px;
  font-weight: 500;
  color: #8da3bc;
  letter-spacing: 0;
}
.trade-chart {
  width: 100%;
  height: 255px;
  display: block;
}
.trade-chart svg {
  width: 100%;
  height: 100%;
}
.trade-periods {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 15px;
}
.trade-periods button {
  background: none;
  border: 0;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 9px;
  color: #8b9eb5;
}
.trade-periods button.active {
  background: #e9f2fb;
  color: #527faa;
}
.trade-form h2 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 25px;
}
.trade-form .field > label {
  font-size: 10px;
}
.trade-form input,
.trade-form select {
  font-size: 11px;
}
.trade-balance {
  font-size: 10px;
  color: #88a0b9;
  margin-bottom: 20px;
}
.trade-balance strong {
  display: block;
  color: #426589;
  font-size: 23px;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: -0.8px;
}
.trade-sides {
  display: flex;
  gap: 7px;
  margin-bottom: 23px;
}
.trade-sides label {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 10px;
  font-size: 10px;
  cursor: pointer;
}
.trade-sides input {
  accent-color: #6489b4;
  vertical-align: middle;
  margin-right: 5px;
}
.practice-deposit {
  font-size: 10px;
  color: #7794b3;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: none;
  border: none;
  width: 100%;
  padding: 10px;
}
.practice-deposit > span {
  font-size: 15px;
}
.audit-row {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.audit-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.audit-row strong {
  font-size: 11px;
  display: block;
}
.audit-row p {
  font-size: 10px;
  color: #889db5;
  line-height: 1.8;
  margin-top: 7px;
}
.audit-row time {
  font-size: 9px;
  color: #9dafc2;
  margin-left: auto;
  white-space: nowrap;
}
.notification-list article {
  display: flex;
  gap: 13px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.notification-list article:first-child {
  border: 0;
}
.notification-list article p {
  font-size: 12px;
  line-height: 1.9;
  color: #58728e;
}
.notification-list article small {
  font-size: 9px;
  color: #97a9bd;
  display: block;
  margin-top: 7px;
}
.notification-list .pill-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 10px;
}
.notification-list .pill-icon > span {
  font-size: 16px;
}
.unread-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7a9cbe;
  flex-shrink: 0;
  margin-top: 9px;
  margin-left: auto;
}
.app-footer {
  padding: 0 38px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0adbd;
  font-size: 8px;
  gap: 20px;
}
.app-footer > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.app-footer a:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-footer .material-symbols-rounded {
  font-size: 12px;
}
.drawer-open,
.drawer-close,
.drawer-backdrop {
  display: none;
}
.amount-positive {
  color: #477d6c;
}
.amount-negative {
  color: #a96771;
}
.table-note {
  font-size: 9px;
  color: #92a4b9;
  padding: 16px 0;
}
.inline-link {
  color: #537ba5;
  font-size: 11px;
}
.busy-label {
  font-size: 10px;
  color: #8aa0b8;
}
.form-footnote {
  font-size: 10px;
  color: #93a4b7;
  line-height: 1.9;
  margin-top: 19px;
}
@media (min-width: 1550px) {
  .app-content {
    padding-top: 45px;
  }
  .dashboard-grid,
  .dashboard-lower {
    grid-template-columns: 1.5fr 1fr;
  }
  .card-visual {
    min-height: 235px;
  }
  .sidebar {
    width: 265px;
  }
  .app-stage {
    margin-left: 265px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 218px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .app-stage {
    margin-left: 218px;
  }
  .app-content {
    padding: 29px;
  }
  .app-topbar {
    padding: 0 29px;
  }
  .app-topbar-right {
    gap: 13px;
  }
  .server-state > span {
    display: none;
  }
  .app-topbar-left {
    gap: 13px;
  }
  .workspace-type {
    font-size: 9px;
  }
  .stats-row {
    gap: 12px;
  }
  .stats-row .metric {
    padding: 20px 16px;
  }
  .stats-row .metric-value {
    font-size: 26px;
  }
  .support-layout {
    grid-template-columns: 260px 1fr;
    gap: 16px;
  }
  .request-layout {
    grid-template-columns: 1.1fr 0.8fr;
    gap: 20px;
  }
  .trading-layout {
    grid-template-columns: 1fr 255px;
    gap: 15px;
  }
  .panel {
    padding: 22px;
  }
  .dashboard-grid,
  .dashboard-lower {
    gap: 17px;
  }
  .balance-value {
    font-size: 38px;
  }
  .metric {
    padding: 17px;
  }
  .sidebar-note {
    padding: 17px 13px;
  }
  .user-chip strong {
    max-width: 130px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 205px;
  }
  .app-stage {
    margin-left: 205px;
  }
  .app-content {
    padding: 26px 22px;
  }
  .app-topbar {
    padding: 0 22px;
  }
  .topbar-divider,
  .workspace-type {
    display: none;
  }
  .app-topbar-right {
    gap: 10px;
  }
  .user-chip strong {
    max-width: 110px;
    font-size: 9px;
  }
  .user-chip small {
    font-size: 7px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .dashboard-grid,
  .dashboard-lower {
    grid-template-columns: 1fr;
  }
  .dashboard-mini {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .dashboard-mini .metric {
    min-height: 106px;
    padding: 16px 12px;
  }
  .dashboard-mini .metric-label {
    font-size: 7px;
  }
  .dashboard-mini .metric-label > span {
    font-size: 14px;
  }
  .dashboard-mini .metric-value {
    font-size: 23px;
  }
  .request-layout {
    grid-template-columns: 1fr;
  }
  .request-aside {
    padding: 24px;
  }
  .request-aside .benefit-row {
    display: none;
  }
  .request-aside h2 {
    margin: 15px 0;
    font-size: 20px;
  }
  .recipient-grid,
  .account-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .security-layout {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stats-row .metric {
    min-height: 112px;
  }
  .support-layout {
    grid-template-columns: 1fr;
  }
  .support-thread-list {
    max-height: 260px;
    overflow: auto;
  }
  .details-layout {
    grid-template-columns: 1fr;
  }
  .currency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trading-layout {
    grid-template-columns: 1fr;
  }
  .trade-chart {
    height: 250px;
  }
  .trade-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .trade-chart-panel {
    padding: 20px;
  }
  .app-footer {
    padding: 0 22px 23px;
  }
  .app-footer > div {
    gap: 13px;
  }
  .app-nav > a {
    font-size: 10px;
    padding: 11px 12px;
    gap: 12px;
  }
  .app-nav > a .material-symbols-rounded {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
    width: 270px;
    padding: 25px 17px;
    box-shadow: 20px 0 50px #1d345714;
  }
  .app-stage {
    margin-left: 0;
  }
  .drawer-open,
  .drawer-close {
    display: grid;
  }
  .drawer-backdrop {
    background: #19314a55;
    border: 0;
    position: fixed;
    inset: 0;
    z-index: 55;
    backdrop-filter: blur(4px);
  }
  .drawer-visible .sidebar {
    transform: none;
  }
  .drawer-visible .drawer-backdrop {
    display: block;
  }
  .app-topbar {
    height: 67px;
    padding: 0 20px;
  }
  .app-topbar-left {
    gap: 10px;
  }
  .app-content {
    padding: 26px 20px;
  }
  .app-nav > a {
    font-size: 12px;
    padding: 13px 14px;
    gap: 14px;
  }
  .app-nav > a .material-symbols-rounded {
    font-size: 21px;
  }
  .sidebar-note strong {
    font-size: 11px;
  }
  .sidebar-note p {
    font-size: 10px;
  }
  .sidebar-note a {
    font-size: 10px;
  }
  .workspace-label {
    font-size: 9px;
    margin-top: 32px;
  }
  .app-home {
    font-size: 10px;
  }
  .user-chip strong {
    font-size: 9px;
    max-width: 135px;
  }
  .user-chip small {
    display: none;
  }
  .app-topbar-right {
    gap: 13px;
  }
  .notification-button {
    width: 31px;
    height: 31px;
  }
  .user-chip .avatar {
    width: 31px;
    height: 31px;
    font-size: 9px;
  }
  .server-state {
    display: none;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
  }
  .dashboard-mini {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards-grid,
  .account-grid,
  .recipient-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .card-shell {
    padding: 13px;
  }
  .card-visual {
    padding: 21px;
  }
  .card-shell .card-visual {
    min-height: 190px;
  }
  .card-number {
    font-size: 13px;
  }
  .card-bottom strong {
    font-size: 19px;
  }
  .request-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 17px;
  }
  .request-aside .benefit-row {
    display: flex;
  }
  .request-aside .benefit-row p {
    font-size: 9px;
  }
  .request-aside .benefit-row h3 {
    font-size: 10px;
  }
  .security-layout {
    grid-template-columns: 1fr 1fr;
  }
  .trading-layout {
    grid-template-columns: 1fr 250px;
  }
  .trade-form .field-row {
    grid-template-columns: 1fr;
  }
  .support-layout {
    grid-template-columns: 230px 1fr;
  }
  .support-thread-list {
    max-height: none;
  }
  .conversation {
    padding: 20px;
  }
  .chat-message {
    max-width: 94%;
  }
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .data-table {
    min-width: 620px;
  }
  .data-table td {
    padding: 18px;
  }
  .data-table th {
    padding: 15px 18px;
  }
}
@media (max-width: 600px) {
  .app-topbar {
    padding: 0 15px;
  }
  .app-topbar-left .icon-btn {
    width: 30px;
    height: 30px;
  }
  .user-chip strong {
    display: none;
  }
  .app-topbar-right {
    gap: 12px;
  }
  .app-content {
    padding: 25px 16px 32px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.9;
    margin-top: 10px;
  }
  .page-heading-actions {
    margin-top: 18px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .page-heading-actions .btn {
    font-size: 9px;
    min-height: 34px;
  }
  .panel {
    padding: 21px;
    border-radius: 18px;
  }
  .dashboard-balance {
    padding: 25px;
    min-height: 232px;
  }
  .balance-value {
    font-size: 38px;
    letter-spacing: -1.7px;
  }
  .dashboard-mini {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .dashboard-mini .metric {
    min-height: 113px;
    padding: 19px;
  }
  .dashboard-mini .metric-label {
    font-size: 9px;
  }
  .dashboard-mini .metric-label > span {
    font-size: 17px;
  }
  .dashboard-mini .metric-value {
    font-size: 27px;
  }
  .dashboard-lower {
    margin-top: 17px;
  }
  .cards-grid,
  .account-grid,
  .recipient-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card-shell {
    padding: 15px;
  }
  .card-shell .card-visual {
    min-height: 205px;
  }
  .card-visual {
    padding: 24px;
  }
  .card-number {
    font-size: 16px;
  }
  .card-bottom strong {
    font-size: 23px;
  }
  .request-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .request-aside .benefit-row {
    display: none;
  }
  .request-aside h2 {
    font-size: 23px;
  }
  .request-aside p {
    font-size: 12px;
  }
  .request-aside {
    padding: 25px;
  }
  .request-form .field {
    margin-bottom: 20px;
  }
  .request-form .btn {
    font-size: 12px;
  }
  .filter-bar {
    gap: 9px;
    margin-bottom: 18px;
  }
  .search-field {
    min-width: 0;
    flex-basis: 100%;
  }
  .filter-bar select {
    min-height: 37px;
    font-size: 9px;
    flex: 1;
  }
  .filter-tabs {
    gap: 3px;
  }
  .filter-tabs button {
    font-size: 9px;
    padding: 8px 12px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  .stats-row .metric {
    padding: 20px;
    min-height: 119px;
  }
  .stats-row .metric-label {
    font-size: 9px;
  }
  .stats-row .metric-value {
    font-size: 28px;
  }
  .recipient-card,
  .account-card {
    padding: 23px;
  }
  .detail-row {
    font-size: 10px;
  }
  .app-callout {
    font-size: 11px;
    align-items: start;
    flex-wrap: wrap;
  }
  .app-callout .btn {
    margin-left: 32px;
    font-size: 10px;
  }
  .support-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .support-thread-list {
    max-height: 215px;
    overflow: auto;
  }
  .thread-item {
    padding: 17px 20px;
  }
  .thread-item h3 {
    font-size: 11px;
  }
  .conversation-messages {
    max-height: 380px;
  }
  .conversation-heading h2 {
    font-size: 15px;
  }
  .chat-message {
    max-width: 91%;
    padding: 15px 17px;
  }
  .chat-message p {
    font-size: 11px;
  }
  .reply-form .btn {
    min-height: 44px;
  }
  .security-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .session-card {
    padding: 17px;
    gap: 12px;
  }
  .currency-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .currency-card strong {
    margin-top: 20px;
  }
  .trading-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .trade-chart {
    height: 210px;
  }
  .trade-header h2 {
    font-size: 17px;
  }
  .trade-quote {
    font-size: 22px;
  }
  .trade-periods {
    gap: 5px;
  }
  .trade-periods button {
    padding: 6px 10px;
    font-size: 8px;
  }
  .trade-form .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .demo-banner {
    font-size: 9px;
    padding: 13px;
  }
  .audit-row {
    gap: 11px;
    flex-wrap: wrap;
  }
  .audit-row strong {
    font-size: 10px;
  }
  .audit-row time {
    margin-left: 43px;
    font-size: 8px;
  }
  .audit-row > .pill-icon {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .audit-row > .pill-icon > span {
    font-size: 17px;
  }
  .audit-row > div:nth-child(2) {
    max-width: calc(100% - 43px);
    flex: 1;
  }
  .app-footer {
    padding: 0 17px 23px;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    font-size: 8px;
  }
  .app-footer > div {
    gap: 18px;
  }
  .page-heading .eyebrow {
    margin-bottom: 10px;
  }
  .transaction-text strong {
    max-width: 170px;
    font-size: 10px;
  }
  .transaction-right strong {
    font-size: 10px;
  }
  .transaction-icon {
    width: 31px;
    height: 31px;
  }
  .data-table-wrap {
    border-radius: 17px;
  }
  .empty-state {
    padding: 45px 20px;
  }
  .empty-state h3 {
    font-size: 16px;
  }
  .empty-state p {
    font-size: 11px;
  }
  .card-shell-actions .btn {
    font-size: 10px;
    padding: 9px 13px;
  }
  .data-table .client-name {
    gap: 10px;
  }
  .data-table td {
    font-size: 10px;
  }
  .data-table .client-name strong {
    font-size: 10px;
  }
}
.kyc-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.kyc-images > a {
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 12px;
  background: #f5f8fc;
}
.kyc-images img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}
.card-shell > .inline-link .material-symbols-rounded {
  font-size: 13px;
  margin-left: 7px;
}
@media (max-width: 600px) {
  .kyc-images {
    grid-template-columns: 1fr;
  }
  .kyc-images img {
    height: 220px;
  }
}
/* Account screens prioritize comfortable reading over miniature dashboard labels. */
.app-nav > a {
  font-size: 13px;
  min-height: 47px;
}
.workspace-label {
  font-size: 9px;
}
.sidebar-note strong {
  font-size: 12px;
}
.sidebar-note p,
.sidebar-note a,
.sidebar-logout {
  font-size: 11px;
}
.app-home {
  font-size: 12px;
}
.workspace-type,
.server-state {
  font-size: 11px;
}
.user-chip strong {
  font-size: 12px;
}
.user-chip small {
  font-size: 10px;
}
.page-heading p {
  font-size: 13px;
}
.page-heading .eyebrow {
  font-size: 9px;
}
.page-heading-actions .btn {
  font-size: 12px;
  min-height: 40px;
}
.metric .metric-label {
  font-size: 11px;
}
.metric small {
  font-size: 10px;
}
.filter-tabs button {
  font-size: 12px;
}
.filter-bar input,
.filter-bar select {
  font-size: 12px;
}
.data-table {
  font-size: 13px;
}
.data-table th {
  font-size: 10px;
}
.data-table td {
  font-size: 12px;
}
.data-table .client-name strong {
  font-size: 13px;
}
.data-table .client-name small {
  font-size: 11px;
}
.data-table td[style*="font-size:10px"] {
  font-size: 12px !important;
}
.data-table td span[style*="font-size:10px"] {
  font-size: 12px !important;
}
.data-table td[style*="font-size:11px"] {
  font-size: 13px !important;
}
.badge {
  font-size: 11px;
}
.panel-head h2 {
  font-size: 17px;
}
.panel-head a {
  font-size: 12px;
}
.balance-top {
  font-size: 12px;
}
.balance-caption,
.balance-currencies span {
  font-size: 11px;
}
.balance-actions .btn {
  font-size: 12px;
  min-height: 39px;
}
.transaction-text strong {
  font-size: 12px;
}
.transaction-text small {
  font-size: 10px;
}
.transaction-right strong {
  font-size: 13px;
}
.transaction-right .badge {
  font-size: 10px;
}
.recipient-top h2,
.account-top h2 {
  font-size: 17px;
}
.recipient-number,
.account-number {
  font-size: 13px;
}
.detail-row {
  font-size: 12px;
}
.account-actions .btn,
.card-shell-actions .btn {
  font-size: 12px;
  min-height: 37px;
}
.request-form input,
.request-form select,
.request-form textarea {
  font-size: 14px;
}
.request-form .field > label {
  font-size: 13px;
}
.request-aside p {
  font-size: 13px;
}
.request-aside .benefit-row h3 {
  font-size: 13px;
}
.request-aside .benefit-row p {
  font-size: 11px;
}
.form-footnote,
.table-note,
.app-footer {
  font-size: 10px;
}
.profile-card p {
  font-size: 13px;
}
.profile-id {
  font-size: 11px;
}
.profile-actions .btn {
  font-size: 11px;
}
.thread-item h3 {
  font-size: 14px;
}
.thread-item p {
  font-size: 12px;
}
.thread-item small {
  font-size: 10px;
}
.chat-message strong {
  font-size: 11px;
}
.chat-message p {
  font-size: 14px;
}
.chat-message time {
  font-size: 10px;
}
.conversation-heading p {
  font-size: 12px;
}
.reply-form textarea {
  font-size: 13px;
}
.security-panel > p {
  font-size: 13px;
}
.security-panel .field > label {
  font-size: 12px;
}
.security-panel .field input {
  font-size: 13px;
}
.audit-row strong {
  font-size: 13px;
}
.audit-row p {
  font-size: 12px;
}
.audit-row time {
  font-size: 11px;
}
.trade-balance,
.trade-form .field > label,
.practice-deposit,
.demo-banner {
  font-size: 12px;
}
.trade-form input,
.trade-form select {
  font-size: 13px;
}
.trade-header small {
  font-size: 11px;
}
.trade-periods button {
  font-size: 11px;
}
.trade-form h2 {
  font-size: 16px;
}
.session-card small {
  font-size: 11px;
}
.currency-card p {
  font-size: 12px;
}
@media (max-width: 1100px) {
  .app-nav > a {
    font-size: 12px;
  }
  .page-heading-actions .btn {
    font-size: 11px;
  }
  .metric .metric-label {
    font-size: 10px;
  }
  .user-chip strong {
    font-size: 11px;
  }
  .user-chip small {
    font-size: 9px;
  }
}
@media (max-width: 600px) {
  .app-nav > a {
    font-size: 14px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading-actions .btn {
    font-size: 11px;
  }
  .transaction-text strong {
    font-size: 12px;
    max-width: 170px;
  }
  .transaction-text small {
    font-size: 10px;
  }
  .transaction-right strong {
    font-size: 12px;
  }
  .transaction-right .badge {
    font-size: 9px;
  }
  .filter-tabs button {
    font-size: 11px;
  }
  .metric .metric-label {
    font-size: 11px;
  }
  .chat-message p {
    font-size: 13px;
  }
  .profile-actions .btn {
    font-size: 11px;
  }
  .account-actions .btn {
    font-size: 11px;
  }
  .data-table {
    min-width: 0;
    display: block;
  }
  .data-table thead {
    display: none;
  }
  .data-table tbody {
    display: block;
  }
  .data-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px 19px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .data-table tr:last-child {
    border-bottom: 0;
  }
  .data-table td {
    display: flex;
    flex-direction: column;
    align-items: start;
    border: 0;
    padding: 0;
    min-width: 0;
    font-size: 12px !important;
  }
  .data-table td:first-child {
    grid-column: 1/-1;
  }
  .data-table td:last-child {
    justify-content: end;
  }
  .data-table td:before {
    content: attr(data-label);
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
    color: #94a5b8;
    margin-bottom: 8px;
  }
  .data-table td:first-child:before,
  .data-table td:last-child:before {
    display: none;
  }
  .data-table .client-name strong {
    font-size: 13px;
  }
  .data-table .client-name small {
    font-size: 10px;
    max-width: 245px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .data-table td .table-action {
    align-self: end;
  }
  .data-table td .btn {
    font-size: 10px;
    align-self: end;
  }
  .security-panel > p {
    font-size: 12px;
  }
  .audit-row strong {
    font-size: 12px;
  }
  .audit-row p {
    font-size: 11px;
  }
  .audit-row time {
    font-size: 10px;
  }
  .app-footer {
    font-size: 9px;
  }
  .dashboard-mini .metric-label {
    font-size: 11px;
  }
  .trade-periods button {
    font-size: 10px;
  }
  .demo-banner {
    font-size: 10px;
  }
  .request-form .field > label {
    font-size: 12px;
  }
  .field-hint {
    font-size: 10px;
  }
}
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 760px) {
  .sidebar {
    width: 100%;
    height: 100dvh;
    max-width: none;
  }
  .sidebar-brand {
    padding: 21px 24px;
  }
  .workspace-label {
    font-size: 10px;
  }
  .app-nav {
    padding: 5px 18px;
  }
  .app-nav > a {
    font-size: 16px;
    padding: 12px 16px;
    min-height: 48px;
    border-radius: 14px;
  }
  .sidebar-note {
    display: none;
  }
  .sidebar-bottom {
    padding: 16px 24px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .sidebar-logout {
    font-size: 14px;
  }
  .drawer-backdrop {
    display: none !important;
  }
  .drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf3fa;
  }
  .app-topbar {
    gap: 10px;
  }
  .app-topbar-right {
    gap: 8px;
  }
  .app-topbar .server-state {
    display: none;
  }
  .user-chip > span:last-child {
    display: none;
  }
  .app-topbar .workspace-type {
    display: none;
  }
  .app-topbar .topbar-divider {
    display: none;
  }
  .app-topbar .app-home {
    font-weight: 750;
  }
  .client-layout .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: flex;
    justify-content: space-around;
    background: #ffffffed;
    backdrop-filter: blur(18px);
    border-top: 1px solid #e4ecf5;
    padding: 10px 9px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 25px #19334f05;
  }
  .mobile-bottom-nav > a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    min-width: 52px;
    min-height: 43px;
    color: #8798ad;
    font-size: 9px;
    font-weight: 650;
  }
  .mobile-bottom-nav > a > .material-symbols-rounded {
    font-size: 24px;
    padding: 3px 12px;
    border-radius: 11px;
  }
  .mobile-bottom-nav > a.active {
    color: #2d5686;
  }
  .mobile-bottom-nav > a.active > .material-symbols-rounded {
    background: #e7f0fa;
  }
  .client-layout .app-content {
    padding: 24px 20px 28px;
  }
  .client-layout .app-stage {
    padding-bottom: 85px;
  }
  .client-layout .page-heading {
    margin-bottom: 23px;
  }
  .client-layout .page-heading h1 {
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -0.9px;
  }
  .client-layout .page-heading .eyebrow {
    display: none;
  }
  .client-layout .page-heading p {
    font-size: 12px;
    margin-top: 10px;
  }
  .client-layout .dashboard-grid {
    display: block;
  }
  .client-layout .dashboard-balance {
    border: 0;
    border-radius: 0;
    padding: 10px 0 22px;
    background: transparent;
    box-shadow: none;
  }
  .client-layout .balance-top {
    font-size: 12px;
    font-weight: 500;
    color: #6b7f98;
  }
  .client-layout .balance-top > span:last-child {
    display: none;
  }
  .client-layout .balance-value {
    font-size: 42px;
    letter-spacing: -1.8px;
    line-height: 1.25;
    margin: 10px 0;
  }
  .client-layout .balance-caption {
    font-size: 11px;
    color: #7e90a5;
  }
  .client-layout .balance-currencies {
    gap: 10px;
  }
  .client-layout .balance-actions {
    display: none;
  }
  .client-layout .dashboard-mini {
    display: none;
  }
  .client-layout .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 22px 0 6px;
  }
  .mobile-quick-actions > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    color: #566d87;
    text-align: center;
    font-weight: 600;
  }
  .mobile-quick-actions > a > .material-symbols-rounded {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #eaf2fb;
    color: #325d8f;
    font-size: 24px;
  }
  .mobile-quick-actions > a:active > .material-symbols-rounded {
    background: #d8e9f8;
    transform: scale(0.94);
  }
  .client-layout .dashboard-lower {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 12px;
  }
  .client-layout .dashboard-lower > .panel {
    border: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
  }
  .client-layout .panel-head {
    margin-bottom: 15px;
  }
  .client-layout .panel-head > h2 {
    font-size: 16px;
    font-weight: 750;
  }
  .client-layout .panel-head > .text-link {
    font-size: 11px;
  }
  .client-layout .transaction-row {
    padding: 17px 0;
    gap: 11px;
  }
  .client-layout .transaction-icon {
    width: 40px;
    height: 40px;
    background: #eef4fa;
    border-radius: 14px;
  }
  .client-layout .transaction-text > strong {
    font-size: 13px;
    font-weight: 650;
  }
  .client-layout .transaction-text > small {
    font-size: 10px;
    margin-top: 5px;
  }
  .client-layout .transaction-right > strong {
    font-size: 13px;
    font-weight: 700;
  }
  .client-layout .transaction-right .badge {
    font-size: 8px;
    margin-top: 4px;
  }
  .client-layout .dashboard-lower .empty-state {
    padding: 30px 14px;
    background: #f6f9fd;
    border-radius: 20px;
  }
  .client-layout .dashboard-lower .empty-symbol {
    width: 46px;
    height: 46px;
  }
  .client-layout .app-content > .callout {
    margin-top: 24px !important;
    font-size: 11px;
  }
  .client-layout .app-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .client-layout .request-aside {
    display: none;
  }
  .client-layout .request-form {
    padding: 22px;
  }
  .client-layout .field > label {
    font-size: 12px;
  }
  .client-layout input,
  .client-layout textarea {
    font-size: 16px;
  }
  .client-layout .recipient-card,
  .client-layout .account-card {
    padding: 22px;
  }
  .client-layout .cards-grid {
    gap: 18px;
  }
  .client-layout .card-shell {
    padding: 14px;
  }
  .client-layout .account-value {
    font-weight: 750;
    font-size: 29px;
  }
}
.mobile-quick-actions {
  display: none;
}
@media (max-width: 760px) {
  .client-layout .mobile-quick-actions {
    display: grid;
  }
}
/* Five card designs, with actual account values kept as readable HTML. */
.card-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.586;
  min-height: 0;
  height: auto;
  background: transparent !important;
  border-radius: 0;
  padding: 13% 9% 12%;
  color: #1c3651;
  overflow: visible;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: -1;
  pointer-events: none;
}
.card-dark {
  color: #fff;
}
.card-top {
  align-items: center;
  font-size: 9px;
  gap: 10px;
}
.card-top > span {
  color: inherit !important;
  font-size: 8px;
  opacity: 0.85;
  white-space: nowrap;
}
.card-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-brand > img {
  width: 25px;
  height: 25px;
}
.card-brand > strong {
  font-size: 19px;
  letter-spacing: -0.8px;
  font-weight: 750;
}
.card-dark .card-brand > img {
  filter: brightness(0) invert(1);
}
.card-number {
  margin: 17px 0 14px;
  font-size: clamp(11px, 1.3vw, 17px);
  letter-spacing: 1.2px;
  opacity: 0.9;
}
.card-bottom small {
  color: inherit !important;
  opacity: 0.72;
  font-size: 7px;
}
.card-bottom strong {
  color: inherit;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.5px;
}
.card-bottom .expiry {
  font-size: 11px;
  color: inherit;
}
.card-bottom-side {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.card-network {
  display: block;
  flex-shrink: 0;
}
.card-network-visa {
  width: 52px;
  height: 16px;
}
.card-network-mastercard {
  width: 42px;
  height: 28px;
}
.card-network-usdt_trc20 {
  width: 28px;
  height: 28px;
}
.card-blocked {
  filter: saturate(0.35);
  opacity: 0.75;
}
.card-blocked:after {
  background: #edf3fa88;
  border-radius: 20px;
  inset: 10% 3%;
  z-index: 1;
}
.card-visual .card-top,
.card-visual .card-number,
.card-visual .card-bottom {
  z-index: 2;
}
.card-design-picker {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  min-width: 0;
}
.card-design-picker legend {
  font-size: 18px;
  letter-spacing: -0.5px;
  font-weight: 750;
  margin-bottom: 7px;
}
.design-picker-lead {
  font-size: 12px;
  color: #647992;
  margin-bottom: 12px;
}
.design-large-preview {
  background: radial-gradient(ellipse at center, #e4eef8, #f5f8fc 70%);
  border: 1px solid #e4ecf5;
  border-radius: 21px;
  padding: 6px 20px;
  overflow: hidden;
}
.design-preview-card {
  position: relative;
  aspect-ratio: 1.586;
  width: 100%;
  max-width: 400px;
  margin: auto;
  color: #1c3651;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14% 10% 13%;
  isolation: isolate;
  animation: card-appear 0.3s ease;
}
.design-preview-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.design-dark {
  color: #fff;
}
.design-preview-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.design-preview-top > strong {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
}
.design-preview-top > span {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 2px;
}
.design-dark .design-preview-top > img {
  filter: brightness(0) invert(1);
}
.design-preview-number {
  font-size: 19px;
  letter-spacing: 1.5px;
  margin: 22px 0 14px;
}
.design-preview-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 8px;
  letter-spacing: 1.8px;
  opacity: 0.8;
}
.design-preview-end {
  display: flex;
  align-items: center;
  gap: 10px;
}
.design-preview-network {
  display: block;
  flex-shrink: 0;
}
.design-preview-network[hidden] {
  display: none;
}
.design-preview-network-visa {
  width: 46px;
  height: 14px;
}
.design-preview-network-mastercard {
  width: 36px;
  height: 24px;
}
.card-network-picker {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}
.card-network-picker legend {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.network-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.network-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid #d7e2ee;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
}
.network-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.network-option img {
  width: 42px;
  height: 14px;
  object-fit: contain;
}
.network-option img[src*="mastercard"] {
  width: 36px;
  height: 24px;
}
.network-option img[src*="tether"] {
  width: 28px;
  height: 28px;
}
.network-option span {
  font-size: 14px;
  font-weight: 700;
  color: #1c3651;
}
.network-option.selected,
.network-option:has(input:checked) {
  border-color: #365c88;
  background: #eef5fb;
  box-shadow: inset 0 0 0 1px #365c88;
}
.network-option:focus-within {
  outline: 2px solid #365c88;
  outline-offset: 2px;
}
.design-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 2px 16px;
}
.design-caption > strong {
  font-weight: 750;
  font-size: 14px;
}
.design-caption > span {
  font-size: 11px;
  color: #627991;
  text-align: right;
}
.design-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.design-option {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 9px;
  color: #62768f;
  background: #fff;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.design-option-image {
  position: relative;
  width: 100%;
  display: block;
}
.design-option-image > img {
  width: 100%;
  aspect-ratio: 1.586;
  object-fit: fill;
}
.design-option-image > .material-symbols-rounded {
  position: absolute;
  right: 3px;
  bottom: 6px;
  width: 17px;
  height: 17px;
  background: #fff;
  color: #315e8a;
  border-radius: 50%;
  display: none;
  font-size: 13px;
  place-items: center;
  box-shadow: 0 2px 6px #192e4933;
}
.design-option.selected {
  border: 2px solid #6f98c7;
  padding: 3px 3px 7px;
  background: #f0f6fd;
  color: #254e7d;
  font-weight: 700;
}
.design-option.selected .material-symbols-rounded {
  display: grid;
}
.design-option:hover {
  border-color: #91b1d4;
  transform: translateY(-2px);
}
.design-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.design-option:has(input:focus-visible) {
  outline: 3px solid #77a4d4;
  outline-offset: 3px;
}
@keyframes card-appear {
  from {
    opacity: 0.3;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 760px) {
  .card-number {
    font-size: 16px;
  }
  .card-bottom strong {
    font-size: 23px;
  }
  .design-large-preview {
    padding: 3px 8px;
  }
  .design-preview-number {
    font-size: 16px;
    margin: 14px 0;
  }
  .design-preview-top > strong {
    font-size: 21px;
  }
  .design-preview-top > span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .design-preview-top > img {
    width: 58px;
    height: 20px;
  }
  .design-caption {
    align-items: start;
    gap: 8px;
  }
  .design-caption > span {
    font-size: 10px;
    max-width: 200px;
  }
  .design-options {
    gap: 5px;
  }
  .design-option {
    font-size: 8px;
    padding-bottom: 7px;
  }
  .design-option.selected {
    padding-bottom: 6px;
  }
  .card-design-picker {
    margin-bottom: 18px;
  }
}
.design-preview-number,
.card-number {
  white-space: nowrap;
}
.design-preview-number {
  font-size: 17px;
  letter-spacing: 1px;
}
.card-application .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.card-application .modal-body {
  padding-top: 16px;
}
.card-application .modal-head {
  padding-bottom: 18px;
}
@media (max-width: 760px) {
  .client-layout .dashboard-balance:before,
  .client-layout .dashboard-balance:after {
    display: none;
  }
  .design-preview-number {
    font-size: 14px;
    letter-spacing: 0.9px;
  }
  .card-application .modal-body {
    padding: 16px 20px;
  }
  .card-application .modal-head {
    padding: 20px 20px 13px;
  }
  .card-application .modal-head h2 {
    font-size: 21px;
  }
  .card-application .design-preview-card {
    max-width: 310px;
  }
  .card-application .design-caption {
    padding-top: 9px;
    padding-bottom: 12px;
  }
  .card-application .design-picker-lead {
    margin-bottom: 8px;
  }
  .card-application .card-design-picker legend {
    font-size: 16px;
  }
  .card-application .card-design-picker {
    margin-bottom: 17px;
  }
  .card-application .field-row {
    gap: 12px;
  }
  .card-application .field {
    margin-bottom: 12px;
  }
  .card-application .modal-actions {
    padding: 16px 20px;
  }
  .card-application .design-preview-top > strong {
    font-size: 19px;
  }
}
.card-brand > img {
  width: 58px;
  height: 20px;
}
.design-preview-top > img {
  width: 65px;
  height: 22px;
}
.app-home {
  display: flex;
  align-items: center;
}
.app-home > img {
  width: 76px;
  height: 24px;
}
@media (max-width: 760px) {
  .design-preview-top > img {
    width: 60px;
    height: 20px;
  }
  .app-home > img {
    width: 64px;
    height: 20px;
  }
  .client-layout .transaction-row {
    background: linear-gradient(105deg, #f0f7fc, #f7fafe);
    border: 0;
    border-radius: 18px;
    padding: 16px 14px !important;
    margin-bottom: 9px;
  }
  .client-layout .transaction-icon {
    background: #fff;
    color: #496a8b;
    border-radius: 50%;
    width: 39px;
    height: 39px;
  }
  .client-layout .transaction-right .badge {
    background: transparent;
    padding: 2px 0;
    color: #7e92a9;
  }
  .client-layout .transaction-right .badge > span {
    display: none;
  }
}

.receipt-preview {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
  padding: 12px;
  border: 1px solid #e3ebf1;
  border-radius: 12px;
  background: #f7fafc;
}
.receipt-preview > span {
  font-size: 11px;
  color: #4d6784;
}
.receipt-preview img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}
.receipt-preview .btn {
  justify-self: start;
}
@media (max-width: 760px) {
  .app-stage {
    overflow-x: hidden;
    min-width: 0;
  }
  .app-topbar {
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
    gap: 8px;
  }
  .app-topbar-left,
  .app-topbar-right {
    min-width: 0;
    gap: 8px;
  }
  .language-picker {
    min-width: 0;
  }
  .callout,
  .app-callout {
    flex-wrap: wrap;
  }
  .callout > .btn,
  .callout > a {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .btn {
    white-space: normal;
    gap: 8px;
    max-width: 100%;
  }
  .empty-symbol {
    overflow: hidden;
  }
  .mobile-bottom-nav > a {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .mobile-bottom-nav > a > span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .panel,
  .page-heading,
  .app-content {
    min-width: 0;
    max-width: 100%;
  }
}
.receipt-missing {
  border-color: #f0d9df;
  background: #fff6f7;
}
.receipt-missing strong {
  color: #b3261e;
  font-size: 13px;
}
.payment-confirmation {
  margin: 12px 0;
}
.profile-danger-zone {
  margin-top: 48px;
  padding: 22px 24px;
  border: 1px solid #f0d9df;
  border-radius: 16px;
  background: #fff8f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.profile-danger-zone h2 {
  font-size: 14px;
  margin: 0 0 4px;
  color: #b3261e;
}
.profile-danger-zone p {
  margin: 0;
  font-size: 11px;
  color: #7a5560;
  max-width: 560px;
}
