:root {
  --bg: #142c39;
  --bg-soft: #1d3944;
  --card: rgba(20, 44, 57, 0.7);
  --card-strong: rgba(29, 57, 68, 0.9);
  --panel: #ffffff;
  --panel-alt: #f5f8f8;
  --text: #172b37;
  --muted: #667780;
  --primary: #225b56;
  --primary-dark: #194742;
  --primary-soft: #e8f1ef;
  --border: #dbe4e7;
  --success: #20765d;
  --error: #ad4545;
  --shadow: 0 14px 34px rgba(20, 44, 57, 0.07);
  --shadow-card: 0 3px 12px rgba(20, 44, 57, 0.04);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  color: var(--text);
}

body {
  min-height: 100vh;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(135deg, #020817 0%, #0f172a 45%, #172554 100%);
}

.background-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.glow-one {
  width: 360px;
  height: 360px;
  background: rgba(59, 130, 246, 0.4);
  top: 10%;
  left: 10%;
}

.glow-two {
  width: 420px;
  height: 420px;
  background: rgba(168, 85, 247, 0.28);
  right: 8%;
  bottom: 12%;
}

.login-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: min(940px, 100%);
  min-height: 620px;
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-panel {
  padding: 58px 52px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(15, 23, 42, 0.75));
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.8;
}

.brand-panel h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.brand-copy {
  margin-top: 18px;
  max-width: 420px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.form-panel {
  padding: 44px 42px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 28px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: white;
  font-weight: 700;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.input,
input[type="email"],
.password-input-wrap input,
#username {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--panel-alt);
  border-radius: 12px;
  height: 52px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 80px;
}

.password-toggle {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 52px;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: white;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-family: inherit;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

.options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-wrap input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.primary-btn,
.secondary-btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
}

.primary-btn {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  height: 52px;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

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

.primary-btn:active {
  transform: translateY(0);
}

.status-message {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.status-message.success {
  color: var(--success);
}

.status-message.error {
  color: var(--error);
}

.signup-text {
  margin-top: 18px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.dashboard-body {
  background:
    radial-gradient(ellipse at 78% 0%, rgba(219, 234, 254, 0.72), transparent 34rem),
    #f4f7fc;
  color: var(--text);
}

.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 28px;
  gap: 26px;
  align-items: flex-start;
}

.sidebar {
  width: 258px;
  flex: 0 0 258px;
  position: sticky;
  top: 28px;
  min-height: calc(100vh - 56px);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 24px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-item:hover {
  transform: translateX(2px);
}

.nav-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1f5f9;
  color: inherit;
}

.nav-item.active .nav-icon {
  background: #dce8ff;
}

.nav-icon svg {
  width: 17px;
  height: 17px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
}

.user-banner {
  width: 100%;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  background: #e7eeeb;
}

.user-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-profile {
  gap: 8px;
  padding: 0 8px 12px;
}

.sidebar-profile .user-banner {
  flex: 0 0 calc(100% + 16px);
  width: calc(100% + 16px);
  height: 76px;
  margin: 0 -8px;
}

.sidebar-profile .avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin-top: -26px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.sidebar-profile > div:not(.user-banner):not(.avatar) {
  min-width: 0;
  margin-top: -26px;
  padding: 12px 8px 4px;
  text-align: right;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
}

.avatar.has-image {
  overflow: hidden;
  padding: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.user-pill strong,
.user-pill small {
  display: block;
}

.user-pill small {
  color: var(--muted);
  margin-top: 2px;
}

.sidebar-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff;
  color: #b91c1c;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sidebar-logout:hover {
  border-color: #fca5a5;
  background: #fef2f2;
}

.sidebar-logout:focus-visible {
  outline: 2px solid rgba(239, 68, 68, 0.5);
  outline-offset: 2px;
}

.sidebar-logout:disabled {
  cursor: wait;
  opacity: 0.7;
}

.sidebar-logout svg {
  width: 18px;
  height: 18px;
}

.logout-status {
  margin: 0;
  color: #b91c1c;
  font-size: 0.8rem;
  line-height: 1.4;
}

.floating-help-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border: 1px solid rgba(34, 91, 86, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4f51, #2d6f6d);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(23, 63, 68, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-help-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(23, 63, 68, 0.28);
}

.floating-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.floating-help-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.app-alert-region {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2000;
  display: grid;
  width: min(420px, calc(100vw - 36px));
  gap: 10px;
  pointer-events: none;
}

.app-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #c8d8e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  color: #183047;
  animation: app-alert-enter 180ms ease-out;
  pointer-events: auto;
}

.app-alert p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.app-alert-success {
  border-color: #a9d7c2;
  background: #f1fbf5;
  color: #14543c;
}

.app-alert-error {
  border-color: #edc2c2;
  background: #fff6f5;
  color: #812d2b;
}

.app-alert-dismiss {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

@keyframes app-alert-enter {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-card);
  border-radius: 18px;
  padding: 17px 22px;
}

.topbar-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topbar-title h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.3rem);
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.topbar-title .eyebrow {
  margin: 0;
  color: var(--muted);
  opacity: 1;
  letter-spacing: 0.14em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.icon-btn.sidebar-toggle {
  display: none;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 228px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-box:focus-within {
  border-color: #93b4f8;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box input {
  border: none;
  background: transparent;
  height: 42px;
  width: 100%;
  color: var(--text);
  outline: none;
  box-shadow: none;
}

.search-box input:focus {
  background: transparent;
  box-shadow: none;
}

.search-box input::placeholder {
  color: var(--muted);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: #c7d8ff;
  transform: translateY(-1px);
}

.secondary-btn {
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: white;
  color: var(--text);
  padding: 10px 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.landing-page .nav-cta {
  border: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.3);
}

.secondary-btn:hover {
  background: var(--primary-soft);
  border-color: #c7d8ff;
  color: var(--primary-dark);
}

.icon-btn:focus-visible,
.nav-item:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.dashboard {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.welcome-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(15, 23, 42, 0.94));
  color: white;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.16);
}

.welcome-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  letter-spacing: -0.06em;
}

.eyebrow.white {
  color: rgba(255, 255, 255, 0.8);
}

.welcome-copy {
  margin: 8px 0 0;
  max-width: 620px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.welcome-account-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 22px;
}

.welcome-account-summary > div {
  display: grid;
  gap: 4px;
}

.welcome-account-summary span {
  color: rgba(244, 248, 247, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.welcome-account-summary strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.home-btn {
  min-width: 170px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.account-overview {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-summary {
  margin-bottom: 22px;
}

.dashboard-summary .panel-header {
  align-items: flex-start;
  margin-bottom: 14px;
}

.dashboard-summary .panel-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.dashboard-summary .panel-header p.is-error {
  color: var(--error);
}

.dashboard-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.dashboard-summary-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}

.dashboard-summary-card h4 {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.dashboard-summary-card strong {
  font-size: 1.05rem;
}

.dashboard-summary-detail {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 16px;
}

.dashboard-chart-panel,
.dashboard-quick-actions {
  min-width: 0;
  margin: 0;
  border-color: #e0e9e7;
  box-shadow: 0 5px 18px rgba(20, 44, 57, 0.045);
}

.dashboard-chart-panel .panel-header,
.dashboard-quick-actions .panel-header {
  align-items: flex-start;
  gap: 12px;
}

.dashboard-chart-panel .panel-header h3,
.dashboard-quick-actions .panel-header h3 {
  margin: 0;
}

.dashboard-chart-panel .panel-header p:not(.eyebrow),
.dashboard-quick-actions .panel-header p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.dashboard-chart-panel .eyebrow,
.dashboard-quick-actions .eyebrow {
  margin: 0 0 6px;
  color: #638078;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.dashboard-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.dashboard-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dashboard-chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-incoming,
.monthly-flow-incoming {
  background: #23896d;
}

.legend-outgoing,
.monthly-flow-outgoing {
  background: #ed9b58;
}

.monthly-flow-chart,
.currency-balance-list {
  display: grid;
  gap: 16px;
}

.monthly-flow-group {
  display: grid;
  gap: 9px;
}

.monthly-flow-group + .monthly-flow-group {
  padding-top: 15px;
  border-top: 1px solid #eaf0ee;
}

.monthly-flow-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.monthly-flow-heading h4 {
  margin: 0;
  color: #263f40;
  font-size: 0.8rem;
}

.monthly-flow-net {
  color: #24765f;
  font-size: 0.72rem;
  font-weight: 800;
}

.monthly-flow-net.is-negative {
  color: #a64e3c;
}

.monthly-flow-row {
  display: grid;
  grid-template-columns: 60px minmax(30px, 1fr) minmax(86px, auto);
  align-items: center;
  gap: 10px;
}

.monthly-flow-label {
  color: var(--muted);
  font-size: 0.69rem;
}

.monthly-flow-track {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #eef2f1;
}

.monthly-flow-track > span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  transition: width 350ms ease;
}

.monthly-flow-amount {
  color: #304848;
  font-size: 0.72rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.currency-balance-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #eaf0ee;
}

.currency-balance-item:last-child {
  border-bottom: 0;
}

.currency-balance-marker {
  width: 8px;
  height: 28px;
  border-radius: 99px;
  background: linear-gradient(180deg, #55aa88, #205d53);
}

.currency-balance-code {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.currency-balance-item strong {
  color: #194742;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.dashboard-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.dashboard-action-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #e3ece8;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f8fbf9);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus-visible {
  transform: translateY(-2px);
  border-color: #a9cdbd;
  box-shadow: 0 8px 18px rgba(20, 65, 55, 0.08);
}

.dashboard-action-card:focus-visible {
  outline: 3px solid rgba(34, 91, 86, 0.2);
  outline-offset: 2px;
}

.dashboard-action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #eaf4ef;
  color: #24765f;
  font-size: 1.25rem;
  font-weight: 800;
}

.dashboard-action-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.dashboard-action-card strong {
  overflow: hidden;
  color: #263f40;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-action-card small {
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.4;
}

.dashboard-action-arrow {
  color: #7d9990;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .dashboard-analytics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dashboard-chart-panel .panel-header {
    flex-direction: column;
  }

  .dashboard-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .monthly-flow-row {
    grid-template-columns: 54px minmax(24px, 1fr) minmax(78px, auto);
    gap: 7px;
  }

  .monthly-flow-amount {
    font-size: 0.66rem;
  }
}

.account-balance-card {
  max-width: 460px;
}

.dashboard-account-status-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.account-status-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf1f2;
  color: #435861;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
}

.account-status-badge.status-active {
  background: #e8f5ed;
  color: #21623d;
}

.account-status-badge.status-frozen {
  background: #fff5dc;
  color: #765a16;
}

.account-status-badge.status-suspended,
.account-status-badge.status-closed {
  background: #fff0ee;
  color: #913c35;
}

.stat-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.stat-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.stat-card strong {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.06em;
}

.stat-card small {
  color: var(--success);
  font-weight: 600;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.project-list,
.task-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.project-list li:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.project-list h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.project-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.status-pill {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 7px 10px;
  white-space: nowrap;
}

.status-pill.success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.status-pill.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.status-pill.info {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
}

.task-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.page-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  letter-spacing: -0.06em;
}

.page-intro p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.supporting-copy {
  color: var(--muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #f8fafc;
  color: var(--text);
  padding: 12px 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #93b4f8;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.wire-submit-button:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.wire-button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wire-button-spinner-rotate 0.7s linear infinite;
}

.wire-button-spinner[hidden] {
  display: none;
}

.wire-transfer-summary {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1.3fr);
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.transfer-success-summary {
  margin: 18px 0;
  text-align: left;
}

.transfer-flow-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(88vh, 760px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 24px 70px rgba(20, 44, 57, 0.25);
}

.transfer-flow-dialog[open] {
  display: block;
}

.transfer-flow-dialog::backdrop {
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(3px);
}

.transfer-flow-dialog > .panel {
  max-height: min(88vh, 760px);
  margin: 0;
  overflow-y: auto;
}

#wireRecipientForm[hidden] {
  display: none;
}

.wire-transfer-summary dt,
.wire-transfer-summary dd {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.wire-transfer-summary dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.wire-transfer-summary dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.wire-transfer-summary dt:nth-last-of-type(1),
.wire-transfer-summary dd:last-child {
  border-bottom: 0;
}

.wire-otp-expiry,
.wire-otp-help {
  font-size: 0.84rem;
}

.wire-otp-help {
  color: var(--muted);
}

.wire-success-panel {
  text-align: center;
}

.wire-success-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: rgba(32, 118, 93, 0.12);
  color: var(--success);
  font-size: 1.65rem;
  font-weight: 800;
}

.wire-success-panel h2,
.wire-processing-panel h2 {
  margin: 0 0 10px;
  color: var(--text);
}

.wire-success-reference {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 520px) {
  .wire-transfer-summary {
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  }

  .wire-transfer-summary dt,
  .wire-transfer-summary dd {
    padding: 10px;
    font-size: 0.8rem;
  }
}

.wire-recipient-status.success {
  color: var(--success);
}

.wire-recipient-status.error {
  color: var(--error);
}

@keyframes wire-button-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.account-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.account-card strong {
  font-size: 1.5rem;
}

.account-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}

.data-table th,
.data-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table td {
  font-size: 0.9rem;
}

.data-table td:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.data-table .transaction-direction-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
}

.data-table .transaction-direction-icon svg {
  width: 17px;
  height: 17px;
}

.data-table .transaction-direction-icon.incoming {
  background: #e8f5ee;
  color: #20765d;
}

.data-table .transaction-direction-icon.outgoing {
  background: #fff0ed;
  color: #b64c42;
}

.transaction-description {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.transaction-party-name {
  color: var(--muted);
  font-size: 0.72rem;
}

.amount-positive {
  color: #047857;
  font-weight: 700;
}

.amount-negative {
  color: var(--text);
  font-weight: 700;
}

.transaction-row-clickable {
  cursor: pointer;
  transition: background-color 140ms ease;
}

.transaction-row-clickable:hover,
.transaction-row-clickable:focus-visible {
  background: #f3f8f6;
  outline: none;
}

.transaction-details-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 24px 70px rgba(20, 44, 57, 0.25);
}

.transaction-details-dialog::backdrop {
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
}

.transaction-details-shell {
  padding: 26px;
  background: #fff;
}

.transaction-details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.transaction-details-header h2 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: 1.35rem;
}

.transaction-details-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #f7faf9;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.transaction-details-direction {
  width: fit-content;
  margin-top: 22px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.transaction-details-direction.incoming {
  background: #e8f5ee;
  color: #20765d;
}

.transaction-details-direction.outgoing {
  background: #fff0ed;
  color: #b64c42;
}

.transaction-details-amount {
  margin: 12px 0 22px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.transaction-details-list {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  margin: 0;
  border-top: 1px solid var(--border);
}

.transaction-details-list dt,
.transaction-details-list dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.transaction-details-list dt {
  color: var(--muted);
  font-weight: 700;
}

.transaction-details-list dd {
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.transaction-details-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.75rem;
}

.transaction-details-footer a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.card-preview {
  min-height: 220px;
  border-radius: 22px;
  padding: 24px;
  color: white;
  background: linear-gradient(135deg, #1d4ed8, #172554);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 32px rgba(29, 78, 216, 0.2);
}

.card-preview strong {
  font-size: 1.1rem;
}

.card-number {
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.status-pill.neutral {
  background: #f1f5f9;
  color: #475569;
}

@media (max-width: 1000px) {
  .app-shell {
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  .sidebar {
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
    position: static;
    padding: 16px;
  }

  .brand-wrap {
    padding-bottom: 12px;
  }

  .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }

  .nav-item {
    min-width: 0;
  }

  .sidebar-footer {
    margin-top: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding: 14px;
    gap: 14px;
  }

  .sidebar {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1001;
    width: min(258px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    padding: 14px;
    border-radius: 18px;
    overflow-y: auto;
  }

  .app-shell.sidebar-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.4);
  }

  .app-shell.sidebar-open .sidebar {
    display: flex;
  }

  .icon-btn.sidebar-toggle {
    display: grid;
    flex: 0 0 40px;
  }

  .sidebar-nav {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .topbar-title {
    flex: 1;
    min-width: 0;
  }

  .nav-item {
    gap: 8px;
    padding: 7px;
    font-size: 0.82rem;
  }

  .nav-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .user-pill {
    padding: 8px;
  }

  .topbar {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .topbar-actions {
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .search-box {
    flex: 1;
    min-width: 0;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .welcome-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .stats-grid,
  .content-grid,
  .form-grid,
  .page-stats {
    grid-template-columns: 1fr;
  }

  .form-field.full-width {
    grid-column: auto;
  }

  .page-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel {
    padding: 18px;
  }

  .panel-header {
    align-items: flex-start;
    gap: 12px;
  }

  .account-card strong {
    font-size: 1.3rem;
  }

  .card-preview {
    min-height: 190px;
    padding: 20px;
  }

  .card-number {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .app-shell {
    padding: 10px;
  }

  .sidebar {
    padding: 12px 10px;
  }

  .brand-wrap {
    font-size: 1rem;
  }

  .nav-item {
    font-size: 0.75rem;
  }

  .nav-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #5222af 0%, #6c47d6 28%, #4f46e5 100%);
  color: #0f172a;
  font-family: "Manrope", sans-serif;
}

.landing-page .landing-bg-burst {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
    radial-gradient(circle at 73% 80%, rgba(255, 255, 255, 0.14), transparent 22%);
  pointer-events: none;
}

.landing-page .landing-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 48px auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(37, 30, 77, 0.28);
  overflow: hidden;
}

.landing-page .landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 40px 10px;
}

.landing-page .brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f172a;
}

.landing-page .brand-inline .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.landing-page .landing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.landing-page .landing-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-page .landing-account-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.landing-page .nav-login {
  color: #334b46;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.landing-page .nav-login:hover {
  color: #1d4d45;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.landing-page .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.3);
  cursor: pointer;
  text-decoration: none;
}

.landing-page .landing-hero {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 18px;
  padding: 24px 40px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92));
}

.landing-page .hero-copy {
  padding: 34px 10px 24px 10px;
}

.landing-page .hero-kicker {
  margin: 0 0 14px;
  color: #7c3aed;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-page .hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  color: #0f172a;
}

.landing-page .hero-text {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.landing-page .cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.landing-page .secondary-light {
  background: #fff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  box-shadow: none;
}

.landing-page .security-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
}

.landing-page .security-list li {
  position: relative;
  padding-left: 18px;
}

.landing-page .security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

.landing-page .hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 20px 10px 0;
}

.landing-page .visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
}

.landing-page .orb-one {
  width: 220px;
  height: 220px;
  right: 30px;
  bottom: 50px;
  background: rgba(96, 165, 250, 0.22);
}

.landing-page .orb-two {
  width: 160px;
  height: 160px;
  left: 40px;
  top: 40px;
  background: rgba(139, 92, 246, 0.18);
}

.landing-page .visual-card {
  position: relative;
  z-index: 1;
  width: min(100%, 630px);
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(224, 231, 255, 0.8), rgba(191, 219, 254, 0.8));
  box-shadow: 0 26px 64px rgba(37, 99, 235, 0.12);
}

.landing-page .visual-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.landing-page .mini-stat {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-page .mini-stat strong {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.landing-page .mini-label {
  color: #64748b;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-page .stat-up {
  top: 40px;
  right: 24px;
}

.landing-page .stat-bottom {
  left: 18px;
  bottom: 46px;
}

.landing-page .metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 40px 26px;
}

.landing-page .metric-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.landing-page .metric-name {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-page .metric-card strong {
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  letter-spacing: -0.06em;
}

.landing-page .metric-card small {
  color: #475569;
  font-size: 0.85rem;
}

.landing-page .feature-showcase {
  padding: 12px 40px 44px;
}

.landing-page .section-heading {
  margin-bottom: 22px;
}

.landing-page .section-heading p {
  margin: 0 0 10px;
  color: #7c3aed;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-page .section-heading h2 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.landing-page .feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.landing-page .feature-card {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.landing-page .feature-highlight {
  grid-column: span 1;
  background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
}

.landing-page .feature-copy {
  margin-bottom: 18px;
}

.landing-page .feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-page .feature-copy h3,
.landing-page .feature-card h3 {
  margin: 14px 0 8px;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.landing-page .feature-copy p,
.landing-page .feature-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.landing-page .feature-card img {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 190px;
}

.landing-page .feature-image-card img {
  height: 190px;
  margin-top: 18px;
  border-radius: 16px;
  object-fit: cover;
}

.landing-page .icon-tile {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.landing-page .landing-footer {
  padding: 34px 40px 22px;
  background: #111827;
  color: #e2e8f0;
}

.landing-page .footer-main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 30px;
}

.landing-page .footer-brand {
  max-width: 280px;
}

.landing-page .footer-brand .brand-inline {
  width: fit-content;
  color: #fff;
}

.landing-page .footer-brand p {
  margin: 14px 0 0;
  color: #aab5c7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.landing-page .footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.landing-page .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.landing-page .footer-column h2 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 0.82rem;
}

.landing-page .footer-column a,
.landing-page .footer-column span {
  color: #aab5c7;
  font-size: 0.82rem;
  line-height: 1.5;
  text-decoration: none;
}

.landing-page .footer-column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-page .footer-column a:focus-visible,
.landing-page .footer-bottom a:focus-visible {
  border-radius: 2px;
  outline: 2px solid #c6d9d3;
  outline-offset: 3px;
}

.landing-page .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(203, 213, 225, 0.18);
  color: #aab5c7;
  font-size: 0.76rem;
  line-height: 1.5;
}

.landing-page .footer-bottom a {
  color: #e2e8f0;
  text-decoration: none;
}

.landing-page .footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .landing-page .landing-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .landing-page .landing-nav {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
  }

  .landing-page .landing-account-actions {
    margin-left: auto;
  }

  .landing-page .landing-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-page .hero-copy {
    padding-top: 16px;
  }

  .landing-page .hero-text,
  .landing-page .security-list {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .landing-page .cta-row {
    justify-content: center;
  }

  .landing-page .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-page .footer-main {
    gap: 30px;
  }

  .landing-page .footer-links {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .landing-page .landing-shell {
    width: min(100% - 16px, 1200px);
    margin: 20px auto;
    border-radius: 22px;
  }

  .landing-page .landing-header,
  .landing-page .landing-hero,
  .landing-page .metrics-grid,
  .landing-page .feature-showcase,
  .landing-page .landing-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-page .landing-header {
    padding-top: 18px;
  }

  .landing-page .landing-nav {
    gap: 12px 16px;
  }

  .landing-page .landing-account-actions {
    gap: 12px;
  }

  .landing-page .hero-copy h1 {
    font-size: 2.6rem;
  }

  .landing-page .cta-row {
    flex-direction: column;
  }

  .landing-page .primary-btn,
  .landing-page .secondary-btn {
    width: 100%;
  }

  .landing-page .metrics-grid,
  .landing-page .feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .footer-main {
    flex-direction: column;
    gap: 28px;
  }

  .landing-page .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .landing-page .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .landing-page .visual-card {
    padding: 12px;
  }

  .landing-page .mini-stat {
    transform: scale(0.9);
  }

  .topbar {
    padding: 16px;
  }

  .topbar-title h1 {
    font-size: 1.55rem;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .search-box {
    flex-basis: 100%;
    order: 1;
  }

  .icon-btn {
    order: 0;
  }
}

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

body.dashboard-body {
  background: #f3f6f4;
}

.sidebar,
.topbar,
.stat-card,
.panel,
.account-card,
.welcome-panel,
.card-preview {
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.sidebar {
  border-color: #e4ebe7;
}

.nav-item:hover,
.nav-item.active {
  background: #e9f1ee;
  color: #1d4d45;
}

.nav-item.active .nav-icon {
  background: #d8e8e1;
}

.nav-item:hover {
  transform: none;
}

.logo-mark,
.avatar,
.landing-page .icon-tile {
  background: #28645a;
}

.avatar {
  border-radius: 50%;
}

.primary-btn {
  background: #28645a;
  box-shadow: 0 5px 12px rgba(40, 100, 90, 0.16);
}

.primary-btn:hover {
  background: #1d4d45;
  box-shadow: 0 7px 16px rgba(40, 100, 90, 0.2);
}

.secondary-btn:hover,
.icon-btn:hover {
  background: #e9f1ee;
  border-color: #c8dad2;
  color: #1d4d45;
}

.icon-btn:focus-visible,
.nav-item:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.link:focus-visible {
  outline-color: rgba(40, 100, 90, 0.35);
}

.welcome-panel {
  background: #1d4d45;
  box-shadow: 0 10px 24px rgba(29, 77, 69, 0.12);
}

.stat-card,
.panel,
.account-card,
.topbar {
  border-color: #e4ebe7;
}

.stat-card {
  background: #fff;
}

.landing-page {
  background: #e9efec;
}

.landing-page .landing-bg-burst {
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.55), transparent 28%),
    radial-gradient(circle at 73% 80%, rgba(40, 100, 90, 0.08), transparent 24%);
}

.landing-page .landing-shell {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(24, 40, 47, 0.1);
}

.landing-page .landing-header {
  padding-top: 24px;
  padding-bottom: 18px;
}

.landing-page .landing-nav a {
  color: #59696e;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
}

.landing-page .landing-nav a:hover {
  color: #1d4d45;
}

.landing-page .nav-cta {
  background: #28645a;
  border-radius: 9px;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.landing-page .nav-cta:hover {
  background: #1d4d45;
  transform: translateY(-1px);
}

.landing-page .landing-hero {
  background: #f6f8f7;
  padding-top: 36px;
  padding-bottom: 28px;
}

.landing-page .hero-copy {
  padding-top: 28px;
  padding-bottom: 28px;
}

.landing-page .hero-kicker,
.landing-page .section-heading p {
  color: #28645a;
  letter-spacing: 0.12em;
}

.landing-page .hero-copy h1 {
  max-width: 580px;
  font-size: clamp(2.8rem, 5.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.landing-page .hero-text {
  color: #59696e;
}

.landing-page .secondary-light {
  border-color: #cad8d2;
  color: #1d4d45;
}

.landing-page .secondary-light:hover {
  background: #e9f1ee;
}

.landing-page .security-list {
  color: #59696e;
}

.landing-page .security-list li::before {
  background: #75a28c;
}

.landing-page .hero-visual {
  min-height: 460px;
}

.landing-page .visual-orb {
  filter: blur(16px);
  opacity: 0.45;
}

.landing-page .orb-one {
  background: rgba(40, 100, 90, 0.14);
}

.landing-page .orb-two {
  background: rgba(115, 153, 135, 0.16);
}

.landing-page .visual-card {
  border-radius: 20px;
  padding: 12px;
  background: #e6efeb;
  box-shadow: 0 14px 34px rgba(24, 40, 47, 0.1);
}

.landing-page .visual-card img {
  border-radius: 14px;
}

.landing-page .mini-stat {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(24, 40, 47, 0.08);
}

.landing-page .metrics-grid {
  padding-top: 20px;
}

.landing-page .metric-card {
  border-radius: 14px;
  background: #fff;
  border-color: #e4ebe7;
}

.landing-page .feature-showcase {
  padding-top: 32px;
}

.landing-page .feature-card {
  min-height: 205px;
  border-radius: 16px;
  border-color: #e4ebe7;
  background: #f7f9f8;
}

.landing-page .feature-highlight {
  background: #edf3f0;
}

.landing-page .feature-tag {
  background: #dceae3;
  color: #24574c;
}

.landing-page .feature-copy h3,
.landing-page .feature-card h3 {
  letter-spacing: -0.035em;
}

.landing-page .feature-card img {
  border-radius: 12px;
}

.landing-page .customer-reviews {
  min-width: 0;
  overflow: hidden;
  padding: 12px 40px 42px;
}

.landing-page .customer-reviews .section-heading {
  margin-bottom: 20px;
}

.landing-page .review-list {
  overflow: hidden;
  outline: none;
}

.landing-page .review-list:focus-visible {
  outline: 2px solid #28645a;
  outline-offset: 4px;
  border-radius: 16px;
}

.landing-page .review-track {
  display: flex;
  width: max-content;
  animation: review-marquee 64s linear infinite;
  will-change: transform;
}

.landing-page .review-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.landing-page .review-list:hover .review-track,
.landing-page .review-list:focus-within .review-track {
  animation-play-state: paused;
}

.landing-page .review-card {
  display: flex;
  flex: 0 0 310px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(91, 130, 121, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 248, 0.96));
  box-shadow: 0 16px 40px rgba(20, 44, 57, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-page .review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 100, 90, 0.22);
  box-shadow: 0 22px 48px rgba(20, 44, 57, 0.09);
}

.landing-page .review-person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 20px;
}

.landing-page .review-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: #dceae3;
  color: #24574c;
  font-size: 0.8rem;
  font-weight: 800;
}

.landing-page .review-person-name {
  margin: 0;
  color: #253a34;
  font-size: 0.84rem;
  font-weight: 700;
}

.landing-page .review-source {
  margin: 2px 0 0;
  color: #64747a;
  font-size: 0.72rem;
}

.landing-page .review-rating {
  color: #a47b36;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.landing-page .review-card blockquote {
  margin: 16px 0 20px;
  color: #344943;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

.landing-page .customer-stories-note {
  width: min(660px, 100%);
  min-height: auto;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8faf9, #edf4f1);
}

.landing-page .customer-stories-note .review-rating {
  color: #28645a;
  font-size: 1.2rem;
}

.landing-page .customer-stories-note blockquote {
  margin-bottom: 0;
}

.landing-page .landing-footer {
  background: #18282f;
}

@media (max-width: 680px) {
  .landing-page .customer-reviews {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-page .review-card {
    flex-basis: min(82vw, 310px);
  }

  .landing-page .hero-visual {
    min-height: 300px;
  }

  .landing-page .landing-footer {
    padding-top: 28px;
  }
}

@keyframes review-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .review-list {
    overflow-x: auto;
    scrollbar-color: #b8c9c1 transparent;
    scrollbar-width: thin;
  }

  .landing-page .review-track {
    animation: none;
    will-change: auto;
  }
}

/* Shared account and banking interface refinement */
html {
  scroll-behavior: smooth;
  background: #f3f6f7;
}

body,
body.dashboard-body {
  color: #172b37;
  background: #f3f6f7;
  font-feature-settings: "ss01" on;
}

::selection {
  color: #fff;
  background: #225b56;
}

.app-shell {
  max-width: 1600px;
  padding: 24px;
  gap: 22px;
}

.sidebar {
  width: 250px;
  flex-basis: 250px;
  top: 24px;
  min-height: calc(100vh - 48px);
  border: 1px solid #e2e8eb;
  border-radius: 14px;
  padding: 20px 14px 16px;
  box-shadow: 0 4px 18px rgba(20, 44, 57, 0.045);
}

.brand-wrap {
  padding: 7px 10px 22px;
  font-size: 1rem;
  letter-spacing: -0.035em;
}

.logo-mark {
  border-radius: 9px;
  background: #225b56;
}

.sidebar-nav {
  gap: 4px;
  margin-top: 6px;
}

.nav-item {
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  color: #53666e;
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-item:hover,
.nav-item.active {
  background: #e8f1ef;
  color: #194742;
}

.nav-icon,
.nav-item.active .nav-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 8px;
  background: transparent;
}

.nav-item.active .nav-icon {
  background: #dbeae6;
}

.sidebar-footer {
  gap: 10px;
  border-color: #e8edef;
}

.user-pill {
  gap: 10px;
  padding: 9px;
  border-radius: 10px;
  background: #f5f8f8;
}

.avatar {
  width: 36px;
  height: 36px;
  background: #dbeae6;
  color: #194742;
  border-radius: 50%;
}

.sidebar-logout {
  justify-content: flex-start;
  padding: 10px;
  border-color: transparent;
  border-radius: 9px;
  background: transparent;
  color: #596b72;
  font-size: 0.84rem;
}

.sidebar-logout:hover {
  border-color: #f0dddd;
  background: #fbf4f4;
  color: #984343;
}

.main-panel {
  gap: 20px;
}

.topbar {
  min-height: 78px;
  padding: 14px 22px;
  border: 1px solid #e1e8eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(20, 44, 57, 0.035);
}

.topbar-title {
  gap: 2px;
}

.topbar-title h1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.topbar-title .eyebrow {
  color: #718189;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
}

.search-box {
  min-width: 210px;
  border-color: #e1e8eb;
  border-radius: 8px;
  background: #f7f9fa;
}

.search-box input {
  font-size: 0.85rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-color: #e1e8eb;
  border-radius: 9px;
  background: #fff;
}

.icon-btn:hover {
  transform: none;
  border-color: #c9d8d5;
  background: #f2f7f5;
  color: #194742;
}

.dashboard {
  gap: 18px;
}

.welcome-panel {
  min-height: 180px;
  padding: 32px 36px;
  border: 0;
  border-radius: 12px;
  background: #173c43;
  box-shadow: 0 8px 20px rgba(20, 44, 57, 0.1);
}

.welcome-panel h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  letter-spacing: -0.055em;
}

.welcome-copy {
  color: rgba(244, 248, 247, 0.76);
  font-size: 0.9rem;
}

.eyebrow.white {
  color: #c6d9d3;
}

.stats-grid,
.content-grid,
.page-stats {
  gap: 14px;
}

.stat-card,
.panel,
.account-card {
  border: 1px solid #e1e8eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(20, 44, 57, 0.035);
}

.stat-card {
  gap: 9px;
  padding: 19px 20px;
}

.stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(20, 44, 57, 0.07);
}

.stat-card strong {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  font-weight: 700;
}

.stat-card small {
  font-size: 0.78rem;
}

.panel {
  padding: 22px;
}

.panel-header {
  margin-bottom: 18px;
}

.panel-header h3 {
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.project-list,
.task-list {
  gap: 9px;
}

.project-list li,
.task-list li {
  border-color: #e7edef;
  border-radius: 9px;
  background: #f8fafb;
}

.project-list li {
  padding: 13px 14px;
}

.task-list li {
  padding: 12px;
  font-size: 0.84rem;
}

.status-pill {
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.67rem;
}

.status-pill.success {
  background: #e9f4ee;
  color: #246d53;
}

.status-pill.warning {
  background: #f7f1e5;
  color: #88652a;
}

.status-pill.info {
  background: #eaf1f5;
  color: #426579;
}

.status-pill.neutral {
  background: #f0f3f4;
  color: #596b72;
}

.page-intro h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  letter-spacing: -0.05em;
}

.page-intro p,
.supporting-copy {
  color: #61737b;
  font-size: 0.9rem;
}

.account-card {
  gap: 9px;
  padding: 19px;
}

.account-overview-message {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.account-overview-message.is-error {
  color: var(--error);
}

.dashboard-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}

.dashboard-account-card {
  align-items: flex-start;
  min-width: 0;
}

.dashboard-account-title {
  color: var(--text);
  font-weight: 800;
}

.dashboard-account-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.dashboard-account-currency {
  color: var(--muted);
  font-size: 0.82rem;
}

.account-card strong {
  font-size: 1.4rem;
  letter-spacing: -0.035em;
}

.form-grid {
  gap: 16px;
}

.form-field {
  gap: 7px;
}

.form-field label {
  color: #354b55;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 46px;
  border-color: #dce5e8;
  border-radius: 8px;
  background: #fff;
  font-size: 0.88rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #6a958c;
  box-shadow: 0 0 0 3px rgba(34, 91, 86, 0.1);
}

.primary-btn {
  border-radius: 8px;
  background: #225b56;
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  background: #194742;
  box-shadow: none;
}

.secondary-btn {
  border-color: #d5e0e3;
  border-radius: 8px;
  color: #29444e;
  font-size: 0.85rem;
}

.secondary-btn:hover {
  border-color: #c4d6d1;
  background: #f0f6f4;
  color: #194742;
}

.icon-btn:focus-visible,
.nav-item:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.link:focus-visible {
  outline: 3px solid rgba(34, 91, 86, 0.24);
  outline-offset: 2px;
}

.data-table th {
  background: #f7f9fa;
  color: #64767e;
  font-size: 0.68rem;
  letter-spacing: 0.075em;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border-bottom-color: #e8edef;
}

.data-table td {
  color: #344a54;
  font-size: 0.84rem;
}

.amount-positive {
  color: #246d53;
}

.card-preview {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, #225b56 0%, #173c43 100%);
  box-shadow: 0 12px 26px rgba(20, 44, 57, 0.14);
}

.landing-page {
  background: #fff;
  color: #172b37;
}

.landing-page .landing-bg-burst {
  display: none;
}

.landing-page .landing-shell {
  width: 100%;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.landing-page .landing-header {
  min-height: 78px;
  padding: 16px 34px;
  border-bottom: 1px solid #edf1f2;
}

.landing-page .brand-inline {
  color: #172b37;
  font-size: 1.05rem;
  font-weight: 800;
}

.landing-page .brand-inline .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.landing-page .landing-nav {
  gap: 24px;
}

.landing-page .landing-nav a {
  color: #596c74;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.landing-page .landing-account-actions {
  gap: 16px;
}

.landing-page .nav-login {
  color: #344c55;
  font-size: 0.84rem;
}

.landing-page .nav-cta {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 7px;
  background: #225b56;
  font-size: 0.8rem;
  box-shadow: none;
}

.landing-page .landing-hero {
  grid-template-columns: 1fr 1.08fr;
  gap: 30px;
  padding: 42px 42px 30px;
  background: #f7f9f9;
}

.landing-page .hero-copy {
  padding: 25px 5px;
}

.landing-page .hero-kicker,
.landing-page .section-heading p {
  color: #356d64;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.landing-page .hero-copy h1 {
  max-width: 520px;
  color: #172b37;
  font-size: clamp(2.6rem, 4.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.landing-page .hero-text {
  max-width: 470px;
  color: #596d75;
  font-size: 0.94rem;
  line-height: 1.75;
}

.landing-page .cta-row {
  gap: 11px;
  margin-top: 24px;
}

.landing-page .cta-row .primary-btn,
.landing-page .cta-row .secondary-btn {
  height: 46px;
  padding: 0 19px;
  border-radius: 7px;
  font-size: 0.82rem;
}

.landing-page .secondary-light {
  border-color: #d6e0e3;
  color: #38515a;
}

.landing-page .security-list {
  gap: 10px 15px;
  margin-top: 22px;
  color: #586c73;
  font-size: 0.71rem;
}

.landing-page .security-list li::before {
  width: 6px;
  height: 6px;
  background: #548a77;
}

.landing-page .hero-visual {
  min-height: 400px;
}

.landing-page .visual-card {
  width: min(100%, 600px);
  padding: 9px;
  border: 1px solid #dfe8e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 44, 57, 0.1);
}

.landing-page .visual-card img {
  border-radius: 8px;
}

.landing-page .mini-stat {
  border: 1px solid #e1e8e8;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(20, 44, 57, 0.08);
}

.landing-page .metrics-grid {
  gap: 0;
  padding: 20px 42px 26px;
}

.landing-page .metric-card {
  padding: 14px 20px;
  border: 0;
  border-right: 1px solid #e5ebed;
  border-radius: 0;
  background: transparent;
}

.landing-page .metric-card:last-child {
  border-right: 0;
}

.landing-page .metric-name {
  color: #6a7a80;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.landing-page .metric-card strong {
  color: #1d3944;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.landing-page .metric-card small {
  color: #687a81;
  font-size: 0.76rem;
}

.landing-page .services-section {
  padding: 28px 42px 34px;
  border-top: 1px solid #edf1f2;
  background: #f7f9f9;
}

.landing-page .services-section .section-heading {
  margin-bottom: 19px;
}

.landing-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.landing-page .service-card {
  display: flex;
  min-width: 0;
  min-height: 206px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid #e2e9eb;
  border-radius: 11px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.landing-page .service-card:hover {
  transform: translateY(-2px);
  border-color: #c6d8d2;
  box-shadow: 0 8px 22px rgba(20, 44, 57, 0.07);
}

.landing-page .service-card:focus-visible {
  outline: 3px solid rgba(34, 91, 86, 0.24);
  outline-offset: 3px;
}

.landing-page .service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 9px;
  background: #e8f1ef;
  color: #225b56;
}

.landing-page .service-icon svg {
  width: 20px;
  height: 20px;
}

.landing-page .service-card-title {
  margin-top: 15px;
  color: #1d3944;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.landing-page .service-card-copy {
  margin-top: 7px;
  color: #5c6f76;
  font-size: 0.76rem;
  line-height: 1.65;
}

.landing-page .service-card-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  color: #225b56;
  font-size: 0.72rem;
  font-weight: 800;
}

.landing-page .service-card-link span {
  font-size: 1rem;
  line-height: 0.9;
  transition: transform 0.18s ease;
}

.landing-page .service-card:hover .service-card-link span {
  transform: translateX(3px);
}

.landing-page .feature-showcase {
  padding: 28px 42px 36px;
  border-top: 1px solid #edf1f2;
}

.landing-page .section-heading {
  margin-bottom: 19px;
}

.landing-page .section-heading h2 {
  max-width: 700px;
  color: #172b37;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.landing-page .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.landing-page .feature-card {
  min-width: 0;
  min-height: 260px;
  padding: 17px;
  border: 1px solid #e2e9eb;
  border-radius: 11px;
  background: #fff;
}

.landing-page .feature-highlight {
  grid-column: span 2;
  background: #f1f6f4;
}

.landing-page .feature-copy {
  margin-bottom: 12px;
}

.landing-page .feature-tag {
  padding: 6px 8px;
  border-radius: 5px;
  background: #e2eeea;
  color: #315f56;
  font-size: 0.62rem;
}

.landing-page .feature-copy h3,
.landing-page .feature-card h3 {
  margin: 10px 0 7px;
  color: #1d3540;
  font-size: 1.08rem;
  letter-spacing: -0.035em;
}

.landing-page .feature-copy p,
.landing-page .feature-card p {
  color: #5c6f76;
  font-size: 0.78rem;
  line-height: 1.65;
}

.landing-page .feature-card img,
.landing-page .feature-image-card img {
  height: 126px;
  margin-top: 14px;
  border-radius: 7px;
}

.landing-page .feature-highlight img {
  height: 126px;
}

.landing-page .icon-tile {
  width: 40px;
  height: 40px;
  margin-bottom: 9px;
  border-radius: 9px;
  background: #e6f0ed;
  color: #225b56;
  font-size: 1.1rem;
}

.landing-page .customer-reviews {
  padding: 27px 42px 34px;
  border-top: 1px solid #edf1f2;
}

.landing-page .customer-reviews .section-heading h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.3rem);
}

.landing-page .review-group {
  gap: 12px;
  padding-right: 12px;
}

.landing-page .review-card {
  flex-basis: 290px;
  min-height: 210px;
  padding: 18px;
  border-color: #e2e9eb;
  border-radius: 11px;
  background: #f8faf9;
}

.landing-page .review-card blockquote {
  color: #354c54;
  font-size: 0.84rem;
  line-height: 1.7;
}

.landing-page .landing-footer {
  padding: 30px 42px 19px;
  background: #17333e;
}

.landing-page .contact-information {
  padding: 27px 42px 36px;
  border-top: 1px solid #edf1f2;
  background: #f7f9f9;
}

.landing-page .contact-information .section-heading {
  margin-bottom: 19px;
}

.landing-page .contact-empty-state {
  margin: 0;
  padding: 18px;
  border: 1px solid #e2e9eb;
  border-radius: 11px;
  background: #fff;
  color: #526760;
  text-align: center;
}

.landing-page .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.landing-page .contact-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e2e9eb;
  border-radius: 11px;
  background: #fff;
}

.landing-page .contact-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 9px;
  background: #e8f1ef;
  color: #225b56;
}

.landing-page .contact-icon svg {
  width: 19px;
  height: 19px;
}

.landing-page .contact-card h3 {
  margin: 15px 0 8px;
  color: #1d3944;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.landing-page .contact-card p {
  margin: 0;
  color: #5c6f76;
  font-size: 0.76rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.landing-page .contact-card a {
  color: #225b56;
  text-decoration: none;
}

.landing-page .contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-page .footer-main {
  padding-bottom: 24px;
}

.landing-page .footer-column h2 {
  font-size: 0.76rem;
}

.landing-page .footer-column a,
.landing-page .footer-column span,
.landing-page .footer-brand p {
  font-size: 0.77rem;
}

@media (max-width: 1000px) {
  .app-shell {
    padding: 20px;
    gap: 18px;
  }

  .main-panel {
    width: 100%;
  }

  .sidebar {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .landing-page .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-page .hero-visual {
    min-height: 340px;
  }

  .landing-page .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-page .feature-highlight {
    grid-column: span 2;
  }

  .landing-page .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-page .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding: 12px;
    gap: 12px;
  }

  .topbar {
    border-radius: 10px;
    padding: 13px;
  }

  .main-panel {
    gap: 14px;
  }

  .dashboard {
    gap: 14px;
  }

  .welcome-panel {
    padding: 23px;
  }

  .landing-page .landing-shell {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
  }

  .landing-page .landing-header,
  .landing-page .landing-hero,
  .landing-page .metrics-grid,
  .landing-page .services-section,
  .landing-page .feature-showcase,
  .landing-page .customer-reviews,
  .landing-page .landing-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .landing-page .landing-header {
    min-height: 68px;
  }

  .landing-page .landing-nav {
    gap: 12px 17px;
  }

  .landing-page .landing-nav a {
    font-size: 0.66rem;
  }

  .landing-page .landing-hero {
    gap: 4px;
    padding-top: 26px;
  }

  .landing-page .hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }

  .landing-page .hero-visual {
    min-height: 280px;
  }

  .landing-page .metrics-grid {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .landing-page .metric-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid #e5ebed;
  }

  .landing-page .metric-card:last-child {
    border-bottom: 0;
  }

  .landing-page .metric-card strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .landing-page .feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .feature-highlight {
    grid-column: auto;
  }

  .landing-page .services-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .feature-card {
    min-height: 0;
  }

  .landing-page .feature-card img,
  .landing-page .feature-image-card img {
    height: 155px;
  }

  .landing-page .contact-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .footer-main {
    gap: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    min-width: 0;
    padding: 12px;
  }

  .topbar .sidebar-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 40px;
    height: 40px;
  }

  .topbar-title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .topbar-title h1 {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .topbar-title .eyebrow {
    font-size: 0.6rem;
  }

  .topbar-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 40px 40px;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .topbar-actions .search-box {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }

  .topbar-actions .icon-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

@media (max-width: 360px) {
  .topbar {
    gap: 8px;
    padding: 10px;
  }

  .topbar-actions {
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    gap: 6px;
  }

  .topbar-actions .icon-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

.landing-page .landing-header {
  position: relative;
}

.landing-page .landing-header-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.landing-page .landing-menu-toggle,
.landing-page .landing-menu-close,
.landing-page .landing-menu-backdrop {
  display: none;
}

.landing-page .footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 48px;
}

.landing-page .newsletter-section {
  padding: 42px 24px;
  background: #f1f5f3;
}

.landing-page .newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #dce7e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 54, 47, 0.07);
}

.landing-page .newsletter-copy {
  max-width: 540px;
}

.landing-page .newsletter-eyebrow {
  color: #397466;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-page .newsletter-copy h2 {
  margin: 7px 0 6px;
  color: #193d38;
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.landing-page .newsletter-copy p {
  margin: 0;
  color: #5e716b;
  font-size: 0.84rem;
  line-height: 1.6;
}

.landing-page .newsletter-form {
  min-width: 0;
}

.landing-page .newsletter-form > label {
  display: block;
  margin-bottom: 8px;
  color: #304c45;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-menu-visible {
  overflow: hidden;
}

.landing-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-page .newsletter-fields {
  display: flex;
  gap: 8px;
}

.landing-page .newsletter-fields input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d7e2dd;
  border-radius: 8px;
  background: #fbfdfc;
  color: #1c3632;
  font: inherit;
  font-size: 0.86rem;
}

.landing-page .newsletter-fields input::placeholder {
  color: #84958e;
}

.landing-page .newsletter-fields input:focus-visible,
.landing-page .newsletter-fields button:focus-visible {
  outline: 3px solid rgba(182, 217, 202, 0.65);
  outline-offset: 2px;
}

.landing-page .newsletter-fields button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 19px;
  border: 0;
  border-radius: 8px;
  background: #225b56;
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.landing-page .newsletter-fields button:hover {
  background: #194742;
}

.landing-page .newsletter-status {
  min-height: 1.4em;
  margin: 9px 0 0;
  color: #71817b;
  font-size: 0.72rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .landing-page .newsletter-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
    gap: 28px;
  }

  .landing-page .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }

  .landing-page .footer-links {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .landing-page .landing-header {
    position: relative;
    z-index: 1201;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 68px;
  }

  .landing-page .landing-menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 1px solid #dce5e3;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
  }

  .landing-page .landing-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #225b56;
  }

  .landing-page .landing-menu-toggle:focus-visible,
  .landing-page .landing-menu-close:focus-visible {
    outline: 3px solid rgba(34, 91, 86, 0.25);
    outline-offset: 3px;
  }

  .landing-page .landing-header-menu {
    --drawer-item-inset: 10px;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1202;
    display: flex;
    width: min(320px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 24px;
    background: #fff;
    box-shadow: 12px 0 36px rgba(18, 44, 48, 0.16);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.24s ease, visibility 0.24s ease;
  }

  .landing-page .landing-header.menu-open .landing-header-menu {
    transform: translateX(0);
    visibility: visible;
  }

  .landing-page .landing-menu-close {
    display: grid;
    width: 40px;
    height: 40px;
    align-self: flex-start;
    justify-items: start;
    padding-left: var(--drawer-item-inset);
    border: 1px solid #dce5e3;
    border-radius: 9px;
    background: #fff;
    color: #225b56;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }

  .landing-page .landing-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: block;
    border: 0;
    background: rgba(17, 39, 43, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .landing-page .landing-header.menu-open .landing-menu-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .landing-page .landing-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .landing-page .landing-nav a {
    padding: 13px var(--drawer-item-inset);
    border-bottom: 1px solid #edf1f2;
    color: #29444e;
    font-size: 0.9rem;
    text-align: left;
  }

  .landing-page .landing-account-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-left: 0;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid #e8efec;
  }

  .landing-page .landing-account-actions a {
    box-sizing: border-box;
    display: flex;
    width: min(100%, 220px);
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0 var(--drawer-item-inset);
    text-align: left;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .landing-page .landing-account-actions .nav-login {
    justify-content: flex-start;
    text-align: left;
    border: 1px solid #d6e2dd;
    border-radius: 8px;
    background: #fff;
    color: #225b56;
  }

  .landing-page .landing-account-actions .nav-login:hover {
    border-color: #9ab9ad;
    background: #f5f9f7;
    text-decoration: none;
  }

  .landing-page .landing-account-actions .nav-cta {
    justify-content: flex-start;
    text-align: left;
    border: 1px solid #225b56;
    border-radius: 8px;
    background: #225b56;
    color: #fff;
    box-shadow: none;
  }

  .landing-page .landing-account-actions .nav-cta:hover {
    background: #194742;
  }

  .landing-page .newsletter-section {
    padding: 28px 18px;
  }

  .landing-page .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px 22px;
  }

  .landing-page .newsletter-copy h2 {
    max-width: 400px;
  }

  .landing-page .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .landing-page .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .landing-page .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .landing-page .newsletter-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .landing-page .newsletter-panel {
    padding: 22px 16px;
  }

  .landing-page .newsletter-fields {
    gap: 6px;
  }

  .landing-page .newsletter-fields button {
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .landing-header-menu,
  .landing-page .landing-menu-backdrop {
    transition: none;
  }
}

body.dashboard-body .welcome-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(119, 181, 154, 0.3), transparent 34%),
    linear-gradient(120deg, #173c43, #205d53);
  box-shadow: 0 14px 30px rgba(23, 60, 67, 0.14);
}

body.dashboard-body .welcome-panel > * {
  position: relative;
  z-index: 1;
}

body.dashboard-body .welcome-panel .home-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  color: #194742;
  box-shadow: 0 5px 14px rgba(5, 28, 29, 0.14);
}

body.dashboard-body .welcome-panel .home-btn:hover {
  transform: translateY(-2px);
  background: #edf6f2;
  box-shadow: 0 8px 18px rgba(5, 28, 29, 0.2);
}

body.dashboard-body .dashboard-summary {
  border-color: #e0e9e7;
  box-shadow: 0 5px 18px rgba(20, 44, 57, 0.045);
}

body.dashboard-body .dashboard-summary-card {
  border-color: #e5ecea;
  background: linear-gradient(145deg, #fbfdfc, #f3f8f6);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.dashboard-body .dashboard-summary-card:hover {
  transform: translateY(-2px);
  border-color: #c9ddd6;
  box-shadow: 0 7px 16px rgba(20, 65, 55, 0.07);
}

body.dashboard-body .dashboard-account-card {
  position: relative;
  gap: 10px;
  padding: 21px;
  border-color: #e0e9e7;
  box-shadow: 0 5px 16px rgba(20, 44, 57, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.dashboard-body .dashboard-account-card:hover {
  transform: translateY(-3px);
  border-color: #bfd7ce;
  box-shadow: 0 12px 24px rgba(20, 65, 55, 0.09);
}

body.dashboard-body .dashboard-account-title {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

body.dashboard-body .dashboard-account-label {
  margin-top: 4px;
  color: #708078;
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

body.dashboard-body .dashboard-account-card strong {
  color: #194742;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
}

@media (prefers-reduced-motion: reduce) {
  body.dashboard-body .dashboard-summary-card,
  body.dashboard-body .dashboard-account-card,
  body.dashboard-body .welcome-panel .home-btn {
    transition: none;
  }

  body.dashboard-body .dashboard-summary-card:hover,
  body.dashboard-body .dashboard-account-card:hover,
  body.dashboard-body .welcome-panel .home-btn:hover {
    transform: none;
  }
}

.dashboard-body {
  background:
    radial-gradient(ellipse at 86% 0%, rgba(216, 233, 226, 0.62), transparent 34rem),
    #f5f7f6;
}

.dashboard-body .app-shell {
  max-width: 1680px;
  gap: 28px;
  padding: 28px;
}

.dashboard-body .sidebar {
  width: 252px;
  flex-basis: 252px;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(24, 55, 49, 0.045);
}

.dashboard-body .brand-wrap {
  padding-bottom: 26px;
}

.dashboard-body .nav-item {
  min-height: 44px;
  border-radius: 11px;
}

.dashboard-body .nav-item.active {
  background: #e8f2ed;
  color: #1d5a48;
}

.dashboard-body .nav-item.active .nav-icon {
  background: #d7e9df;
}

.dashboard-body .topbar {
  min-height: 82px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(24, 55, 49, 0.035);
}

.dashboard-body .topbar-title .eyebrow {
  color: #688078;
}

.dashboard-body .dashboard {
  gap: 20px;
}

.dashboard-body .welcome-panel {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  align-items: flex-end;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 18%, rgba(124, 184, 155, 0.22), transparent 19rem),
    linear-gradient(118deg, #173f39 0%, #20594b 56%, #286b56 100%);
  box-shadow: 0 14px 30px rgba(29, 77, 69, 0.14);
}

.dashboard-body .welcome-panel::after {
  position: absolute;
  top: -118px;
  right: 12%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.035), 0 0 0 72px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.dashboard-body .welcome-panel > div:first-child {
  position: relative;
  z-index: 1;
}

.dashboard-body .welcome-panel .eyebrow {
  margin-bottom: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.dashboard-body .welcome-panel h2 {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.2;
}

.dashboard-body .welcome-copy {
  margin-top: 7px;
  font-size: 0.86rem;
}

.dashboard-body .welcome-account-summary {
  gap: 12px 42px;
  margin-top: 24px;
}

.dashboard-body .welcome-account-summary > div {
  gap: 5px;
}

.dashboard-body .welcome-account-summary span {
  color: rgba(235, 246, 239, 0.66);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}

.dashboard-body .welcome-account-summary strong {
  font-size: 1.14rem;
  font-variant-numeric: tabular-nums;
}

.welcome-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 14px;
  flex: 0 0 auto;
  margin: 0 2px 3px 20px;
}

.dashboard-body .welcome-panel .home-btn {
  min-width: 156px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #1d5948;
}

.dashboard-body .welcome-panel .home-btn:hover {
  border-color: #e1eee6;
  background: #eaf3ed;
  color: #174b3c;
}

.welcome-secondary-link {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.welcome-secondary-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.welcome-secondary-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 2px;
}

.dashboard-body .panel,
.dashboard-body .dashboard-chart-panel,
.dashboard-body .dashboard-quick-actions {
  border-color: #e5ebe8;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(24, 55, 49, 0.035);
}

.dashboard-body .panel-header h3 {
  font-size: 1.06rem;
  letter-spacing: -0.035em;
}

.account-overview .panel-header {
  align-items: center;
  margin-bottom: 15px;
}

.account-overview .panel-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.account-overview .panel-header .link {
  white-space: nowrap;
}

.dashboard-body .dashboard-account-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}

.dashboard-body .dashboard-account-card {
  gap: 7px;
  padding: 18px;
  border-color: #e8eeeb;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #fbfcfb);
}

.dashboard-body .dashboard-account-title {
  font-size: 0.82rem;
}

.dashboard-body .dashboard-account-label {
  font-size: 0.67rem;
}

.dashboard-body .dashboard-account-card > strong {
  color: #173f39;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.dashboard-body .dashboard-account-currency {
  font-size: 0.73rem;
}

.dashboard-body .account-status-badge {
  min-height: 23px;
  padding: 3px 8px;
  font-size: 0.66rem;
}

.dashboard-body .dashboard-quick-actions .panel-header {
  margin-bottom: 14px;
}

.dashboard-body .dashboard-quick-actions .eyebrow {
  color: #688078;
}

.dashboard-body .dashboard-quick-actions .panel-header p:not(.eyebrow) {
  margin-top: 5px;
}

.dashboard-body .dashboard-action-card {
  min-height: 72px;
  padding: 12px;
  border-color: #e7ede9;
  border-radius: 12px;
  background: #fbfcfb;
}

.dashboard-body .dashboard-action-card:hover,
.dashboard-body .dashboard-action-card:focus-visible {
  border-color: #b7d1c1;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 70, 53, 0.07);
}

.dashboard-body .dashboard-action-icon {
  background: #e9f3ed;
  color: #28664f;
}

.dashboard-body .dashboard-action-card strong {
  font-size: 0.76rem;
}

.dashboard-body .dashboard-action-card small {
  font-size: 0.67rem;
}

.dashboard-body .dashboard-chart-panel .eyebrow {
  color: #688078;
}

.dashboard-body .dashboard-summary .panel-header {
  margin-bottom: 15px;
}

.dashboard-body .dashboard-summary-card {
  border-color: #e8eeeb;
  border-radius: 12px;
  background: #fbfcfb;
}

.dashboard-body .dashboard-summary-card strong,
.dashboard-body .currency-balance-item strong {
  color: #205744;
  font-variant-numeric: tabular-nums;
}

.transfer-amount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.transfer-amount-control input {
  min-width: 0;
}

.send-maximum-button {
  min-height: 42px;
  padding: 8px 11px;
  border-color: #d7e4dc;
  color: #205744;
  font-size: 0.75rem;
  white-space: nowrap;
}

.send-maximum-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.transfer-limit-hint {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.account-balance-details {
  display: grid;
  gap: 5px;
  margin-top: 6px;
}

.account-balance-details span {
  color: var(--muted);
  font-size: 0.72rem;
}

.dashboard-body .dashboard-account-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  width: 100%;
  margin: 4px 0;
}

.dashboard-account-details > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-account-details span {
  color: var(--muted);
  font-size: 0.65rem;
}

.dashboard-account-details strong {
  overflow-wrap: anywhere;
  color: #294b40;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .dashboard-body .app-shell {
    padding: 12px;
    gap: 12px;
  }

  .dashboard-body .welcome-panel {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .dashboard-body .welcome-panel::after {
    top: -175px;
    right: -120px;
    width: 290px;
    height: 290px;
  }

  .dashboard-body .welcome-account-summary {
    gap: 14px 26px;
    margin-top: 20px;
  }

  .welcome-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
  }

  .dashboard-body .account-overview.panel {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .dashboard-body .account-overview .panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dashboard-body .dashboard-account-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-body .welcome-account-summary {
    display: grid;
  }
}
