:root {
    --ink: #172a3a;
    --muted: #82909d;
    --line: #e8edf1;
    --canvas: #f6f8fb;
    --green: #17a779;
    --green-dark: #108760;
    --navy: #102b40;
    --shadow: 0 7px 25px rgba(32, 54, 72, .035);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topbar { height: 68px; position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 31px; background: #fff; border-bottom: 1px solid #edf0f3; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #172e40; font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -1.2px; }
.brand > span:nth-child(2) > span { color: var(--green); }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--green); border-radius: 8px; }
.brand-mark svg { width: 21px; height: 21px; stroke: white; stroke-width: 3; }
.brand-divider { width: 1px; height: 22px; background: #dfe5e9; margin-left: 9px; }
.portal-label { color: #8998a4; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.topbar-right { display: flex; align-items: center; gap: 27px; height: 100%; }
.help-link { display: inline-flex; align-items: center; gap: 8px; color: #586a79; font-size: 12px; font-weight: 600; }
.help-icon { width: 17px; height: 17px; display: grid; place-items: center; border: 1.5px solid #8695a1; border-radius: 50%; font-size: 11px; }
.icon-button { padding: 0; display: inline-grid; place-items: center; color: #62727f; background: transparent; border: 0; }
.icon-button svg { width: 20px; height: 20px; }
.notification-button { width: 25px; height: 32px; position: relative; }
.notification-button i { position: absolute; top: 3px; right: 2px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #ee806e; }
.topbar-user { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.avatar { flex: 0 0 auto; width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.avatar-dark { width: 35px; height: 35px; background: #dcefe9; color: #24765f; }
.user-summary { display: flex; flex-direction: column; gap: 3px; min-width: 110px; }
.user-summary strong { color: #233949; font-size: 11px; }
.user-summary span { color: #92a0ab; font-size: 10px; }
.logout-form { display: contents; }
.logout-button { margin-left: 4px; }
.menu-toggle { display: none; }
.app-shell { display: flex; min-height: 100vh; padding-top: 68px; }
.sidebar { width: 244px; flex: 0 0 244px; display: flex; flex-direction: column; position: fixed; z-index: 12; top: 68px; bottom: 0; left: 0; padding: 21px 14px 14px; background: #fff; border-right: 1px solid #edf0f3; }
.sidebar-account { display: flex; align-items: center; gap: 11px; min-height: 62px; padding: 0 8px 18px; border-bottom: 1px solid #edf0f3; }
.account-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #18374d; color: #fff; font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; }
.account-name { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.account-name strong { overflow: hidden; color: #273e4f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-name span { color: #94a1ab; font-size: 10px; }
.account-switch { border: 0; background: none; color: #8998a4; font-size: 17px; }
.sidebar-label { padding: 24px 11px 9px; color: #a0acb5; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.sidebar-label-spaced { padding-top: 25px; }
.side-nav { display: flex; flex-direction: column; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; height: 41px; margin: 2px 0; padding: 0 11px; border-radius: 7px; color: #71818e; font-size: 12px; font-weight: 500; transition: background .15s, color .15s; }
.nav-link:hover { background: #f7faf9; color: #1b8c68; }
.nav-link.active { background: #eaf7f2; color: #13835f; font-weight: 700; }
.nav-link svg { width: 17px; height: 17px; stroke-width: 1.7; }
.nav-count { margin-left: auto; padding: 3px 7px; border-radius: 9px; background: #f2f5f6; color: #82909a; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.support-card { padding: 15px 13px 13px; border: 1px solid #e8eeed; border-radius: 9px; background: #f7faf9; }
.support-bubble { width: 25px; height: 25px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 7px; background: #dff3ea; color: #16835f; font-size: 14px; }
.support-card strong { color: #354c5a; font-size: 11px; }
.support-card p { margin: 5px 0 10px; color: #8a98a2; font-size: 10px; line-height: 1.55; }
.support-card a { color: #13865f; font-size: 10px; font-weight: 700; }
.support-card a span { margin-left: 3px; }
.sidebar-meta { display: flex; align-items: center; gap: 7px; padding: 15px 9px 0; color: #85939d; font-size: 9px; }
.status-dot { width: 6px; height: 6px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #20b27e; }
.version-label { justify-content: space-between; padding-top: 12px; color: #a0aab1; }
.main-content { width: calc(100% - 244px); min-width: 0; min-height: calc(100vh - 68px); margin-left: 244px; padding: 31px 35px 0; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.page-heading h1 { margin: 10px 0 5px; color: #1a3041; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 750; letter-spacing: -.8px; }
.page-heading p { margin: 0; color: #82909a; font-size: 12px; }
.breadcrumb { color: #8998a3; font-size: 10px; }
.breadcrumb span { padding: 0 6px; color: #c1cbd0; }
.heading-with-action { align-items: center; }
.heading-with-action h1 { margin-top: 11px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.date-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin-right: 5px; padding: 0 11px; border: 1px solid #e4e9ed; border-radius: 6px; background: #fff; color: #6b7b87; font-size: 10px; font-weight: 600; }
.date-pill svg { width: 15px; height: 15px; color: #8797a2; }
.button { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; transition: transform .12s, background .15s, border-color .15s; }
.button:active { transform: translateY(1px); }
.button-primary { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 2px 4px rgba(23, 167, 121, .12); }
.button-primary:hover { border-color: var(--green-dark); background: var(--green-dark); }
.button-primary:disabled { border-color: #b7c9c4; background: #b7c9c4; cursor: not-allowed; }
.button-outline { border-color: #e1e7eb; background: #fff; color: #536775; }
.button-outline:hover { border-color: #bdddcf; background: #f7fcfa; color: #14825f; }
.button svg { width: 15px; height: 15px; }
.button .plus { font-size: 16px; font-weight: 400; line-height: 1; }
.small-button { min-height: 31px; padding: 0 10px; font-size: 10px; }
.mini-submit { min-height: 27px; padding: 0 10px; font-size: 9px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 17px; }
.stat-card { min-height: 132px; position: relative; overflow: hidden; padding: 16px 16px 13px; border: 1px solid #e9eef1; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #758590; font-size: 11px; font-weight: 500; }
.stat-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; }
.stat-icon svg { width: 16px; height: 16px; }
.stat-icon.mint { background: #e5f6ee; color: #1ba579; }.stat-icon.blue { background: #e8f1fd; color: #568dd6; }.stat-icon.amber { background: #fff4e3; color: #d29129; }.stat-icon.purple { background: #f0edfc; color: #8070d6; }
.stat-value { margin-top: 7px; color: #203748; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 750; letter-spacing: -.7px; }
.value-percent { margin-left: 1px; font-size: 15px; }
.stat-bottom { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: #9aa5ae; font-size: 9px; }
.trend-up { color: #159d71; font-weight: 700; }.trend-neutral { color: #bd8132; font-weight: 600; }
.sparkline { position: absolute; right: 15px; bottom: 14px; width: 59px; height: 24px; display: flex; align-items: end; gap: 3px; opacity: .8; }
.sparkline i { flex: 1; border-radius: 2px 2px 0 0; }
.sparkline i:nth-child(1) { height: 42%; }.sparkline i:nth-child(2) { height: 58%; }.sparkline i:nth-child(3) { height: 47%; }.sparkline i:nth-child(4) { height: 66%; }.sparkline i:nth-child(5) { height: 62%; }.sparkline i:nth-child(6) { height: 77%; }.sparkline i:nth-child(7) { height: 70%; }.sparkline i:nth-child(8) { height: 100%; }
.spark-green i { background: #a3e4cb; }.spark-blue i { background: #b9d1f6; }.spark-amber i { background: #f2d5a5; }.spark-purple i { background: #d2cbf4; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .95fr); gap: 15px; margin-bottom: 16px; }
.panel { border: 1px solid #e9eef1; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.collections-panel, .activity-panel { min-height: 302px; padding: 18px 19px 13px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2, .settings-section-heading h2 { margin: 0; color: #273e4e; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 750; }
.panel-heading p, .settings-section-heading p { margin: 5px 0 0; color: #929fa8; font-size: 10px; }
.select-button { min-height: 31px; padding: 0 9px; border: 1px solid #e5eaed; border-radius: 5px; background: #fff; color: #6d7d88; font-size: 10px; font-weight: 600; }
.select-button span { padding-left: 9px; color: #8d9ba4; font-size: 13px; }
.chart-legend { display: flex; gap: 17px; margin: 21px 0 7px; color: #82909a; font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }
.legend-dot.green { background: #1db387; }.legend-dot.pale { background: #b7e9d7; }
.chart-wrap { height: 193px; display: flex; gap: 12px; }
.chart-y { width: 41px; display: flex; flex-direction: column; justify-content: space-between; padding: 5px 0 20px; color: #a1adb5; font-size: 8px; text-align: right; }
.chart-area { position: relative; flex: 1; min-width: 0; height: 100%; }
.chart-grid-lines { position: absolute; inset: 5px 0 22px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid-lines i { width: 100%; border-top: 1px dashed #edf0f1; }
.collection-chart { position: absolute; inset: 4px 0 23px; width: 100%; height: calc(100% - 27px); overflow: visible; }
.chart-x { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: #a1adb5; font-size: 8px; }
.text-link { color: #168967; font-size: 10px; font-weight: 700; white-space: nowrap; }.text-link span { padding-left: 4px; font-size: 14px; }
.activity-list { margin-top: 12px; }
.activity-item { min-height: 56px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f0f2f3; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 700; }
.activity-green { background: #e8f7f0; color: #1b9b70; }.activity-blue { background: #e9f2fe; color: #518bd8; }.activity-amber { background: #fff4e4; color: #ca8b2f; }.activity-purple { background: #f1eefc; color: #8474d5; }
.activity-item > div { flex: 1; min-width: 0; }.activity-item strong { display: block; overflow: hidden; color: #435663; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.activity-item p { overflow: hidden; margin: 3px 0; color: #8f9ba4; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.activity-item time { color: #aab4bb; font-size: 8px; }
.activity-amount { color: #3c5260; font-size: 9px; font-weight: 700; white-space: nowrap; }.activity-status { padding: 4px 6px; border-radius: 4px; background: #fff5e7; color: #b77c2c; font-size: 8px; }
.table-panel { overflow: hidden; }.dashboard-table { margin-bottom: 15px; padding: 16px 18px 0; }.dashboard-table .panel-heading { margin-bottom: 12px; }.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead th { height: 35px; border-bottom: 1px solid #edf0f2; color: #97a3ac; font-size: 8px; font-weight: 700; letter-spacing: .55px; white-space: nowrap; }
tbody td { height: 56px; border-bottom: 1px solid #f0f2f4; color: #687985; font-size: 10px; white-space: nowrap; } tbody tr:last-child td { border-bottom: 0; }
.mono { color: #617382; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .1px; }
.customer-cell { display: flex; align-items: center; gap: 9px; min-width: 151px; }.customer-cell .avatar { width: 29px; height: 29px; font-size: 9px; }.customer-cell > span:last-child { display: flex; flex-direction: column; gap: 4px; }.customer-cell strong { color: #394e5d; font-size: 10px; font-weight: 700; }.customer-cell small { color: #9aa6ae; font-size: 9px; }
.avatar-coral { background: #ffede9; color: #d27862; }.avatar-blue { background: #e8f1ff; color: #5b86c2; }.avatar-violet { background: #efebff; color: #7d6bc3; }.avatar-green { background: #e6f5eb; color: #43956b; }.avatar-yellow { background: #fff4df; color: #b8863b; }
.table-amount { color: #354c5a; font-weight: 700; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 4px; font-size: 9px; font-weight: 600; }
.status-active, .status-processed { background: #e8f7ef; color: #18875f; }.status-pending, .status-draft, .status-invited { background: #fff4e3; color: #b57928; }.status-review, .status-failed { background: #fff0ed; color: #c46b57; }.status-submitted { background: #eaf2fe; color: #4d7ec1; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; color: #a0abb3; font-size: 9px; }.page-footer div { display: flex; align-items: center; gap: 10px; }.page-footer a:hover { color: #168967; }.footer-separator { color: #c1cbd0; }
.toast { z-index: 60; max-width: 520px; margin: 0 0 18px; padding: 11px 14px; border: 1px solid #f0d7d3; border-radius: 6px; background: #fff7f5; color: #a04f43; font-size: 11px; line-height: 1.5; }.toast-success { border-color: #cbeadd; background: #f0fbf6; color: #187d5d; }.floating-toast { position: fixed; right: 25px; bottom: 25px; margin: 0; box-shadow: 0 6px 24px rgba(28, 62, 50, .14); }

/* Sign-in page */
.login-body { min-height: 100vh; background: white; }.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.02fr) minmax(460px, .98fr); }
.login-story { position: relative; display: flex; flex-direction: column; padding: 39px clamp(35px, 6.8vw, 100px) 25px; overflow: hidden; background: #102b40; color: #fff; }.login-story::before, .login-story::after { position: absolute; z-index: 0; border: 1px solid rgba(97, 174, 148, .11); border-radius: 50%; content: ""; pointer-events: none; }.login-story::before { width: 620px; height: 620px; right: -310px; top: 14%; }.login-story::after { width: 480px; height: 480px; right: -240px; top: 24%; }
.login-brand { position: relative; z-index: 1; width: fit-content; color: #fff; }.login-brand > span:nth-child(2) > span { color: #61d2a7; }
.login-story-copy { position: relative; z-index: 1; width: min(460px, 100%); margin: auto 0; padding: 52px 0 30px; }.eyebrow, .login-kicker, .modal-eyebrow { color: #79d6b3; font-size: 9px; font-weight: 700; letter-spacing: 1.55px; }.eyebrow-dot { width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #39c894; vertical-align: 1px; }
.login-story h1 { margin: 21px 0 14px; color: white; font-family: Manrope, sans-serif; font-size: clamp(36px, 4.3vw, 56px); font-weight: 750; letter-spacing: -2.5px; line-height: 1.12; }.login-story-copy > p { max-width: 385px; margin: 0; color: #a9bdc9; font-size: 13px; line-height: 1.8; }
.login-visual { position: relative; margin-top: 46px; padding: 18px 19px 13px; border: 1px solid rgba(215, 237, 232, .13); border-radius: 10px; background: rgba(233, 247, 242, .055); box-shadow: 0 15px 40px rgba(0, 0, 0, .1); }.login-chart-heading { display: flex; align-items: center; justify-content: space-between; color: #c1d0d8; font-size: 10px; }.tiny-chip { padding: 4px 6px; border: 1px solid rgba(227, 242, 238, .13); border-radius: 3px; color: #8ca4b0; font-size: 7px; letter-spacing: .7px; }.login-chart-value { margin-top: 10px; color: #fff; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 700; }.login-chart-value span { margin-left: 5px; color: #6ed6ad; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 600; }.mini-chart { height: 107px; display: flex; align-items: end; gap: 8px; margin-top: 12px; padding: 0 5px; border-bottom: 1px solid rgba(219, 239, 234, .12); background: repeating-linear-gradient(to bottom, transparent 0, transparent 25px, rgba(220, 239, 235, .065) 26px); }.mini-chart i { flex: 1; min-width: 5px; border-radius: 3px 3px 0 0; background: linear-gradient(0deg, #1d956f, #56d2a4); opacity: .87; }.chart-months { display: flex; justify-content: space-between; padding: 8px 3px 0; color: #829aa7; font-size: 7px; }.login-trust { position: relative; z-index: 1; color: #87a0ad; font-size: 9px; }.login-trust > span:first-child { padding-right: 5px; color: #51c99a; font-size: 13px; }.trust-divider { padding: 0 7px; color: #496574; }
.login-panel { position: relative; display: flex; flex-direction: column; align-items: center; padding: 27px clamp(32px, 5vw, 80px) 23px; }.login-panel-top { align-self: flex-end; color: #8a98a2; font-size: 10px; }.login-panel-top a { margin-left: 3px; color: #178765; font-weight: 700; }.login-panel-top a span { padding-left: 2px; }.login-form-wrap { width: min(360px, 100%); margin: auto 0; padding: 35px 0; }.login-kicker { color: #18a779; }.login-form-wrap h2 { margin: 10px 0 5px; color: #1c3446; font-family: Manrope, sans-serif; font-size: 24px; font-weight: 750; letter-spacing: -.8px; }.login-intro { margin: 0 0 28px; color: #8c9aa4; font-size: 11px; }.login-form { display: flex; flex-direction: column; }.login-form label, .settings-form-grid > label, .modal-form > label, .modal-form .form-grid label { margin-bottom: 7px; color: #465b69; font-size: 10px; font-weight: 700; }
.input-with-icon { position: relative; margin-bottom: 18px; }.input-with-icon svg { position: absolute; top: 12px; left: 12px; width: 15px; height: 15px; color: #a1afb7; }.input-with-icon input { width: 100%; height: 40px; padding: 0 11px 0 38px; border: 1px solid #e2e8eb; border-radius: 5px; outline: none; color: #344a59; font-size: 11px; transition: border .15s, box-shadow .15s; }.input-with-icon input:focus, .settings-form-grid input:focus, .modal-form input:focus, .modal-form select:focus { border-color: #70c4a4; box-shadow: 0 0 0 3px rgba(23, 167, 121, .08); }.input-with-icon input::placeholder { color: #b2bdc3; }
.password-label { display: flex; justify-content: space-between; align-items: center; }.password-label a { margin-bottom: 7px; color: #168765; font-size: 9px; font-weight: 700; }.login-submit { width: 100%; height: 41px; margin-top: 2px; font-size: 11px; }.login-submit span { margin-left: auto; font-size: 16px; }.login-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 26px; color: #a1adb4; font-size: 9px; }.login-security svg { width: 14px; height: 14px; color: #56ae8b; }.login-copyright { align-self: flex-start; color: #adb7bd; font-size: 9px; }.preview-hint { margin-top: 17px; padding: 9px 10px; border: 1px solid #e3f2eb; border-radius: 5px; background: #f6fcf8; color: #5b8371; font-size: 9px; line-height: 1.5; }.preview-dot { width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #29b27f; }

/* Mandates, batch runs, and team administration */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 15px; border: 1px solid #e9eef1; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }.stats-row > div { min-height: 77px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 19px; border-right: 1px solid #edf0f2; }.stats-row > div:last-child { border-right: 0; }.stats-row > div > span { color: #8a98a2; font-size: 9px; }.stats-row strong { color: #2d4556; font-family: Manrope, sans-serif; font-size: 18px; font-weight: 750; }.stats-row strong small { color: #92a0a9; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 500; }.text-orange { color: #c58436 !important; }
.table-toolbar { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 18px; border-bottom: 1px solid #edf0f2; }.toolbar-actions { display: flex; align-items: center; gap: 8px; }.search-field { width: min(260px, 35vw); height: 32px; position: relative; }.search-field svg { position: absolute; top: 8px; left: 9px; width: 15px; height: 15px; color: #a1adb5; }.search-field input { width: 100%; height: 100%; padding: 0 10px 0 31px; border: 1px solid #e6ebee; border-radius: 5px; outline: none; color: #425766; font-size: 10px; }.search-field input:focus { border-color: #83cdb0; box-shadow: 0 0 0 3px rgba(23, 167, 121, .07); }.search-field input::placeholder { color: #a6b0b7; }.table-panel > .table-scroll { padding: 0 18px; }.table-panel table { min-width: 800px; }.table-panel thead th { height: 40px; }.table-panel tbody td { height: 64px; }.row-menu { padding: 2px 8px; border: 0; background: transparent; color: #86959e; font-size: 20px; letter-spacing: 2px; }
.table-pagination { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-top: 1px solid #edf0f2; color: #91a0a9; font-size: 9px; }.table-pagination strong { color: #596e7c; }.table-pagination > div { display: flex; align-items: center; gap: 4px; }.table-pagination button { width: 26px; height: 26px; border: 1px solid transparent; border-radius: 4px; background: #fff; color: #82919a; font-size: 10px; }.table-pagination button:disabled { color: #c3ccd1; }.table-pagination button.page-current { border-color: #bfe7d7; background: #edfaf4; color: #168663; font-weight: 700; }.table-pagination > div > span { padding: 0 3px; }.toolbar-title { margin: 0; color: #344b5a; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 750; }.toolbar-subtitle { margin: 4px 0 0; color: #98a4ac; font-size: 9px; }
.batch-name { display: flex; align-items: center; gap: 9px; }.batch-name > span:last-child { display: flex; flex-direction: column; gap: 5px; }.batch-name strong { color: #445967; font-size: 10px; }.batch-name small { color: #9ba8b0; font-size: 8px; }.batch-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; font-size: 14px; }.batch-draft { background: #fff5e6; color: #c38a35; }.batch-live { background: #ebf3ff; color: #5187d0; }.row-link { padding: 4px 0; border: 0; background: transparent; color: #168663; font-size: 9px; font-weight: 700; }
.info-banner { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 13px 15px; border: 1px solid #dfeaf1; border-radius: 7px; background: #f1f7fa; }.info-mark { width: 16px; height: 16px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; background: #dceef5; color: #5189a3; font-size: 10px; font-weight: 700; font-style: normal; }.info-banner p { flex: 1; margin: 0; color: #758a97; font-size: 9px; line-height: 1.55; }.info-banner p strong { color: #536c7c; }.info-banner a { color: #4082a2; font-size: 9px; font-weight: 700; white-space: nowrap; }
.groups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.group-card { padding: 16px; border: 1px solid #e9eef1; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }.group-card-top { display: flex; align-items: center; justify-content: space-between; }.group-icon { width: 31px; height: 31px; display: inline-grid; place-items: center; border-radius: 8px; font-size: 14px; }.group-purple { background: #f0edfc; color: #7c6ccb; }.group-blue { background: #e9f2ff; color: #5485ca; }.group-green { background: #e7f6ef; color: #309569; }.group-card h3 { margin: 14px 0 6px; color: #344a59; font-family: Manrope, sans-serif; font-size: 12px; }.group-card p { min-height: 33px; margin: 0; color: #8a98a2; font-size: 9px; line-height: 1.6; }.group-members { display: flex; align-items: center; gap: 5px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #eff2f3; color: #8d9ba4; font-size: 9px; }.group-members .avatar { width: 23px; height: 23px; font-size: 7px; }.group-access { margin-left: auto; color: #6a7e8a; font-size: 8px; }.you-tag { padding: 2px 4px; border-radius: 3px; background: #eff3f5; color: #82919b; font-size: 7px; letter-spacing: .4px; vertical-align: 1px; }.seat-track { width: 100px; height: 5px; position: relative; overflow: hidden; border-radius: 4px; background: #eef2f3; }.seat-track i { width: 20%; height: 100%; display: block; border-radius: inherit; background: #28b082; }
.user-tabs { margin: -4px 0 14px; }.settings-tabs { display: flex; gap: 23px; border-bottom: 1px solid #e6ebee; }.settings-tab { position: relative; min-height: 37px; padding: 0 1px; border: 0; background: transparent; color: #87959f; font-size: 10px; font-weight: 600; }.settings-tab.active { color: #15845f; }.settings-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #1ca77b; content: ""; }.tab-count { margin-left: 4px; padding: 2px 5px; border-radius: 7px; background: #f1f4f5; color: #87959e; font-size: 8px; }.tab-content[hidden] { display: none !important; }

/* Settings and credential management */
.settings-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 19px; }.settings-nav { position: sticky; top: 87px; display: flex; flex-direction: column; gap: 3px; padding: 7px 0; }.settings-nav-link { padding: 10px; border-radius: 5px; color: #7b8b96; font-size: 10px; font-weight: 600; }.settings-nav-link:hover { color: #15865f; }.settings-nav-link.active { background: #eaf7f2; color: #14835e; }.settings-content { min-width: 0; display: flex; flex-direction: column; gap: 14px; }.settings-card { padding: 17px 18px; scroll-margin-top: 85px; }.settings-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }.settings-section-heading > form { margin: 0; }.settings-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; }.settings-form-grid > label { display: flex; flex-direction: column; gap: 7px; margin: 0; }.settings-form-grid input, .modal-form input, .modal-form select { width: 100%; height: 35px; padding: 0 10px; border: 1px solid #e3e9ec; border-radius: 5px; outline: none; background: #fff; color: #506471; font-size: 10px; font-weight: 400; }.settings-form-grid input[readonly] { background: #f7f9fa; color: #82909a; }
.settings-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; padding: 10px; border-radius: 5px; background: #f5f8f9; color: #83929c; font-size: 9px; line-height: 1.6; }.settings-note .info-mark { width: 14px; height: 14px; margin-top: 1px; }.encryption-label { display: inline-flex; align-items: center; gap: 5px; color: #21946b; font-size: 9px; font-weight: 700; }.encryption-label svg { width: 14px; height: 14px; }
.environment-block { padding: 13px; border: 1px solid #edf0f2; border-radius: 6px; background: #fff; }.environment-block + .environment-block { margin-top: 12px; }.environment-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }.environment-pill { padding: 4px 6px; border-radius: 3px; font-size: 8px; font-weight: 700; letter-spacing: .6px; }.test-pill { background: #eaf3ff; color: #5783c1; }.live-pill { background: #e8f7ef; color: #20855f; }.environment-heading > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }.environment-heading strong { color: #465b68; font-size: 10px; }.environment-heading > div > span { color: #94a1aa; font-size: 8px; }.connection-state { display: flex; align-items: center; gap: 5px; color: #98a4ac; font-size: 8px; }.connection-state i { width: 5px; height: 5px; border-radius: 50%; background: #bdc5ca; }.secret-input { position: relative; }.secret-input input { padding-right: 45px; }.secret-input button { position: absolute; top: 0; right: 7px; height: 35px; border: 0; background: transparent; color: #168660; font-size: 9px; font-weight: 700; }.environment-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 13px; }
.token-limit { display: flex; justify-content: space-between; margin: 2px 0 10px; color: #8c9aa3; font-size: 9px; }.token-limit span:last-child { color: #6e7f89; font-weight: 600; }.empty-token { display: flex; align-items: center; gap: 11px; padding: 17px 12px; border: 1px dashed #dfe6e9; border-radius: 6px; background: #fafcfc; }.token-empty-icon, .token-key-icon { width: 29px; height: 29px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #edf4f2; color: #298968; font-size: 15px; }.empty-token strong, .token-details strong { color: #526673; font-size: 10px; }.empty-token p { margin: 4px 0 0; color: #97a3ab; font-size: 9px; }.api-token-row { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid #eff2f3; }.token-details { flex: 1; display: flex; flex-direction: column; gap: 5px; }.token-details code, .generated-token code { width: fit-content; color: #788a96; font-family: Consolas, monospace; font-size: 9px; }.token-created { color: #9aa6ad; font-size: 8px; white-space: nowrap; }.danger-outline { color: #b56252; }.generated-token { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 12px; border: 1px solid #bfe6d4; border-radius: 6px; background: #f2fbf6; }.generated-token strong { color: #267c5c; font-size: 10px; }.generated-token p { margin: 4px 0 8px; color: #6d927f; font-size: 9px; }.generated-token code { display: block; overflow-wrap: anywhere; color: #305c49; }.permission-summary { display: flex; flex-direction: column; }.permission-group { min-height: 56px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #eff2f3; }.permission-group > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }.permission-group strong { color: #526673; font-size: 10px; }.permission-group small { color: #96a2aa; font-size: 8px; }.permission-count { color: #788a94; font-size: 8px; }.api-config-status { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid #e8edf0; border-radius: 6px; color: #8b9aa3; background: #f9fbfb; font-size: 9px; }.api-config-status.configured { border-color: #d1ecdf; background: #f3fbf7; color: #378265; }.api-config-status .status-dot { background: #c1cbd0; }.api-config-status.configured .status-dot { background: #1ca77b; }

/* Dialogs */
.modal-open { overflow: hidden; }.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(17, 38, 53, .42); }.modal-backdrop[hidden] { display: none; }.modal { width: min(470px, 100%); max-height: min(90vh, 760px); position: relative; overflow: auto; padding: 25px; border: 1px solid #e9eff1; border-radius: 10px; background: #fff; box-shadow: 0 22px 70px rgba(18, 42, 59, .2); }.modal-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border: 0; border-radius: 5px; background: #f5f7f8; color: #7e8e98; font-size: 19px; }.modal .modal-eyebrow { color: #1ca477; }.modal h2 { margin: 8px 0 5px; color: #253d4d; font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -.4px; }.modal > p { margin: 0 0 19px; color: #8998a2; font-size: 10px; line-height: 1.55; }.modal-form { display: flex; flex-direction: column; gap: 13px; }.modal-form > label, .modal-form .form-grid label { display: flex; flex-direction: column; gap: 6px; margin: 0; }.modal-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.modal-form input, .modal-form select { height: 36px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 5px; }.modal-note { padding: 9px 10px; border-radius: 5px; background: #fff8eb; color: #9e7a43; font-size: 9px; line-height: 1.6; }.permissions-field { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid #e8edef; border-radius: 6px; }.permissions-field legend { padding: 0 4px; color: #566a77; font-size: 10px; font-weight: 700; }.permissions-field label { display: flex; align-items: center; gap: 8px; color: #788891; font-size: 9px; }.permissions-field input { width: 13px; height: 13px; accent-color: #1ca77b; }

@media (min-width: 1500px) { .main-content { padding-right: 48px; padding-left: 48px; }.sidebar { width: 260px; flex-basis: 260px; }.main-content { width: calc(100% - 260px); margin-left: 260px; } }
@media (max-width: 1150px) { .main-content { padding-right: 22px; padding-left: 22px; }.dashboard-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .95fr); }.stats-grid { gap: 9px; }.stat-card { padding-right: 11px; padding-left: 12px; }.stat-value { font-size: 20px; }.sparkline { right: 11px; width: 48px; }.settings-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 13px; } }
@media (max-width: 900px) { .topbar { padding: 0 18px; }.menu-toggle { display: inline-grid; width: 28px; height: 30px; margin-right: 9px; }.brand-top { margin-right: auto; }.topbar-right { gap: 16px; }.sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 9px 8px 25px rgba(27, 47, 64, .08); }.sidebar.sidebar-open { transform: translateX(0); }.main-content { width: 100%; margin-left: 0; padding-right: 24px; padding-left: 24px; }.app-shell { display: block; }.dashboard-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .9fr); }.collections-panel, .activity-panel { padding-right: 14px; padding-left: 14px; } }
@media (max-width: 700px) {
    .topbar { height: 60px; }.app-shell { padding-top: 60px; }.sidebar { top: 60px; }.brand { font-size: 19px; }.brand-divider, .portal-label, .help-link, .notification-button, .user-summary { display: none; }.topbar-user { padding-left: 0; border: 0; }.topbar-right { gap: 9px; }.logout-button { margin-left: 0; }.main-content { min-height: calc(100vh - 60px); padding: 23px 15px 0; }
    .page-heading, .heading-with-action { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 18px; }.page-heading h1 { font-size: 23px; }.heading-actions { width: 100%; flex-wrap: wrap; gap: 7px; }.heading-actions > * { flex: 0 0 auto; }.date-pill { margin-right: auto; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.stat-card { min-height: 122px; }.stats-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stats-row > div { min-height: 66px; padding-left: 14px; border-bottom: 1px solid #edf0f2; }.stats-row > div:nth-child(2) { border-right: 0; }.stats-row > div:nth-child(n+3) { border-bottom: 0; }
    .dashboard-grid { grid-template-columns: 1fr; }.collections-panel, .activity-panel { min-height: auto; padding: 16px; }.chart-wrap { height: 185px; }.activity-item { min-height: 59px; }.dashboard-table { padding: 15px 13px 0; }.dashboard-table .table-scroll { margin: 0 -13px; padding: 0 13px; }
    .table-toolbar { align-items: flex-start; flex-direction: column; padding: 13px; }.table-toolbar > .toolbar-actions { width: 100%; flex-wrap: wrap; }.table-toolbar > .toolbar-actions > * { flex: 1; }.search-field { width: 100%; max-width: none; }.compact-search { max-width: 100%; }.table-pagination { padding: 0 12px; }
    .page-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; }.settings-layout { grid-template-columns: 1fr; }.settings-nav { position: static; flex-direction: row; overflow-x: auto; padding: 0 0 4px; border-bottom: 1px solid #e6ebee; }.settings-nav-link { flex: 0 0 auto; padding: 9px 8px; font-size: 9px; }.settings-form-grid { grid-template-columns: 1fr; }.settings-card { padding: 14px; }.settings-section-heading { align-items: flex-start; }.environment-heading { flex-wrap: wrap; }.connection-state { margin-left: auto; }.groups-grid { grid-template-columns: 1fr; }
    .login-layout { grid-template-columns: 1fr; }.login-story { min-height: 390px; padding: 25px 26px 20px; }.login-story-copy { margin: 35px 0 24px; padding: 0; }.login-story h1 { font-size: 38px; }.login-story-copy > p { font-size: 11px; }.login-visual { margin-top: 24px; padding: 13px; }.mini-chart { height: 70px; }.login-trust { font-size: 8px; }.login-panel { min-height: 510px; padding: 22px 26px 18px; }.login-panel-top { font-size: 9px; }.login-form-wrap { padding: 40px 0; }.login-copyright { align-self: center; }
}
@media (max-width: 420px) { .main-content { padding-right: 11px; padding-left: 11px; }.button { padding-right: 9px; padding-left: 9px; font-size: 10px; }.heading-actions { gap: 6px; }.heading-actions .date-pill { flex-basis: 100%; width: fit-content; margin-right: 0; }.stats-row > div { padding: 0 10px; }.panel-heading h2 { font-size: 12px; }.chart-y { width: 35px; }.info-banner { align-items: flex-start; flex-wrap: wrap; }.info-banner p { min-width: calc(100% - 32px); }.info-banner a { margin-left: 27px; }.token-created { display: none; } }
