:root {
    --ink: #19212b;
    --muted: #74808d;
    --line: #e5e9ed;
    --paper: #f7f9fa;
    --white: #ffffff;
    --navy: #17324d;
    --teal: #1d8a81;
    --teal-light: #e5f3f1;
    --yellow: #a36f05;
    --yellow-light: #fff4d9;
    --red: #bd4a4a;
    --red-light: #fff0f0;
    --shadow: 0 12px 32px rgba(30, 48, 63, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--paper); color: var(--ink); font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { outline-color: var(--teal); }
code { color: #2f536b; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; word-break: break-all; }
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 246px; background: var(--navy); color: #dfe9f0; display: flex; flex-direction: column; padding: 27px 18px 19px; flex: 0 0 246px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 600; letter-spacing: .2px; padding: 0 10px 31px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.52); color: #fff; font-size: 11px; letter-spacing: 1px; }
.brand-mark.large { width: 43px; height: 43px; font-size: 14px; background: var(--navy); }
.account-chip { border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); padding: 18px 10px; display: flex; align-items: center; gap: 11px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #2a526c; color: #fff; font-weight: 700; }
.account-chip strong, .account-chip small { display: block; }
.account-chip strong { color: #fff; font-size: 13px; font-weight: 600; }
.account-chip small { color: #9fb3c2; font-size: 11px; margin-top: 2px; }
.nav { padding-top: 20px; display: grid; gap: 5px; }
.nav a { color: #afc2d0; display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-left: 2px solid transparent; transition: background .15s, color .15s; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.08); color: #fff; border-left-color: #61c2b7; }
.nav-icon { display: inline-flex; width: 17px; justify-content: center; color: #77a1b7; font-size: 16px; }
.nav a.active .nav-icon { color: #77d0c6; }
.sidebar-bottom { margin-top: auto; padding: 18px 10px 0; }
.logout { color: #9fb3c2; font-size: 13px; }
.logout:hover { color: #fff; }
.main { flex: 1; min-width: 0; padding: 0 42px 56px; }
.topbar { max-width: 1280px; margin: 0 auto; min-height: 111px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; margin: 0 0 7px; }
.topbar h1 { font-size: 25px; font-weight: 650; letter-spacing: 0; margin: 0; }
.topbar-meta { display: flex; gap: 20px; align-items: center; color: var(--muted); font-size: 12px; }
.status-dot { color: var(--teal); }
.status-dot:before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin: 0 7px 1px 0; }
.main > section, .main > .alert { max-width: 1280px; margin-left: auto; margin-right: auto; }
.page-intro, .welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 35px 0 25px; }
.page-intro.compact { padding-bottom: 30px; }
h2 { margin: 0; font-size: 27px; line-height: 1.25; letter-spacing: 0; }
h3 { margin: 0; font-size: 17px; line-height: 1.35; }
p { margin: 0; }
.muted { color: var(--muted); }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; font-weight: 600; font-size: 13px; transition: background .15s, color .15s, border-color .15s; }
.button.primary { background: var(--teal); color: #fff; }
.button.primary:hover { background: #176f68; }
.button.subtle { background: #edf1f3; color: #385469; }
.button.subtle:hover { background: #e1e7ea; }
.button.danger-outline { border: 1px solid #e4baba; background: #fff; color: var(--red); }
.button.danger-outline:hover { background: var(--red-light); }
.button.light { background: #fff; color: var(--navy); }
.button.light:hover { background: #eef6f5; }
.button.small { min-height: 31px; padding: 0 12px; font-size: 12px; }
.button.full { width: 100%; }
.alert { padding: 12px 15px; margin-top: 22px !important; border-left: 3px solid; font-size: 13px; transition: opacity .4s; }
.alert.success { background: var(--teal-light); border-color: var(--teal); color: #23685f; }
.alert.error { background: var(--red-light); border-color: var(--red); color: #9a3b3b; }
.alert.fade-out { opacity: .25; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--white); border: 1px solid var(--line); padding: 21px 22px 18px; min-height: 142px; }
.stat > span, .stat > small { display: block; }
.stat > span { color: var(--muted); font-size: 12px; }
.stat strong { display: block; font-size: 29px; font-weight: 600; margin: 7px 0 4px; letter-spacing: 0; }
.stat small { color: #99a3ac; font-size: 11px; }
.stat small a { color: var(--teal); }
.stat.accent { border-top: 2px solid #e9b744; }
.content-grid { display: grid; gap: 14px; margin-top: 28px; }
.two-col { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
.section-block, .form-section, .table-section, .credential-section { background: var(--white); border: 1px solid var(--line); }
.section-block { padding: 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 25px 19px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quick-link { min-height: 112px; background: #fff; padding: 18px; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-content: center; }
.quick-link:hover { background: #f7fbfa; }
.quick-link > span { grid-row: 1 / 3; font-size: 22px; color: var(--teal); }
.quick-link strong { font-size: 14px; }
.quick-link small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.note-block { background: #f0f6f5; border-color: #d4e8e4; }
.note-block h3 { margin-bottom: 13px; }
.note-block p:not(.eyebrow) { color: #58706e; line-height: 1.8; font-size: 13px; }
.text-link { color: var(--teal); font-size: 13px; font-weight: 600; }
.note-block .text-link { display: inline-block; margin-top: 22px; }
.table-section { margin-top: 8px; }
.table-toolbar { min-height: 67px; padding: 15px 25px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.table-toolbar h3 { color: var(--ink); font-size: 16px; margin-bottom: 2px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: 14px 17px; vertical-align: middle; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 25px; }
th:last-child, td:last-child { padding-right: 25px; }
th { color: #88939d; font-weight: 600; font-size: 11px; background: #fbfcfc; }
td { font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.cell-sub { display: block; color: #a1aab1; font-size: 11px; margin-top: 2px; }
.money { color: #253f53; font-weight: 650; }
.positive { color: var(--teal); }
.negative { color: var(--red); }
.align-right { text-align: right; }
.actions { color: var(--teal); }
.actions a { margin-left: 14px; }
.actions a:hover, .text-link:hover { text-decoration: underline; }
.pill { display: inline-block; padding: 3px 8px; font-size: 11px; line-height: 1.3; }
.pill.green { color: #23766e; background: var(--teal-light); }
.pill.yellow { color: var(--yellow); background: var(--yellow-light); }
.pill.gray { color: #6f7c85; background: #eef1f3; }
.empty { padding: 48px 25px; color: var(--muted); text-align: center; }
.log-privacy { color: #6f817e; background: #e7f4f1; padding: 5px 9px; font-size: 11px; }
.request-log-section { margin-top: 8px; }
.request-log-table th, .request-log-table td { white-space: nowrap; }
.request-log-table .request-id { display: block; max-width: 180px; }
.response-details { min-width: 90px; }
.response-details summary { color: var(--teal); cursor: pointer; font-size: 12px; font-weight: 600; }
.response-details pre { background: #182b3d; color: #e6f3ef; font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 10px 0 0; max-width: 420px; max-height: 300px; overflow: auto; padding: 13px; white-space: pre-wrap; word-break: break-word; }
.form-section { margin-top: 8px; padding: 25px; }
.form-section.narrow { max-width: 620px; }
.stack-form { display: grid; gap: 17px; }
label { display: grid; gap: 7px; color: #53616d; font-size: 12px; font-weight: 600; }
input, select { width: 100%; min-height: 42px; border: 1px solid #dbe1e5; background: #fff; color: var(--ink); padding: 0 12px; font-size: 13px; border-radius: 0; }
input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,138,129,.1); }
label small { color: #9aa5ac; font-size: 11px; font-weight: 400; margin-top: -2px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 5px; }
.reset-form { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.credential-readout { border-left: 3px solid var(--teal); background: #f5f8f8; display: grid; gap: 4px; padding: 12px 15px; }
.credential-readout span { color: var(--muted); font-size: 11px; margin-top: 5px; }
.credential-readout span:first-child { margin-top: 0; }
.credential-readout code { color: #23475c; }
.balance-preview { background: #f0f6f5; border: 1px solid #d9ebe8; padding: 16px 17px; display: flex; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.balance-preview span { font-weight: 650; }
.balance-preview strong { color: var(--teal); font-size: 15px; }
.inline-actions { display: flex; justify-content: flex-end; gap: 12px; }
.link-button { border: 0; background: transparent; padding: 0; cursor: pointer; font-weight: 600; font-size: 12px; }
.green-text { color: var(--teal); }
.danger-text { color: var(--red); }
.table-input { width: 105px; min-height: 33px; padding: 0 8px; }
.switch { display: inline-flex; align-items: center; grid-template-columns: none; gap: 8px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { width: 30px; height: 17px; background: #cbd3d8; position: relative; transition: background .15s; }
.switch span:after { content: ''; width: 13px; height: 13px; background: #fff; position: absolute; top: 2px; left: 2px; transition: left .15s; }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span:after { left: 15px; }
.switch em { font-style: normal; font-size: 12px; color: var(--muted); }
.settings-grid { padding: 0 25px 25px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.settings-grid .wide { grid-column: 1 / -1; }
.welcome-row { padding-top: 35px; }
.user-hero { margin-top: 8px; background: var(--navy); color: #fff; min-height: 174px; padding: 27px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.user-hero .label, .user-hero .muted { display: block; color: #9fb3c2; font-size: 12px; }
.user-hero strong { display: block; font-size: 40px; font-weight: 600; margin: 4px 0 4px; }
.recharge-inline form { display: flex; gap: 8px; }
.recharge-inline input { width: 150px; border: 0; }
.credential-section { margin-top: 14px; }
.credential-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 25px 25px; }
.credential-grid > div { border: 1px solid var(--line); padding: 14px; }
.credential-grid > div > span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.copy-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.copy-row code { flex: 1; min-width: 0; }
.copy-button { flex: 0 0 auto; border: 1px solid #d9e3e5; color: var(--teal); background: #fff; cursor: pointer; padding: 4px 8px; font-size: 11px; }
.copy-button:hover { background: var(--teal-light); }
.balance-mini { color: var(--muted); font-size: 12px; }
.balance-mini strong { color: var(--teal); font-size: 18px; margin-left: 7px; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 14px; }
.doc-main, .doc-aside-inner { background: #fff; border: 1px solid var(--line); }
.doc-section { padding: 25px; border-bottom: 1px solid var(--line); }
.doc-section:last-child { border-bottom: 0; }
.doc-section h3 { margin-bottom: 12px; }
.doc-section p { color: #596873; margin-bottom: 13px; }
.doc-section .muted { color: var(--muted); }
.doc-section h4 { margin: 22px 0 10px; font-size: 13px; }
.schema-table td { white-space: normal; }
.schema-table td:first-child { min-width: 155px; }
.field-cloud { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 15px; background: #f5f8f8; border: 1px solid var(--line); }
.field-cloud code { background: #fff; border: 1px solid #dce5e5; padding: 3px 6px; }
.code-block { background: #182b3d; color: #e9f0f2; padding: 15px 17px; overflow-x: auto; }
.code-block code { color: #e6f3ef; white-space: pre; }
.code-label { color: #78c8bd; display: block; font-size: 10px; letter-spacing: 1.3px; margin-bottom: 5px; }
.code-large { min-height: 180px; }
.doc-aside { position: sticky; top: 20px; }
.doc-aside-inner { padding: 23px; }
.doc-aside h3 { margin-bottom: 20px; }
.doc-aside label { margin-bottom: 15px; }
.aside-divider { border-top: 1px solid var(--line); margin: 23px 0; }
.api-item { border-bottom: 1px solid var(--line); padding: 11px 0; }
.api-item:last-child { border-bottom: 0; }
.api-item strong, .api-item code, .api-item span { display: block; }
.api-item strong { font-size: 13px; }
.api-item code { margin-top: 2px; }
.api-item span { color: var(--teal); font-size: 11px; margin-top: 4px; }
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px 17px; position: relative; }
.login-wrap { width: 100%; max-width: 410px; }
.login-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.login-brand .eyebrow { margin: 0; color: var(--navy); }
.login-panel { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 34px; }
.panel-heading { margin-bottom: 25px; }
.panel-heading h1 { margin: 0 0 4px; font-size: 25px; }
.panel-heading p { color: var(--muted); }
.login-panel .alert { margin: 0 0 17px !important; }
.login-footer { color: #9da7ad; text-align: center; font-size: 11px; margin-top: 20px; }
.auth-alert { position: fixed; top: 20px; width: min(410px, calc(100% - 34px)); }
@media (max-width: 980px) { .main { padding: 0 24px 45px; } .sidebar { width: 210px; flex-basis: 210px; } .stat-grid { grid-template-columns: repeat(2, 1fr); } .doc-layout { grid-template-columns: 1fr; } .doc-aside { position: static; } }
@media (max-width: 680px) { .shell { display: block; } .sidebar { width: auto; min-height: 0; padding: 15px 15px 12px; } .brand { padding: 0 5px 14px; } .account-chip { padding: 11px 5px; } .nav { display: flex; overflow-x: auto; padding: 10px 0 0; gap: 3px; } .nav a { white-space: nowrap; padding: 8px 10px; border-left: 0; border-bottom: 2px solid transparent; } .nav a:hover, .nav a.active { border-bottom-color: #61c2b7; } .sidebar-bottom { position: absolute; top: 18px; right: 15px; padding: 0; } .topbar { min-height: 88px; } .topbar-meta { display: none; } .main { padding: 0 15px 35px; } .page-intro, .welcome-row { align-items: flex-start; flex-direction: column; padding: 25px 0 19px; } .page-intro .button, .welcome-row .button { align-self: stretch; } h2 { font-size: 24px; } .stat-grid, .two-col, .credential-grid, .settings-grid { grid-template-columns: 1fr; } .settings-grid .wide { grid-column: auto; } .section-block, .form-section { padding: 18px; } .section-heading { padding: 18px 18px 15px; } .table-toolbar { padding: 13px 18px; } th:first-child, td:first-child { padding-left: 18px; } th:last-child, td:last-child { padding-right: 18px; } .table-scroll { overflow-x: auto; } .user-hero { align-items: flex-start; flex-direction: column; padding: 23px; } .recharge-inline, .recharge-inline form { width: 100%; } .recharge-inline input { flex: 1; width: auto; } .balance-preview { align-items: flex-start; flex-direction: column; } .login-panel { padding: 25px 20px; } }

/* User console */
.user-view { background: #f3f6f8; }
.user-view .brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.user-view .brand-copy strong { font-size: 13px; color: #fff; }
.user-view .brand-copy small { color: #84a9bc; font-size: 9px; letter-spacing: 1.8px; margin-top: 3px; }
.user-view .sidebar-bottom { display: grid; gap: 16px; }
.sidebar-live { display: flex; align-items: center; gap: 8px; color: #86a8b8; font-size: 11px; }
.sidebar-live span { width: 6px; height: 6px; border-radius: 50%; background: #57c4b5; box-shadow: 0 0 0 4px rgba(87,196,181,.13); }
.crumb-slash { color: #a2b5be; padding: 0 4px; }
.topbar-divider { width: 1px; height: 14px; background: #d9e1e5; }
.topbar-logout { color: #74808d; font-size: 12px; }
.topbar-logout:hover { color: var(--teal); }
.user-view .main { padding-bottom: 70px; }
.user-view .topbar, .user-view .main > section, .user-view .main > .alert { max-width: 1120px; }
.user-view .topbar { min-height: 104px; }
.user-view .topbar h1 { font-size: 22px; }
.user-view .topbar .eyebrow { color: #6d7d8b; }
.user-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; padding: 38px 0 28px; }
.welcome-copy, .welcome-actions { display: flex; }
.welcome-copy > div { display: block; }
.welcome-copy { align-items: flex-start; gap: 18px; }
.welcome-index, .ledger-title > .welcome-index { color: #a4b1b9; font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding-top: 6px; letter-spacing: 1px; }
.welcome-actions { align-items: center; gap: 19px; }
.welcome-note { color: #9aa8b0; font-size: 11px; }
.user-welcome h2 { font-size: 31px; letter-spacing: 0; }
.user-welcome p:not(.eyebrow) { color: #7b8994; margin-top: 8px; }
.user-welcome .button { min-height: 42px; padding: 0 18px; }
.button-symbol { font-size: 16px; line-height: 1; margin-right: 8px; }
.user-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 15px; }
.points-card { min-height: 205px; background: #18344d; color: #fff; padding: 26px 29px 24px; position: relative; overflow: hidden; }
.points-card:after { content: ''; position: absolute; right: 27px; top: 25px; width: 76px; height: 76px; border: 1px solid rgba(117, 210, 199, .35); transform: rotate(45deg); }
.points-card:before { content: ''; position: absolute; right: -27px; bottom: -33px; width: 124px; height: 124px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.points-top, .points-bottom { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.card-kicker { color: #9db5c3; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.points-mark { color: #74d0c5; font-size: 21px; }
.points-value { display: flex; align-items: baseline; gap: 10px; position: relative; z-index: 1; margin: 42px 0 35px; }
.points-card strong { display: block; color: #fff; font-size: 47px; font-weight: 600; line-height: 1; letter-spacing: 0; }
.points-value > span { color: #72c9bf; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.points-bottom { color: #a9bac5; font-size: 12px; }
.points-bottom .status-dot { color: #74d0c5; }
.points-bottom .status-dot:before { background: #74d0c5; }
.account-summary { min-height: 205px; background: #fff; border: 1px solid #dfe6ea; padding: 23px 25px 19px; display: flex; flex-direction: column; }
.summary-head { display: flex; align-items: flex-start; justify-content: space-between; }
.service-badge { color: #1d8a81; border: 1px solid #bfe3de; padding: 3px 6px; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.summary-label { display: flex; align-items: center; gap: 12px; }
.summary-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: #1d8a81; background: #e5f3f1; font-size: 21px; }
.summary-label small, .summary-label strong { display: block; }
.summary-label small { color: #8b98a1; font-size: 11px; margin-bottom: 1px; }
.summary-label strong { font-size: 15px; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #edf0f2; padding: 11px 0 0; margin-top: 14px; color: #8a969e; font-size: 12px; }
.summary-row code { color: #2b5369; text-align: right; font-size: 11px; }
.endpoint { display: flex; align-items: center; gap: 7px; }
.endpoint b { color: #1d8a81; font-size: 9px; letter-spacing: .7px; }
.summary-value { color: #304b5c; }
.summary-link { color: #1d8a81; font-size: 12px; font-weight: 650; margin-top: auto; padding-top: 14px; }
.summary-link span, .text-link span { margin-left: 5px; }
.user-credential { margin-top: 15px; }
.user-credential .section-heading { padding: 24px 27px 19px; }
.user-credential .section-heading h3 { font-size: 18px; }
.secure-badge { color: #258278; background: #e7f4f1; padding: 5px 9px; font-size: 11px; white-space: nowrap; }
.secure-badge i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #36a596; margin: 0 5px 1px 0; }
.user-credential .credential-grid { padding: 0 27px 27px; }
.key-field { background: #f7f9fa; border: 1px solid #e1e8eb; padding: 15px 17px; }
.key-field > span { display: block; color: #8d9aa2; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; margin-bottom: 9px; }
.key-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.key-label > span { color: #8d9aa2; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.key-label small { color: #a7b0b6; font-size: 10px; }
.key-label + .copy-row { margin-top: 0; }
.key-field .copy-row code { color: #244b63; font-size: 13px; }
.key-field .copy-button { padding: 6px 10px; }
.user-calls { margin-top: 15px; }
.user-calls .table-toolbar { min-height: 82px; padding: 19px 27px; align-items: flex-end; }
.activity-actions { display: flex; align-items: center; gap: 20px; }
.table-count { color: #a0abb1; font-size: 11px; }
.user-calls .table-toolbar .eyebrow { margin-bottom: 3px; }
.user-calls .table-toolbar h3 { font-size: 18px; margin-bottom: 2px; }
.user-calls table td { height: 57px; }
.user-calls table td:first-child { color: #536773; }
.activity-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #55b9ad; margin-right: 10px; box-shadow: 0 0 0 4px #e5f3f1; }
.points-unit { color: #92a0a8; font-size: 9px; letter-spacing: 1px; margin-left: 4px; }
.ledger-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 38px 0 28px; }
.ledger-title { display: flex; align-items: flex-start; gap: 18px; }
.ledger-head h2 { font-size: 31px; }
.ledger-head .muted { margin-top: 8px; }
.ledger-balance { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; }
.ledger-balance small { color: #8a98a1; font-size: 11px; }
.ledger-balance strong { color: #1d8a81; font-size: 23px; font-weight: 650; }
.ledger-balance strong em { font-style: normal; font-size: 9px; letter-spacing: 1.5px; margin-left: 5px; color: #75b9b2; }
.ledger-balance a { grid-column: 1 / -1; color: #1d8a81; font-size: 12px; text-align: right; margin-top: 7px; }
.ledger-table { margin-top: 0; }
.ledger-table td { color: #536773; }
.ledger-table th { background: #f9fbfb; }
.ledger-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 15px; }
.ledger-summary > div { background: #fff; border: 1px solid #dfe6ea; padding: 17px 19px; display: flex; align-items: center; gap: 12px; }
.ledger-summary-icon { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ledger-summary-icon.plus { background: #e5f3f1; color: #1d8a81; }
.ledger-summary-icon.minus { background: #eef2f4; color: #496474; }
.ledger-summary-icon.return { background: #fff4dd; color: #b48320; }
.ledger-summary strong, .ledger-summary small { display: block; }
.ledger-summary strong { font-size: 12px; }
.ledger-summary small { color: #9aa6ad; font-size: 10px; margin-top: 2px; }
.user-view .table-section { box-shadow: 0 8px 24px rgba(35, 57, 70, .035); }
@media (max-width: 760px) {
    .user-view .topbar { min-height: 87px; }
    .user-welcome, .ledger-head { align-items: flex-start; flex-direction: column; padding: 28px 0 21px; }
    .welcome-actions { align-items: flex-start; flex-direction: column; gap: 10px; width: 100%; }
    .welcome-note { display: none; }
    .user-welcome h2, .ledger-head h2 { font-size: 26px; }
    .user-welcome .button { align-self: stretch; }
    .user-overview { grid-template-columns: 1fr; }
    .user-welcome .welcome-copy { gap: 10px; }
    .points-card, .account-summary { min-height: 185px; }
    .points-card strong { margin: 32px 0 28px; }
    .user-credential .section-heading { align-items: flex-start; flex-direction: column; padding: 20px 18px 16px; }
    .user-credential .credential-grid { padding: 0 18px 18px; }
    .secure-badge { align-self: flex-start; }
    .user-calls .table-toolbar { align-items: flex-start; flex-direction: column; padding: 17px 18px; }
    .activity-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
    .ledger-summary { grid-template-columns: 1fr; gap: 9px; }
    .ledger-balance { align-self: stretch; grid-template-columns: auto auto; }
    .ledger-balance a { text-align: left; }
    .user-view .table-scroll { overflow-x: auto; }
}

/* Refined user workspace proportions */
@media (min-width: 761px) {
    .user-view .sidebar { width: 196px; flex-basis: 196px; padding: 24px 13px 17px; }
    .user-view .brand { padding: 0 8px 27px; gap: 9px; }
    .user-view .brand-mark { width: 28px; height: 28px; }
    .user-view .brand-copy strong { font-size: 12px; }
    .user-view .account-chip { padding: 16px 8px; gap: 9px; }
    .user-view .avatar { width: 31px; height: 31px; }
    .user-view .nav { padding-top: 17px; gap: 3px; }
    .user-view .nav a { padding: 9px 8px; gap: 9px; font-size: 13px; }
    .user-view .main { padding: 0 34px 58px; }
    .user-view .topbar, .user-view .main > section, .user-view .main > .alert { max-width: 1060px; }
    .user-view .topbar { min-height: 92px; }
    .user-view .topbar h1 { font-size: 20px; }
    .user-welcome { padding: 31px 0 24px; }
    .user-welcome h2 { font-size: 29px; }
    .user-welcome p:not(.eyebrow) { font-size: 13px; }
    .user-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
    .points-card, .account-summary { min-height: 191px; }
    .points-card { padding: 23px 25px 21px; }
    .points-value { margin: 34px 0 27px; }
    .points-card strong { font-size: 42px; }
    .account-summary { padding: 20px 22px 17px; }
    .user-credential .section-heading { padding: 20px 24px 16px; }
    .user-credential .credential-grid { padding: 0 24px 24px; }
    .user-calls .table-toolbar { min-height: 74px; padding: 17px 24px; }
    .user-calls table td { height: 52px; }
    .ledger-head { padding: 31px 0 23px; }
    .ledger-summary { gap: 12px; margin-bottom: 12px; }
}

/* Compact pass for the user overview */
@media (min-width: 761px) {
    .user-view .main { padding-left: 30px; padding-right: 30px; }
    .user-view .topbar, .user-view .main > section, .user-view .main > .alert { max-width: 1020px; }
    .user-welcome { padding-top: 25px; padding-bottom: 19px; }
    .user-welcome h2 { font-size: 27px; }
    .user-overview { gap: 10px; }
    .points-card, .account-summary { min-height: 154px; }
    .points-card { padding: 19px 22px 18px; }
    .points-card:after { right: 22px; top: 18px; width: 58px; height: 58px; }
    .points-card:before { right: -31px; bottom: -42px; width: 105px; height: 105px; }
    .points-value { margin: 25px 0 21px; }
    .points-card strong { font-size: 36px; }
    .points-mark { font-size: 17px; }
    .account-summary { padding: 17px 20px 14px; }
    .summary-row { padding-top: 8px; margin-top: 9px; }
    .summary-link { padding-top: 8px; }
    .user-credential { margin-top: 11px; }
    .user-credential .section-heading { padding: 17px 21px 13px; }
    .user-credential .credential-grid { padding: 0 21px 21px; }
    .key-field { padding: 12px 14px; }
    .user-calls { margin-top: 11px; }
    .user-calls .table-toolbar { min-height: 67px; padding: 14px 21px; }
    .user-calls table td { height: 47px; }
}
@media (max-width: 760px) {
    .points-card, .account-summary { min-height: 160px; }
    .points-card { padding: 20px 22px 18px; }
    .points-card:after { width: 58px; height: 58px; right: 20px; top: 18px; }
    .points-card:before { width: 100px; height: 100px; right: -28px; bottom: -39px; }
    .points-value { margin: 25px 0 22px; }
    .points-card strong { font-size: 36px; }
    .account-summary { padding: 18px 19px 15px; }
    .summary-row { padding-top: 8px; margin-top: 9px; }
}
