@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #121d35;
  --navy-deep: #0d172b;
  --navy-soft: #1d2b48;
  --blue: #4565e8;
  --blue-dark: #3552d1;
  --blue-soft: #eef2ff;
  --blue-pale: #f6f8ff;
  --ink: #192641;
  --muted: #77849d;
  --muted-2: #9aa4b7;
  --border: #e7ebf2;
  --surface: #fff;
  --canvas: #f6f8fb;
  --green: #178765;
  --green-soft: #e8f7f0;
  --amber: #a97021;
  --amber-soft: #fff5e3;
  --red: #c95062;
  --red-soft: #fff0f2;
  --purple: #7158c9;
  --shadow: 0 5px 22px rgba(22, 39, 76, .035);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(69, 101, 232, .28); outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.mono { font-family: 'DM Mono', ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.025em; }
.muted { color: var(--muted); }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.sandbox-strip { position: relative; z-index: 20; min-height: 31px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 5px 12px; background: #fff4df; color: #876126; font-size: 10px; font-weight: 500; }
.sandbox-strip strong { font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.sandbox-strip a { display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; font-weight: 800; color: #77501b; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #d49b38; box-shadow: 0 0 0 3px rgba(212,155,56,.12); }
.strip-divider { opacity: .4; }
.app-shell { min-height: calc(100vh - 31px); display: flex; background: var(--canvas); }
.sidebar { position: sticky; top: 0; width: 254px; height: calc(100vh - 31px); min-height: 650px; display: flex; flex-direction: column; flex: 0 0 254px; padding: 25px 15px 14px; color: #e6ebf8; background: linear-gradient(180deg, var(--navy) 0%, #111c33 100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0 10px 28px; color: #fff; }
.brand-symbol { position: relative; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; gap: 2px; border: 1px solid rgba(184,197,255,.25); border-radius: 10px; background: linear-gradient(145deg, #4d6ded, #2f4ec9); box-shadow: 0 4px 13px rgba(51,76,190,.25); }
.brand-symbol i { display: block; width: 4px; border-radius: 3px; transform: skew(-20deg); background: #fff; }
.brand-symbol i:nth-child(1) { height: 10px; opacity: .75; }
.brand-symbol i:nth-child(2) { height: 18px; }
.brand-symbol i:nth-child(3) { height: 13px; opacity: .85; }
.brand-word { display: block; font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: -.065em; }
.brand-word > span { color: #8298ff; }
.brand-word small { display: block; margin-top: 6px; color: #8d9ab8; font-family: 'DM Sans', sans-serif; font-size: 7px; font-weight: 700; letter-spacing: .19em; }
.workspace-switch { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 9px; margin-bottom: 27px; border: 1px solid rgba(195,207,244,.12); border-radius: 11px; background: rgba(255,255,255,.045); text-align: left; color: #fff; }
.workspace-switch:hover { background: rgba(255,255,255,.075); }
.workspace-avatar { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: #2b3c62; color: #cad4ff; font-size: 9px; font-weight: 800; }
.workspace-copy, .account-copy { min-width: 0; flex: 1; }
.workspace-copy strong, .workspace-copy small, .account-copy strong, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy strong { font-size: 11px; font-weight: 700; }
.workspace-copy small { margin-top: 4px; color: #96a3c1; font-size: 9px; }
.workspace-chevron { color: #91a0bf; font-size: 16px; }
.nav-label { padding: 0 11px; margin-bottom: 9px; color: #7483a3; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.nav-label-spaced { margin-top: 26px; }
.nav-group { display: grid; gap: 3px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #a7b2cb; text-align: left; font-size: 11px; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.nav-item:hover { background: rgba(255,255,255,.055); color: #fff; }
.nav-item.active { border-color: rgba(154,173,255,.13); background: linear-gradient(100deg, rgba(80,105,220,.27), rgba(81,105,218,.12)); color: #fff; }
.nav-item.active:before { position: absolute; top: 8px; bottom: 8px; left: -1px; width: 3px; border-radius: 0 5px 5px 0; background: #7e97ff; content: ""; }
.nav-icon { width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: currentColor; opacity: .92; }
.nav-icon svg, .icon-button svg, .topbar svg, .panel svg, .btn svg, .inline-icon svg, .api-health-icon svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-count { min-width: 20px; padding: 3px 5px; margin-left: auto; border-radius: 5px; background: rgba(255,255,255,.08); color: #a9b7d8; font-size: 9px; text-align: center; }
.nav-new { padding: 3px 5px; margin-left: auto; border: 1px solid rgba(130,152,255,.18); border-radius: 4px; background: rgba(90,117,225,.18); color: #aab9ff; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.sidebar-bottom { margin-top: auto; }
.api-health-card { display: flex; align-items: center; gap: 9px; padding: 11px 9px; border: 1px solid rgba(182,196,235,.11); border-radius: 10px; background: rgba(255,255,255,.035); }
.api-health-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 8px; background: rgba(33,155,116,.13); color: #61d7ab; }
.api-health-icon svg { width: 16px; height: 16px; }
.api-health-card > div { min-width: 0; flex: 1; }
.api-health-card strong, .api-health-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-health-card strong { color: #dbe3f8; font-size: 9px; }
.api-health-card small { margin-top: 5px; color: #91a0bc; font-size: 8px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #35c394; }
.status-dot.offline { background: #e0a448; }
.mini-refresh { width: 23px; height: 23px; border: 0; border-radius: 6px; background: transparent; color: #8e9dba; font-size: 16px; }
.mini-refresh:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-account { display: flex; align-items: center; gap: 9px; padding: 14px 5px 1px; margin-top: 13px; border-top: 1px solid rgba(183,196,232,.10); }
.user-avatar { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(120,143,233,.18); border-radius: 9px; background: #34446a; color: #e0e6ff; font-size: 9px; font-weight: 800; }
.account-copy strong { color: #dfe6f8; font-size: 10px; }
.account-copy small { margin-top: 4px; color: #8795b4; font-size: 9px; }
.more-button { width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: #93a0bc; font-weight: 800; letter-spacing: 2px; }
.more-button:hover { background: rgba(255,255,255,.07); }
.main-area { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 72px; padding: 0 clamp(22px, 3.2vw, 46px); border-bottom: 1px solid #e9edf4; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.topbar-start, .topbar-actions { display: flex; align-items: center; gap: 13px; min-width: 0; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #a1aabc; font-size: 10px; white-space: nowrap; }
.breadcrumb strong { color: #2a3855; font-size: 11px; font-weight: 700; }
.crumb-slash { color: #d1d6df; }
.global-search { display: flex; align-items: center; gap: 8px; width: clamp(190px, 22vw, 280px); height: 36px; padding: 0 10px; border: 1px solid #e7ebf3; border-radius: 8px; background: #fafbfe; color: #97a1b4; transition: border-color .15s, box-shadow .15s; }
.global-search:focus-within { border-color: #cbd5ff; background: #fff; box-shadow: 0 0 0 3px rgba(69,101,232,.06); }
.global-search > span { display: inline-flex; }
.global-search svg { width: 15px; height: 15px; }
.global-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.global-search input::placeholder { color: #9da7ba; }
.global-search kbd { padding: 3px 4px; border: 1px solid #e4e8f0; border-radius: 4px; background: #fff; color: #9aa4b7; font-family: inherit; font-size: 8px; white-space: nowrap; }
.mode-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #f2dfb9; border-radius: 6px; background: #fff8ea; color: #946a29; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.mode-dot { width: 6px; height: 6px; border-radius: 50%; background: #d29a32; }
.icon-button { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid #e5eaf2; border-radius: 8px; background: #fff; color: #66738c; transition: border-color .15s, color .15s, background .15s; }
.icon-button:hover { border-color: #d7dffa; background: #f8faff; color: var(--blue); }
.icon-button svg { width: 16px; height: 16px; }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: #e26d7d; }
.top-avatar-button { display: flex; padding: 0; border: 0; border-radius: 9px; background: transparent; }
.top-avatar-button .user-avatar { border-color: #e2e8ff; background: #edf1ff; color: #3d55b3; }
.mobile-menu { display: none; }
.content-area { width: 100%; max-width: 1700px; flex: 1; margin: 0 auto; padding: 31px clamp(22px, 3.2vw, 46px) 28px; }
.app-footer { display: flex; justify-content: space-between; gap: 12px; padding: 13px clamp(22px, 3.2vw, 46px) 17px; border-top: 1px solid #e9edf4; color: #9aa4b6; background: rgba(255,255,255,.55); font-size: 9px; }
.app-footer strong { color: #64718a; font-weight: 700; }
.footer-dot, .footer-divider { padding: 0 5px; color: #c5cbd6; }
.loading-view { min-height: 360px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #8995aa; font-size: 11px; }
.loader { width: 17px; height: 17px; border: 2px solid #e2e8ff; border-top-color: var(--blue); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.page-heading .eyebrow { margin: 0 0 7px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.page-heading h1 { margin: 0; color: #182641; font-family: 'Manrope', sans-serif; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.18; font-weight: 800; letter-spacing: -.06em; }
.page-heading p { margin: 7px 0 0; color: #8390a7; font-size: 11px; line-height: 1.6; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 9px 13px; border: 1px solid transparent; border-radius: 8px; font-size: 10px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; transition: transform .14s, background .14s, border-color .14s, box-shadow .14s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 14px; height: 14px; }
.btn-primary { border-color: #3f5fe0; background: linear-gradient(110deg, #4b69e7, #3f59d6); color: #fff; box-shadow: 0 4px 10px rgba(59,86,203,.14); }
.btn-primary:hover { background: linear-gradient(110deg, #405fe0, #344fc8); box-shadow: 0 7px 15px rgba(59,86,203,.2); }
.btn-secondary { border-color: #e2e7ef; background: #fff; color: #52607a; }
.btn-secondary:hover { border-color: #d4dcf3; background: #f9faff; }
.btn-quiet { border-color: transparent; background: transparent; color: #63718a; }
.btn-quiet:hover { background: #f0f3fa; }
.btn-danger { border-color: #f4d9de; background: #fff7f8; color: var(--red); }
.btn-sm { min-height: 30px; padding: 6px 9px; font-size: 9px; }
.btn-full { width: 100%; }
.link-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 800; white-space: nowrap; }
.link-button:hover { color: var(--blue-dark); }
.panel { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.panel-title { margin: 0; color: #2b3957; font-size: 11px; font-weight: 800; letter-spacing: -.015em; }
.panel-subtitle { margin: 5px 0 0; color: #96a0b3; font-size: 9px; line-height: 1.5; }
.panel-divider { height: 1px; margin: 16px 0; background: #edf0f6; }
.grid { display: grid; gap: 15px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { position: relative; overflow: hidden; min-height: 140px; padding: 17px 18px; border: 1px solid #e7ebf3; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.stat-card:after { position: absolute; right: -25px; bottom: -48px; width: 110px; height: 110px; border: 1px solid rgba(69,101,232,.06); border-radius: 50%; content: ""; pointer-events: none; }
.stat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stat-label { color: #8490a7; font-size: 10px; font-weight: 600; }
.stat-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e4eaff; border-radius: 9px; background: #f1f4ff; color: #4b65dc; }
.stat-icon svg { width: 15px; height: 15px; }
.stat-icon.green { border-color: #dcefe6; background: #edfaf4; color: #218765; }
.stat-icon.amber { border-color: #f5e5c8; background: #fff7e8; color: #b07a28; }
.stat-icon.purple { border-color: #e9e0fb; background: #f6f1ff; color: #7b62c8; }
.stat-value { margin: 11px 0 7px; color: #1b2945; font-family: 'Manrope', sans-serif; font-size: clamp(21px, 2.1vw, 27px); font-weight: 800; line-height: 1.05; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.stat-foot { display: flex; align-items: center; gap: 5px; color: #9ba5b7; font-size: 9px; }
.stat-trend { color: #1b946d; font-weight: 800; }
.stat-trend.warning { color: #b37c2b; }
.overview-grid { grid-template-columns: minmax(0, 1.5fr) minmax(275px, .9fr); align-items: stretch; margin-top: 16px; }
.chart-panel { min-height: 300px; }
.chart-legend { display: inline-flex; align-items: center; gap: 11px; color: #8d99ae; font-size: 8px; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #526de5; }
.legend-dot.light { background: #cbd5ff; }
.chart-wrap { display: grid; grid-template-columns: 36px 1fr; gap: 7px; height: 178px; margin-top: 20px; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 19px; color: #a3adbd; font-size: 8px; }
.bar-chart { position: relative; display: flex; align-items: flex-end; justify-content: space-around; gap: 9px; padding: 0 5px 21px; background: repeating-linear-gradient(to bottom, #edf0f6 0 1px, transparent 1px 42px); }
.bar-group { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; flex: 1; min-width: 0; }
.bar { width: min(15px, 37%); min-height: 3px; border-radius: 3px 3px 1px 1px; background: #cbd5ff; transition: height .2s; }
.bar.primary { background: #4c68e2; }
.bar-day { position: absolute; bottom: -18px; color: #9ca6b8; font-size: 8px; }
.chart-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; color: #a0a9b9; font-size: 8px; }
.chart-caption strong { color: #586680; font-weight: 700; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.volume-card { position: relative; overflow: hidden; padding: 20px; border: 1px solid #1e3156; border-radius: 13px; background: radial-gradient(ellipse at 100% 0%, rgba(93,123,244,.23), transparent 46%), linear-gradient(135deg, #172747, #101a30 74%); color: white; }
.volume-card:after { position: absolute; right: -70px; bottom: -105px; width: 215px; height: 215px; border: 1px solid rgba(174,192,255,.13); border-radius: 50%; content: ""; }
.volume-card:before { position: absolute; right: -30px; bottom: -76px; width: 160px; height: 160px; border: 1px solid rgba(174,192,255,.10); border-radius: 50%; content: ""; }
.volume-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #bcc8e6; font-size: 10px; }
.volume-head .tiny-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #c5d0ed; }
.volume-value { position: relative; z-index: 1; margin: 18px 0 8px; font-family: 'Manrope', sans-serif; font-size: clamp(23px,2.4vw,31px); font-weight: 800; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.volume-sub { position: relative; z-index: 1; color: #93a4ca; font-size: 9px; }
.volume-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.11); color: #9badd3; font-size: 9px; }
.volume-footer strong { color: #7ee0b9; }
.conversion-card { padding: 17px 18px; border: 1px solid #e7ebf3; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.conversion-value { display: flex; align-items: baseline; gap: 7px; margin: 10px 0; color: #253452; font-family: 'Manrope', sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
.conversion-value small { color: #1c966f; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 0; }
.progress-track { height: 6px; overflow: hidden; border-radius: 20px; background: #edf0f6; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4464e0, #8b9cff); }
.progress-fill.green { background: linear-gradient(90deg, #24956e, #79d0ae); }
.progress-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; color: #98a2b4; font-size: 8px; }
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.quick-action { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 14px; border: 1px solid #e6eaf2; border-radius: 11px; background: #fff; text-align: left; box-shadow: 0 3px 12px rgba(24,38,77,.018); transition: transform .15s, border-color .15s, box-shadow .15s; }
.quick-action:hover { transform: translateY(-2px); border-color: #d4ddfb; box-shadow: 0 9px 19px rgba(32,48,99,.05); }
.quick-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #e3eaff; border-radius: 10px; background: #f1f4ff; color: #4965df; }
.quick-icon svg { width: 16px; height: 16px; }
.quick-icon.green { border-color: #d7f0e4; background: #edfaf4; color: #208765; }
.quick-icon.purple { border-color: #e9e0fb; background: #f6f1ff; color: #7d62c9; }
.quick-icon.amber { border-color: #f3e4c8; background: #fff7e9; color: #b17b28; }
.quick-action strong, .quick-action small { display: block; }
.quick-action strong { color: #35425e; font-size: 10px; font-weight: 800; }
.quick-action small { margin-top: 4px; color: #9aa4b6; font-size: 8px; }
.transaction-list { display: grid; }
.tx-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid #eff2f6; }
.tx-row:last-child { border-bottom: 0; }
.tx-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.method-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid #e6eaf3; border-radius: 10px; background: #f6f8fc; color: #687690; font-size: 10px; font-weight: 800; }
.method-icon.pix { border-color: #d8f0e5; background: #edfaf4; color: #1d8a67; }
.method-icon.card { border-color: #e0e6ff; background: #f0f3ff; color: #4c65d8; }
.method-icon.boleto { border-color: #f1e5d2; background: #fff8ed; color: #ac7b37; }
.tx-copy { min-width: 0; }
.tx-copy strong, .tx-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-copy strong { color: #32405d; font-size: 10px; font-weight: 700; }
.tx-copy small { margin-top: 4px; color: #9da7b7; font-size: 8px; }
.tx-value { color: #33415e; font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.tx-value small { display: block; margin-top: 4px; color: #9ba5b6; font-size: 8px; font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 5px 7px; border: 1px solid #dcefe5; border-radius: 5px; background: #effaf4; color: #218563; font-size: 8px; font-weight: 800; white-space: nowrap; }
.badge:before { width: 4px; height: 4px; border-radius: 50%; background: currentColor; content: ""; }
.badge.pending { border-color: #f1e3c6; background: #fff8ea; color: #ad792d; }
.badge.refused { border-color: #f4dce1; background: #fff2f4; color: #bd5264; }
.badge.refunded { border-color: #e5e0f5; background: #f6f3fc; color: #7960b9; }
.badge.neutral { border-color: #e4e8ef; background: #f7f9fc; color: #7f8aa0; }
.badge.test { border-color: #f0e0bd; background: #fff8eb; color: #a7792a; }
.table-panel { padding: 0; overflow: hidden; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 17px 19px; border-bottom: 1px solid #edf0f6; }
.table-toolbar-left, .table-toolbar-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.table-toolbar .panel-title { font-size: 11px; }
.table-search { display: flex; align-items: center; gap: 7px; min-width: 180px; height: 32px; padding: 0 9px; border: 1px solid #e5eaf2; border-radius: 7px; color: #98a3b6; background: #fff; }
.table-search svg { width: 14px; height: 14px; }
.table-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 9px; }
.select-control { min-height: 32px; padding: 6px 23px 6px 9px; border: 1px solid #e5eaf2; border-radius: 7px; background: #fff; color: #687691; font-size: 9px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 11px 16px; border-bottom: 1px solid #edf0f6; background: #fafbfe; color: #98a3b6; font-size: 8px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid #f0f2f7; color: #62708a; font-size: 9px; vertical-align: middle; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .12s; }
.data-table tbody tr:hover { background: #fafbff; }
.table-entity { display: flex; align-items: center; gap: 9px; min-width: 170px; }
.table-entity .method-icon { width: 30px; height: 30px; border-radius: 8px; }
.table-entity strong, .table-entity small { display: block; }
.table-entity strong { color: #35415d; font-size: 9px; font-weight: 700; }
.table-entity small { margin-top: 4px; color: #9ba5b6; font-size: 8px; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid #edf0f6; color: #9ba5b6; font-size: 8px; }
.pagination { display: flex; align-items: center; gap: 6px; }
.pagination button { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 7px; border: 1px solid #e5eaf2; border-radius: 6px; background: #fff; color: #66738b; font-size: 9px; }
.pagination button.active { border-color: #d8e0ff; background: #f0f3ff; color: #435ed4; font-weight: 800; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.info-banner { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 17px; border: 1px solid #f0e3c8; border-radius: 9px; background: #fff9ed; color: #8a6a37; font-size: 10px; line-height: 1.6; }
.info-banner svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; }
.info-banner strong { color: #79551f; }
.success-banner { border-color: #d8eee4; background: #f3fbf7; color: #4a826d; }
.success-banner strong { color: #246f53; }
.entity-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.entity-card { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid #e7ebf3; border-radius: 11px; background: #fff; box-shadow: var(--shadow); }
.entity-avatar { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 auto; border: 1px solid #e2e8ff; border-radius: 10px; background: #f0f3ff; color: #4c64d8; font-size: 10px; font-weight: 800; }
.entity-copy { min-width: 0; flex: 1; }
.entity-copy strong, .entity-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entity-copy strong { color: #35415d; font-size: 10px; }
.entity-copy small { margin-top: 5px; color: #9ba5b7; font-size: 8px; }
.entity-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #f0f2f7; color: #8490a6; font-size: 8px; }
.entity-meta strong { color: #475674; font-size: 9px; }
.links-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.payment-link-card { padding: 17px; border: 1px solid #e6eaf2; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.payment-link-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.link-product-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e2e8ff; border-radius: 10px; background: #f0f3ff; color: #4b65dc; }
.link-product-icon svg { width: 17px; height: 17px; }
.payment-link-card h3 { margin: 14px 0 5px; color: #32405d; font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: -.03em; }
.payment-link-card p { min-height: 28px; margin: 0; color: #8d99ae; font-size: 9px; line-height: 1.55; }
.link-amount { margin: 17px 0 4px; color: #1d2b47; font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.055em; }
.link-amount small { color: #8b96aa; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0; }
.link-url { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px; margin: 14px 0; border: 1px solid #e9edf5; border-radius: 7px; background: #fafbfe; color: #7a87a0; font-size: 8px; }
.link-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-url button { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border: 1px solid #e5eaf3; border-radius: 6px; background: #fff; color: #64718a; }
.link-actions { display: flex; gap: 7px; }
.link-actions .btn { flex: 1; min-width: 0; padding-right: 7px; padding-left: 7px; }
.developer-grid { grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); align-items: start; }
.key-card { padding: 16px; border: 1px solid #e5e9f2; border-radius: 10px; background: #fbfcff; }
.key-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.key-card-head strong { display: block; color: #33415d; font-size: 10px; }
.key-card-head small { display: block; margin-top: 5px; color: #939eb2; font-size: 8px; line-height: 1.5; }
.key-value { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px; margin-top: 13px; border: 1px solid #e6eaf2; border-radius: 7px; background: #fff; }
.key-value code { overflow: hidden; flex: 1; color: #42516c; font-family: 'DM Mono', monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.key-value button { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border: 1px solid #e6eaf2; border-radius: 6px; background: #fff; color: #6f7c95; }
.key-value button svg { width: 14px; height: 14px; }
.code-block { overflow: hidden; border: 1px solid #202b42; border-radius: 10px; background: #111a2b; color: #dce5f7; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid #26324a; background: #162137; color: #9eacc8; font-size: 8px; }
.code-head .language { padding: 3px 5px; border: 1px solid #31415e; border-radius: 4px; background: #202e49; color: #b7c5e5; font-family: 'DM Mono', monospace; font-size: 8px; }
.code-head button { display: flex; align-items: center; gap: 5px; border: 0; background: transparent; color: #a9b9d8; font-size: 8px; }
.code-head button:hover { color: #fff; }
.code-head button svg { width: 12px; height: 12px; }
.code-block pre { overflow-x: auto; padding: 15px; margin: 0; color: #ced9ee; font-family: 'DM Mono', monospace; font-size: 9px; line-height: 1.8; white-space: pre; }
.code-block .code-key { color: #95b2ff; }
.code-block .code-string { color: #a8dbbe; }
.endpoint-list { display: grid; gap: 8px; }
.endpoint-row { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e7ebf3; border-radius: 8px; background: #fff; }
.http-method { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; padding: 5px; border: 1px solid #d9f0e3; border-radius: 5px; background: #eefaf4; color: #218662; font-family: 'DM Mono', monospace; font-size: 8px; font-weight: 800; }
.http-method.post { border-color: #e0e6ff; background: #f0f3ff; color: #4964d8; }
.http-method.delete { border-color: #f3dfe2; background: #fff3f4; color: #be5665; }
.endpoint-path { overflow: hidden; flex: 1; color: #394864; font-family: 'DM Mono', monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-desc { color: #9ba5b8; font-size: 8px; white-space: nowrap; }
.api-state { display: inline-flex; align-items: center; gap: 6px; color: #208360; font-size: 8px; font-weight: 800; }
.api-state .status-dot { width: 6px; height: 6px; }
.integration-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.integration-card { padding: 18px; border: 1px solid #e6eaf2; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.integration-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.integration-logo { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #e4e9f3; border-radius: 11px; background: #f6f8fc; color: #53627d; font-family: 'Manrope',sans-serif; font-size: 13px; font-weight: 800; }
.integration-logo.pix-logo { border-color: #d8f0e5; background: #eefaf4; color: #168965; }
.integration-logo.api-logo { border-color: #e2e7ff; background: #f0f3ff; color: #4863da; }
.integration-card h3 { margin: 15px 0 7px; color: #34415d; font-family: 'Manrope',sans-serif; font-size: 13px; letter-spacing: -.025em; }
.integration-card p { min-height: 43px; margin: 0; color: #8d99ad; font-size: 9px; line-height: 1.65; }
.integration-card .btn { margin-top: 15px; }
.settings-grid { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); align-items: start; }
.settings-list { display: grid; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #eff2f7; }
.setting-row:last-child { border-bottom: 0; }
.setting-copy strong, .setting-copy small { display: block; }
.setting-copy strong { color: #3a4762; font-size: 10px; }
.setting-copy small { max-width: 410px; margin-top: 5px; color: #98a2b5; font-size: 9px; line-height: 1.6; }
.switch { position: relative; width: 35px; height: 20px; flex: 0 0 auto; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { position: absolute; inset: 0; border-radius: 50px; background: #d7dce6; cursor: pointer; transition: background .18s; }
.switch-track:after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.14); transition: transform .18s; content: ""; }
.switch input:checked + .switch-track { background: var(--blue); }
.switch input:checked + .switch-track:after { transform: translateX(15px); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.form-field { display: grid; gap: 6px; margin-bottom: 14px; }
.form-field label { color: #68758e; font-size: 9px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 37px; padding: 10px 11px; border: 1px solid #e1e7f0; border-radius: 8px; background: #fff; color: #35425e; outline: 0; font-size: 10px; transition: border-color .14s, box-shadow .14s; }
.form-field textarea { min-height: 75px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #a8b6f7; box-shadow: 0 0 0 3px rgba(69,101,232,.07); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #b0b8c7; }
.form-help { color: #9ba5b6; font-size: 8px; line-height: 1.5; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(12,21,42,.60); backdrop-filter: blur(5px); }
.action-modal { width: min(100%, 510px); max-height: min(90vh, 760px); overflow-y: auto; padding: 24px; border: 1px solid rgba(255,255,255,.65); border-radius: 15px; background: #fff; box-shadow: 0 28px 90px rgba(8,17,42,.32); animation: modal-in .17s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.modal-header h2 { margin: 0; color: var(--navy); font-family: 'Manrope',sans-serif; font-size: 21px; letter-spacing: -.045em; }
.modal-header p { margin: 7px 0 0; color: #8995aa; font-size: 10px; line-height: 1.6; }
.modal-close { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid #e6ebf3; border-radius: 8px; background: #fff; color: #8290a6; font-size: 17px; }
.modal-notice { display: flex; align-items: flex-start; gap: 8px; padding: 10px 11px; margin-bottom: 17px; border: 1px solid #f1e4c9; border-radius: 7px; background: #fff9ed; color: #926d34; font-size: 9px; line-height: 1.6; }
.modal-notice svg { width: 14px; height: 14px; flex: 0 0 auto; }
.modal-actions { display: flex; gap: 8px; margin-top: 19px; }
.modal-actions .btn { flex: 1; }
.toast-stack { position: fixed; z-index: 100; right: 21px; bottom: 21px; display: grid; gap: 9px; width: min(355px,calc(100vw - 30px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid #e5eaf2; border-radius: 10px; background: #fff; box-shadow: 0 13px 35px rgba(18,30,64,.16); animation: toast-in .18s ease-out; transition: opacity .2s, transform .2s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.toast-icon { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 7px; background: var(--green-soft); color: var(--green); font-weight: 800; }
.toast.error .toast-icon { background: var(--red-soft); color: var(--red); }
.toast strong, .toast small { display: block; }
.toast strong { margin: 1px 0 4px; color: #33405d; font-size: 10px; }
.toast small { color: #8f99ac; font-size: 9px; line-height: 1.5; }
.empty-state { padding: 35px 18px; color: #9aa4b6; text-align: center; font-size: 10px; line-height: 1.7; }
.empty-state strong { display: block; margin-bottom: 6px; color: #57647d; font-size: 11px; }
.two-col { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.kpi-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0f6; }
.kpi-line:last-child { border-bottom: 0; }
.kpi-line span { color: #7f8ca2; font-size: 9px; }
.kpi-line strong { color: #33415e; font-size: 10px; font-variant-numeric: tabular-nums; }
.log-row { display: grid; grid-template-columns: 52px minmax(0,1fr) 70px 85px; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eff2f7; }
.log-row:last-child { border-bottom: 0; }
.log-row code { color: #52617a; font-family: 'DM Mono',monospace; font-size: 8px; }
.log-row small { color: #97a1b3; font-size: 8px; }
.log-path { overflow: hidden; color: #4f5e77; font-family: 'DM Mono',monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.http-status { color: #218663; font-family: 'DM Mono',monospace; font-size: 9px; font-weight: 800; }
.http-status.bad { color: #c65465; }
.code-inline { padding: 2px 5px; border: 1px solid #e7ebf3; border-radius: 4px; background: #f7f9fc; color: #596782; font-family: 'DM Mono',monospace; font-size: 9px; }

@media (max-width: 1220px) {
  .sidebar { width: 235px; flex-basis: 235px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .links-grid, .integration-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-grid { grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); }
}
@media (max-width: 900px) {
  .sidebar { position: fixed; z-index: 35; top: 31px; left: 0; width: 254px; height: calc(100vh - 31px); min-height: 0; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 15px 0 35px rgba(9,18,37,.22); }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu { display: inline-flex; }
  .topbar { min-height: 64px; padding: 0 20px; }
  .topbar-start { gap: 10px; flex: 1; }
  .topbar-actions { gap: 8px; }
  .global-search { width: clamp(145px,24vw,220px); }
  .content-area { padding: 25px 20px 23px; }
  .overview-grid, .developer-grid, .settings-grid { grid-template-columns: 1fr; }
  .entity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-footer { padding-right: 20px; padding-left: 20px; }
}
@media (max-width: 600px) {
  .sandbox-strip { justify-content: flex-start; gap: 6px; padding: 7px 10px; font-size: 8px; }
  .sandbox-strip strong { font-size: 8px; }
  .sandbox-strip a { margin-left: auto; }
  .sidebar { top: 40px; height: calc(100vh - 40px); }
  .topbar { min-height: 59px; gap: 8px; padding: 0 12px; }
  .breadcrumb { gap: 6px; font-size: 9px; }
  .breadcrumb strong { font-size: 10px; }
  .topbar-actions { gap: 4px; }
  .global-search { width: 35px; height: 34px; justify-content: center; gap: 0; padding: 0; border: 0; background: transparent; }
  .global-search input, .global-search kbd { display: none; }
  .global-search.search-open { position: absolute; left: 55px; right: 100px; width: auto; justify-content: flex-start; gap: 7px; padding: 0 9px; border: 1px solid #e7ebf3; background: #fff; }
  .global-search.search-open input { display: block; }
  .mode-pill { padding: 6px; gap: 4px; font-size: 7px; }
  .mode-dot { width: 5px; height: 5px; }
  .notification-button, .top-avatar-button { display: none; }
  .content-area { padding: 21px 12px 18px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 10px; }
  .heading-actions { width: 100%; flex-wrap: wrap; }
  .heading-actions .btn { flex: 1; }
  .stats-grid { gap: 9px; }
  .stat-card { min-height: 132px; padding: 13px; }
  .stat-label { font-size: 9px; }
  .stat-icon { width: 27px; height: 27px; border-radius: 8px; }
  .stat-value { margin: 13px 0 8px; font-size: clamp(19px,6vw,24px); }
  .stat-foot { flex-wrap: wrap; font-size: 8px; }
  .quick-actions { gap: 8px; margin: 13px 0; }
  .quick-action { min-height: 61px; gap: 8px; padding: 9px; }
  .quick-icon { width: 29px; height: 29px; border-radius: 8px; }
  .quick-action strong { font-size: 9px; }
  .quick-action small { font-size: 7px; }
  .panel { padding: 14px; border-radius: 11px; }
  .overview-grid { gap: 12px; margin-top: 12px; }
  .chart-panel { min-height: 280px; }
  .chart-wrap { height: 164px; }
  .chart-legend { gap: 7px; font-size: 7px; }
  .tx-row { grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
  .tx-row > .badge { display: none; }
  .table-toolbar { align-items: flex-start; flex-direction: column; padding: 14px; }
  .table-toolbar-left, .table-toolbar-right { width: 100%; flex-wrap: wrap; }
  .table-search { flex: 1; min-width: 0; }
  .table-panel { overflow-x: auto; }
  .data-table { min-width: 680px; }
  .entity-grid, .links-grid, .integration-grid, .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .endpoint-desc { display: none; }
  .endpoint-path { font-size: 8px; }
  .log-row { grid-template-columns: 44px minmax(0,1fr) 38px; gap: 7px; }
  .log-row > :last-child { display: none; }
  .developer-grid { gap: 12px; }
  .app-footer { flex-direction: column; gap: 7px; padding: 12px; font-size: 8px; }
  .action-modal { padding: 19px; }
  .modal-actions { flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Optional compact-density preference from Settings */
.compact-mode .data-table td { padding-top: 8px; padding-bottom: 8px; }
.compact-mode .tx-row { padding-top: 8px; padding-bottom: 8px; }
.compact-mode .panel { padding-top: 15px; padding-bottom: 15px; }
.compact-mode .table-toolbar { padding-top: 12px; padding-bottom: 12px; }


/* ─────────────────────────────────────────────────────────────────────────
   MASTER PAY — OBSIDIAN DARK THEME
   Dashboard-first dark interface; checkout remains independently styled.
   ───────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --navy: #050608;
  --navy-deep: #020304;
  --navy-soft: #111318;
  --blue: #8b9cff;
  --blue-dark: #6f83fb;
  --blue-soft: #1b1e2b;
  --blue-pale: #11131b;
  --ink: #edf0f7;
  --muted: #9aa2b2;
  --muted-2: #727b8c;
  --border: #252832;
  --surface: #101116;
  --canvas: #08090c;
  --green: #5bd2a4;
  --green-soft: #12251e;
  --amber: #e4b569;
  --amber-soft: #292015;
  --red: #f08393;
  --red-soft: #2b171c;
  --purple: #b5a2ff;
  --shadow: 0 8px 28px rgba(0,0,0,.20);
}
html:not(:has(.checkout-body)), body:not(.checkout-body) {
  background: #08090c;
  color: #edf0f7;
}
body:not(.checkout-body) { color-scheme: dark; }
body:not(.checkout-body) .sandbox-strip {
  color: #c4a775;
  background: #11100d;
  border-bottom: 1px solid #30271a;
}
body:not(.checkout-body) .sandbox-strip strong { color: #e0bd7b; }
body:not(.checkout-body) .sandbox-strip a { color: #e6c17c; }
body:not(.checkout-body) .pulse-dot { background: #d8aa55; box-shadow: 0 0 0 3px rgba(216,170,85,.10); }

body:not(.checkout-body) .app-shell { background: #08090c; }
body:not(.checkout-body) .sidebar {
  background: #050608;
  border-right: 1px solid #20222a;
  box-shadow: 5px 0 22px rgba(0,0,0,.08);
}
body:not(.checkout-body) .brand-symbol {
  border-color: #35394a;
  background: linear-gradient(145deg,#7388ff,#4d5dc4);
  box-shadow: 0 4px 15px rgba(90,110,240,.17);
}
body:not(.checkout-body) .brand-word { color: #f5f6fa; }
body:not(.checkout-body) .brand-word > span { color: #9aaaff; }
body:not(.checkout-body) .brand-word small { color: #6e7687; }
body:not(.checkout-body) .workspace-switch {
  border-color: #242630;
  background: #0d0e12;
  color: #f0f2f8;
}
body:not(.checkout-body) .workspace-switch:hover { background: #14161d; }
body:not(.checkout-body) .workspace-avatar { border-color: #303442; background: #1a1c25; color: #bbc5ff; }
body:not(.checkout-body) .workspace-copy strong { color: #eceef5; }
body:not(.checkout-body) .workspace-copy small,
body:not(.checkout-body) .workspace-chevron { color: #777f91; }
body:not(.checkout-body) .nav-label { color: #707788; }
body:not(.checkout-body) .nav-item { color: #9299a9; }
body:not(.checkout-body) .nav-item:hover { color: #f0f2f8; background: #111319; }
body:not(.checkout-body) .nav-item.active {
  border-color: #292d3b;
  background: linear-gradient(100deg,#1b2031,#11141d);
  color: #e6eaff;
}
body:not(.checkout-body) .nav-item.active:before { background: #8b9cff; }
body:not(.checkout-body) .nav-count { background: #1b1d24; color: #aab1c2; }
body:not(.checkout-body) .nav-new { border-color: #303449; background: #1a1d2a; color: #9aa9ff; }
body:not(.checkout-body) .api-health-card { border-color: #242630; background: #0c0d11; }
body:not(.checkout-body) .api-health-icon { background: #13231d; color: #5bd2a4; }
body:not(.checkout-body) .api-health-card strong { color: #e2e6ee; }
body:not(.checkout-body) .api-health-card small { color: #8790a2; }
body:not(.checkout-body) .mini-refresh { color: #8b93a5; }
body:not(.checkout-body) .mini-refresh:hover { background: #1b1d24; color: #fff; }
body:not(.checkout-body) .sidebar-account { border-top-color: #242630; }
body:not(.checkout-body) .user-avatar { border-color: #34384b; background: #1a1d28; color: #b8c1ff; }
body:not(.checkout-body) .account-copy strong { color: #e2e6ee; }
body:not(.checkout-body) .account-copy small { color: #858da0; }
body:not(.checkout-body) .more-button { color: #81899a; }
body:not(.checkout-body) .more-button:hover { background: #17191f; color: #fff; }

body:not(.checkout-body) .topbar {
  border-bottom-color: #22242c;
  background: rgba(8,9,12,.94);
  box-shadow: 0 3px 15px rgba(0,0,0,.12);
}
body:not(.checkout-body) .breadcrumb { color: #737c8e; }
body:not(.checkout-body) .breadcrumb strong { color: #e1e5ee; }
body:not(.checkout-body) .crumb-slash { color: #454a57; }
body:not(.checkout-body) .global-search {
  border-color: #292c35;
  background: #101116;
  color: #828b9c;
}
body:not(.checkout-body) .global-search:focus-within {
  border-color: #515b88;
  background: #12141a;
  box-shadow: 0 0 0 3px rgba(139,156,255,.08);
}
body:not(.checkout-body) .global-search input { color: #edf0f7; }
body:not(.checkout-body) .global-search input::placeholder { color: #737b8d; }
body:not(.checkout-body) .global-search kbd {
  border-color: #30333e;
  background: #181a21;
  color: #8d95a7;
}
body:not(.checkout-body) .mode-pill {
  border-color: #403320;
  background: #211a10;
  color: #e1bb73;
}
body:not(.checkout-body) .mode-dot { background: #d6a44a; }
body:not(.checkout-body) .icon-button {
  border-color: #2a2d36;
  background: #101116;
  color: #a3adbf;
}
body:not(.checkout-body) .icon-button:hover {
  border-color: #41465d;
  background: #191b24;
  color: #bbc5ff;
}
body:not(.checkout-body) .top-avatar-button .user-avatar {
  border-color: #2b3042;
  background: #171b2a;
  color: #b8c3ff;
}
body:not(.checkout-body) .content-area { background: #08090c; }
body:not(.checkout-body) .app-footer {
  border-top-color: #22242c;
  background: #08090c;
  color: #747d8f;
}
body:not(.checkout-body) .app-footer strong { color: #b2bac9; }
body:not(.checkout-body) .footer-dot,
body:not(.checkout-body) .footer-divider { color: #4e5562; }

body:not(.checkout-body) .page-heading h1 { color: #f2f4fa; }
body:not(.checkout-body) .page-heading p { color: #929bad; }
body:not(.checkout-body) .page-heading .eyebrow { color: #9aa8ff; }
body:not(.checkout-body) .panel,
body:not(.checkout-body) .stat-card,
body:not(.checkout-body) .conversion-card,
body:not(.checkout-body) .entity-card,
body:not(.checkout-body) .payment-link-card,
body:not(.checkout-body) .integration-card {
  border-color: #252832;
  background: #101116;
  box-shadow: 0 7px 23px rgba(0,0,0,.14);
  color: #e8ebf3;
}
body:not(.checkout-body) .panel-title,
body:not(.checkout-body) .stat-label { color: #b9c0ce; }
body:not(.checkout-body) .panel-subtitle { color: #7f889a; }
body:not(.checkout-body) .panel-divider { background: #252832; }
body:not(.checkout-body) .stat-card:after { border-color: rgba(139,156,255,.07); }
body:not(.checkout-body) .stat-value { color: #f0f2f8; }
body:not(.checkout-body) .stat-foot { color: #818a9b; }
body:not(.checkout-body) .stat-trend { color: #5bd2a4; }
body:not(.checkout-body) .stat-trend.warning { color: #e4b569; }
body:not(.checkout-body) .stat-icon {
  border-color: #2a3048;
  background: #191d2c;
  color: #a5b1ff;
}
body:not(.checkout-body) .stat-icon.green { border-color: #243a31; background: #15241e; color: #69d9af; }
body:not(.checkout-body) .stat-icon.amber { border-color: #413523; background: #231d13; color: #e3bd7a; }
body:not(.checkout-body) .stat-icon.purple { border-color: #382f4c; background: #211b2d; color: #c0adff; }

body:not(.checkout-body) .info-banner {
  border-color: #40331e;
  background: #19150e;
  color: #c6aa76;
}
body:not(.checkout-body) .info-banner strong { color: #f0cf90; }
body:not(.checkout-body) .success-banner {
  border-color: #284236;
  background: #101c16;
  color: #9fcbb7;
}
body:not(.checkout-body) .success-banner strong { color: #7bdfb6; }
body:not(.checkout-body) .volume-card {
  border-color: #27334c;
  background: radial-gradient(ellipse at 100% 0%,rgba(104,122,219,.18),transparent 46%),linear-gradient(135deg,#111826,#090b10 74%);
}
body:not(.checkout-body) .volume-head { color: #abb5cc; }
body:not(.checkout-body) .volume-head .tiny-pill { border-color: #333848; background: #1a1d25; color: #c3ccdf; }
body:not(.checkout-body) .volume-value { color: #fbfcff; }
body:not(.checkout-body) .volume-sub { color: #8d99b5; }
body:not(.checkout-body) .volume-footer { border-top-color: #2c303c; color: #9aa6c1; }
body:not(.checkout-body) .volume-footer strong { color: #67d9ad; }
body:not(.checkout-body) .conversion-value { color: #f0f2f8; }
body:not(.checkout-body) .conversion-value small { color: #68d9ad; }
body:not(.checkout-body) .progress-track { background: #252832; }
body:not(.checkout-body) .progress-fill { background: linear-gradient(90deg,#667cf2,#a2adff); }
body:not(.checkout-body) .progress-fill.green { background: linear-gradient(90deg,#238b68,#5bd2a4); }
body:not(.checkout-body) .progress-meta { color: #8791a3; }

body:not(.checkout-body) .quick-action {
  border-color: #252832;
  background: #101116;
  box-shadow: 0 5px 17px rgba(0,0,0,.13);
}
body:not(.checkout-body) .quick-action:hover {
  border-color: #3b425d;
  background: #151720;
  box-shadow: 0 8px 21px rgba(0,0,0,.22);
}
body:not(.checkout-body) .quick-action strong { color: #e3e7f0; }
body:not(.checkout-body) .quick-action small { color: #858fa2; }
body:not(.checkout-body) .quick-icon {
  border-color: #2e3450;
  background: #1a1e2d;
  color: #a8b4ff;
}
body:not(.checkout-body) .quick-icon.green { border-color: #254033; background: #14241d; color: #69d7ae; }
body:not(.checkout-body) .quick-icon.purple { border-color: #3b304f; background: #211b2c; color: #c2afff; }
body:not(.checkout-body) .quick-icon.amber { border-color: #403522; background: #231d13; color: #e1bd7d; }

body:not(.checkout-body) .chart-legend,
body:not(.checkout-body) .chart-caption { color: #80899b; }
body:not(.checkout-body) .chart-caption strong { color: #b9c2d2; }
body:not(.checkout-body) .chart-axis,
body:not(.checkout-body) .bar-day { color: #7e8799; }
body:not(.checkout-body) .bar-chart {
  background: repeating-linear-gradient(to bottom,#242731 0 1px,transparent 1px 42px);
}
body:not(.checkout-body) .bar { background: #313957; }
body:not(.checkout-body) .bar.primary { background: #7184fa; }

body:not(.checkout-body) .tx-row { border-bottom-color: #242731; }
body:not(.checkout-body) .method-icon { border-color: #2b2e38; background: #191b22; color: #a7b0c2; }
body:not(.checkout-body) .method-icon.pix { border-color: #254034; background: #14241d; color: #69d9af; }
body:not(.checkout-body) .method-icon.card { border-color: #2e3552; background: #191e30; color: #a3b0ff; }
body:not(.checkout-body) .method-icon.boleto { border-color: #403522; background: #231d13; color: #e4bd7b; }
body:not(.checkout-body) .tx-copy strong { color: #dfe4ee; }
body:not(.checkout-body) .tx-copy small,
body:not(.checkout-body) .tx-value small { color: #808a9d; }
body:not(.checkout-body) .tx-value { color: #f0f2f8; }
body:not(.checkout-body) .badge { border-color: #254034; background: #14241d; color: #6dd8b0; }
body:not(.checkout-body) .badge.pending,
body:not(.checkout-body) .badge.test { border-color: #443521; background: #241d12; color: #e5bd79; }
body:not(.checkout-body) .badge.refused { border-color: #482830; background: #28161b; color: #f08b9a; }
body:not(.checkout-body) .badge.refunded { border-color: #3b3150; background: #211b2c; color: #c2afff; }
body:not(.checkout-body) .badge.neutral { border-color: #30343e; background: #191b21; color: #a0a9ba; }

body:not(.checkout-body) .table-panel { border-color: #252832; background: #101116; }
body:not(.checkout-body) .table-toolbar,
body:not(.checkout-body) .table-footer { border-color: #252832; }
body:not(.checkout-body) .data-table th {
  border-bottom-color: #2a2d36;
  background: #15161c;
  color: #8992a4;
}
body:not(.checkout-body) .data-table td { border-bottom-color: #22252d; color: #aab2c1; }
body:not(.checkout-body) .data-table tbody tr:hover { background: #171920; }
body:not(.checkout-body) .table-entity strong { color: #dfe4ee; }
body:not(.checkout-body) .table-entity small { color: #838da0; }
body:not(.checkout-body) .table-search {
  border-color: #2a2d36;
  background: #0d0e12;
  color: #858fa2;
}
body:not(.checkout-body) .table-search:focus-within { border-color: #59638e; }
body:not(.checkout-body) .table-search input { background: transparent; color: #edf0f7; }
body:not(.checkout-body) .table-search input::placeholder { color: #777f91; }
body:not(.checkout-body) .select-control,
body:not(.checkout-body) .form-field input,
body:not(.checkout-body) .form-field select,
body:not(.checkout-body) .form-field textarea {
  border-color: #30333d;
  background: #0d0e12;
  color: #e7ebf4;
}
body:not(.checkout-body) .form-field input::placeholder,
body:not(.checkout-body) .form-field textarea::placeholder { color: #646d7e; }
body:not(.checkout-body) .form-field label { color: #aab3c3; }
body:not(.checkout-body) .form-help { color: #818b9e; }
body:not(.checkout-body) .entity-avatar { border-color: #30364f; background: #1a1e2c; color: #b2bdff; }
body:not(.checkout-body) .entity-meta { border-top-color: #252832; color: #8892a4; }
body:not(.checkout-body) .entity-meta strong { color: #d3d9e5; }

body:not(.checkout-body) .payment-link-card { background: #101116; }
body:not(.checkout-body) .payment-link-card h3 { color: #e6eaf3; }
body:not(.checkout-body) .payment-link-card p { color: #919bad; }
body:not(.checkout-body) .link-product-icon { border-color: #30364f; background: #1a1e2c; color: #aeb9ff; }
body:not(.checkout-body) .link-amount { color: #f1f3f9; }
body:not(.checkout-body) .link-amount small { color: #8b95a7; }
body:not(.checkout-body) .link-url { border-color: #292c36; background: #0b0c10; color: #9ba5b8; }
body:not(.checkout-body) .link-url button { border-color: #30333d; background: #171920; color: #adb6c7; }

body:not(.checkout-body) .key-card { border-color: #2a2d37; background: #14151b; }
body:not(.checkout-body) .key-card-head strong { color: #e0e5ef; }
body:not(.checkout-body) .key-card-head small { color: #8993a5; }
body:not(.checkout-body) .key-value { border-color: #2d303a; background: #0b0c10; }
body:not(.checkout-body) .key-value code { color: #c2cbe0; }
body:not(.checkout-body) .key-value button { border-color: #30343f; background: #171920; color: #adb6c8; }
body:not(.checkout-body) .code-block { border-color: #303749; background: #080b12; }
body:not(.checkout-body) .code-head { border-bottom-color: #303749; background: #101521; color: #a3afc8; }
body:not(.checkout-body) .code-head .language { border-color: #39435a; background: #1b2438; color: #cad3e8; }
body:not(.checkout-body) .code-head button { color: #b1bfdf; }
body:not(.checkout-body) .code-block pre { color: #d8e0f1; }
body:not(.checkout-body) .endpoint-row { border-color: #292c36; background: #14151b; }
body:not(.checkout-body) .http-method { border-color: #29463a; background: #14231d; color: #70d7b0; }
body:not(.checkout-body) .http-method.post { border-color: #303754; background: #191d2b; color: #a6b2ff; }
body:not(.checkout-body) .http-method.delete { border-color: #4b2a32; background: #28171c; color: #f08b9a; }
body:not(.checkout-body) .endpoint-path { color: #d1d8e6; }
body:not(.checkout-body) .endpoint-desc { color: #818b9e; }
body:not(.checkout-body) .api-state { color: #68d6ad; }
body:not(.checkout-body) .integration-logo { border-color: #2d303a; background: #1a1b22; color: #c0c7d5; }
body:not(.checkout-body) .integration-logo.pix-logo { border-color: #294236; background: #14231c; color: #71d9b3; }
body:not(.checkout-body) .integration-logo.api-logo { border-color: #303653; background: #191d2d; color: #adbbff; }
body:not(.checkout-body) .integration-card h3 { color: #e2e7f1; }
body:not(.checkout-body) .integration-card p { color: #8e98aa; }

body:not(.checkout-body) .setting-row { border-bottom-color: #252832; }
body:not(.checkout-body) .setting-copy strong { color: #dce1ec; }
body:not(.checkout-body) .setting-copy small { color: #8993a5; }
body:not(.checkout-body) .kpi-line { border-bottom-color: #252832; }
body:not(.checkout-body) .kpi-line span { color: #929caf; }
body:not(.checkout-body) .kpi-line strong { color: #e0e5ef; }
body:not(.checkout-body) .code-inline { border-color: #2c303a; background: #181a21; color: #c1c9da; }
body:not(.checkout-body) .empty-state { color: #8c96a9; }
body:not(.checkout-body) .empty-state strong { color: #dce1ec; }

body:not(.checkout-body) .btn-secondary {
  border-color: #30333e;
  background: #15161c;
  color: #cbd2e0;
}
body:not(.checkout-body) .btn-secondary:hover {
  border-color: #444a61;
  background: #1c1e27;
  color: #f3f5fa;
}
body:not(.checkout-body) .btn-quiet { color: #a8b1c2; }
body:not(.checkout-body) .btn-quiet:hover { background: #1c1e26; color: #f5f6fb; }
body:not(.checkout-body) .btn-primary {
  border-color: #788aff;
  background: linear-gradient(110deg,#7c8eff,#6377ee);
  color: #080a11;
  box-shadow: 0 4px 12px rgba(88,108,240,.13);
}
body:not(.checkout-body) .btn-primary:hover {
  border-color: #9aa7ff;
  background: linear-gradient(110deg,#94a2ff,#7588ff);
  box-shadow: 0 7px 17px rgba(88,108,240,.2);
}
body:not(.checkout-body) .btn-danger { border-color: #472831; background: #25151a; color: #f08b9a; }
body:not(.checkout-body) .link-button { color: #a1b0ff; }
body:not(.checkout-body) .link-button:hover { color: #c3ccff; }

body:not(.checkout-body) .modal-backdrop { background: rgba(0,0,0,.75); }
body:not(.checkout-body) .action-modal {
  border-color: #333744;
  background: #101116;
  color: #e8ebf3;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
body:not(.checkout-body) .modal-header h2 { color: #f2f4f9; }
body:not(.checkout-body) .modal-header p { color: #929caf; }
body:not(.checkout-body) .modal-close { border-color: #30333d; background: #181a21; color: #aab3c4; }
body:not(.checkout-body) .modal-notice { border-color: #44351f; background: #211a10; color: #d4b77d; }
body:not(.checkout-body) .toast { border-color: #30333d; background: #14151b; box-shadow: 0 14px 38px rgba(0,0,0,.42); }
body:not(.checkout-body) .toast strong { color: #edf0f7; }
body:not(.checkout-body) .toast small { color: #9ba5b7; }
body:not(.checkout-body) .toast-icon { background: #14251e; color: #69d7ae; }
body:not(.checkout-body) .toast.error .toast-icon { background: #2b171c; color: #f08393; }
body:not(.checkout-body) .loader { border-color: #2b3043; border-top-color: #8b9cff; }

@media (max-width: 900px) {
  body:not(.checkout-body) .sidebar { background: #050608; box-shadow: 15px 0 35px rgba(0,0,0,.55); }
}
@media (max-width: 600px) {
  body:not(.checkout-body) .global-search.search-open { background: #101116; border-color: #2e3240; }
  body:not(.checkout-body) .mode-pill { background: #211a10; }
}

body:not(.checkout-body) .api-secret-reveal{margin:14px 0;padding:15px;border:1px solid #365044;border-radius:10px;background:#101b16}
body:not(.checkout-body) .api-secret-reveal>strong{display:block;color:#a8ebc7;font-size:12px}
body:not(.checkout-body) .api-secret-reveal p{margin:6px 0 12px;color:#9aa99f;font-size:10px;line-height:1.7}
body:not(.checkout-body) .api-secret-reveal .key-value{border-color:#315744;background:#08120c}
body:not(.checkout-body) .api-secret-reveal .key-value code{color:#b7f3d0;overflow-wrap:anywhere;word-break:break-all}
body:not(.checkout-body) .api-key-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:16px 0}
body:not(.checkout-body) .api-key-create .form-field{margin:0}
body:not(.checkout-body) .api-key-create .btn{min-height:40px;white-space:nowrap}
body:not(.checkout-body) .key-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
body:not(.checkout-body) .key-actions small{font-size:10px;color:#7e899c}
body:not(.checkout-body) .key-actions .btn{padding:7px 10px;min-height:30px;font-size:10px}
body:not(.checkout-body) .key-card .key-value{gap:10px}
body:not(.checkout-body) .key-card .key-value code{overflow-wrap:anywhere}
@media(max-width:600px){body:not(.checkout-body) .api-key-create{grid-template-columns:1fr}body:not(.checkout-body) .key-actions{align-items:flex-start;flex-direction:column}}
