:root {
  color-scheme: light;
  --ink: #17243b;
  --ink-soft: #53627a;
  --muted: #8d98a9;
  --line: #e9edf2;
  --canvas: #f7f8fa;
  --white: #fff;
  --navy: #111f37;
  --navy-light: #1a2e4d;
  --teal: #35c7b1;
  --teal-deep: #1c9b89;
  --mint: #e7f8f4;
  --blue-soft: #edf3ff;
  --violet-soft: #f2efff;
  --amber-soft: #fff5e8;
  --shadow: 0 12px 34px rgba(22, 40, 67, .055);
  --radius: 18px;
  font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(53, 199, 177, .42); outline-offset: 3px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; width: 252px; padding: 28px 18px 18px; color: #d9e4f3; background: var(--navy); }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; margin: 0 0 48px 8px; color: white; text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: rgba(255,255,255,.1); }
.brand-mark img { width: 27px; height: 27px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font: 800 23px/1 "Manrope", sans-serif; letter-spacing: -1.2px; }
.brand-copy strong span { color: var(--teal); }
.brand-copy small { color: #91a3bb; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.workspace-label { margin: 0 12px 12px; color: #71839d; font-size: 9px; font-weight: 700; letter-spacing: 1.45px; }
.secondary-label { margin-top: 30px; }
.main-nav { display: grid; gap: 5px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; min-height: 46px; padding: 0 13px; border: 0; border-radius: 11px; color: #a9b8ca; background: transparent; text-align: left; font-size: 12px; font-weight: 600; transition: color .18s, background .18s; }
.nav-link > svg { width: 18px; height: 18px; color: #8fa2bc; }
.nav-link:hover { color: white; background: rgba(255,255,255,.06); }
.nav-link.is-active { color: white; background: rgba(53,199,177,.15); box-shadow: inset 3px 0 var(--teal); }
.nav-link.is-active > svg { color: var(--teal); }
.nav-soon { margin-left: auto; padding: 3px 6px; border-radius: 5px; color: #9ef0df; background: rgba(53,199,177,.14); font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.sidebar-bottom { margin-top: auto; }
.security-card { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 0 2px 18px; padding: 13px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.045); }
.security-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: #8be6d4; background: rgba(53,199,177,.14); }
.security-icon svg { width: 15px; height: 15px; }
.security-card strong { display: block; margin: 1px 0 3px; color: #edf7fa; font-size: 10px; }
.security-card p { margin: 0; color: #8194ac; font-size: 9px; }
.secure-dot, .balance-status i, .member-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(53,199,177,.12); }
.secure-dot { position: absolute; top: 17px; right: 13px; }
.help-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; color: #9cacc0; background: transparent; text-align: left; font-size: 11px; }
.help-link svg { width: 17px; height: 17px; }
.help-link:hover { color: white; }
.sidebar-user { display: flex; align-items: center; gap: 9px; margin-top: 15px; padding: 14px 4px 2px; border-top: 1px solid rgba(255,255,255,.1); }
.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 2px solid rgba(255,255,255,.65); border-radius: 50%; color: #173e49; background: #c9f0e9; font-size: 12px; font-weight: 800; }
.avatar-small { width: 31px; height: 31px; border: 0; font-size: 11px; }
.sidebar-user-copy { display: grid; flex: 1; gap: 2px; min-width: 0; }
.sidebar-user-copy strong { overflow: hidden; color: #e8eef6; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-copy small { color: #8799b0; font-size: 9px; }

.main-area { min-height: 100vh; margin-left: 252px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 clamp(24px, 4vw, 58px); border-bottom: 1px solid #edf0f3; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #9aa4b2; font-size: 11px; }
.breadcrumb svg { width: 13px; height: 13px; color: #b9c1cb; }
.breadcrumb strong { color: #334158; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.preview-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d8f0ea; border-radius: 30px; color: #268e7e; background: #f0fbf8; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.preview-pill span { width: 6px; height: 6px; border-radius: 50%; background: #42c6ac; }
.icon-button { display: inline-grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border: 1px solid #e9edf1; border-radius: 11px; color: #65738a; background: #fff; transition: .18s ease; }
.icon-button:hover { color: var(--ink); border-color: #cfd8e2; background: #f8fafb; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button.subtle { width: 30px; height: 30px; border-color: transparent; background: transparent; }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1.5px solid white; border-radius: 50%; background: #ef9871; }
.topbar-divider { width: 1px; height: 28px; background: #e9edf1; }
.topbar-profile { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; text-align: left; }
.topbar-profile > span:nth-child(2) { display: grid; gap: 2px; }
.topbar-profile strong { color: #334158; font-size: 10px; }
.topbar-profile small { color: #9aa5b4; font-size: 9px; }
.topbar-profile > svg { width: 13px; height: 13px; color: #9da8b6; }
.menu-toggle { display: none; }
.content-wrap { width: min(100%, 1420px); margin: 0 auto; padding: 25px clamp(24px, 4vw, 58px) 20px; }
.preview-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 29px; padding: 10px 14px; border: 1px solid #e2eee9; border-radius: 10px; color: #687a7c; background: #f0f8f5; font-size: 10px; line-height: 1.55; }
.preview-notice strong { color: #29796e; }
.notice-spark { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 7px; color: #238b7b; background: #d8f2e9; font-size: 13px; }
.view-panel { display: none; animation: appear .28s ease both; }
.view-panel.is-visible { display: block; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { margin: 0 0 27px; }
.heading-with-action { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.eyebrow { margin: 0 0 9px; color: #91a0ad; font-size: 9px; font-weight: 800; letter-spacing: 1.45px; }
.page-heading h1 { margin: 0; color: #1b2940; font: 800 clamp(25px, 3vw, 31px)/1.2 "Manrope", sans-serif; letter-spacing: -1.2px; }
.heading-period { color: var(--teal-deep); }
.page-description { margin: 8px 0 0; color: #8591a1; font-size: 11px; line-height: 1.65; }
.date-chip, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding: 0 12px; border: 1px solid #e3e8ed; border-radius: 9px; color: #66758b; background: white; font-size: 10px; font-weight: 600; white-space: nowrap; }
.date-chip:hover, .outline-button:hover { border-color: #c6d7d4; background: #fbfefd; }
.date-chip svg { width: 13px; height: 13px; }
.date-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: #35bda8; }

.dashboard-grid { display: grid; grid-template-columns: minmax(320px, 1.6fr) minmax(170px, .8fr) minmax(170px, .8fr); gap: 14px; }
.balance-hero { position: relative; display: flex; flex-direction: column; min-height: 214px; overflow: hidden; padding: 22px 24px 18px; border-radius: var(--radius); color: white; background: linear-gradient(117deg, #152641 0%, #1d3854 60%, #22545b 120%); box-shadow: 0 14px 30px rgba(22,45,65,.13); }
.balance-hero::after { position: absolute; right: -25px; bottom: -76px; width: 250px; height: 170px; border: 1px solid rgba(137,238,216,.12); border-radius: 50%; content: ""; transform: rotate(-25deg); }
.balance-hero-top, .balance-hero-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.balance-label { color: rgba(233,247,248,.7); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.balance-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: #c5f5e9; background: rgba(255,255,255,.065); font-size: 9px; }
.balance-status i { width: 5px; height: 5px; box-shadow: none; }
.balance-main-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.balance-amount { color: white; font: 800 clamp(25px, 3vw, 35px)/1.15 "Manrope", sans-serif; letter-spacing: -1.2px; }
.balance-visibility { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #d5e8ec; background: rgba(255,255,255,.08); }
.balance-visibility svg { width: 15px; height: 15px; }
.balance-caption { position: relative; z-index: 1; margin: 7px 0 0; color: #b2c5d0; font-size: 10px; }
.balance-hero-bottom { margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13); }
.balance-hero-bottom > span { display: grid; gap: 4px; }
.balance-hero-bottom small { color: #8da9b6; font-size: 8px; letter-spacing: 1px; }
.balance-hero-bottom strong { color: #e9f2f4; font-size: 10px; letter-spacing: .7px; }
.light-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: white; background: rgba(255,255,255,.08); font-size: 9px; font-weight: 700; }
.light-button:hover { background: rgba(255,255,255,.15); }
.light-button svg { width: 13px; height: 13px; }
.hero-orb { position: absolute; border: 1px solid rgba(93,225,199,.14); border-radius: 50%; pointer-events: none; }
.orb-one { top: -78px; right: -26px; width: 180px; height: 180px; }
.orb-two { top: -47px; right: 6px; width: 112px; height: 112px; background: rgba(53,199,177,.045); }
.mini-stat { display: flex; flex-direction: column; min-width: 0; min-height: 214px; padding: 19px 18px 15px; border: 1px solid #edf0f3; border-radius: var(--radius); background: white; box-shadow: 0 5px 20px rgba(22,40,67,.025); }
.mini-stat-head { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; }
.stat-icon svg { width: 17px; height: 17px; }
.stat-icon.incoming { color: #1ca48e; background: #e9f8f3; }
.stat-icon.outgoing { color: #617ad2; background: #eef1ff; }
.stat-period { color: #a1abb8; font-size: 8px; }
.stat-title { margin: 17px 0 5px; color: #8591a0; font-size: 10px; }
.stat-value { color: #24334a; font: 800 clamp(16px, 1.6vw, 20px)/1.35 "Manrope", sans-serif; letter-spacing: -.5px; white-space: nowrap; }
.stat-note { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 13px; color: #9aa4b1; font-size: 8px; }
.stat-note.positive { color: #2aab96; }
.stat-note.positive span { font-size: 11px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 30px 0 13px; }
.section-heading h2, .panel-heading h2 { margin: 0; color: #24334a; font: 700 15px/1.35 "Manrope", sans-serif; letter-spacing: -.3px; }
.section-heading .eyebrow, .panel-heading .eyebrow { margin-bottom: 5px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.quick-action { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid #edf0f3; border-radius: 13px; background: white; text-align: left; transition: transform .18s, box-shadow .18s, border .18s; }
.quick-action:hover { transform: translateY(-2px); border-color: #dcebe7; box-shadow: var(--shadow); }
.quick-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; }
.quick-icon svg { width: 18px; height: 18px; }
.q-history { color: #4f6dc6; background: var(--blue-soft); }
.q-payout { color: #259c88; background: var(--mint); }
.q-service { color: #8a6aca; background: var(--violet-soft); }
.quick-action > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.quick-action strong { overflow: hidden; color: #344258; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.quick-action small { overflow: hidden; color: #9ba5b3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.quick-arrow { width: 14px; height: 14px; margin-left: auto; color: #9ca8b5; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 14px; margin-top: 17px; }
.panel { min-width: 0; border: 1px solid #edf0f3; border-radius: var(--radius); background: white; box-shadow: 0 5px 20px rgba(22,40,67,.025); }
.activity-panel, .recent-panel { padding: 19px 20px 16px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 0; border: 0; color: #299f90; background: transparent; font-size: 9px; font-weight: 700; }
.text-button svg { width: 13px; height: 13px; }
.chart-summary { display: grid; gap: 3px; margin-top: 21px; }
.chart-summary > strong { color: #24334a; font: 800 22px/1.2 "Manrope", sans-serif; letter-spacing: -.6px; }
.chart-subtitle { color: #9aa5b2; font-size: 9px; }
.chart-legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #8491a1; font-size: 8px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; }
.legend-in { margin-left: 3px; background: #44c6af; }
.legend-out { margin-left: 7px; background: #bac6ed; }
.chart-bars { display: flex; align-items: flex-end; justify-content: space-around; height: 118px; margin-top: 7px; padding: 0 4px; border-bottom: 1px solid #edf0f3; background: repeating-linear-gradient(to bottom, transparent 0, transparent 28px, #f1f3f6 29px, transparent 30px); }
.chart-column { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bar-pair { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.bar-pair i, .bar-pair b { display: block; width: 10px; min-height: 5px; border-radius: 4px 4px 2px 2px; }
.bar-pair i { background: linear-gradient(180deg, #50cbb4, #8cddcd); }
.bar-pair b { background: #c7d0ee; }
.chart-column small { padding-bottom: 8px; color: #a4aebb; font-size: 8px; }
.recent-list { margin-top: 11px; }
.recent-item { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.recent-item:last-child { border-bottom: 0; }
.transaction-icon, .table-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 10px; }
.transaction-icon svg, .table-icon svg { width: 15px; height: 15px; }
.income-icon { color: #229e8b; background: #eaf8f4; }
.service-icon { color: #6479c1; background: #eff2ff; }
.transaction-copy { display: grid; flex: 1; gap: 3px; min-width: 0; }
.transaction-copy strong { overflow: hidden; color: #3d4b60; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.transaction-copy small { color: #a0aab7; font-size: 8px; }
.transaction-amount { color: #536078; font-size: 9px; font-weight: 700; white-space: nowrap; }
.amount-positive { color: #219984 !important; }
.full-width-link { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 2px; padding: 11px 0 0; border: 0; border-top: 1px solid #eff1f4; color: #299f90; background: transparent; font-size: 9px; font-weight: 700; }
.full-width-link svg { width: 13px; height: 13px; }
.footer-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 2px 3px; color: #a3adba; font-size: 8px; }
.footer-note strong { color: #78879b; }

/* Secondary views */
.balance-detail-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 27px 30px; border-radius: var(--radius); color: white; background: linear-gradient(115deg, #172843, #25565d); }
.balance-detail-card .balance-label { display: block; }
.balance-detail-amount { margin-top: 8px; font: 800 34px/1.2 "Manrope", sans-serif; letter-spacing: -1px; }
.balance-detail-card p { max-width: 520px; margin: 6px 0 0; color: #b9cbd2; font-size: 10px; }
.balance-detail-icon { display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #9ce9d8; background: rgba(255,255,255,.08); }
.balance-detail-icon svg { width: 26px; height: 26px; }
.three-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 15px 0; }
.data-card { display: grid; gap: 7px; padding: 17px 19px; border: 1px solid #edf0f3; border-radius: 14px; background: white; }
.data-card > span { color: #929eac; font-size: 9px; }
.data-card strong { color: #26354c; font: 800 18px/1.3 "Manrope", sans-serif; }
.data-card small { color: #a1abb7; font-size: 8px; }
.positive-text { color: #239c88 !important; }
.balance-info-panel { padding: 21px 22px; }
.info-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #f0f2f5; }
.info-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.info-number { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #259a88; background: #eaf8f4; font-size: 9px; font-weight: 800; }
.info-row strong { color: #3c4a60; font-size: 10px; }
.info-row p { margin: 4px 0 0; color: #929eac; font-size: 9px; line-height: 1.65; }
.history-panel { padding: 18px 20px 13px; }
.history-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.search-field { display: flex; align-items: center; gap: 8px; width: min(330px, 100%); height: 38px; padding: 0 11px; border: 1px solid #e8edf1; border-radius: 9px; color: #9aa5b2; }
.search-field svg { width: 15px; height: 15px; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: none; color: #344258; background: transparent; font-size: 10px; }
.search-field input::placeholder { color: #aab3bf; }
.history-toolbar select, .form-control { min-height: 38px; padding: 0 32px 0 11px; border: 1px solid #e8edf1; border-radius: 9px; color: #5d6b80; background: white; font-size: 10px; }
.table-scroll { overflow-x: auto; }
.transaction-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.transaction-table th { padding: 11px 10px; border-top: 1px solid #f0f2f5; border-bottom: 1px solid #f0f2f5; color: #a0aab6; background: #fbfcfd; text-align: left; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.transaction-table td { padding: 13px 10px; border-bottom: 1px solid #f1f3f5; color: #778497; font-size: 9px; }
.transaction-table tbody tr:last-child td { border-bottom: 0; }
.transaction-table tbody tr:hover { background: #fcfdfd; }
.table-transaction { display: flex; align-items: center; gap: 9px; }
.table-icon { width: 30px; height: 30px; }
.table-transaction span { display: grid; gap: 3px; }
.table-transaction strong { color: #39485e; font-size: 9px; }
.table-transaction small { color: #a7b0bb; font-size: 8px; }
.status-chip { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 20px; font-size: 8px; font-weight: 700; }
.status-chip.completed { color: #248e7e; background: #eaf8f4; }
.align-right { text-align: right !important; }
.empty-state { padding: 28px 10px; color: #9aa5b2; text-align: center; font-size: 10px; }
.table-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #f0f2f5; color: #a3adba; font-size: 8px; }
.payout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); align-items: start; gap: 15px; }
.payout-form-panel, .payout-aside { padding: 22px; }
.step-badge { padding: 6px 8px; border-radius: 6px; color: #4e9e90; background: #edf8f5; font-size: 8px; font-weight: 800; letter-spacing: .5px; white-space: nowrap; }
.payout-form-panel form { margin-top: 20px; }
.field-label { display: block; margin: 17px 0 8px; color: #55647a; font-size: 10px; font-weight: 700; }
.field-label:first-child { margin-top: 0; }
.form-control { width: 100%; }
.saved-destination { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid #edf0f3; border-radius: 10px; background: #fbfcfd; }
.destination-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #4968aa; background: #eaf0ff; font-size: 13px; font-weight: 800; }
.saved-destination > span:nth-child(2) { display: grid; flex: 1; gap: 3px; }
.saved-destination strong { color: #3c4a60; font-size: 9px; }
.saved-destination small { color: #9ba6b4; font-size: 8px; }
.verified-mark { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #239a86; background: #e6f7f1; }
.verified-mark svg { width: 13px; height: 13px; }
.amount-input-wrap { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 13px; border: 1px solid #e6ebef; border-radius: 10px; color: #69778b; background: white; }
.amount-input-wrap > span { color: #53647b; font-size: 11px; font-weight: 700; }
.amount-input-wrap input { width: 100%; border: 0; outline: 0; color: #26364d; background: transparent; font: 700 18px "Manrope", sans-serif; }
.amount-input-wrap input::placeholder { color: #c0c8d1; }
.field-hint-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; color: #a1abb7; font-size: 8px; }
.inline-button { padding: 0; border: 0; color: #249b89; background: transparent; font-size: 8px; font-weight: 700; }
.payout-estimate { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 20px; padding: 14px 0; border-top: 1px solid #eff1f4; border-bottom: 1px solid #eff1f4; }
.payout-estimate span { color: #929eac; font-size: 9px; }
.payout-estimate strong { color: #58667a; font-size: 9px; text-align: right; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 0; border-radius: 9px; color: #102d36; background: linear-gradient(100deg, #65dbc4, #43c5b0); box-shadow: 0 5px 14px rgba(53,199,177,.17); font-size: 10px; font-weight: 800; transition: transform .18s, box-shadow .18s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(53,199,177,.25); }
.primary-button svg { width: 14px; height: 14px; }
.full-button { width: 100%; margin-top: 17px; }
.form-disclaimer { margin: 10px 0 0; color: #a2acb8; text-align: center; font-size: 8px; line-height: 1.6; }
.payout-aside { overflow: hidden; }
.aside-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #269987; background: #e8f8f3; }
.aside-icon svg { width: 21px; height: 21px; }
.payout-aside h3 { margin: 15px 0 6px; color: #33435a; font: 700 14px "Manrope", sans-serif; }
.payout-aside > p { margin: 0; color: #8f9baa; font-size: 9px; line-height: 1.7; }
.aside-divider { height: 1px; margin: 17px 0; background: #eef1f4; }
.aside-point { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; color: #748195; font-size: 9px; line-height: 1.6; }
.aside-point i { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #249987; background: #e9f8f3; }
.aside-point svg { width: 10px; height: 10px; }
.policy-note { margin-top: 20px; padding: 12px; border-radius: 10px; background: #f8fafb; }
.policy-note strong { color: #647287; font-size: 9px; }
.policy-note p { margin: 5px 0 0; color: #9aa5b2; font-size: 8px; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { overflow: hidden; border: 1px solid #edf0f3; border-radius: var(--radius); background: white; box-shadow: 0 5px 20px rgba(22,40,67,.025); }
.service-art { position: relative; display: grid; height: 145px; overflow: hidden; place-items: center; }
.art-shop { background: linear-gradient(135deg, #e1f7ef, #f1fbf6 65%, #d9f1eb); }
.art-shop::before, .art-shop::after { position: absolute; width: 120px; height: 120px; border: 1px solid rgba(31,153,126,.14); border-radius: 50%; content: ""; }
.art-shop::after { width: 170px; height: 170px; }
.art-orbit { position: absolute; width: 210px; height: 70px; border: 1px solid rgba(31,153,126,.17); border-radius: 50%; transform: rotate(-30deg); }
.service-symbol { position: relative; z-index: 1; color: #1c7767; font: 800 42px "Manrope", sans-serif; letter-spacing: -3px; text-shadow: 0 7px 18px rgba(31,153,126,.12); }
.service-symbol span { margin-left: 4px; color: #5eb9a5; font-size: 17px; letter-spacing: -1px; }
.art-mojic { background: linear-gradient(135deg, #e9e9ff, #f3f0ff 60%, #e7e7fc); }
.mojic-symbol { position: relative; z-index: 1; color: #5d5da9; font: 800 37px "Manrope", sans-serif; letter-spacing: -2px; }
.mojic-symbol span { color: #a08de3; font-size: 19px; }
.mojic-orbit { position: absolute; width: 180px; height: 90px; border: 1px solid rgba(112,99,179,.18); border-radius: 50%; transform: rotate(35deg); }
.service-card-body { padding: 17px 18px 19px; }
.service-tag { color: #9ba7b2; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.service-card h2 { margin: 6px 0; color: #2d3c53; font: 800 18px "Manrope", sans-serif; }
.service-card p { min-height: 43px; margin: 0; color: #929eac; font-size: 9px; line-height: 1.65; }
.service-button { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; padding: 0; border: 0; color: #248f80; background: transparent; font-size: 9px; font-weight: 800; }
.service-button svg { width: 13px; height: 13px; }
.placeholder-art { display: grid; height: 145px; place-items: center; color: #a9b5bf; background: #f1f4f6; font-size: 42px; }
.service-placeholder { opacity: .78; }
.muted-button { color: #99a4b2; }
.profile-card { overflow: hidden; }
.profile-banner { height: 105px; background: radial-gradient(circle at 85% 20%, rgba(91,218,193,.4), transparent 23%), linear-gradient(115deg, #172944, #22515a); }
.profile-main { display: flex; align-items: center; gap: 15px; padding: 0 25px; transform: translateY(-25px); margin-bottom: -8px; }
.avatar-xl { width: 67px; height: 67px; border: 4px solid white; font-size: 22px; box-shadow: 0 4px 14px rgba(20,40,60,.12); }
.profile-primary { flex: 1; min-width: 0; padding-top: 22px; }
.profile-primary h2 { margin: 0; color: #283850; font: 800 17px "Manrope", sans-serif; }
.profile-primary p { margin: 4px 0 7px; color: #9ba6b2; font-size: 9px; }
.member-status { display: inline-flex; align-items: center; gap: 7px; color: #8d9aa8; font-size: 8px; }
.member-status i { width: 5px; height: 5px; box-shadow: none; }
.profile-id { align-self: flex-start; margin-top: 38px; color: #a3aeba; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.profile-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 23px 25px 25px; border-top: 1px solid #f0f2f5; }
.profile-details > div { display: grid; gap: 6px; }
.profile-details small { color: #a1acb8; font-size: 8px; font-weight: 800; letter-spacing: .6px; }
.profile-details strong { color: #526177; font-size: 10px; }
.profile-info-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 15px; padding: 15px; border: 1px solid #e6f0ed; border-radius: 13px; background: #f1f8f6; }
.profile-info-note > span { color: #2d9b8a; }
.profile-info-note svg { width: 18px; height: 18px; }
.profile-info-note p { margin: 0; color: #7e918f; font-size: 9px; line-height: 1.65; }
.profile-info-note strong { color: #388c80; }

/* Dialog and feedback */
.confirm-dialog { position: fixed; width: min(420px, calc(100% - 32px)); max-width: none; padding: 26px; border: 1px solid #e8edf0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 24px 90px rgba(10,25,42,.22); }
.confirm-dialog::backdrop { background: rgba(13,26,43,.5); backdrop-filter: blur(3px); }
.dialog-close-form { position: absolute; top: 12px; right: 12px; }
.dialog-close-form button { color: #8a97a6; font-size: 22px; }
.dialog-mark { display: grid; width: 42px; height: 42px; margin-bottom: 16px; place-items: center; border-radius: 13px; color: #269987; background: #e8f8f3; }
.dialog-mark svg { width: 21px; height: 21px; }
.confirm-dialog .eyebrow { margin-bottom: 6px; }
.confirm-dialog h2 { margin: 0; color: #26364d; font: 800 19px "Manrope", sans-serif; }
.confirm-dialog > p:not(.eyebrow) { margin: 9px 0 20px; color: #8491a0; font-size: 10px; line-height: 1.7; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; max-width: min(380px, calc(100vw - 48px)); padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; color: white; background: #1d354b; box-shadow: 0 12px 35px rgba(10,25,42,.18); font-size: 10px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .22s, transform .22s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.mobile-scrim { display: none; }

@media (max-width: 1120px) {
  .sidebar { width: 226px; }
  .main-area { margin-left: 226px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.3fr) minmax(150px, .8fr) minmax(150px, .8fr); }
  .balance-hero { padding-inline: 19px; }
  .mini-stat { padding-inline: 14px; }
  .stat-value { font-size: 17px; }
  .quick-action { gap: 9px; padding: 12px 10px; }
}
@media (max-width: 900px) {
  .sidebar { width: 245px; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 15px 0 40px rgba(7,18,34,.15); }
  body.nav-open .sidebar { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .menu-toggle { display: inline-grid; margin-right: 12px; }
  .topbar { justify-content: flex-start; }
  .breadcrumb { flex: 1; }
  .mobile-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(10,22,39,.38); }
  body.nav-open .mobile-scrim { display: block; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(160px, .8fr); }
  .balance-hero { grid-row: span 2; }
  .mini-stat { min-height: 100px; }
  .mini-stat:nth-child(2) { grid-column: 2; }
  .mini-stat:nth-child(3) { grid-column: 2; }
  .stat-title { margin-top: 8px; }
  .stat-note { padding-top: 8px; }
  .lower-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .topbar { height: 65px; padding: 0 16px; }
  .topbar-actions { gap: 9px; }
  .topbar-profile { gap: 0; }
  .topbar-profile > span:nth-child(2), .topbar-profile > svg, .topbar-divider { display: none; }
  .topbar-profile .avatar { width: 31px; height: 31px; }
  .preview-pill { padding: 6px 8px; font-size: 7px; }
  .content-wrap { padding: 17px 15px 20px; }
  .preview-notice { align-items: flex-start; margin-bottom: 23px; padding: 9px 10px; font-size: 9px; }
  .page-heading { margin-bottom: 22px; }
  .heading-with-action { align-items: flex-start; flex-direction: column; }
  .heading-with-action > .outline-button, .heading-with-action > .date-chip { align-self: flex-start; }
  .page-heading h1 { font-size: 25px; }
  .page-description { max-width: 450px; font-size: 10px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .balance-hero { grid-column: 1 / -1; grid-row: auto; min-height: 202px; padding: 19px; }
  .balance-amount { font-size: 30px; }
  .mini-stat { min-height: 142px; padding: 13px 12px; }
  .mini-stat:nth-child(2), .mini-stat:nth-child(3) { grid-column: auto; }
  .stat-value { font-size: 15px; }
  .stat-title { margin-top: 12px; }
  .stat-note { font-size: 7px; }
  .section-heading { margin-top: 23px; }
  .section-heading h2 { font-size: 13px; }
  .quick-grid { grid-template-columns: 1fr; gap: 8px; }
  .quick-action { padding: 11px 12px; }
  .quick-icon { width: 36px; height: 36px; }
  .quick-action strong { font-size: 10px; }
  .quick-action small { font-size: 8px; }
  .lower-grid { gap: 10px; margin-top: 13px; }
  .activity-panel, .recent-panel { padding: 16px 14px; }
  .panel-heading h2 { font-size: 13px; }
  .footer-note { flex-wrap: wrap; justify-content: flex-start; margin-top: 18px; line-height: 1.6; }
  .footer-note span:last-child { width: 100%; }
  .balance-detail-card { padding: 22px 19px; }
  .balance-detail-amount { font-size: 28px; }
  .balance-detail-icon { width: 47px; height: 47px; }
  .three-stat-grid { grid-template-columns: 1fr; gap: 8px; }
  .data-card { grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 13px 14px; }
  .data-card strong { grid-row: span 2; grid-column: 2; font-size: 16px; }
  .data-card small { grid-column: 1; }
  .balance-info-panel { padding: 17px 15px; }
  .history-panel { padding: 13px 11px; }
  .history-toolbar { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .history-toolbar select { width: 100%; }
  .transaction-table th, .transaction-table td { padding-inline: 8px; }
  .payout-layout { grid-template-columns: 1fr; }
  .payout-form-panel, .payout-aside { padding: 17px 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-art, .placeholder-art { height: 125px; }
  .profile-main { align-items: flex-end; gap: 10px; padding: 0 15px; }
  .avatar-xl { width: 57px; height: 57px; }
  .profile-primary { padding-top: 25px; }
  .profile-primary h2 { font-size: 14px; }
  .profile-primary p { font-size: 8px; }
  .profile-id { display: none; }
  .profile-details { grid-template-columns: 1fr; gap: 15px; padding: 20px 16px; }
  .profile-info-note { padding: 12px; }
  .confirm-dialog { padding: 22px 18px; }
  .toast { right: 15px; bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Responsive readability refinement for every member-portal view */
body{font-size:15px;line-height:1.6}
.workspace-label{font-size:10px}
.nav-link{font-size:14px;min-height:48px}
.nav-soon{font-size:9px}
.security-card strong{font-size:12px}
.security-card p,.help-link{font-size:12px}
.sidebar-user-copy strong{font-size:12px}
.sidebar-user-copy small{font-size:11px}
.breadcrumb{font-size:13px}
.preview-pill{font-size:10px}
.page-heading h1{font-size:clamp(27px,3vw,36px)}
.page-description{font-size:14px;line-height:1.7}
.preview-notice{font-size:13px;line-height:1.65}
.stat-title{font-size:13px}
.stat-value{font-size:clamp(16px,1.5vw,20px)}
.stat-note{font-size:11px}
.section-heading h2,.panel-heading h2{font-size:18px}
.quick-action strong{font-size:14px}
.quick-action small{font-size:12px}
.panel-heading p,.eyebrow{font-size:11px}
.activity-panel,.recent-panel{font-size:13px}
.footer-note{font-size:12px}
button,input,select{font-size:inherit}
@media(max-width:620px){
 .content-wrap{padding:17px 16px 26px}
 .preview-notice{font-size:12px;line-height:1.6}
 .page-heading h1{font-size:27px}
 .page-description{font-size:13px}
 .dashboard-grid{gap:10px}
 .balance-hero{padding:18px 16px}
 .balance-amount{font-size:clamp(25px,8vw,31px)}
 .balance-caption{font-size:12px}
 .mini-stat{min-height:128px;padding:13px 11px}
 .stat-title{font-size:12px}
 .stat-value{font-size:15px}
 .stat-note{font-size:10px;line-height:1.5}
 .section-heading h2,.panel-heading h2{font-size:16px}
 .quick-action{min-height:66px;padding:12px}
 .quick-action strong{font-size:13px}
 .quick-action small{font-size:11px}
 .activity-panel,.recent-panel{padding:15px 13px}
 .footer-note{font-size:11px}
}
@media(max-width:380px){
 .topbar{padding-inline:11px}
 .preview-pill{font-size:8px}
 .content-wrap{padding-inline:12px}
 .dashboard-grid{grid-template-columns:1fr 1fr}
 .mini-stat{padding-inline:9px}
 .stat-value{font-size:14px}
}


/* TELEFIN FINANCIAL WORKSPACE — ledger-first application UI */
:root{--navy:#11243b;--navy-soft:#1a304a;--teal:#287e74;--ink:#192a40;--muted:#69788b;--line:#dfe5eb;--canvas:#f4f6f8}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas)}
.app-shell{background:var(--canvas)}
.sidebar{background:#11243b;border-right:1px solid #243950}
.sidebar .brand-mark{border-radius:7px;background:#fff}
.sidebar .brand-mark img{filter:none}
.sidebar .brand-copy strong{font-size:23px;letter-spacing:-1px}
.workspace-label{font-size:10px;letter-spacing:1.3px;color:#8799ad}
.nav-link{min-height:45px;border-radius:4px;font-size:13px;color:#b2c0ce}
.nav-link.is-active{color:#fff;background:#213c56;box-shadow:inset 3px 0 #66b7a9}
.nav-link:hover{background:#1b344d}
.security-card{border:1px solid #30465d;border-radius:5px;background:#192f48}
.main-area{background:#f4f6f8}
.topbar{height:70px;border-bottom:1px solid #e0e5ea;background:#fff}
.breadcrumb{font-size:12px;color:#7b899a}
.preview-pill{border:1px solid #e2e7eb;border-radius:3px;color:#7b899a;background:#f7f8fa;font-size:9px}
.content-wrap{max-width:1320px;padding-top:28px}
.preview-notice{border:1px solid #e2e6ea;border-radius:4px;background:#fff;color:#6a788a;font-size:12px}
.notice-spark{border-radius:3px;color:#367e75;background:#edf4f2}
.page-heading{margin-bottom:25px}
.page-heading h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:30px;font-weight:650;letter-spacing:-.8px;color:#1b2b40}
.page-description{font-size:14px;color:#6e7c8e}
.eyebrow{font-size:10px;letter-spacing:1.1px;color:#7b899a}
.dashboard-grid{gap:16px}
.balance-hero{border:1px solid #1c3852;border-radius:5px;background:#172d46;box-shadow:none}
.balance-hero:before{display:none}
.balance-hero .hero-orb{display:none}
.balance-label{font-size:10px;letter-spacing:1.1px;color:#c1cdd7}
.balance-status{border-radius:3px;background:rgba(255,255,255,.09);font-size:10px}
.balance-amount{font-size:clamp(30px,3.2vw,39px);font-weight:650;letter-spacing:-1px}
.balance-caption{font-size:12px;color:#bdc9d4}
.balance-hero-bottom{border-top-color:rgba(255,255,255,.16)}
.balance-hero-bottom small{font-size:9px;color:#a9b8c7}
.balance-hero-bottom strong{font-size:12px}
.light-button{border-radius:4px;font-size:11px}
.mini-stat,.panel,.data-card,.balance-detail-card,.quick-action,.service-card,.profile-card{
 border:1px solid #dfe5eb;border-radius:5px;background:#fff;box-shadow:none
}
.mini-stat{padding:20px}
.stat-icon,.quick-icon,.transaction-icon,.table-icon{border-radius:4px}
.stat-icon.incoming,.q-history,.income-icon{color:#277f73;background:#edf5f2}
.stat-icon.outgoing,.q-payout{color:#61748b;background:#eff2f5}
.stat-title{font-size:12px;color:#718094}
.stat-value{font-size:19px;font-weight:650;color:#21334a}
.stat-note{font-size:11px}
.section-heading{margin:29px 0 13px}
.section-heading h2,.panel-heading h2{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:17px;font-weight:650;color:#203149}
.quick-grid{gap:10px}
.quick-action{min-height:76px;padding:15px;border-radius:4px}
.quick-action:hover{border-color:#aebdc8;background:#fbfcfc;transform:none}
.quick-action strong{font-size:13px;color:#26374d}
.quick-action small{font-size:11px;color:#758397}
.quick-arrow{color:#8493a4}
.lower-grid{gap:16px;margin-top:18px}
.panel{padding:21px}
.panel-heading{padding-bottom:15px;border-bottom:1px solid #e6eaee}
.panel-heading .eyebrow{font-size:9px}
.chart-summary strong{font-size:23px;font-weight:650}
.chart-bars{border-bottom:1px solid #dfe5eb}
.bar-pair i{background:#3b8f83}
.bar-pair b{background:#b7c5d0}
.recent-item{padding:13px 0;border-bottom:1px solid #edf0f3}
.transaction-copy strong{font-size:12px}
.transaction-copy small{font-size:10px}
.transaction-amount{font-size:11px;font-weight:650}
.full-width-link,.text-button{font-size:11px;color:#327d73}
.footer-note{font-size:11px;color:#8290a0}
.balance-detail-card{border-radius:5px;background:#172d46}
.balance-detail-amount{font-size:34px;font-weight:650}
.three-stat-grid{gap:12px}
.data-card{padding:18px}
.data-card>span{font-size:12px}
.data-card strong{font-size:18px;font-weight:650}
.data-card small{font-size:11px}
.info-row{padding:17px 0;border-bottom:1px solid #e8ecf0}
.info-row strong{font-size:13px}
.info-row p{font-size:12px;line-height:1.7;color:#6d7b8d}
.history-panel{padding:18px}
.history-toolbar{gap:10px}
.search-field,.history-toolbar select,.form-control,.amount-input-wrap{border:1px solid #dce3e9;border-radius:4px;background:#fff}
.search-field input,.history-toolbar select{font-size:13px}
.transaction-table th{font-size:9px;letter-spacing:.7px;color:#78879a}
.transaction-table td{font-size:12px;color:#4e5e72}
.transaction-table td strong{font-size:12px;color:#26374d}
.transaction-table td small{font-size:10px}
.status-chip{border-radius:3px;font-size:10px}
.payout-layout{gap:16px}
.payout-form-panel,.payout-aside{border-radius:5px}
.field-label{font-size:12px}
.form-control,.amount-input-wrap input{min-height:48px;font-size:14px}
.saved-destination{border-radius:4px;background:#f7f9fa}
.primary-button{border-radius:4px;background:#287e74;font-size:13px}
.payout-aside h3{font-size:18px}
.payout-aside p,.aside-point span,.policy-note p{font-size:12px;line-height:1.7}
.service-grid{gap:14px}
.service-card{overflow:hidden;border-radius:5px}
.service-art,.service-card .service-art,.placeholder-art{display:none!important}
.service-card-body{padding:22px}
.service-tag{font-size:9px;letter-spacing:1px;color:#8290a0}
.service-card h2{font-size:18px;font-weight:650}
.service-card p{font-size:13px;line-height:1.7;color:#6c7b8d}
.service-button{min-height:40px;border:1px solid #dce3e9;border-radius:4px;color:#287e74;background:#fff;font-size:12px}
.service-placeholder{background:#fafbfc}
.profile-card{overflow:hidden}
.profile-banner{height:75px;background:#172d46}
.profile-main{padding:0 22px 20px}
.profile-details{border-top:1px solid #e6eaee}
.profile-details>div{padding:15px 18px;border-bottom:1px solid #edf0f3}
.profile-details small{font-size:9px;color:#8290a0}
.profile-details strong{font-size:12px}
.profile-info-note{border:1px solid #dfe5eb;border-radius:4px;background:#fff}
@media(max-width:900px){
 .content-wrap{padding:20px 22px 24px}
 .topbar{height:64px}
 .dashboard-grid{grid-template-columns:1fr 1fr}
 .balance-hero{grid-column:1/-1}
 .lower-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 .content-wrap{padding:15px 13px 24px}
 .topbar{padding:0 14px}
 .page-heading{margin-bottom:18px}
 .page-heading h1{font-size:25px}
 .page-description{font-size:13px}
 .preview-notice{align-items:flex-start;padding:10px;font-size:11px}
 .dashboard-grid{grid-template-columns:1fr 1fr;gap:9px}
 .balance-hero{grid-column:1/-1;padding:20px 17px}
 .balance-amount{font-size:29px}
 .mini-stat{padding:14px 12px;min-height:126px}
 .stat-value{font-size:15px}
 .stat-title{font-size:11px}
 .stat-note{font-size:10px;line-height:1.5}
 .quick-grid{grid-template-columns:1fr}
 .quick-action{min-height:65px}
 .lower-grid{grid-template-columns:1fr;gap:12px}
 .panel{padding:15px}
 .chart-summary strong{font-size:20px}
 .history-toolbar{display:grid;grid-template-columns:1fr}
 .table-scroll{overflow-x:auto}
 .transaction-table{min-width:650px}
 .payout-layout{grid-template-columns:1fr}
 .service-grid{grid-template-columns:1fr}
 .service-card-body{padding:18px}
 .three-stat-grid{grid-template-columns:1fr}
 .data-card{padding:15px}
 .footer-note{flex-wrap:wrap;gap:8px}
}
@media(max-width:380px){
 .content-wrap{padding-inline:10px}
 .dashboard-grid{gap:7px}
 .mini-stat{padding:12px 9px}
 .stat-value{font-size:14px}
 .balance-amount{font-size:26px}
}
