/* Babylon Screening CRM 1.11.0. No theme containers, no unscoped site overrides. */
body.bsgp-workspace-page {
  --ws-bg:#f4f2ed; --ws-panel:#faf8f3; --ws-panel-raised:#eeeae2; --ws-field:#fffdf8; --ws-line:#d6d1c7; --ws-text:#171715; --ws-muted:#55514a; --ws-accent:#171715; --ws-teal:#476247;
  margin:0!important; padding:0!important; background:var(--ws-bg)!important; color:var(--ws-text)!important;
  min-height:100vh; min-height:100dvh; font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  color-scheme:light;
}
html:has(>body.bsgp-workspace-page) { margin:0!important; padding:0!important; background:#faf8f3!important; scroll-padding-top:110px; }
body.bsgp-workspace-page #bsgp-workspace { width:100%; max-width:none; min-height:100dvh; margin:0; padding:0; outline:none; }
.bsgp-workspace-page .bsgp-crm, .bsgp-workspace-page .bsgp-crm-auth {
  box-sizing:border-box; width:100%!important; max-width:none!important; margin:0!important;
  padding:24px clamp(16px,3vw,56px) 54px!important; min-height:100dvh; background:transparent!important;
  color:var(--ws-text)!important; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
.bsgp-workspace-page .bsgp-ux-crm { padding-top:0!important; --bsgp-toolbar-height:85px; }
.bsgp-workspace-page .bsgp-crm *, .bsgp-workspace-page .bsgp-crm *::before, .bsgp-workspace-page .bsgp-crm *::after { box-sizing:border-box; }
.bsgp-workspace-page [hidden] { display:none!important; }
.bsgp-workspace-page .bsgp-crm :is(h1,h2,h3,h4,p,label,button,input,select,textarea,a,summary,small,strong,span,td,th) { font-family:inherit!important; }
.bsgp-workspace-page .bsgp-crm :is(h1,h2,h3,h4) { color:var(--ws-text)!important; font-weight:650; letter-spacing:-.025em; }
.bsgp-workspace-page .bsgp-crm :is(p,dd) { color:var(--ws-text)!important; }
.bsgp-workspace-page .bsgp-crm a { color:var(--ws-accent)!important; }
.bsgp-workspace-page .bsgp-crm button { cursor:pointer; text-transform:none; letter-spacing:0; }
.bsgp-workspace-page .bsgp-crm :is(button,a,input,textarea,select,summary):focus-visible { outline:3px solid var(--ws-accent)!important; outline-offset:4px; }
.bsgp-workspace-page .bsgp-crm :is(button,input):disabled { opacity:.48; cursor:not-allowed; }
.bsgp-workspace-page .bsgp-crm .bsgp-muted,.bsgp-workspace-page .bsgp-crm small { color:var(--ws-muted)!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-btn {
  border:1px solid var(--ws-line)!important; border-radius:11px; min-height:44px; padding:11px 16px;
  background:var(--ws-panel-raised)!important; color:var(--ws-text)!important; box-shadow:none; font-size:13px; font-weight:650;
  line-height:1.35; text-decoration:none; transition:background .15s,border-color .15s; white-space:normal;
}
.bsgp-workspace-page .bsgp-crm .bsgp-btn:hover { background:#faf8f3!important; border-color:#d5d0c6!important; transform:none; }
.bsgp-workspace-page .bsgp-crm .bsgp-btn.primary { background:#faf8f3!important; border-color:#d5d0c6!important; color:#171715!important; box-shadow:0 3px 14px #312b2112; }
.bsgp-workspace-page .bsgp-crm .bsgp-btn.primary:hover { background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-btn.ghost { background:transparent!important; color:var(--ws-text)!important; border-color:var(--ws-line)!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-btn.warning { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-workspace-toolbar {
  position:sticky; top:0; z-index:60; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:18px 0; margin:0 0 24px; background:#faf8f3!important; border-bottom:1px solid #d5d0c6!important;
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); min-width:0;
}
.bsgp-workspace-page .bsgp-workspace-navigation { display:flex; align-items:center; gap:14px; flex:0 0 auto; }
.bsgp-workspace-page .bsgp-workspace-wordmark { display:flex; flex-direction:column; gap:0; }
.bsgp-workspace-page .bsgp-workspace-wordmark strong { font-size:16px; letter-spacing:.16em; font-weight:750; color:#171715!important; line-height:1.45; }
.bsgp-workspace-page .bsgp-workspace-wordmark span { font-size:9px; font-weight:600; letter-spacing:.19em; color:#171715!important; }
.bsgp-workspace-page .bsgp-workspace-icon {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px;
  min-width:44px; min-height:44px; padding:0!important; margin:0!important; background:#faf8f3!important; border:1px solid #d5d0c6!important;
  border-radius:11px; color:#171715!important; text-decoration:none; box-shadow:none; line-height:1;
}
.bsgp-workspace-page .bsgp-workspace-icon:hover { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-workspace-back { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-workspace-icon.bsgp-case-delete-trigger { color:#171715!important; background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-workspace-icon.bsgp-case-delete-trigger:hover { color:#171715!important; background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm-toolbar-actions { display:flex!important; align-items:center; justify-content:flex-end; flex-wrap:nowrap!important; gap:14px!important; min-width:0; }
.bsgp-workspace-page .bsgp-workspace-utilities { display:flex; gap:7px; flex:0 0 auto; }
.bsgp-workspace-page .bsgp-dossier-mail-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; min-width:0; flex:0 1 462px; width:auto; }
.bsgp-workspace-page .bsgp-dossier-mail-actions .bsgp-btn { width:100%; font-size:12px; padding:12px 14px; min-height:44px; margin:0; white-space:nowrap; }
.bsgp-workspace-page .bsgp-workspace-top { position:fixed; bottom:calc(22px + env(safe-area-inset-bottom,0px)); right:clamp(16px,3vw,56px); z-index:55; background:#faf8f3!important; box-shadow:0 10px 30px #312b2112; }
.bsgp-workspace-page .bsgp-ux-dossier-header {
  display:flex; align-items:center; justify-content:space-between; gap:28px; padding:30px 32px; margin:0 0 20px;
  border-radius:19px; background:#eeeae2!important; border:1px solid #d5d0c6!important;
  box-shadow:0 16px 42px #312b2112; min-width:0;
}
.bsgp-workspace-page .bsgp-dossier-person { display:flex; align-items:center; gap:23px; min-width:0; }
.bsgp-workspace-page .bsgp-dossier-avatar { display:flex; align-items:center; justify-content:center; width:76px; height:76px; flex:0 0 76px; border-radius:21px; background:#faf8f3!important; border:1px solid #d5d0c6!important; color:#171715!important; font-size:25px; font-weight:600; letter-spacing:.02em; }
.bsgp-workspace-page .bsgp-dossier-identity { min-width:0; }
.bsgp-workspace-page .bsgp-dossier-eyebrow { display:block; color:#171715!important; font-size:10px!important; letter-spacing:.18em; font-weight:700; line-height:1.5; }
.bsgp-workspace-page .bsgp-ux-dossier-header h1 { font-size:clamp(26px,2.3vw,38px); line-height:1.18; margin:7px 0 6px; padding:0; color:#171715!important; font-weight:700; overflow-wrap:anywhere; }
.bsgp-workspace-page .bsgp-dossier-email { color:#171715!important; font-size:14px; text-decoration:none; overflow-wrap:anywhere; }
.bsgp-workspace-page .bsgp-dossier-email:hover { color:#171715!important; text-decoration:underline; }
.bsgp-workspace-page .bsgp-dossier-reference { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:15px; }
.bsgp-workspace-page .bsgp-dossier-reference span { font-size:11px; color:#171715!important; line-height:1.4; }
.bsgp-workspace-page .bsgp-dossier-reference span:first-child { color:#171715!important; padding:4px 9px; border:1px solid #d5d0c6!important; border-radius:6px; background:#faf8f3!important; }
.bsgp-workspace-page .bsgp-header-badges { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; flex:0 1 320px; }
.bsgp-workspace-page .bsgp-crm .bsgp-badge { border:1px solid #d5d0c6!important; padding:7px 11px; min-height:31px; border-radius:8px; line-height:1.35; background:#faf8f3!important; color:#171715!important; font-size:11px; font-weight:650; letter-spacing:0; white-space:nowrap; }
.bsgp-workspace-page .bsgp-crm .bsgp-badge.pay-unpaid,.bsgp-workspace-page .bsgp-crm .bsgp-badge.pay-pending { color:#171715!important; background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-badge.pay-paid { color:#171715!important; background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-badge.pay-failed,.bsgp-workspace-page .bsgp-crm .bsgp-badge.pay-canceled,.bsgp-workspace-page .bsgp-crm .bsgp-badge.pay-expired { color:#171715!important; background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-ux-workflow { padding:26px 28px; margin:0 0 16px; background:var(--ws-panel)!important; border:1px solid var(--ws-line)!important; border-radius:17px; box-shadow:none; }
.bsgp-workspace-page .bsgp-ux-workflow-head { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:0 0 18px; }
.bsgp-workspace-page .bsgp-ux-workflow-head small { color:#171715!important; font-size:10px; letter-spacing:.15em; font-weight:700; }
.bsgp-workspace-page .bsgp-ux-workflow-head h2 { font-size:21px; margin:5px 0 0; padding:0; color:#171715!important; line-height:1.35; }
.bsgp-workspace-page .bsgp-workflow-percentage { display:flex; flex-direction:column; align-items:flex-end; }
.bsgp-workspace-page .bsgp-ux-workflow-head .bsgp-workflow-percentage strong { color:#171715!important; font-size:27px; line-height:1.2; font-weight:650; letter-spacing:-.03em; }
.bsgp-workspace-page .bsgp-workflow-percentage span { font-size:10px; color:#171715!important; }
.bsgp-workspace-page .bsgp-ux-workflow .bsgp-progress { height:5px; border-radius:8px; background:#faf8f3!important; margin:0 0 24px; }
.bsgp-workspace-page .bsgp-ux-workflow .bsgp-progress>span { height:100%; background:#eeeae2!important; border-radius:8px; }
.bsgp-workspace-page .bsgp-ux-workflow-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; }
.bsgp-workspace-page .bsgp-ux-workflow-links .bsgp-workflow-tile { display:flex; flex-direction:column; gap:0; text-align:left; min-width:0; min-height:122px; padding:15px 16px 14px; margin:0; background:#faf8f3!important; border:1px solid #d5d0c6!important; border-radius:12px; color:#171715!important; transition:background .15s,border-color .15s; }
.bsgp-workspace-page .bsgp-ux-workflow-links .bsgp-workflow-tile:hover { background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-ux-workflow-links .bsgp-workflow-tile.is-current { background:#faf8f3!important; border-color:#d5d0c6!important; box-shadow:inset 0 0 0 1px #312b2112; }
.bsgp-workspace-page .bsgp-ux-workflow-links .bsgp-workflow-tile.is-done { border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-top { display:flex; width:100%; align-items:center; justify-content:space-between; margin:0 0 14px; }
.bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-icon { display:flex; align-items:center; margin:0; color:#171715!important; }
.bsgp-workspace-page .bsgp-workflow-tile.is-current .bsgp-tile-icon { color:#171715!important; }
.bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-number { color:#171715!important; font-size:10px; font-variant-numeric:tabular-nums; margin:0; letter-spacing:.05em; }
.bsgp-workspace-page .bsgp-workflow-tile.is-done .bsgp-tile-number { color:#171715!important; }
.bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-number svg { width:17px; height:17px; }
.bsgp-workspace-page .bsgp-workflow-tile>strong { color:#171715!important; font-size:13px; font-weight:650; line-height:1.4; }
.bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-status { display:flex; justify-content:space-between; gap:8px; align-items:baseline; width:100%; color:#171715!important; margin-top:4px; font-size:11px; line-height:1.5; }
.bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-status>span { color:inherit!important; font-size:15px; margin:0; }
.bsgp-workspace-page .bsgp-ux-audit-peek { background:#faf8f3!important; border:1px solid #d5d0c6!important; padding:16px 21px; margin:0 0 16px; border-radius:12px; color:#171715!important; }
.bsgp-workspace-page .bsgp-ux-audit-peek>div strong { color:#171715!important; font-size:12px; font-weight:600; }
.bsgp-workspace-page .bsgp-ux-audit-peek>div>span { color:#171715!important; font-size:11px; }
.bsgp-workspace-page .bsgp-ux-audit-dot { background:#faf8f3!important; box-shadow:0 0 0 5px #312b2112; width:7px; height:7px; }
.bsgp-workspace-page .bsgp-crm .bsgp-ux-section { background:var(--ws-panel)!important; border:1px solid var(--ws-line)!important; border-radius:13px; margin:0 0 12px; box-shadow:none; scroll-margin-top:calc(var(--bsgp-toolbar-height,90px) + 12px); }
.bsgp-workspace-page .bsgp-ux-section>summary { background:transparent!important; color:var(--ws-text)!important; padding:18px 21px; gap:14px; border:0!important; }
.bsgp-workspace-page .bsgp-ux-section>summary::after { color:#171715!important; }
.bsgp-workspace-page .bsgp-ux-section[open]>summary { background:#faf8f3!important; border-bottom:1px solid var(--ws-line)!important; border-radius:12px 12px 0 0; }
.bsgp-workspace-page .bsgp-ux-section-heading small { color:#171715!important; font-size:10px; line-height:1.5; }
.bsgp-workspace-page .bsgp-ux-section-heading strong { color:#171715!important; font-size:14px; line-height:1.5; }
.bsgp-workspace-page .bsgp-ux-section-state { color:#171715!important; background:#faf8f3!important; border:1px solid #d5d0c6!important; border-radius:6px; padding:5px 8px; font-size:10px; }
.bsgp-workspace-page .bsgp-ux-section-body { color:#171715!important; padding:23px; background:transparent!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-card,.bsgp-stats>div,.bsgp-stat,.bsgp-table-card,.bsgp-crm-panel,.bsgp-panel,.bsgp-case-notes,.bsgp-crm-filter,.bsgp-filters,.bsgp-quick-info>div,.bsgp-ux-send-box) { background:var(--ws-panel)!important; color:var(--ws-text)!important; border-color:var(--ws-line)!important; box-shadow:none; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-field>span,.bsgp-field label,.bsgp-checkline,.bsgp-case-notes label,.bsgp-data-list dt,.bsgp-quick-info span) { color:var(--ws-muted)!important; }
.bsgp-workspace-page .bsgp-crm :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select) { background:var(--ws-field)!important; color:var(--ws-text)!important; border:1px solid #d5d0c6!important; box-shadow:none; border-radius:9px; }
.bsgp-workspace-page .bsgp-crm input::placeholder,.bsgp-workspace-page .bsgp-crm textarea::placeholder { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm :is(input,textarea)[readonly] { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm :is(input[type=checkbox],input[type=radio]) { accent-color:#171715; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-ux-subsection,.bsgp-case-note-item,.bsgp-admin-g4s-option,.bsgp-garment-row,.bsgp-review-card) { background:#faf8f3!important; border-color:#d5d0c6!important; color:var(--ws-text)!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-ux-subsection>summary,.bsgp-data-list dd,.bsgp-case-note-item p,.bsgp-case-note-meta strong,.bsgp-quick-info strong,.bsgp-stats strong) { color:var(--ws-text)!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-data-list>div,.bsgp-ux-audit-list>li,.bsgp-ux-compare-row) { border-color:var(--ws-line)!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-ux-audit-list time,.bsgp-ux-audit-list span,.bsgp-case-note-meta time) { color:var(--ws-muted)!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-case-note-count { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-case-notes { max-width:none!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-alert { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-alert.error { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-alert.success { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-alert.warning,.bsgp-workspace-page .bsgp-crm .bsgp-crm-banner.warning { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-ux-success { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm table { background:var(--ws-panel)!important; color:var(--ws-text)!important; border-color:var(--ws-line)!important; }
.bsgp-workspace-page .bsgp-crm table :is(th,td) { background:transparent!important; color:var(--ws-text)!important; border-color:var(--ws-line)!important; }
.bsgp-workspace-page .bsgp-crm table th { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm table tbody tr:hover { background:#faf8f3!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-case-name { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-row-link { color:var(--ws-accent)!important; }
.bsgp-workspace-page .bsgp-receipt-status { margin-top:24px; padding-top:20px; border-top:1px solid var(--ws-line)!important; }
.bsgp-workspace-page .bsgp-receipt-status h3 { margin:0 0 12px; font-size:16px; }
.bsgp-workspace-page .bsgp-receipt-row { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px; padding:10px 0; border-bottom:1px solid var(--ws-line)!important; }
.bsgp-workspace-page .bsgp-receipt-row strong { font-size:12px; color:#171715!important; }
.bsgp-workspace-page .bsgp-receipt-status>small { display:block; margin-top:12px; font-size:11px; }
.bsgp-workspace-page .bsgp-receipt-status form { margin-top:16px; }
/* Overlay dialogs stay above the sticky application bar. Never recolor document/photo pixels. */
.bsgp-workspace-page :is(.bsgp-modal,.bsgp-document-modal,.bsgp-case-notes-modal) { z-index:99990; }
.bsgp-workspace-page :is(.bsgp-case-delete-card,.bsgp-case-notes-modal .bsgp-modal-card,.bsgp-invite-modal .bsgp-modal-card) { background:#faf8f3!important; color:#171715!important; border:1px solid #d5d0c6!important; }
.bsgp-workspace-page .bsgp-case-delete-card :is(h2,p,label) { color:#171715!important; }
.bsgp-workspace-page .bsgp-case-delete-card textarea { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm-auth { display:grid; place-items:center; }
.bsgp-workspace-page .bsgp-auth-card { background:#faf8f3!important; border:1px solid #d5d0c6!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-auth-card :is(h1,h2,label,p,span) { color:#171715!important; }
.bsgp-workspace-page .bsgp-auth-card>img { background:#faf8f3!important; padding:10px; border-radius:10px; }
.bsgp-workspace-page .bsgp-skip-link { position:fixed; top:-100px; left:12px; z-index:2147483647; padding:12px 18px; background:#faf8f3!important; color:#171715!important; border-radius:9px; }
.bsgp-workspace-page .bsgp-skip-link:focus { top:12px; }
@media(min-width:1600px) { .bsgp-workspace-page .bsgp-ux-workflow-links { grid-template-columns:repeat(8,minmax(0,1fr)); } .bsgp-workspace-page .bsgp-ux-workflow-links .bsgp-workflow-tile { min-height:128px; } }
@media(max-width:1080px) {
  .bsgp-workspace-page .bsgp-workspace-toolbar { gap:15px; }
  .bsgp-workspace-page .bsgp-workspace-wordmark { display:none; }
  .bsgp-workspace-page .bsgp-ux-dossier-header { padding:25px; gap:20px; }
  .bsgp-workspace-page .bsgp-dossier-avatar { width:64px; height:64px; flex-basis:64px; border-radius:17px; }
}
@media(max-width:720px) {
  .bsgp-workspace-page .bsgp-crm { padding-left:16px!important; padding-right:16px!important; }
  .bsgp-workspace-page .bsgp-workspace-toolbar { display:grid; grid-template-columns:1fr auto; gap:14px 12px; padding:13px 0; margin-bottom:17px; }
  .bsgp-workspace-page .bsgp-workspace-wordmark { display:flex; }
  .bsgp-workspace-page .bsgp-workspace-wordmark strong { font-size:13px; }
  .bsgp-workspace-page .bsgp-workspace-wordmark span { font-size:8px; }
  .bsgp-workspace-page .bsgp-crm-toolbar-actions { display:contents!important; }
  .bsgp-workspace-page .bsgp-workspace-utilities { grid-column:2; grid-row:1; justify-self:end; gap:6px; }
  .bsgp-workspace-page .bsgp-dossier-mail-actions { grid-column:1/-1; grid-row:2; width:100%; }
  .bsgp-workspace-page .bsgp-dossier-mail-actions .bsgp-btn { white-space:normal; padding:11px 9px; font-size:11px; min-height:46px; line-height:1.4; }
  .bsgp-workspace-page .bsgp-ux-dossier-header { flex-direction:column; align-items:stretch; padding:22px 20px; gap:20px; border-radius:15px; }
  .bsgp-workspace-page .bsgp-dossier-person { align-items:flex-start; gap:15px; }
  .bsgp-workspace-page .bsgp-dossier-avatar { width:48px; height:48px; flex-basis:48px; font-size:18px; border-radius:14px; margin-top:3px; }
  .bsgp-workspace-page .bsgp-ux-dossier-header h1 { font-size:26px; margin-top:6px; }
  .bsgp-workspace-page .bsgp-dossier-email { font-size:12px; }
  .bsgp-workspace-page .bsgp-dossier-eyebrow { font-size:9px!important; }
  .bsgp-workspace-page .bsgp-dossier-reference { gap:8px; margin-top:12px; }
  .bsgp-workspace-page .bsgp-header-badges { justify-content:flex-start; flex-basis:auto; border-top:1px solid #d5d0c6!important; padding-top:16px; }
  .bsgp-workspace-page .bsgp-ux-workflow { padding:21px 17px; border-radius:14px; }
  .bsgp-workspace-page .bsgp-ux-workflow-head h2 { font-size:18px; }
  .bsgp-workspace-page .bsgp-ux-workflow-head .bsgp-workflow-percentage strong { font-size:25px; }
  .bsgp-workspace-page .bsgp-ux-workflow-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .bsgp-workspace-page .bsgp-ux-workflow-links .bsgp-workflow-tile { padding:13px; min-height:124px; }
  .bsgp-workspace-page .bsgp-workflow-tile>strong { font-size:12px; }
  .bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-status { font-size:10px; }
  .bsgp-workspace-page .bsgp-ux-audit-peek { padding:14px; gap:12px; }
  .bsgp-workspace-page .bsgp-ux-audit-peek>div { flex:1; min-width:0; }
  .bsgp-workspace-page .bsgp-ux-audit-peek>div>span { overflow-wrap:anywhere; }
  .bsgp-workspace-page .bsgp-ux-audit-peek .bsgp-btn { flex-basis:100%; margin-left:0; }
  .bsgp-workspace-page .bsgp-ux-section>summary { padding:16px; }
  .bsgp-workspace-page .bsgp-ux-section-body { padding:17px; }
}
@media(max-width:370px) {
  .bsgp-workspace-page .bsgp-crm { padding-left:12px!important; padding-right:12px!important; }
  .bsgp-workspace-page .bsgp-workspace-navigation { gap:9px; }
  .bsgp-workspace-page .bsgp-workspace-wordmark strong { font-size:11px; }
  .bsgp-workspace-page .bsgp-workspace-wordmark span { font-size:7px; }
  .bsgp-workspace-page .bsgp-ux-workflow { padding:18px 12px; }
  .bsgp-workspace-page .bsgp-workflow-tile .bsgp-tile-status { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { .bsgp-workspace-page * { scroll-behavior:auto!important; transition:none!important; } }
/* Legacy form rules used !important; the application palette explicitly owns these surfaces. */
.bsgp-workspace-page .bsgp-crm { --ux-navy:#171715; --ux-blue:#171715; --ux-border:#d6d1c7; --ux-muted:#55514a; }
.bsgp-workspace-page .bsgp-crm .bsgp-kicker { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-btn.secondary { background:#faf8f3!important; color:#171715!important; border:1px solid #d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-review-photo,.bsgp-review-identity,.bsgp-ux-compare-head,.bsgp-measure-summary>div,.bsgp-clothing-row,.bsgp-clothing-head,.bsgp-measure-panel,.bsgp-review-status,.bsgp-document-summary,.bsgp-ux-subsection>summary) { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-review-photo h3,.bsgp-review-identity h3,.bsgp-review-identity h4,.bsgp-ux-section-body h3) { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-review-outstanding,.bsgp-correction-notice,.bsgp-review-reason) { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm :is(.bsgp-review-outstanding>strong,.bsgp-correction-notice>strong) { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-audit-context pre { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-ux-match { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-ux-match.is-match { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-ux-match.is-mismatch { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-ux-match.is-missing { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-review-photo-image:not(:has(img)),.bsgp-workspace-page .bsgp-crm .bsgp-review-identity-image:not(:has(img)) { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-case-delete-card { max-width:min(620px,calc(100vw - 32px)); }
.bsgp-workspace-page .bsgp-case-delete-card .bsgp-btn.secondary { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-case-delete-card .bsgp-btn.danger { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page :is(.bsgp-modal-card,.bsgp-document-modal-card,.bsgp-document-review-sidebar) { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-modal-card :is(h2,h3,p,label,.bsgp-kicker,.bsgp-field>span) { color:#171715!important; }
.bsgp-workspace-page .bsgp-modal-card :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select) { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-modal-card .bsgp-btn.secondary { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-modal-card .bsgp-case-confirm-delete { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-payment-attention { margin-top:22px; padding:16px; }
.bsgp-workspace-page .bsgp-crm-brand>img { background:#faf8f3!important; padding:8px; border-radius:10px; }
.bsgp-workspace-page .bsgp-modal-card .bsgp-icon-btn { background:#faf8f3!important; color:#171715!important; border:1px solid #d5d0c6!important; }
.bsgp-workspace-page .bsgp-case-delete-card { min-height:0; max-height:calc(100dvh - 32px); overflow:auto; border-radius:16px; }
.bsgp-workspace-page .bsgp-crm .bsgp-crm-toolbar-actions .bsgp-dossier-mail-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
/* Keep the compact one-line ledger, with matching off-white surfaces and a real full-width header. */
.bsgp-workspace-page .bsgp-crm>.bsgp-crm-panel,.bsgp-workspace-page .bsgp-stat-grid { max-width:none!important; }
.bsgp-workspace-page .bsgp-stat-grid>div { background:#faf8f3!important; border:1px solid #d5d0c6!important; box-shadow:none; }
.bsgp-workspace-page .bsgp-stat-grid span { color:#171715!important; }
.bsgp-workspace-page .bsgp-stat-grid strong { color:#171715!important; }
.bsgp-workspace-page .bsgp-workspace-overview-header { display:flex!important; justify-content:space-between!important; flex-wrap:nowrap; flex-direction:row!important; align-items:center!important; max-width:none; text-align:left!important; margin-bottom:24px; padding:6px 0 20px; border-bottom:1px solid #d5d0c6; }
.bsgp-workspace-page .bsgp-workspace-overview-brand { display:flex; align-items:center; gap:16px; flex:0 1 auto; min-width:0; }
.bsgp-workspace-page .bsgp-workspace-overview-brand>div { flex:1 0 auto; min-width:0; }
.bsgp-workspace-page .bsgp-workspace-overview-header .bsgp-crm-actions { display:flex; width:auto; flex:0 0 auto; justify-content:flex-end; }
.bsgp-workspace-page .bsgp-workspace-overview-brand h1 { white-space:nowrap; font-size:25px!important; margin:4px 0 0; line-height:1.2; }
.bsgp-workspace-page .bsgp-workspace-overview-brand .bsgp-kicker { font-size:9px; letter-spacing:.15em; }
.bsgp-workspace-page .bsgp-workspace-overview-symbol { display:flex; align-items:center; justify-content:center; flex:0 0 52px; width:52px; height:52px; border:1px solid #d5d0c6; background:#faf8f3; color:#171715; border-radius:14px; }
.bsgp-workspace-page .bsgp-workspace-overview-symbol svg { width:28px; height:28px; }
.bsgp-workspace-page .bsgp-crm .bsgp-table-wrap { border-color:#d5d0c6!important; background:#faf8f3!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table :is(thead,tbody,tr,td),.bsgp-workspace-page .bsgp-crm #bsgp-app-table tbody td:first-child { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table th,.bsgp-workspace-page .bsgp-crm #bsgp-app-table th:first-child { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table tbody tr:hover td,.bsgp-workspace-page .bsgp-crm #bsgp-app-table tbody tr:hover td:first-child { background:#faf8f3!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table :is(.bsgp-case-number,.bsgp-case-name) { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table .bsgp-email-cell { color:#171715!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table :is(.bsgp-note-quick-btn,.bsgp-case-actions-trigger) { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table .bsgp-case-actions-trigger:hover { background:#faf8f3!important; }
.bsgp-workspace-page #bsgp-overview-action-menu { background:#faf8f3!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page #bsgp-overview-action-menu .bsgp-mail-action { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page #bsgp-overview-action-menu .bsgp-payment-reminder { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page #bsgp-overview-toast { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page #bsgp-overview-toast.error { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
@media(max-width:720px) {
 .bsgp-workspace-page .bsgp-workspace-overview-header { flex-direction:column!important; align-items:stretch!important; gap:21px; }
 .bsgp-workspace-page .bsgp-workspace-overview-header .bsgp-crm-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; width:100%; }
 .bsgp-workspace-page .bsgp-workspace-overview-header .bsgp-crm-actions .bsgp-btn { min-width:0; font-size:11px; }
}
/* Review notices and confirmations use the same readable palette as the dossier. */
.bsgp-workspace-page .bsgp-crm .bsgp-validity { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-validity[data-status="valid"] { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-validity[data-status="warning"] { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-validity[data-status="error"] { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-validity :is(strong,p) { color:inherit!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-checkline { background:#faf8f3!important; color:#171715!important; border-color:#d5d0c6!important; }
.bsgp-workspace-page .bsgp-crm .bsgp-review-photo-image>span { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page #bsgp-case-delete-modal { align-items:center!important; padding:16px!important; }
.bsgp-workspace-page #bsgp-case-delete-modal .bsgp-case-delete-card { width:100%; max-width:530px!important; height:auto; min-height:0; align-self:center; box-sizing:border-box; }

/* 1.11: warm neutral surfaces, true text contrast, including dialogs outside .bsgp-crm. */
.bsgp-workspace-page .bsgp-workspace-toolbar { background:#f4f2edf5!important; }
.bsgp-workspace-page .bsgp-workspace-logo { width:134px; height:68px; object-fit:contain; flex:0 0 auto; }
.bsgp-workspace-page .bsgp-workspace-overview-brand>div { flex:1 1 auto; }
.bsgp-workspace-page .bsgp-workspace-overview-brand h1 { white-space:normal; }
.bsgp-workspace-page .bsgp-crm-brand>img { background:transparent!important; }
.bsgp-workspace-page .bsgp-workspace-wordmark strong { font-size:13px; letter-spacing:0; }
.bsgp-workspace-page .bsgp-workspace-wordmark span { letter-spacing:.02em; }
.bsgp-workspace-page :is(.bsgp-kicker,.bsgp-dossier-eyebrow,.bsgp-stat-grid span,.bsgp-field>span,.bsgp-field label,.bsgp-ux-section-heading small,.bsgp-ux-workflow-head small) { color:#171715!important; font-size:12px!important; font-weight:650!important; letter-spacing:.015em!important; text-transform:none!important; line-height:1.5; }
.bsgp-workspace-page :is(.bsgp-modal-card,.bsgp-document-modal-card,dialog) { background:#faf8f3!important; color:#171715!important; }
.bsgp-workspace-page :is(.bsgp-modal-card,.bsgp-document-modal-card,dialog) :is(h1,h2,h3,h4,p,span,label,strong,small,time,button,a) { color:#171715!important; }
.bsgp-workspace-page :is(.bsgp-modal-card,.bsgp-document-modal-card,dialog) :is(.bsgp-case-note-item,.bsgp-case-note,.bsgp-note-item,.bsgp-case-notes-list>article,.bsgp-case-notes-list>li) { background:#eeeae2!important; color:#171715!important; border:1px solid #d6d1c7!important; }
.bsgp-workspace-page :is(.bsgp-modal-card,.bsgp-document-modal-card,dialog) :is(input:not([type=checkbox]):not([type=radio]),textarea,select) { color:#171715!important; background:#fffdf8!important; border:1px solid #cfc8bb!important; }
.bsgp-workspace-page :is(.bsgp-crm,.bsgp-modal-card,.bsgp-document-modal-card,dialog) .bsgp-btn { background:#eeeae2!important; color:#171715!important; border-color:#d0c9bc!important; }
.bsgp-workspace-page :is(.bsgp-crm,.bsgp-modal-card,.bsgp-document-modal-card,dialog) .bsgp-btn.primary { background:#e3dac8!important; color:#171715!important; border-color:#b9aa8f!important; }
.bsgp-workspace-page :is(.bsgp-crm,.bsgp-modal-card,.bsgp-document-modal-card,dialog) .bsgp-btn:hover { background:#e7e0d3!important; }
.bsgp-workspace-page :is(.bsgp-crm,.bsgp-modal-card,.bsgp-document-modal-card,dialog) :is(input,textarea)::placeholder { color:#69635a!important; opacity:1; }
.bsgp-workspace-page .bsgp-crm :is(.pay-unpaid,.pay-pending,.bsgp-alert.warning) { background:#f3ead5!important; border-color:#d5c396!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm :is(.pay-paid,.bsgp-alert.success,.is-match) { background:#e7eee2!important; border-color:#bfcdb7!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-crm :is(.pay-failed,.pay-canceled,.pay-expired,.bsgp-alert.error,.bsgp-correction-notice,.bsgp-review-outstanding) { background:#f4e8e1!important; border-color:#d9bcae!important; color:#171715!important; }
.bsgp-workspace-page .bsgp-ux-dossier-header { background:#eee9df!important; border-color:#d3ccbf!important; box-shadow:none; }
.bsgp-workspace-page .bsgp-dossier-avatar { background:#e2d9c8!important; border-color:#cabda5!important; }
.bsgp-workspace-page .bsgp-workflow-tile.is-current { background:#ede5d6!important; border-color:#ac9c7d!important; }
.bsgp-workspace-page .bsgp-ux-workflow .bsgp-progress { background:#e4ded2!important; }
.bsgp-workspace-page .bsgp-ux-workflow .bsgp-progress>span { background:#978263!important; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table th,.bsgp-workspace-page .bsgp-crm #bsgp-app-table th:first-child { background:#ebe6dc!important; text-transform:none; }
.bsgp-workspace-page .bsgp-crm #bsgp-app-table tbody tr:hover td { background:#f0ebe2!important; }
.bsgp-workspace-page :is(.bsgp-modal,.bsgp-document-modal) { background:rgba(43,37,28,.28)!important; }
.bsgp-workspace-page dialog::backdrop { background:rgba(43,37,28,.28)!important; backdrop-filter:blur(3px); }
.bsgp-workspace-page .bsgp-document-scroll { background:#e9e5dd!important; }
.bsgp-workspace-page .bsgp-workspace-icon.bsgp-case-delete-trigger { color:#171715!important; background:#f0e4dc!important; border-color:#d2b6a6!important; }
.bsgp-workspace-page [data-ux-collapse] { display:none!important; }
@media(max-width:600px){
 .bsgp-workspace-page .bsgp-workspace-logo { width:100px; height:58px; }
 .bsgp-workspace-page .bsgp-workspace-overview-brand { gap:14px; }
 .bsgp-workspace-page .bsgp-workspace-overview-brand h1 { font-size:22px!important; }
 .bsgp-workspace-page .bsgp-workspace-wordmark strong { max-width:140px; font-size:12px; }
}

/* Authentication, recovery and all overlay controls use the same warm-light tokens. */
.bsgp-workspace-page :is(.bsgp-auth-card,.bsgp-modal-card,.bsgp-case-notes-modal,.bsgp-invite-modal) :is(input,select,textarea) { background:#fffdf8!important;color:#171715!important;border:1px solid #cfc7b8!important;font-family:inherit!important; }
.bsgp-workspace-page :is(.bsgp-auth-card,.bsgp-modal-card,.bsgp-case-notes-modal,.bsgp-invite-modal) :is(button,.bsgp-btn) { color:#171715!important;background:#eee8dd!important;border:1px solid #cfc7b8!important;box-shadow:none!important; }
.bsgp-workspace-page :is(.bsgp-auth-card,.bsgp-modal-card,.bsgp-case-notes-modal,.bsgp-invite-modal) .primary { background:#e3dac8!important;border-color:#b9aa8f!important; }
.bsgp-workspace-page .bsgp-auth-card .bsgp-auth-link { border:0!important;background:transparent!important;color:#171715!important; }
.bsgp-workspace-page :is(.bsgp-auth-card,.bsgp-modal-card) label { color:#171715!important;font-size:12px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important; }
.bsgp-workspace-page .bsgp-workspace-wordmark strong { font-size:12px;letter-spacing:0; }
.bsgp-workspace-page .bsgp-workspace-wordmark span { letter-spacing:.03em; }
.bsgp-workspace-page :is(.bsgp-auth-card,.bsgp-modal-card) :is(button,input,textarea,select,a):focus-visible { outline:3px solid #78674d!important;outline-offset:3px; }
@media(max-width:720px){.bsgp-workspace-page .bsgp-workspace-wordmark{max-width:185px;}.bsgp-workspace-page .bsgp-workspace-wordmark strong{font-size:10px;line-height:1.3;}}
