/* OniNetwork Billing 1.1.0. Semantic, flat surfaces; no CDN or font dependency. */
:root {
  color-scheme: dark;
  --canvas: #0b1019; --surface: #111a27; --surface-2: #182232;
  --rail: #0d1420; --field: #0c1420; --line: #2c394d; --line-soft: #212e40;
  --ink: #edf1f7; --muted: #a7b4c7; --soft: #8f9db2;
  --link: #d9b45b; --gold: #d9b45b; --gold-hover: #e6c677; --gold-ink: #1b1a15; --gold-soft: #29261d;
  --good: #86d9b3; --good-bg: #142b26; --danger: #ffaaa5; --danger-bg: #342022;
  --warning: #ecc37a; --warning-bg: #30291d; --focus: #e2bd66;
  --body: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Aptos Display', 'Segoe UI Variable Display', 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --radius: 8px; --rail-width: 224px;
}
:root[data-theme='light'] {
  color-scheme: light;
  --canvas: #f2f4f7; --surface: #ffffff; --surface-2: #eaf0f5;
  --rail: #ffffff; --field: #f9fbfd; --line: #bfcbd9; --line-soft: #d8e0e9;
  --ink: #182536; --muted: #4a5d74; --soft: #53657a;
  --link: #785719; --gold: #cda13e; --gold-hover: #d8b45c; --gold-ink: #14130e; --gold-soft: #f7edd8;
  --good: #176244; --good-bg: #e6f5eb; --danger: #a22d31; --danger-bg: #fbeaec;
  --warning: #805400; --warning-bg: #fff3d8; --focus: #866006;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--body); font-size: 14px; line-height: 1.55; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 600; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.65px; margin-bottom: 9px; overflow-wrap: anywhere; }
h2 { font-size: 16px; line-height: 1.4; margin-bottom: 16px; }
h3 { font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button,input,select,textarea { font: inherit; }
button,a,input,select,summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex='0']:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
main:focus { outline: none; }
.icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--gold-ink); }
.skip:focus { top: 12px; }
.small { font-size: 12px; color: var(--muted); line-height: 1.65; }
.code,code { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.amount { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.nowrap { white-space: nowrap; }
.subline { display: block; font-size: 11.5px; line-height: 1.5; margin-top: 4px; color: var(--muted); overflow-wrap: anywhere; }
.text-danger,.issue { color: var(--danger) !important; }
.text-warn { color: var(--warning) !important; }
.text-good { color: var(--good) !important; }
.lower { margin-top: 24px; }
.mobile-only,.mobile-navigation { display: none; }
/* Workspace shell */
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-symbol { width: 33px; height: 33px; color: var(--link); }
.brand-name { font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: .2px; }
.brand-name>span { display: block; font-size: 8px; letter-spacing: 1.8px; margin-top: 5px; }
.brand-product { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 5px; padding-left: 13px; border-left: 1px solid var(--line); line-height: 29px; }
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail-width); padding: 26px 16px 12px; background: var(--rail); border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; z-index: 30; overflow-y: auto; }
.rail>.brand { margin: 2px 4px 38px; }
.rail .brand-product { font-size: 11px; margin-left: 0; padding-left: 9px; }
.workspace-label { padding: 0 12px; margin-bottom: 14px; color: var(--soft); font-size: 11px; }
.rail nav { display: flex; flex-direction: column; gap: 5px; }
.rail nav a,.mobile-nav-panel nav a { display: flex; gap: 12px; align-items: center; color: var(--muted); padding: 11px 12px; font-size: 13px; font-weight: 400; border-radius: 5px; min-height: 42px; text-decoration: none; }
.rail nav a:hover,.mobile-nav-panel nav a:hover { background: var(--surface-2); color: var(--ink); }
.rail nav a[aria-current='page'],.mobile-nav-panel nav a[aria-current='page'] { background: var(--gold-soft); color: var(--link); font-weight: 600; }
:root[data-theme='light'] .rail nav a[aria-current='page'],:root[data-theme='light'] .mobile-nav-panel nav a[aria-current='page'] { color: #715015; }
.rail-footer { margin-top: auto; padding-top: 40px; }
.workspace-note { display: flex; gap: 10px; color: var(--muted); font-size: 11px; padding: 12px 10px 24px; }
.workspace-note .icon { margin-top: 3px; }
.workspace-note small { display: block; margin-top: 3px; font-size: 10px; color: var(--soft); }
.profile-link { display: flex; gap: 10px; padding: 16px 6px 12px; align-items: center; color: var(--ink); border-top: 1px solid var(--line-soft); }
.profile-link>span:nth-child(2) { flex: 1; min-width: 0; }
.profile-link strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.profile-link small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.profile-link>.icon { width: 14px; }
.avatar { width: 35px; height: 35px; display: inline-flex; justify-content: center; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 50%; font-size: 11px; font-weight: 600; flex-shrink: 0; color: var(--ink); }
.small-avatar { width: 31px; height: 31px; font-size: 10px; }
.signout-button { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; color: var(--muted); padding: 10px 9px; font-size: 12px; min-height: 40px; }
.signout-button:hover { color: var(--ink); }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 36px; background: var(--canvas); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 20; }
.owner-shell>.topbar { margin-left: var(--rail-width); }
.topbar-leading,.topbar-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.context-title { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.context-title span { margin: 0 12px; color: var(--soft); }
.environment-label { font-size: 10px; font-weight: 600; border: 1px solid var(--line); color: var(--warning); padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.environment-label.live { color: var(--muted); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.topbar-actions .icon-button { width: 34px; height: 34px; }
.account-menu { position: relative; }
.account-menu>summary { list-style: none; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.account-menu>summary::-webkit-details-marker { display: none; }
.account-menu>summary>.icon { width: 12px; }
.account-dropdown { position: absolute; right: 0; top: 46px; width: 245px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px #0003; }
.account-dropdown>strong { display: block; font-size: 13px; }
.account-dropdown>span { display: block; font-size: 12px; color: var(--muted); margin: 4px 0 16px; overflow-wrap: anywhere; }
.account-dropdown>a { display: block; font-size: 13px; margin-bottom: 14px; }
.owner-shell>.page-shell { margin-left: var(--rail-width); }
.page-shell { min-height: calc(100vh - 68px); display: flex; flex-direction: column; }
.main { width: 100%; max-width: 1780px; margin: 0 auto; padding: 30px 36px 0; flex: 1; min-width: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 6px 0 28px; }
.page-head p { color: var(--muted); font-size: 13px; margin-bottom: 0; max-width: 680px; }
.page-head .greeting { color: var(--link); margin-bottom: 8px; font-size: 12px; }
.overline { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; margin-bottom: 15px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; color: var(--soft); padding: 24px 0; margin: 40px 36px 0; border-top: 1px solid var(--line-soft); }
.foot>div { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.foot a { color: var(--muted); }
.footer-separator { padding: 0 7px; color: var(--soft); }
.environment-notice { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--warning); margin: -8px 0 22px; }
.environment-notice .icon { width: 14px; height: 14px; }
/* Surfaces, buttons and forms */
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; min-width: 0; }
.ledger-panel { padding: 0; overflow: hidden; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.section-head .text-link { font-size: 11px; margin: 0; white-space: nowrap; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.section-title h2 { font-size: 14px; margin: 0; }
.section-title>.icon { color: var(--muted); width: 17px; height: 17px; }
.count-label { display: inline-flex; align-items: center; font: 500 11px var(--body); color: var(--muted); background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 4px; padding: 2px 7px; margin-left: 7px; vertical-align: middle; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 5px; border: 1px solid transparent; min-height: 40px; padding: 9px 14px; font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: none; max-width: 100%; text-align: center; }
.button:hover { text-decoration: none; }
.button>.icon { width: 16px; height: 16px; }
.button.primary { background: var(--gold); color: var(--gold-ink); border-color: var(--link); }
.button.primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.button.secondary { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--surface); border-color: var(--muted); }
.button.subtle { background: transparent; color: var(--muted); }
.button.subtle:hover { background: var(--surface-2); }
.button.danger-button { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.button.full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; margin-top: 16px; }
.text-link>.icon { width: 14px; height: 14px; }
.centered-link { display: flex; justify-content: center; }
.link-button { border: 0; background: none; color: var(--link); padding: 4px 0; font-size: 12px; text-align: left; min-height: 30px; }
.link-button:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.actions form { margin: 0; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 19px; }
input,select,textarea { display: block; width: 100%; min-width: 0; min-height: 43px; background: var(--field); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; margin-top: 8px; line-height: 1.5; font-size: 14px; }
input::placeholder { color: var(--soft); opacity: 1; font-size: 12px; }
input:read-only { background: var(--surface-2); }
select { text-overflow: ellipsis; }
.help { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 7px; line-height: 1.65; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 19px 0; font-weight: 400; }
.check input { width: 17px; height: 17px; min-height: 17px; flex: 0 0 17px; margin: 3px 0 0; accent-color: var(--link); padding: 0; }
.check span { font-size: 12px; color: var(--muted); line-height: 1.65; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.notice { display: flex; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; font-size: 12px; color: var(--muted); margin-bottom: 22px; overflow-wrap: anywhere; }
.notice>.icon { margin-top: 1px; width: 16px; height: 16px; }
.notice>div { min-width: 0; }
.notice strong { color: inherit; }
.notice p { margin: 6px 0 0; }
.notice.success { background: var(--good-bg); color: var(--good); border-color: var(--good); }
.notice.danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.notice.warn { background: var(--warning-bg); color: var(--warning); border-color: var(--warning); }
.notice.compact { font-size: 11px; padding: 12px; margin-top: 18px; margin-bottom: 0; }
.notice a { color: inherit; text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 500; color: var(--muted); background: var(--surface-2); line-height: 1.4; white-space: normal; }
.badge>.icon { width: 12px; height: 12px; }
.badge.good { color: var(--good); background: var(--good-bg); }
.badge.warn { color: var(--warning); background: var(--warning-bg); }
.badge.danger { color: var(--danger); background: var(--danger-bg); }
.inline-state { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.inline-state.good { color: var(--good); }
.inline-state.warn { color: var(--warning); }
.inline-state>.icon { width: 13px; height: 13px; }
/* Registers and actual billing data */
.metrics-strip { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface); margin-bottom: 28px; }
.metric { padding: 22px 24px; min-width: 0; }
.metric+.metric { border-left: 1px solid var(--line-soft); }
.metric>span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.metric>strong { display: block; font-size: 29px; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.7px; }
.metric strong small { font-size: 10px; color: var(--muted); font-weight: 400; margin-left: 7px; letter-spacing: 0; }
.metric>p,.metric>a { display: block; font-size: 10px; margin: 12px 0 0; color: var(--muted); }
.metric>a { color: var(--link); }
.metric>a .icon { width: 12px; height: 12px; margin-left: 3px; }
.desk-grid { display: grid; grid-template-columns: minmax(0,1fr) 266px; align-items: start; gap: 24px; }
.desk-main,.desk-side { min-width: 0; }
.desk-side { display: flex; flex-direction: column; gap: 20px; }
.desk-side .panel { padding: 21px; }
.desk-side .small { font-size: 11px; margin: 12px 0 18px; }
.side-caption { font-size: 10px; line-height: 1.7; color: var(--soft); padding: 0 4px; }
.health-line { display: flex; align-items: center; gap: 7px; font-size: 11px; margin: 20px 0 8px; }
.health-line strong { font-weight: 500; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); }
.status-dot.good { background: var(--good); }
.status-dot.warn { background: var(--warning); }
.facts { margin: 0 0 20px; }
.facts>div { display: flex; justify-content: space-between; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.facts dt { color: var(--muted); flex-shrink: 0; max-width: 45%; }
.facts dd { margin: 0; text-align: right; color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.compact-facts>div { display: block; padding: 10px 0; }
.compact-facts dt { font-size: 10px; max-width: none; }
.compact-facts dd { font-size: 11px; text-align: left; margin-top: 5px; }
.table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding: 0 24px 16px; }
.filter-tabs { display: flex; align-items: center; gap: 2px; overflow-x: auto; max-width: 100%; }
.filter-button { border: 0; color: var(--muted); background: transparent; border-radius: 4px; font-size: 10px; padding: 7px 9px; min-height: 32px; white-space: nowrap; }
.filter-button.selected { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.filter-button:hover { color: var(--ink); }
.search-label { position: relative; margin: 0; flex: 1; min-width: 180px; max-width: 240px; }
.search-label>.icon { position: absolute; top: 10px; left: 10px; width: 14px; height: 14px; color: var(--soft); }
.search-label input { min-height: 35px; height: 35px; font-size: 12px; padding: 7px 10px 7px 31px; margin: 0; }
.search-label input::placeholder { font-size: 10px; }
.table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
table { border-collapse: collapse; text-align: left; width: 100%; font-size: 12px; }
th { font-size: 10px; font-weight: 500; color: var(--muted); background: var(--field); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 11px 15px; line-height: 1.45; white-space: nowrap; }
td { padding: 17px 15px; vertical-align: middle; border-bottom: 1px solid var(--line-soft); color: var(--ink); overflow-wrap: anywhere; line-height: 1.5; }
th:first-child,td:first-child { padding-left: 24px; }
th:last-child,td:last-child { padding-right: 24px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
.row-title { font-weight: 600; color: var(--ink); font-size: 12px; }
.row-title:hover { color: var(--link); }
.cell-title { font-size: 12px; }
.service-title-wrap { display: flex; gap: 11px; align-items: center; min-width: 132px; }
.service-title-wrap>div { min-width: 0; }
.service-glyph { width: 35px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; }
.service-glyph>.icon { width: 17px; height: 17px; }
.row-action { width: 42px; padding-left: 0; padding-right: 12px !important; }
.row-action .icon-button { width: 29px; height: 32px; padding: 5px; }
.service-table td:nth-last-child(2) { min-width: 110px; }
.reference { max-width: 185px; font-size: 10px; }
.receipt-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--link); font-size: 10px; }
.receipt-link>.icon { width: 11px; height: 11px; }
.empty-cell { padding: 40px 24px !important; text-align: center; color: var(--muted); }
.empty-cell>.icon { display: block; margin: 0 auto 13px; width: 24px; height: 24px; }
.empty-cell strong { display: block; color: var(--ink); font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.empty-cell>span { display: block; font-size: 12px; }
.empty-inline,.filter-empty { font-size: 12px; color: var(--muted); padding: 28px 24px; margin-bottom: 0; }
.panel-bottom { border-top: 1px solid var(--line-soft); padding: 16px 24px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; }
.separator { color: var(--soft); }
.activity-row { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line-soft); padding: 16px 24px; }
.activity-symbol { width: 28px; height: 28px; background: var(--surface-2); color: var(--muted); display: flex; align-items: center; justify-content: center; border-radius: 5px; flex-shrink: 0; }
.activity-symbol>.icon { width: 14px; height: 14px; }
.activity-row>div:nth-child(2) { flex: 1; min-width: 0; }
.activity-row strong { font-size: 12px; font-weight: 500; }
.activity-row p { font-size: 11px; color: var(--muted); margin: 4px 0 0; overflow-wrap: anywhere; }
.activity-meta { text-align: right; flex-shrink: 0; font-size: 10px; }
.activity-meta time { display: block; margin-top: 3px; color: var(--soft); }
.activity-meta time>span { display: block; }
.renewal-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 0; color: var(--ink); border-top: 1px solid var(--line-soft); }
.renewal-row:hover { color: var(--link); text-decoration: none; }
.renewal-row>span { min-width: 0; }
.renewal-row>span:last-child { text-align: right; flex-shrink: 0; }
.renewal-row strong { display: block; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.renewal-row small { display: block; font-size: 10px; margin-top: 5px; color: var(--muted); }
/* Member workspace */
.member-shell .main,.member-shell .foot { max-width: 1320px; }
.member-shell .main { padding-top: 36px; }
.member-shell .foot { width: calc(100% - 72px); margin-left: auto; margin-right: auto; }
.member-navigation { display: flex; gap: 24px; height: 100%; align-items: stretch; }
.member-navigation a { display: inline-flex; align-items: center; color: var(--muted); border-bottom: 2px solid transparent; font-size: 12px; gap: 6px; }
.member-navigation a>.icon { display: none; }
.member-navigation a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--link); }
.member-navigation a:hover { color: var(--ink); text-decoration: none; }
.member-overview-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 24px; }
.renewal-feature { padding: 26px 28px; border-top: 1px solid var(--gold); }
.renewal-feature .section-title h2 { color: var(--muted); font-weight: 400; font-size: 12px; }
.renewal-feature-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 12px 0 26px; }
.feature-service { font-size: 15px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.feature-service>.icon { width: 13px; height: 13px; }
.hero-amount { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1.15; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; margin-top: 13px; }
.hero-amount>span { font-family: var(--body); font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.term { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.deadline-feature { border-left: 1px solid var(--line); padding-left: 32px; }
.deadline-feature>span { display: block; font-size: 11px; color: var(--muted); }
.deadline-feature>strong { display: block; font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.4px; margin: 9px 0 5px; }
.deadline-feature>small { font-size: 11px; color: var(--muted); }
.deadline-feature>.deadline-note { font-size: 11px; margin-top: 15px; color: var(--link); }
.feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.account-summary { padding: 26px; }
.account-stats { margin: 2px 0 20px; }
.account-stats>div { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.account-stats dt { color: var(--muted); font-size: 11px; }
.account-stats dd { margin: 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.account-stats dd.currency-value { font-size: 12px; }
.account-summary .small { font-size: 11px; }
.account-summary .text-link { margin-top: 0; }
.member-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 24px; align-items: start; }
.member-service-row { display: flex; gap: 15px; align-items: center; padding: 22px 24px; border-top: 1px solid var(--line-soft); }
.member-service-identity { flex: 1; min-width: 0; }
.member-service-identity>.row-title { font-size: 14px; }
.member-service-identity>.inline-state { margin-top: 10px; }
.member-service-state { display: flex; flex-direction: column; align-items: flex-end; gap: 13px; }
.member-service-state>a { display: inline-flex; gap: 5px; font-size: 11px; align-items: center; }
.member-service-state>a>.icon { width: 11px; height: 11px; }
.member-notices { padding: 24px; }
.member-notice { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.member-notice h3 { font-size: 12px; }
.member-notice p { font-size: 11px; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.member-notice time { font-size: 10px; color: var(--soft); }
.account-support-note { border-top: 1px solid var(--line-soft); margin-top: 16px; padding-top: 20px; }
.account-support-note h3 { font-size: 12px; }
.account-support-note p { color: var(--muted); font-size: 11px; }
.notice-empty { padding: 25px 0 15px; }
.notice-empty>.icon { width: 20px; height: 20px; color: var(--good); margin-bottom: 12px; }
.notice-empty h3 { font-size: 12px; }
.notice-empty p { font-size: 11px; color: var(--muted); }
.member-empty { padding: 18px 0; }
.member-empty h3 { margin: 16px 0 9px; font-size: 17px; }
.member-empty p { font-size: 13px; color: var(--muted); max-width: 55ch; }
/* Service details and administrator forms */
.service-header-title { display: flex; gap: 15px; align-items: center; min-width: 0; }
.service-header-title>.service-glyph { width: 47px; height: 47px; }
.service-header-title .service-glyph>.icon { width: 22px; height: 22px; }
.service-header-title h1 { font-size: 27px; }
.section-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 26px; font-size: 12px; overflow-x: auto; }
.section-tabs a { color: var(--muted); padding: 0 0 13px; white-space: nowrap; }
.section-tabs a:first-child { color: var(--ink); border-bottom: 2px solid var(--gold); }
.service-layout { display: grid; grid-template-columns: minmax(270px,.75fr) minmax(0,1.25fr); gap: 24px; align-items: start; }
.billing-summary .hero-amount { margin-top: 9px; }
.billing-summary .term { margin-bottom: 25px; }
.billing-summary>.overline { margin: 0; font-size: 12px; }
.billing-summary .facts>div { display: block; padding: 13px 0; }
.billing-summary .facts dt { max-width: none; font-size: 11px; }
.billing-summary .facts dd { text-align: left; font-size: 12px; margin-top: 6px; }
.billing-summary .facts>div:last-child { border-bottom: 0; }
.payment-panel { padding: 27px; }
.payment-panel>p { color: var(--muted); font-size: 12px; }
.payment-panel .form-note { color: var(--muted); font-size: 11px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 18px; }
.payment-options legend { float: left; width: 100%; grid-column: 1/-1; }
.payment-option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--field); padding: 17px 14px; margin: 0; cursor: pointer; }
.payment-option input { width: 16px; height: 16px; min-height: 16px; margin: 0; flex: 0 0 16px; accent-color: var(--link); padding: 0; }
.payment-option:has(input:checked) { border-color: var(--link); background: var(--gold-soft); }
.payment-option:has(input:disabled) { cursor: not-allowed; }
.payment-option:has(input:disabled) strong { color: var(--muted); }
.payment-option strong { display: block; font-size: 14px; font-weight: 600; }
.payment-option small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 5px; }
.agreement-status { padding: 20px; border: 1px solid var(--line); background: var(--field); border-radius: 6px; margin-bottom: 20px; }
.agreement-status h3 { font-size: 16px; margin-bottom: 10px; }
.agreement-status p { font-size: 12px; color: var(--muted); margin-top: 12px; }
.payment-lock { display: flex; align-items: flex-start; gap: 10px; padding: 18px 0; }
.payment-lock>.icon { color: var(--link); margin-top: 2px; }
.payment-lock p { font-size: 13px; color: var(--muted); }
.separated { border-top: 1px solid var(--line-soft); margin-top: 22px; padding-top: 20px; }
details>summary { cursor: pointer; font-size: 13px; font-weight: 500; min-height: 25px; }
details[open]>summary { margin-bottom: 18px; }
details.account-menu[open]>summary,details.mobile-navigation[open]>summary { margin-bottom: 0; }
details p { font-size: 12px; color: var(--muted); max-width: 76ch; }
.admin-section { margin-top: 35px; padding-top: 9px; border-top: 1px solid var(--line); }
.admin-section>.section-head { padding: 18px 0; }
.admin-section .panel p { font-size: 12px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(250px,1fr); gap: 24px; align-items: start; }
.two-col>.panel>p { font-size: 12px; color: var(--muted); }
.side-note { padding: 24px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface); }
.side-note h3 { font-size: 14px; margin: 22px 0 10px; }
.side-note h3:first-child { margin-top: 0; }
.side-note p { font-size: 12px; color: var(--muted); }
.big-id { font-size: 23px; font-family: var(--mono); color: var(--muted); }
.connection-row { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 90px; }
.connection-heading h2 { font-size: 18px; margin-bottom: 8px; }
.connection-heading p { color: var(--muted); font-size: 12px; max-width: 29ch; }
.connection-heading .step { display: none; }
.connection-heading .icon { color: var(--link); margin-bottom: 12px; }
.connection-heading .small { font-size: 10px; }
.endpoint { border: 1px solid var(--line); background: var(--field); padding: 12px; border-radius: 5px; font-size: 11px; overflow-wrap: anywhere; margin-bottom: 13px; }
.field-caption { font-size: 11px; color: var(--muted); margin: 24px 0 8px; }
.connections-form { max-width: 1040px; }
.connections-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 12px; padding: 13px 0; font-size: 12px; }
.connection-status { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0 0; }
/* Authentication and request feedback */
.public-shell .topbar { padding-left: max(28px, calc((100% - 1120px)/2)); padding-right: max(28px, calc((100% - 1120px)/2)); }
.public-label { color: var(--muted); font-size: 12px; }
.public-shell .main { max-width: 1180px; padding-top: 28px; }
.public-shell .foot { max-width: 1108px; width: calc(100% - 72px); margin-left: auto; margin-right: auto; }
.auth-layout { display: grid; grid-template-columns: minmax(0,1fr) 414px; gap: 90px; padding: 42px 0 35px; align-items: center; max-width: 1050px; margin: 0 auto; }
.auth-intro { padding: 7px 0; }
.auth-kicker { display: inline-block; color: var(--link); font-size: 12px; font-weight: 500; margin-bottom: 22px; }
.auth-intro h1 { font-size: clamp(33px,3.5vw,47px); letter-spacing: -1.2px; line-height: 1.18; margin-bottom: 22px; font-weight: 600; }
.auth-intro>p { color: var(--muted); font-size: 14px; max-width: 360px; line-height: 1.8; }
.auth-capabilities { margin: 30px 0; border-top: 1px solid var(--line); max-width: 360px; padding-top: 17px; }
.auth-capabilities>div { display: flex; gap: 13px; align-items: center; padding: 10px 0; font-size: 12px; }
.auth-capabilities .icon { color: var(--muted); width: 17px; height: 17px; }
.auth-intro>.auth-provider-note { font-size: 12px; color: var(--ink); margin-top: 26px; }
.auth-provider-note>span { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; max-width: 310px; }
.auth-form { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.auth-form-title h2 { font-size: 21px; letter-spacing: -.35px; margin: 16px 0 7px; }
.auth-form-title>p { font-size: 12px; color: var(--muted); margin-bottom: 25px; }
.auth-lock { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 7px; color: var(--link); }
.auth-form label { font-size: 12px; margin-bottom: 19px; }
.auth-form input { min-height: 45px; }
.auth-form .button { min-height: 44px; }
.form-link-row { display: flex; justify-content: flex-end; font-size: 11px; margin: -6px 0 22px; }
.auth-invitation { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.auth-invitation>strong { font-size: 11px; font-weight: 500; }
.auth-invitation>p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.setup-layout { align-items: start; }
.setup-checklist { margin: 26px 0; }
.setup-checklist>div { display: flex; gap: 13px; padding: 14px 0; }
.setup-checklist>div>span { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; flex-shrink: 0; }
.setup-checklist>div>p { font-size: 11px; color: var(--muted); margin: 0; }
.setup-checklist strong { display: block; font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.response-panel { max-width: 620px; margin: 48px auto; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.response-panel h1 { font-size: 26px; margin: 20px 0 12px; }
.response-panel>p { font-size: 13px; color: var(--muted); }
.response-symbol { display: flex; justify-content: center; align-items: center; width: 41px; height: 41px; background: var(--surface-2); border-radius: 8px; color: var(--link); }
.response-symbol>.icon { width: 21px; height: 21px; }
.danger-symbol { background: var(--danger-bg); color: var(--danger); }
.good-symbol { background: var(--good-bg); color: var(--good); }
.response-message { line-height: 1.75; overflow-wrap: anywhere; }
.origin-diagnostic { margin: 23px 0; padding: 20px; background: var(--field); border: 1px solid var(--line); border-radius: 6px; }
.origin-diagnostic h2 { font-size: 13px; }
.origin-diagnostic .facts>div { display: block; }
.origin-diagnostic .facts dt { max-width: none; font-size: 11px; }
.origin-diagnostic .facts dd { text-align: left; font-size: 11px; margin-top: 6px; }
.origin-diagnostic>p { font-size: 12px; color: var(--muted); }
.private-link-box { padding: 20px; background: var(--field); border: 1px solid var(--line); border-radius: 6px; margin-top: 20px; }
.private-link-box input { font-size: 12px; }
.copy-status { display: block; color: var(--good); font-size: 11px; margin-top: 12px; }
.auth-small { max-width: 450px; }
.auth-small form { margin-top: 24px; }
/* Responsive composition, not a scaled-down desktop page. */
@media (min-width: 1650px) {
  .main { padding-left: 44px; padding-right: 44px; }
  .desk-grid { grid-template-columns: minmax(0,1fr) 298px; gap: 28px; }
  .service-table td { padding-top: 20px; padding-bottom: 20px; }
  .service-table th,.service-table td { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1300px) {
  .main { padding: 26px 28px 0; }
  .topbar { padding: 0 28px; }
  .desk-grid { grid-template-columns: minmax(0,1fr); }
  .desk-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .side-caption { grid-column: 1/-1; }
  .metric { padding: 20px; }
  .metric-primary strong { font-size: 27px; }
  .member-overview-grid,.member-detail-grid { grid-template-columns: minmax(0,1fr) 285px; }
}
@media (max-width: 1050px) {
  :root { --rail-width: 200px; }
  .rail { padding-left: 12px; padding-right: 12px; }
  .rail .brand-product { display: none; }
  .main { padding-left: 24px; padding-right: 24px; }
  .metric { padding: 18px; }
  .metric>strong { font-size: 25px; }
  .metric>p,.metric>a { font-size: 9px; }
  .metrics-strip { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .member-shell .brand-product { display: none; }
  .member-navigation { gap: 19px; }
  .member-overview-grid { grid-template-columns: minmax(0,1fr) 265px; gap: 20px; }
  .member-detail-grid { grid-template-columns: minmax(0,1fr); }
  .member-notices { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
  .member-notices>.section-title { grid-column: 1/-1; }
  .auth-layout { gap: 45px; grid-template-columns: minmax(0,1fr) 385px; }
  .auth-form { padding: 28px; }
  .two-col { grid-template-columns: minmax(0,1fr); }
  .connection-row { grid-template-columns: 170px minmax(0,1fr); gap: 24px; }
  .service-layout { grid-template-columns: minmax(0,1fr); }
  .billing-summary .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
  .billing-summary .facts>div:last-child { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 780px) {
  .rail { display: none; }
  .owner-shell>.page-shell,.owner-shell>.topbar { margin-left: 0; }
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }
  .mobile-navigation { display: block; position: relative; }
  .mobile-navigation>summary { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 5px; list-style: none; }
  .mobile-navigation>summary::-webkit-details-marker { display: none; }
  .mobile-nav-panel { position: absolute; right: 0; top: 49px; width: min(300px,calc(100vw - 32px)); max-height: calc(100dvh - 95px); overflow-y: auto; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 25px #0004; }
  .mobile-nav-user { padding: 9px 12px 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 10px; }
  .mobile-nav-user strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
  .mobile-nav-user small { font-size: 11px; color: var(--muted); }
  .mobile-nav-panel .signout-button { width: 100%; margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
  .member-navigation { display: none; }
  .topbar { height: 64px; padding: 0 20px; gap: 10px; }
  .topbar-actions { gap: 9px; }
  .topbar .brand-product { display: none; }
  .page-shell { min-height: calc(100vh - 64px); }
  .main { padding: 25px 20px 0; }
  .member-shell .main { padding-top: 25px; }
  .page-head { margin-top: 0; gap: 20px; }
  .page-head h1 { font-size: 27px; }
  .page-head p { font-size: 12px; }
  .foot { margin-left: 20px; margin-right: 20px; }
  .member-shell .foot,.public-shell .foot { width: calc(100% - 40px); }
  .member-overview-grid { grid-template-columns: minmax(0,1fr); }
  .account-summary .account-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 16px; }
  .account-stats>div { display: block; }
  .account-stats dd { margin-top: 10px; }
  .account-summary .text-link { margin-top: 0; }
  .auth-layout { grid-template-columns: minmax(0,1fr) 350px; gap: 25px; }
  .auth-intro h1 { font-size: 31px; }
  .auth-intro>p { font-size: 12px; }
  .public-shell .topbar { padding-left: 20px; padding-right: 20px; }
  .auth-form { padding: 24px; }
  .auth-form-title h2 { font-size: 19px; }
  .connection-row { grid-template-columns: 170px minmax(0,1fr); }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .topbar { padding: 0 16px; }
  .brand-symbol { width: 29px; height: 29px; }
  .brand-name { font-size: 19px; }
  .brand-name>span { font-size: 7px; letter-spacing: 1.6px; }
  .environment-label { font-size: 9px; padding: 3px 5px; }
  .topbar-actions { gap: 5px; }
  .topbar-actions .icon-button { width: 30px; height: 36px; }
  .main,.member-shell .main,.public-shell .main { padding: 22px 16px 0; }
  .environment-notice { font-size: 10px; margin: -3px 0 22px; align-items: flex-start; gap: 6px; }
  .environment-notice>.icon { margin-top: 1px; }
  .page-head { flex-wrap: wrap; gap: 17px; margin-bottom: 22px; }
  .page-head h1 { font-size: 25px; letter-spacing: -.5px; margin-bottom: 8px; }
  .page-head>.button { min-height: 40px; font-size: 11px; }
  .page-head .greeting { font-size: 11px; }
  .metrics-strip { grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
  .metric { padding: 18px; }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .metric>span { font-size: 10px; margin-bottom: 11px; }
  .metric>strong { font-size: 25px; }
  .metric>p,.metric>a { font-size: 10px; line-height: 1.6; }
  .desk-side { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .side-caption { grid-column: auto; }
  .section-head { padding: 20px 18px; gap: 10px; flex-wrap: wrap; }
  .section-head h2 { font-size: 15px; }
  .section-head p { font-size: 10px; }
  .section-head .small { font-size: 10px; }
  .table-tools { padding: 0 18px 15px; display: flex; flex-direction: column; align-items: stretch; }
  .filter-button { padding: 8px; font-size: 10px; min-height: 36px; }
  .search-label { max-width: none; min-width: 0; width: 100%; }
  .search-label input { min-height: 42px; height: 42px; font-size: 16px; }
  .search-label input::placeholder { font-size: 12px; }
  .search-label>.icon { top: 13px; }
  .panel { padding: 21px 19px; }
  .ledger-panel { padding: 0; }
  .lower { margin-top: 20px; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .responsive-table,.responsive-table tbody { display: block; }
  .responsive-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 20px 18px; border-bottom: 1px solid var(--line); position: relative; }
  .responsive-table tr:last-child { border-bottom: 0; }
  .responsive-table tr:hover { background: transparent; }
  .responsive-table td { display: block; padding: 0 !important; border: 0; font-size: 12px; min-width: 0 !important; }
  .responsive-table td::before { content: attr(data-label); display: block; font-size: 10px; color: var(--soft); margin-bottom: 5px; }
  .responsive-table td.service-cell { grid-column: 1/-1; padding-right: 38px !important; }
  .responsive-table td.service-cell::before { display: none; }
  .service-title-wrap { gap: 10px; }
  .service-title-wrap .row-title { font-size: 14px; }
  .responsive-table td.row-action { position: absolute; top: 20px; right: 14px; width: 32px; }
  .responsive-table .row-action::before { display: none; }
  .responsive-table .amount { font-size: 15px; }
  .responsive-table .subline { font-size: 10px; }
  .responsive-table .empty-cell { grid-column: 1/-1; padding: 22px 6px !important; }
  .responsive-table .empty-cell::before { display: none; }
  .payment-table tr { gap: 15px 20px; }
  .payment-table td:first-child { grid-column: 1/-1; }
  .reference { max-width: none; }
  .badge { font-size: 10px; padding: 4px 6px; }
  .activity-row { padding: 17px 18px; gap: 10px; flex-wrap: wrap; }
  .activity-row>div:nth-child(2) { flex-basis: calc(100% - 40px); }
  .activity-meta { margin-left: 38px; text-align: left; flex: 1; }
  .activity-meta time>span { display: inline; margin-left: 5px; }
  .activity-meta>a { margin-right: 10px; }
  .activity-meta time { display: inline; }
  .renewal-feature { padding: 22px 20px; }
  .renewal-feature-body { gap: 18px; grid-template-columns: 1fr; padding-bottom: 20px; }
  .hero-amount { font-size: 42px; }
  .feature-service { font-size: 14px; }
  .deadline-feature { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .deadline-feature>strong { font-size: 22px; margin-top: 5px; }
  .deadline-feature>.deadline-note { margin-top: 9px; }
  .feature-bottom { align-items: stretch; flex-direction: column; gap: 17px; }
  .feature-bottom .button { width: 100%; min-height: 44px; }
  .account-summary .account-stats { gap: 14px; }
  .account-stats dt { font-size: 10px; }
  .account-stats dd { font-size: 20px; }
  .account-summary .small { font-size: 11px; }
  .member-service-row { gap: 11px; padding: 20px 18px; flex-wrap: wrap; align-items: flex-start; }
  .member-service-identity { flex-basis: calc(100% - 48px); }
  .member-service-state { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 5px; }
  .member-service-state>a { min-height: 34px; }
  .member-notices { display: block; }
  .two-col,.form-pair { grid-template-columns: 1fr; }
  .form-pair { gap: 0; }
  label { font-size: 12px; }
  input,select { font-size: 16px; min-height: 46px; }
  .check { padding: 4px 0; }
  .check input { min-height: 18px; height: 18px; width: 18px; flex-basis: 18px; }
  .check span { font-size: 12px; }
  .button { min-height: 44px; }
  .notice { padding: 13px; font-size: 12px; }
  .connection-row { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .connection-heading p { max-width: none; margin-bottom: 8px; }
  .connection-heading>.icon { float: left; margin: 4px 12px 0 0; }
  .connection-heading h2 { font-size: 17px; }
  .connection-heading .small { font-size: 11px; }
  .connections-nav { gap: 10px 18px; font-size: 11px; }
  .facts>div { gap: 16px; }
  .service-header-title { gap: 12px; }
  .service-header-title>.service-glyph { width: 39px; height: 40px; }
  .section-tabs { gap: 20px; font-size: 11px; }
  .billing-summary .facts { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; gap: 10px; }
  .payment-option { min-height: 75px; }
  .payment-option input { min-height: 17px; height: 17px; width: 17px; }
  .payment-option small { font-size: 11px; }
  .payment-panel h2 { font-size: 17px; }
  .payment-panel .button { width: 100%; }
  .service-layout { gap: 20px; }
  .admin-section .code { font-size: 10px; }
  .admin-section .two-col { gap: 20px; }
  .auth-layout { display: flex; flex-direction: column; gap: 23px; padding: 8px 0 12px; align-items: stretch; }
  .auth-kicker { margin-bottom: 13px; font-size: 11px; }
  .auth-intro { padding: 0 2px; }
  .auth-intro h1 { font-size: 29px; line-height: 1.2; letter-spacing: -.7px; margin-bottom: 12px; }
  .auth-intro h1 br { display: none; }
  
  .auth-intro>p { font-size: 12px; max-width: none; margin: 0; }
  .auth-capabilities,.auth-intro>.auth-provider-note { display: none; }
  .auth-form { padding: 26px 22px; }
  .auth-lock { display: none; }
  .auth-form-title h2 { font-size: 20px; margin-top: 0; }
  .auth-form-title>p { font-size: 12px; margin-bottom: 24px; }
  .auth-form label { font-size: 12px; }
  .auth-form input { min-height: 46px; }
  .auth-form .button { min-height: 46px; }
  .form-link-row { font-size: 12px; }
  .auth-invitation { margin-top: 23px; }
  .auth-invitation>strong,.auth-invitation>p { font-size: 12px; }
  .setup-checklist { display: none; }
  .setup-layout .auth-intro>.small { display: none; }
  .response-panel { margin: 15px auto 25px; padding: 25px 21px; }
  .response-panel h1 { font-size: 24px; line-height: 1.25; }
  .response-panel>p { font-size: 13px; }
  .origin-diagnostic { padding: 15px; }
  .foot { margin: 28px 16px 0; gap: 13px; font-size: 10px; align-items: flex-start; }
  .foot>div { flex-direction: column; align-items: flex-end; gap: 7px; }
  .member-shell .foot,.public-shell .foot { width: calc(100% - 32px); }
  .response-panel .actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { color-scheme: light; --ink: #142030; --muted: #445469; --soft: #536174; --surface: #fff; --canvas: #fff; --field: #f6f7f9; --surface-2: #edf0f3; --line: #9babbc; --line-soft: #c9d0d8; --good: #176244; --warning: #805400; --danger: #a22d31; }
  .rail,.topbar,.table-tools,.button,button,form,.environment-notice,.section-tabs { display: none !important; }
  .owner-shell>.page-shell { margin-left: 0; }
  .main { max-width: none; margin: 0; padding: 0; }
  .desk-grid,.member-overview-grid,.member-detail-grid,.service-layout { display: block; }
  .panel { break-inside: avoid; margin-bottom: 20px; }
  .desk-side { display: block; }
  .table-scroll { overflow: visible; }
  .foot { margin: 24px 0 0; }
}
