/* BlackHyve Workspaces Admin handoff: dark tokens, compact controls, split view. */
:root {
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    color-scheme: dark;
    color: hsl(220 2% 92%);
    background: hsl(220 3% 6%);
    --background: hsl(220 3% 6%);
    --card: hsl(220 3% 8%);
    --popover: hsl(220 3% 7%);
    --muted: hsl(220 3% 13%);
    --foreground: hsl(220 2% 92%);
    --muted-foreground: hsl(220 3% 62%);
    --border: hsl(220 3% 18%);
    --input: hsl(220 3% 27%);
    --ring: hsl(39.75 35% 45% / 50%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { min-width: 320px; line-height: 1.5; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: var(--foreground); }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.muted { color: var(--muted-foreground); }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
.numeric, .workspace-count, .filter-chip { font-variant-numeric: tabular-nums; }
h1, h2, .eyebrow { font-family: Archivo, Inter, sans-serif; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.app-shell { height: 100dvh; display: grid; grid-template-columns: 60px minmax(0, 1fr); overflow: hidden; }
.sidebar { z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; border-right: 1px solid var(--border); background: hsl(220 3% 5%); }
.sidebar-brand { position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; }
.sidebar-brand img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.sidebar-link, .sidebar-logout { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted-foreground); text-decoration: none; }
.sidebar-link[aria-current="page"], .sidebar-link:hover, .sidebar-logout:hover { background: var(--muted); color: var(--foreground); }
.sidebar-link svg { width: 18px; height: 18px; }
.sidebar-logout svg { width: 16px; height: 16px; }
.sidebar-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: auto; }
.user-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--muted); font-size: 11px; font-weight: 600; }
.sidebar-tooltip { position: absolute; left: calc(100% + 12px); top: 50%; width: max-content; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--popover); box-shadow: 0 6px 20px #0009; color: var(--foreground); font-size: 12px; line-height: 1; pointer-events: none; transform: translateY(-50%); visibility: hidden; }
.sidebar-brand:hover .sidebar-tooltip, .sidebar-brand:focus-visible .sidebar-tooltip,
.sidebar-link:hover .sidebar-tooltip, .sidebar-link:focus-visible .sidebar-tooltip,
.sidebar-logout:hover .sidebar-tooltip, .sidebar-logout:focus-visible .sidebar-tooltip { visibility: visible; }

.app-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.page-header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px 14px; border-bottom: 1px solid var(--border); background: var(--background); }
.page-heading { min-width: 0; }
.eyebrow { margin: 0 0 4px; color: var(--muted-foreground); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.page-title { display: flex; align-items: baseline; gap: 10px; }
.workspace-count { color: var(--muted-foreground); font-size: 12px; white-space: nowrap; }
.page-header > .button { flex: none; }
.page-error { padding: 28px; }
.workspace-browser { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); flex: 1; min-height: 0; }
.workspace-list-pane { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--border); }
.list-toolbar { display: flex; flex-direction: column; flex: none; gap: 10px; padding: 12px; border-bottom: 1px solid var(--border); }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 10px; top: 8px; width: 16px; height: 16px; color: var(--muted-foreground); pointer-events: none; }
.search-field input { padding-left: 32px; }
.list-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted-foreground); font-size: 11.5px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.filter-chip:hover { color: var(--foreground); }
.filter-chip[aria-current="true"] { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.filter-chip span { opacity: .65; }
.demo-badge { flex: none; height: 18px; padding: 0 7px; border-radius: 999px; background: hsl(24 55% 18%); color: hsl(24 75% 68%); font-size: 11px; font-weight: 400; line-height: 18px; }
.workspace-list { flex: 1; min-height: 0; overflow: auto; padding: 6px; scrollbar-width: thin; scrollbar-color: var(--input) transparent; }
.workspace-row { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; text-decoration: none; }
.workspace-row:hover { background: var(--muted); }
.workspace-row[aria-current="true"] { background: var(--muted); box-shadow: inset 0 0 0 1px var(--border); font-weight: 500; }
.workspace-name { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.workspace-seats { display: inline-flex; align-items: center; gap: 3px; color: var(--muted-foreground); font-size: 11px; font-weight: 400; }
.workspace-seats svg { width: 12px; height: 12px; }
.workspace-overuse { flex: none; padding: 2px 5px; border-radius: 4px; color: var(--muted-foreground); background: var(--background); font-size: 10px; font-weight: 500; white-space: nowrap; }
.workspace-overuse[data-state="over"] { color: hsl(39 80% 70%); background: hsl(35 45% 12%); box-shadow: inset 0 0 0 1px hsl(35 35% 25%); }
.list-empty { margin: 0; padding: 28px 12px; text-align: center; color: var(--muted-foreground); }
.workspace-detail-pane { min-width: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--input) transparent; }
.workspace-detail { display: flex; flex-direction: column; gap: 24px; max-width: 760px; padding: 28px 32px; }
.detail-header { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 16px; }
.detail-heading { flex: 1; min-width: 160px; }
.detail-heading .eyebrow { margin-bottom: 6px; }
.detail-heading h2 { font-size: 28px; overflow-wrap: anywhere; }
.detail-identifier { margin: 6px 0 0; }
.workspace-members h3 { margin: 0 0 10px; font-family: Archivo, Inter, sans-serif; font-size: 16px; }
.seat-overview { margin-bottom: 16px; }
.seat-total { margin: 0; font-size: 13px; }
.seat-total strong { font-size: 18px; font-weight: 600; }
.seat-total .muted { margin-left: 4px; font-size: 12px; }
.seat-note { margin: 3px 0 0; font-size: 11.5px; }
.seat-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.seat-count { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); text-align: left; }
.seat-count span { color: var(--muted-foreground); font-size: 11.5px; overflow-wrap: anywhere; }
.seat-count strong { font-size: 23px; line-height: 1; font-weight: 500; }
.seat-count:hover { background: var(--muted); }
.seat-count[aria-pressed="true"] { border-color: hsl(39.75 35% 45%); background: hsl(39.75 20% 12%); }
.users-card { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.users-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px; }
.users-toolbar .search-field { flex: 1; min-width: 0; }
.users-toolbar .filter-chip { flex: none; height: 28px; }
.filter-chip[aria-pressed="true"] { color: var(--foreground); border-color: var(--input); background: var(--muted); }
.deactivated-toggle { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 0 12px 12px; color: var(--muted-foreground); font-size: 11.5px; font-weight: 400; cursor: pointer; }
.deactivated-toggle input { width: 13px; height: 13px; margin: 0; accent-color: hsl(39.75 35% 55%); }
.users-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.users-table th { padding: 7px 14px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 11px; font-weight: 500; background: var(--muted); }
.users-table th:last-child { width: 116px; }
.users-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; overflow-wrap: anywhere; }
.seat-user-name { font-weight: 500; }
.seat-user-email { display: block; color: var(--muted-foreground); font-size: 11.5px; margin-top: 2px; }
.seat-badge { display: inline-block; padding: 2px 7px; border: 1px solid var(--border); border-radius: 5px; color: var(--foreground); font-size: 11px; }
.inactive-badge { color: var(--muted-foreground); font-size: 10px; margin-left: 5px; }
.users-empty { margin: 0; padding: 24px 14px; text-align: center; }
.users-footnote { margin: 0; padding: 9px 14px; font-size: 11px; }
.members-feedback { padding: 20px 0; }
.members-feedback[data-error="true"] { color: #fecaca; }
.properties-card { margin: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--border); }
.property-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; min-height: 44px; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.property-row:last-child { border-bottom: 0; }
.property-row dt { color: var(--muted-foreground); }
.property-row dd { margin: 0; }
.property-type { min-height: 72px; }
.type-control { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--muted); }
.type-control button { height: 26px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted-foreground); font-size: 12px; font-weight: 500; }
.type-control button:hover:not(:disabled) { color: var(--foreground); }
.type-control button[aria-pressed="true"] { background: var(--background); color: var(--foreground); box-shadow: 0 0 0 1px var(--border); }
.property-help, .type-feedback { margin: 6px 0 0; color: var(--muted-foreground); font-size: 11.5px; }
.type-feedback[data-error="true"] { color: #fecaca; }
.detail-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; height: 100%; padding: 32px; text-align: center; }
.detail-empty > svg { width: 32px; height: 32px; margin-bottom: 20px; color: var(--muted-foreground); }
.detail-empty p { margin: 8px 0 0; }
.mobile-back { display: none !important; }

label { display: block; font-weight: 500; }
input { width: 100%; height: 32px; padding: 0 10px; border: 1px solid var(--input); border-radius: 8px; background: transparent; color: var(--foreground); }
input::placeholder { color: hsl(220 3% 45%); }
input[aria-invalid="true"] { border-color: #dc7070; }
.button, .login-card button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.button svg { width: 16px; height: 16px; flex: none; }
.button-primary, .login-card button[type="submit"] { border-color: transparent; background: hsl(0 0% 96%); color: #0a0a0a; font-weight: 600; }
.button-primary:hover:not(:disabled), .login-card button[type="submit"]:hover { background: hsl(0 0% 84%); }
.button-secondary { border-color: var(--border); background: transparent; color: var(--foreground); }
.button-secondary:hover { background: var(--muted); }

.workspace-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 0; border: 0; border-radius: 12px; background: var(--popover); color: var(--foreground); box-shadow: 0 0 0 1px var(--border), 0 24px 64px #0009; }
.workspace-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 4px; }
.dialog-header p { margin: 4px 0 0; }
.dialog-close { display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 6px; border: 0; border-radius: 6px; background: transparent; color: var(--muted-foreground); }
.dialog-close:hover { background: var(--muted); color: var(--foreground); }
.dialog-close svg { width: 16px; height: 16px; }
.dialog-body { display: flex; flex-direction: column; gap: 16px; padding: 16px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.identifier-preview { display: flex; align-items: baseline; gap: 8px; margin: -8px 0 0; font-size: 12px; }
.identifier-preview .mono { font-size: 12px; }
.form-error { margin: -8px 0 0; font-size: 12px; color: #fecaca; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--card); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 8px; min-height: 36px; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 8px; background: hsl(0 0% 96%); color: #0a0a0a; font-weight: 500; box-shadow: 0 12px 32px #0008; }
.toast svg { flex: none; width: 15px; height: 15px; }
.toast[data-error="true"] svg { display: none; }
.alert { padding: 10px 12px; border: 1px solid; border-radius: 8px; }
.alert-error { border-color: hsl(0 40% 30%); color: #fecaca; background: hsl(0 40% 13%); }
.alert-error a { color: inherit; }
.alert-error ul { margin: 0; padding-left: 18px; }

.login-screen { min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.login-card { width: min(400px, 100%); padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.login-logo { display: block; width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 50%; object-fit: cover; }
.login-card h1 { text-align: center; }
.login-description { margin: 8px 0 24px; color: var(--muted-foreground); text-align: center; }
.login-card .alert { margin-bottom: 16px; }
.login-card label { margin-top: 18px; }
.login-card input { height: 40px; margin-top: 6px; }
.login-card button[type="submit"] { width: 100%; min-height: 40px; margin-top: 24px; }

@media (max-width: 1000px) {
    .workspace-browser { grid-template-columns: 280px minmax(0, 1fr); }
    .workspace-detail { padding: 24px; }
    .property-row { grid-template-columns: 120px minmax(0, 1fr); }
    .seat-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .page-header { padding: 18px 20px 14px; flex-wrap: wrap; }
    .workspace-browser { grid-template-columns: minmax(0, 1fr); }
    .workspace-list-pane { border-right: 0; }
    .workspace-detail-pane { display: none; }
    .workspace-browser[data-mobile-detail="true"] .workspace-list-pane { display: none; }
    .workspace-browser[data-mobile-detail="true"] .workspace-detail-pane { display: block; }
    .mobile-back { display: inline-flex !important; margin: 20px 20px 0; }
    .workspace-detail { padding: 24px 20px; }
}
@media (max-width: 420px) {
    .page-header { padding: 16px; gap: 12px; }
    .detail-heading h2 { font-size: 24px; }
    .workspace-detail { padding: 20px 16px; }
    .property-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
}

/* Contract terms and billing reconciliation. */
.contract-section { min-width: 0; }
.contract-heading, .contract-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.contract-heading { justify-content: space-between; margin-bottom: 14px; }
.contract-heading h3 { margin: 0; font-family: Archivo, Inter, sans-serif; font-size: 16px; }
.contract-actions .button { min-height: 28px; padding: 0 10px; font-size: 12px; }
.contract-empty { padding: 16px; border: 1px dashed var(--border); border-radius: 10px; }
.contract-empty p { margin: 0; }
.contract-empty p + p { margin-top: 6px; }
.contract-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.contract-summary > div { display: flex; flex-direction: column; gap: 4px; }
.contract-summary strong { font-size: 28px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.contract-summary .muted { font-size: 11.5px; }
.contract-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 9px; }
.contract-table { width: 100%; border-collapse: collapse; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.contract-table th, .contract-table td { padding: 10px; border-bottom: 1px solid var(--border); }
.contract-table thead { color: var(--muted-foreground); background: var(--muted); font-size: 11px; }
.contract-table th { font-weight: 500; }
.contract-table th:first-child { text-align: left; }
.contract-table tr:last-child > * { border-bottom: 0; }
.contract-table .contract-overage { background: hsl(35 45% 12%); }
.contract-overage [data-contract-over] { color: hsl(39 80% 70%); font-weight: 600; }
.contract-note { margin: 8px 0; font-size: 11.5px; }
.contract-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.contract-feedback { padding: 10px 12px; border-radius: 8px; background: var(--muted); }
.contract-feedback[data-error="true"], [data-form-errors] { color: #fecaca; }
.contract-details { border-bottom: 1px solid var(--border); padding: 12px 0; }
.contract-details > summary { cursor: pointer; font-weight: 500; }
.contract-details > summary .muted { margin-left: 8px; font-size: 11px; font-weight: 400; }
.contract-details > p { font-size: 12px; }
.billing-entry { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; }
.billing-voided { color: var(--muted-foreground); border-style: dashed; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contract-upload { display: grid; gap: 8px; margin: 14px 0 4px; }
.contract-upload input { height: auto; padding: 8px; margin-top: 8px; }
.contract-upload .button { justify-self: start; }
.contract-upload > .muted { font-size: 11px; }
.contract-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.contract-dialog .dialog-body { display: grid; gap: 14px; padding: 20px 24px; }
.contract-dialog label { font-size: 12px; }
.contract-dialog label > input, .contract-dialog label > textarea { display: block; margin-top: 6px; }
.contract-dialog input, .contract-dialog textarea { background: var(--background); }
.contract-dialog input[readonly] { color: var(--muted-foreground); }
.contract-dialog textarea { width: 100%; resize: vertical; padding: 8px 10px; border: 1px solid var(--input); border-radius: 8px; color: var(--foreground); font: inherit; }
.contract-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contract-inputs { table-layout: fixed; }
.contract-inputs th:first-child { width: 28%; }
.contract-inputs input { min-width: 0; text-align: right; }
.contract-dialog .contract-note { margin: -6px 0 0; }
.contract-calculated { display: flex; justify-content: space-between; margin: 0; padding: 12px; border-radius: 8px; background: var(--muted); }
.contract-calculated strong { font-size: 18px; }
.contract-term-picker { color: var(--muted-foreground); font-size: 11px; }
.contract-term-picker select { display: block; width: 100%; margin-top: 6px; padding: 8px; border: 1px solid var(--input); border-radius: 8px; color: var(--foreground); background: var(--card); font: inherit; font-size: 12px; }
.seat-history-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; font-size: 11px; }
.seat-history-toolbar label { display: flex; align-items: center; gap: 8px; }
.seat-history-toolbar select { padding: 6px 8px; border: 1px solid var(--input); border-radius: 6px; color: var(--foreground); background: var(--card); font: inherit; }
.seat-history-table { min-width: 510px; }
.seat-history-table th, .seat-history-table td { padding: 9px 10px; vertical-align: top; }
.seat-history-table th:first-child { white-space: nowrap; }
.seat-history-table thead th { white-space: nowrap; }
.seat-history-table .seat-history-current { background: var(--muted); }
.seat-history-note { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; white-space: nowrap; }
.seat-history-growth { color: hsl(39 80% 70%); font-weight: 500; }
.seat-history-help { margin-top: 10px; color: var(--muted-foreground); font-size: 11.5px; }
.seat-history-help > summary { cursor: pointer; }
.seat-history-help p { margin: 8px 0 0; }
@media (max-width: 520px) {
    .contract-summary { grid-template-columns: 1fr; gap: 12px; }
    .contract-heading { align-items: flex-start; }
    .contract-dialog .dialog-body { padding: 16px; }
    .contract-inputs th, .contract-inputs td { padding: 6px; }
    .contract-table { font-size: 11px; }
    .contract-table th, .contract-table td { padding: 8px 6px; }
    .contract-form-grid { gap: 8px; }
}

/* Routine billing: review calculated additions and record one invoice. */
.billing-review-dialog { width: min(660px, calc(100vw - 32px)); }
.billing-review-dialog .review-help { margin: 0; color: var(--muted-foreground); font-size: 12px; }
.review-lines { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.review-line { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-bottom: 1px solid var(--border); cursor: pointer; }
.review-line:last-child { border-bottom: 0; }
.review-line input { flex: none; width: 15px; height: 15px; margin-top: 3px; accent-color: hsl(39.75 35% 55%); }
.review-line > span { flex: 1; min-width: 0; }
.review-line > strong { flex: none; font-variant-numeric: tabular-nums; }
.review-line-description { display: block; margin-top: 4px; color: var(--muted-foreground); font-size: 11.5px; font-weight: 400; }
.review-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-total strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.billing-review-warning { padding: 12px; border: 1px solid hsl(35 35% 25%); border-radius: 8px; background: hsl(35 45% 12%); font-size: 12px; }
.billing-review-warning p { margin: 6px 0 0; }
.review-footer { align-items: center; flex-wrap: wrap; }
.review-footer > .text-button { margin-right: auto; color: var(--muted-foreground); font-size: 12px; }
.invoice-copy-fallback { font-size: 12px; }
.invoice-copy-fallback textarea { margin-top: 8px; }
