/* Shared BuildingRoster identity for the static workspace and React account pages. */
body[data-br-theme] {
  --br-body: "Aptos", "Segoe UI", Arial, sans-serif;
  --br-heading: "Roboto Slab", Georgia, serif;
  --br-mono: "IBM Plex Mono", ui-monospace, monospace;
  --br-ink: #20251f;
  --br-muted: #687064;
  --br-line: #d8d9d1;
  --br-canvas: #eef0ea;
  --br-panel: #fafaf7;
  --br-sidebar: #20241f;
  --br-nav: #d9e3ea;
  --br-nav-muted: #aec0cf;
  --br-copper: #a85c12;
  --br-copper-hover: #7f440c;
  --br-copper-soft: #fff0d8;
  --br-eyebrow: #d96e10;
  --br-regular: 400;
  --br-medium: 600;
  --br-bold: 700;
  --br-title-size: clamp(1.75rem,3vw,2.125rem);
  --ink: var(--br-ink);
  --muted: var(--br-muted);
  --line: var(--br-line);
  --canvas: var(--br-canvas);
  --navy: var(--br-sidebar);
  --navy-2: var(--br-sidebar);
  --blue: var(--br-copper);
  --blue-soft: var(--br-copper-soft);
  --yellow: var(--br-copper-soft);
  --br-focus: #a85c1240;
  color-scheme: light;
  font-family: var(--br-body);
  font-size: 1rem;
  font-weight: var(--br-regular);
  color: var(--br-ink);
  background-color: var(--br-canvas);
}

body[data-br-theme] :is(.registration-shell,.bid-shell,.bid-dialog) {
  --background: #fff;
  --foreground: var(--br-ink);
  --primary: var(--br-copper);
  --primary-foreground: #fff;
  --accent: var(--br-copper-soft);
  --accent-foreground: var(--br-ink);
  --muted-foreground: var(--br-muted);
  --border: var(--br-line);
  --input: var(--br-line);
  --ring: var(--br-copper);
  --bid-ink: var(--br-ink);
  --bid-muted: var(--br-muted);
  --bid-line: var(--br-line);
  --bid-copper: var(--br-copper);
  font-family: var(--br-body);
  font-size: 1rem;
  font-weight: var(--br-regular);
  color: var(--br-ink);
  color-scheme: light;
}
body[data-br-theme] :is(button,input,select,textarea) { font-family: var(--br-body); }
body[data-br-theme] :is(input,select,textarea) { font-weight: var(--br-regular); }

/* Headings use actual loaded slab fonts, with the same hierarchy on every route. */
body[data-br-theme] :is(h1,h2,h3),
body[data-br-theme] .bid-dialog [data-slot="dialog-title"] {
  font-family: var(--br-heading);
  font-weight: var(--br-bold);
}
body[data-br-theme] :is(.bid-heading,.profile-head,.company-panel,.account-access) h1,
body[data-br-theme] .workspace h1,
body[data-br-theme] #dashboardGreeting,
body[data-br-theme].br-support .topbar h1 {
  color: var(--br-ink);
  font-size: var(--br-title-size);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: var(--br-bold);
}
body[data-br-theme] :is(.bid-empty,.company-panel,.profile-card,.success-card) :is(h2,h3),
body[data-br-theme] .bid-dialog [data-slot="dialog-title"] { color: var(--br-ink); }
body[data-br-theme] :is(.eyebrow,.home-eyebrow,.bid-eyebrow,.bid-role),
body[data-br-theme].br-support :is(.topbar,.dialog-head) > div > p {
  font-family: var(--br-mono);
  font-size: .75rem;
  font-weight: var(--br-bold);
  color: var(--br-eyebrow);
  letter-spacing: .13em;
}
body[data-br-theme] .bid-role { color: var(--br-muted); font-weight: var(--br-medium); }

/* The wordmark, BR mark, and sidebar captions are shared, regardless of account type. */
body[data-br-theme] :is(.brand,.home-brand,.portal-brand,.login-brand,.password-reset-brand) strong,
body[data-br-theme] .bid-brand > span:last-child {
  font-family: var(--br-heading);
  font-size: 1rem;
  font-weight: var(--br-bold);
  letter-spacing: .02em;
}
body[data-br-theme] :is(.home-brand,.portal-brand,.login-brand,.password-reset-brand) strong { color: var(--br-ink); }
body[data-br-theme] :is(.brand-mark,.bid-mark,.home-brand > span,.portal-brand > span,.login-brand > span,.password-reset-brand > span),
body[data-br-theme].br-support .brand > span {
  font-family: var(--br-body);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: var(--br-copper);
}
body[data-br-theme] :is(.brand span,.brand small,.bid-brand small,.bid-company small,.account-card span,.bid-sidebar-bottom small) {
  font-family: var(--br-body);
  font-size: .75rem;
  font-weight: var(--br-regular);
  color: var(--br-nav-muted);
}
body[data-br-theme] :is(.sidebar,.bid-sidebar,.registration-shell) {
  background-color: var(--br-sidebar);
  background-image: linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);
  background-size: 24px 24px;
  border-right-color: var(--br-copper);
}
body[data-br-theme] :is(.sidebar,.bid-sidebar) { color: var(--br-nav); }
body[data-br-theme] .bid-sidebar .bid-brand { color: #fff; }
body[data-br-theme] :is(.nav-item,.bid-sidebar nav a,.sidebar nav > button,.sidebar nav > a) {
  color: var(--br-nav);
  font-size: .875rem;
  font-weight: var(--br-regular);
}
body[data-br-theme] :is(.nav-item.active,.bid-sidebar nav a.active,.sidebar nav > .active) { background: var(--br-copper); color: #fff; }
body[data-br-theme] :is(.nav-item,.bid-sidebar nav a,.sidebar nav > button,.sidebar nav > a):hover { background: #ffffff17; }
body[data-br-theme] :is(.nav-item.active,.bid-sidebar nav a.active,.sidebar nav > .active):hover { background: var(--br-copper-hover); }

body[data-br-theme] :is(.bid-shell,.workspace) { background-color: var(--br-canvas); }
body[data-br-theme] :is(.topbar,.bid-topline) { background: var(--br-panel); border-color: var(--br-line); }
body[data-br-theme] :is(.crumb,.bid-topline) { font-size: 1rem; color: var(--br-muted); }
body[data-br-theme] :is(.crumb,.bid-topline) strong { color: var(--br-ink); font-size: inherit; font-weight: var(--br-bold); }
body[data-br-theme] :is(.profile-card,.success-card,.panel,.stat-card) { background-color: var(--br-panel); border-color: var(--br-line); }
body[data-br-theme] :is(.company-heading,.company-summary,.company-row,.site-head,.registration-progress) { border-color: var(--br-line); }
body[data-br-theme] :is(.company-panel p:not(.eyebrow),.company-row small,.profile-head > div > p:last-child,.account-access > p:not(.eyebrow),.bid-empty p,.bid-table small,.bid-table-footer,.bid-help,.bid-detail-summary,.field-hint,.submit-bar span) { color: var(--br-muted); font-weight: var(--br-regular); }
body[data-br-theme] .bid-heading p:not(.bid-eyebrow) { font-size: 1rem; color: var(--br-muted); }

/* Controls: regular field values, medium labels, bold actions. */
body[data-br-theme] :is(.primary,.home-primary,.company-link,.bid-primary,.submit-bar button,[data-slot="button"][data-variant="default"]) {
  color: #fff;
  background: var(--br-copper);
  border-color: var(--br-copper);
  font-weight: var(--br-bold);
}
body[data-br-theme] :is(.primary,.home-primary,.company-link,.bid-primary,.submit-bar button,[data-slot="button"][data-variant="default"]):hover { background: var(--br-copper-hover); }
body[data-br-theme] :is(.outline,.secondary,.home-secondary,.bid-secondary,.submit-bar .registration-back,[data-slot="button"][data-variant="outline"]) {
  background: #fff;
  color: var(--br-ink);
  border: 1px solid var(--br-line);
  font-weight: var(--br-bold);
}
body[data-br-theme] :is(.outline,.secondary,.home-secondary,.bid-secondary,.submit-bar .registration-back,[data-slot="button"][data-variant="outline"]):hover { background: var(--br-copper-soft); }
body[data-br-theme] :is(.text-action,.text-btn,.portal-login,.bid-text-action,.bid-contact a,.back-link) { color: var(--br-copper); font-weight: var(--br-medium); }
body[data-br-theme] :is(.company-fields label,.picker-field > strong,.bid-form label,.form-grid label) { color: var(--br-muted); font-weight: var(--br-medium); }
body[data-br-theme] :is(.company-fields input,.company-fields select,.company-fields textarea,.bid-form input,.bid-form textarea,.bid-search input) { color: var(--br-ink); border-color: var(--br-line); font-weight: var(--br-regular); }
body[data-br-theme] :is(.company-fields input,.company-fields textarea,.bid-search input)::placeholder { color: var(--br-muted); font-weight: var(--br-regular); }
body[data-br-theme] :is(.bid-search,.bid-icon,.bid-table-wrap,.bid-table th,.bid-table td,.bid-row-action) { border-color: var(--br-line); }
body[data-br-theme] :is(.bid-search input,.bid-mine,.bid-tabs button,.bid-form label) { font-size: .875rem; }
body[data-br-theme] .bid-tabs button[aria-selected="true"] { color: var(--br-copper); border-color: var(--br-copper); font-weight: var(--br-bold); }
body[data-br-theme] .bid-tabs button[aria-selected="true"] span { color: var(--br-copper); background: var(--br-copper-soft); }
body[data-br-theme] :is(.bid-project-name,.bid-table th,.bid-row-action) { color: var(--br-ink); }
body[data-br-theme] .bid-dialog { border-top-color: var(--br-copper)!important; }
body[data-br-theme] :is(.bid-form input,.bid-form textarea,.bid-mine input) { accent-color: var(--br-copper); outline-color: var(--br-copper); }
body[data-br-theme] :is(.text-action,.company-link,.portal-brand,.bid-shell button,.bid-shell a):focus-visible { outline: 2px solid var(--br-copper); outline-offset: 4px; }
body[data-br-theme] .company-panel .submit-error { color: #b42318; }
body[data-br-theme] .company-panel .account-notice { color: #463826; }

body[data-br-theme].br-support :is(.stats article,.panel,.preview,th) { background: var(--br-panel); border-color: var(--br-line); }
body[data-br-theme].br-support :is(.stats span,.panel-head p,.notice p,.company small,.contact small) { color: var(--br-muted); }
body[data-br-theme].br-support :is(.row-action,.stats .email-stat) { color: var(--br-copper); }

/* Login uses the same brand tokens as the workspace and registration screens. */
body[data-br-theme] .auth-dialog {
  font-family: var(--br-body);
  font-size: 1rem;
  font-weight: var(--br-regular);
  color: var(--br-ink);
}
body[data-br-theme] .auth-dialog::backdrop { background: var(--br-sidebar); }
body[data-br-theme] .auth-dialog[open] {
  padding: 24px 16px;
  align-items: safe center;
  background-color: var(--br-sidebar);
  background-image: linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);
  background-size: 24px 24px;
}
body[data-br-theme] .auth-dialog[open]::before { content: none; }
body[data-br-theme] .login-card {
  width: min(480px,100%);
  color: var(--br-ink);
  background: var(--br-panel);
  border-top-color: var(--br-copper);
  box-shadow: 8px 8px 0 #a85c1238,0 24px 60px #00000038;
}
body[data-br-theme] .login-heading h2 {
  color: var(--br-ink);
  font-size: var(--br-title-size);
  font-weight: var(--br-bold);
  line-height: 1.12;
  letter-spacing: -.025em;
}
body[data-br-theme] .login-heading p {
  font-family: var(--br-mono);
  font-size: .75rem;
  font-weight: var(--br-bold);
  color: var(--br-eyebrow);
  letter-spacing: .13em;
}
body[data-br-theme] .login-card > label {
  color: var(--br-muted);
  font-size: .875rem;
  font-weight: var(--br-medium);
}
body[data-br-theme] .login-card input {
  color: var(--br-ink);
  font-weight: var(--br-regular);
  accent-color: var(--br-copper);
}
body[data-br-theme] .login-card input::placeholder { color: var(--br-muted); opacity: 1; font-weight: var(--br-regular); }
body[data-br-theme] :is(.login-card > label > input,.login-card .password-field) { border-color: var(--br-line)!important; }
body[data-br-theme] :is(.login-card > label > input:focus,.login-card .password-field:focus-within) {
  border-color: var(--br-copper)!important;
  outline: 2px solid #a85c1240;
  outline-offset: 1px;
}
body[data-br-theme] :is(.auth-submit,.create-account-btn) { font-size: 1rem; font-weight: var(--br-bold); }
body[data-br-theme] .auth-submit { color: #fff; background: var(--br-copper); border-color: var(--br-copper); }
body[data-br-theme] .auth-submit:hover { background: var(--br-copper-hover); border-color: var(--br-copper-hover); }
body[data-br-theme] .create-account-btn { color: var(--br-ink); background: #fff; border: 1px solid var(--br-line); }
body[data-br-theme] .create-account-btn:hover { color: var(--br-ink); background: var(--br-copper-soft); }
body[data-br-theme] :is(.auth-options label,.auth-switch) { color: var(--br-muted); font-size: .875rem; font-weight: var(--br-regular); }
body[data-br-theme] :is(.auth-options button,.auth-switch a,.auth-recovery,.login-card .password-field button) {
  color: var(--br-copper);
  font-size: .875rem;
  font-weight: var(--br-medium);
}
body[data-br-theme] .login-card .password-field button { background: var(--br-copper-soft); }
body[data-br-theme] :is(.auth-options button,.auth-switch a,.auth-recovery):hover { color: var(--br-copper-hover); }
body[data-br-theme] .auth-demo-note { color: var(--br-muted); background: transparent; font-size: .75rem; font-weight: var(--br-regular); }
body[data-br-theme] .auth-close { color: var(--br-muted); font-weight: var(--br-regular); }
body[data-br-theme] .login-card :is(button,a):focus-visible { outline: 2px solid var(--br-copper); outline-offset: 3px; }
@media(max-width:560px) {
  body[data-br-theme] { --br-title-size: 1.6875rem; }
  body[data-br-theme] .bid-heading { flex-wrap: wrap; }
}

/* Project navigation and selected states share the sidebar's copper accent. */
body[data-br-theme] .project-tabs { background: var(--br-sidebar); border-color: var(--br-line); }
body[data-br-theme] .project-tabs button { color: var(--br-nav); }
body[data-br-theme] .project-tabs button:hover { color: #fff; background: #ffffff17; }
body[data-br-theme] .project-tabs button.active { color: #fff; background: var(--br-copper); }
body[data-br-theme] .project-tabs button.active:hover { background: var(--br-copper-hover); }
body[data-br-theme] .project-tabs button span { color: inherit; background: #ffffff20; }
body[data-br-theme] :is(.project-icon,.snapshot-label,.comparison-trades-head strong,.lc-heading-icon) { color: var(--br-copper); }
body[data-br-theme] .job-snapshot { border-top-color: var(--br-copper); }
body[data-br-theme] :is(.snapshot-context,.comparison-trades,.sheet-trade-nav) { background: var(--br-canvas); }
body[data-br-theme] :is(.job-brief p,.detail-list span,.milestone-track span) { color: var(--br-muted); }
body[data-br-theme] .detail-list strong { color: var(--br-ink); }
body[data-br-theme] .detail-list button { color: var(--br-copper); }
body[data-br-theme] :is(.comparison-trades > button.active,.sheet-trade-nav button.active) {
  color: var(--br-copper-hover);
  background: var(--br-copper-soft);
  box-shadow: inset 3px 0 var(--br-copper);
}
body[data-br-theme] :is(.comparison-trades > button > b,.client-mark) { color: var(--br-copper); background: var(--br-copper-soft); }
body[data-br-theme] .milestone-track .current i { border-color: var(--br-copper); background: var(--br-copper); box-shadow: 0 0 0 4px var(--br-copper-soft); }
body[data-br-theme] .sheet-set-summary { border-color: var(--br-line); border-left-color: var(--br-copper); background: var(--br-panel); }
body[data-br-theme] .sheet-trade-nav button { color: var(--br-ink); }

/* Shared surfaces, menus, and focus cues, without changing status indicators. */
body[data-br-theme] :is(th,.bid-table th,.trade-list section h3) { color: var(--br-muted); background: var(--br-panel); }
body[data-br-theme] :is(.quick-rule,.field-work-question,.account-notice) { color: var(--br-ink); background: var(--br-copper-soft); }
body[data-br-theme] :is(.stat-icon.blue,.stat-icon.amber) { color: var(--br-copper); background: var(--br-copper-soft); }
body[data-br-theme] :is(.contractor-row-menu button,.project-file-menu button,.sheet-trade-nav button,.sheet-open,.recipient-option,.trade-option):hover,
body[data-br-theme] :is(.queue-item.active,.thread.active,.project-file-row.is-selected) {
  background: var(--br-copper-soft);
}
body[data-br-theme] :is(.document-folders button,.trade-message-grid > button,.queue-item):hover { background: var(--br-copper-soft); border-color: var(--br-copper); }
body[data-br-theme] :is(.contractor-row-menu button:focus-visible,.address-suggestions button:hover,.address-suggestions button:focus-visible) { color: var(--br-ink); background: var(--br-copper-soft); }
body[data-br-theme] .trade-filter button.active { color: var(--br-copper); border-color: var(--br-copper); background: var(--br-copper-soft); }
body[data-br-theme] :is(.primary,.home-primary) { box-shadow: 0 5px 14px #a85c121c; }
body[data-br-theme] :is(input[type="checkbox"],input[type="radio"]) { accent-color: var(--br-copper); }
body[data-br-theme] :is(.search-box,.trade-search,.password-input):focus-within {
  border-color: var(--br-copper);
  box-shadow: 0 0 0 3px var(--br-focus);
}
body[data-br-theme] :is(.scope-status-select,.rich-editor,.company-fields input,.company-fields select,.company-grid input,.company-grid select):focus {
  border-color: var(--br-copper);
  outline-color: var(--br-copper);
  box-shadow: 0 0 0 2px var(--br-focus);
}
body[data-br-theme] :is(button,a,input,select,textarea):focus-visible { outline-color: var(--br-copper); }

/* Account forms, recovery, and company profiles. */
body[data-br-theme] :is(.profile-card,.success-card,.reset-card) { box-shadow: 0 18px 50px #20241f14; }
body[data-br-theme] :is(.form-section,.add-sub-layout,.submit-bar,.company-type-option,.trade-search,.trade-list,.union-list,.password-input) { border-color: var(--br-line); }
body[data-br-theme] :is(.profile-head > span,.password-input button) { color: var(--br-copper-hover); background: var(--br-copper-soft); }
body[data-br-theme] :is(.section-title > b,.selected-trades span) { color: #fff; background: var(--br-copper); }
body[data-br-theme] :is(.section-title h2,.reset-card h1,.submit-bar strong,.coverage-head strong) { color: var(--br-ink); }
body[data-br-theme] :is(.section-title p,.success-card p:not(.eyebrow),.reset-card > p:not(.eyebrow),.map-panel p,.coverage-summary span,.site-head small) { color: var(--br-muted); }
body[data-br-theme] :is(.trade-search button,.county-actions button,.coverage-head button,.coverage-summary strong,.registration-progress [aria-current="step"]) { color: var(--br-copper); }
body[data-br-theme] .company-type-option:is(:hover,.selected) { border-color: var(--br-copper); background: var(--br-copper-soft); }
body[data-br-theme] .reset-card { background: var(--br-panel); border-top-color: var(--br-copper); }
body[data-br-theme] :is(.reset-primary,.success-card a) { color: #fff; background: var(--br-copper); border-color: var(--br-copper); font-weight: var(--br-bold); }
body[data-br-theme] :is(.reset-primary,.success-card a):hover { color: #fff; background: var(--br-copper-hover); border-color: var(--br-copper-hover); }
body[data-br-theme] :is(.password-reset-window,.password-reset-window button[type="submit"]) { border-color: var(--br-copper); }
body[data-br-theme] .password-reset-window button[type="submit"]:hover { background: var(--br-copper-hover); }
body[data-br-theme] :is(.company-grid label,.reset-card label) { color: var(--br-muted); }
body[data-br-theme] :is(.company-grid input,.company-grid select,.reset-card label > input) { color: var(--br-ink); border-color: var(--br-line); }
body[data-br-theme] .was-submitted :is(.company-fields,.company-grid) :is(input,select):invalid { border-color: #d92d20; }

/* Coverage selections use the same copper in native and workspace forms. */
body[data-br-theme] :is(.coverage-picker,.map-panel,.coverage-picker .map-panel) { background: var(--br-canvas); border-color: var(--br-line); }
body[data-br-theme] :is(.county-layout,.coverage-head,.coverage-description,.coverage-summary,.county-list,.map-state-selector select) { border-color: var(--br-line); }
body[data-br-theme] :is(.us-map,.state-county-map,.coverage-picker .map-panel svg) path { fill: var(--br-line); stroke: var(--br-panel); }
body[data-br-theme] :is(.us-map,.state-county-map,.coverage-picker .map-panel svg) path:is(:hover,:focus) { fill: var(--br-copper-soft); stroke: var(--br-copper); }
body[data-br-theme] :is(.us-map,.state-county-map,.coverage-picker .map-panel svg) path:is(.selected,.selected-state) { fill: var(--br-copper); stroke: var(--br-panel); }
body[data-br-theme] :is(.us-map,.state-county-map,.coverage-picker .map-panel svg) path:is(.selected,.selected-state):is(:hover,:focus) { fill: var(--br-copper-hover); }
body[data-br-theme] :is(.county-list,.gc-county-list) button { color: var(--br-ink); background: var(--br-panel); border-color: var(--br-line); }
body[data-br-theme] :is(.county-list,.gc-county-list) button:is(:hover,:focus-visible,.map-hover) { color: var(--br-copper-hover); background: var(--br-copper-soft); border-color: var(--br-copper); box-shadow: none; }
body[data-br-theme] :is(.county-list,.gc-county-list) button.selected,
body[data-br-theme] .service-legend i { color: #fff; background: var(--br-copper); border-color: var(--br-copper); }
body[data-br-theme] :is(.county-list,.gc-county-list) button.selected:hover { background: var(--br-copper-hover); }

/* The public product preview mirrors the actual workspace palette. */
body[data-br-theme] .product-window { border-color: var(--br-line); box-shadow: 12px 16px 0 #20241f1c; }
body[data-br-theme] :is(.window-bar,.window-body > aside,.workflow-section,.workflow-steps article) { background: var(--br-sidebar); }
body[data-br-theme] .window-bar .mini-brand { color: #fff; background: var(--br-copper); }
body[data-br-theme] .workflow-steps { background: #ffffff26; }
body[data-br-theme] .workflow-steps article > b { color: #fff; background: var(--br-copper); border-color: var(--br-copper); }
body[data-br-theme] :is(.role-card.gc-card,.role-card.sub-card,.home-cta) { background: var(--br-panel); border-color: var(--br-line); }

/* Embedded review tools inherit branding while retaining decision/status colors. */
body[data-br-theme] .bid-check {
  --bc-bg: var(--br-canvas);
  --bc-paper: var(--br-panel);
  --bc-text: var(--br-ink);
  --bc-muted: var(--br-muted);
  --bc-line: var(--br-line);
  --bc-soft: var(--br-canvas);
  --bc-accent: var(--br-copper);
  --bc-tint: var(--br-copper-soft);
  font-family: var(--br-body);
}
body[data-br-theme] .bid-check :is(h1,h2,h3,.bc-brand,.bc-sourcebody strong) { font-family: var(--br-heading); }
body[data-br-theme] .bid-check .bc-chrome { background: var(--br-sidebar); border-color: var(--br-copper); }
body[data-br-theme] .bid-check .bc-logo { background: var(--br-copper); }
body[data-br-theme] .bid-check :is(.bc-button.bc-primary,.bc-notify .bc-button) { color: #fff; }
body[data-br-theme] .bid-check :is(.bc-button.bc-primary,.bc-notify .bc-button):hover { background: var(--br-copper-hover); border-color: var(--br-copper-hover); }
body[data-br-theme] :is(.lc-card,.lc-dialog,.lc-dialog-head,.lc-dialog-footer) { color: var(--br-ink); background: var(--br-panel); border-color: var(--br-line); }
body[data-br-theme] .lc-note { background: var(--br-copper-soft); border-color: var(--br-copper); }
body[data-br-theme] :is(.lc-banner,.lc-evidence) { background: var(--br-canvas); border-color: var(--br-line); }
body[data-br-theme] .lc-source { color: var(--br-copper); }

/* Support uses the same interface colors as the customer workspaces. */
body[data-br-theme].br-support :is(.owner-card > span,.trade-command button,.chosen-trades span) { color: #fff; background: var(--br-copper); }
body[data-br-theme].br-support :is(.notice,.company i) { color: var(--br-copper); background: var(--br-copper-soft); border-color: var(--br-line); }
body[data-br-theme].br-support :is(.search,td,.form-grid input,.form-grid select,.form-grid textarea) { border-color: var(--br-line); }
body[data-br-theme].br-support :is(.form-grid input,.form-grid select,.form-grid textarea) { color: var(--br-ink); }
body[data-br-theme].br-support .preview p { color: var(--br-muted); }
body[data-br-theme].br-support .toast { background: var(--br-sidebar); }
body[data-br-theme] :is(.toast,.project-code,.company-mark) { color: #fff; background: var(--br-sidebar); }
body[data-br-theme] :is(.settings-step,.office-label,.home-login) { color: #fff; background: var(--br-copper); }
body[data-br-theme] .settings-grid > aside button.active { color: var(--br-copper-hover); background: var(--br-copper-soft); box-shadow: inset 4px 0 var(--br-copper); }
body[data-br-theme] :is(.review-body,.chat-body,.recipient-tools,.recipient-footer,.related-section,.service-map-card,.project-file-head,.trade-bidder-summary article,.trade-bidder-list-section > div:first-child,.smart-views-heading,.ma-map-shell) { background: var(--br-panel); }
body[data-br-theme] :is(.map-note,.roster-context,.decision-block,.trade-context,.ai-safety-note,.drawing-upload-progress) { color: var(--br-ink); background: var(--br-copper-soft); border-color: var(--br-line); }
body[data-br-theme] :is(.trade-context strong,.composer-scope strong,.comparison-table tbody td,.comparison-table .money-row td,.overview-section-title span) { color: var(--br-ink); }
body[data-br-theme] .bubble.outgoing { color: #fff; background: var(--br-copper); }
body[data-br-theme] .bubble.outgoing span { color: #fff; }
body[data-br-theme] :is(.recipient-trigger,.recipient-picker,.address-suggestions,.client-summary,.detail-list > div,.service-map-card) { border-color: var(--br-line); }
body[data-br-theme] :is(.client-summary,.comparison-table th:first-child) { background: var(--br-panel); }
body[data-br-theme] :is(.deadline-row,.package-lane,.dashboard-link):hover,
body[data-br-theme] :is(.attention-item.dashboard-link,.activity-feed > .dashboard-link):hover { background: var(--br-copper-soft); border-color: var(--br-copper); }
body[data-br-theme] :is(.update-profile-btn,.proposal-drop.dragover) { color: var(--br-copper); background: var(--br-copper-soft); border-color: var(--br-copper); }
body[data-br-theme] .project-file-menu button:focus-visible { background: var(--br-copper-soft); }
body[data-br-theme] .drawing-upload-progress progress { accent-color: var(--br-copper); }
body[data-br-theme] .signed-out-home { color: var(--br-ink); background: var(--br-canvas); }
body[data-br-theme] :is(.home-nav,.preview-card,.preview-stats div,.preview-card header,.role-card ul) { border-color: var(--br-line); }
body[data-br-theme] :is(.home-signin,.role-icon,.home-nav nav a) { color: var(--br-ink); }
body[data-br-theme] :is(.preview-head small,.preview-head button,.preview-launch,.role-card button) { color: var(--br-copper); }
body[data-br-theme] .preview-content { background: var(--br-canvas); }
body[data-br-theme] .window-body > aside b.selected { color: #fff; background: var(--br-copper); }
body[data-br-theme] :is(.window-bar > span,.home-eyebrow.light,.workflow-steps p) { color: var(--br-nav); }
body[data-br-theme].br-profile {
  background-color: var(--br-sidebar);
  background-image: linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);
  background-size: 24px 24px;
}
