/* A shared working surface for BuildCorePlus. Screen rules preserve document printing. */
@media screen {
  body.app-ready #dashboard .bc-dash-hero {align-items:center!important;padding:0 0 20px!important;margin-bottom:20px!important;border-bottom:1px solid #d8e4ed!important}
  body.app-ready #dashboard .bc-dash-eyebrow {font-size:.875rem!important;color:#486a83!important;font-weight:600!important;letter-spacing:0!important;margin-bottom:6px!important}
  body.app-ready #dashboard .bc-dash-hero h2 {font-size:1.875rem!important;color:#112f49!important;font-weight:700!important;letter-spacing:-.025em!important}
  body.app-ready #dashboard .bc-dash-hero p {font-size:.875rem!important;line-height:1.5!important;color:#526d80!important;margin-top:6px!important}
  body.app-ready #dashboard .bc-dash-date {padding:9px 12px!important;background:transparent!important;border:0!important;color:#526d80!important;font-size:.875rem!important;font-weight:500!important;white-space:normal!important}
  body.app-ready #dashboard .bc-dash-kpis {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-bottom:20px!important}
  body.app-ready #dashboard .bc-dash-kpi {padding:20px!important;min-height:130px!important;align-items:center!important;border-radius:12px!important;box-shadow:none!important}
  body.app-ready #dashboard .bc-dash-kpi span,body.app-ready #dashboard .bc-dash-kpi small {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.45!important}
  body.app-ready #dashboard .bc-dash-kpi strong {font-size:2rem!important;font-weight:700!important}
  body.app-ready #dashboard .bc-dash-money {background:#102e48!important;border-color:#102e48!important}
  body.app-ready #dashboard .bc-dash-money .icon {background:#21465f!important;color:#bbeaff!important;border-color:#335f79!important}
  body.app-ready #dashboard .bc-dash-money span,body.app-ready #dashboard .bc-dash-money small {color:#c0d4e3!important}
  body.app-ready #dashboard #kpiPOValue {color:#fff!important;font-size:clamp(1.25rem,9cqi,2rem)!important;overflow-wrap:anywhere!important;line-height:1.3!important}
  body.app-ready #dashboard .bc-dash-grid-main,body.app-ready #dashboard .bc-dash-grid-bottom {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin-bottom:20px!important}
  body.app-ready #dashboard .bc-dash-panel {padding:0!important;border:1px solid #d8e4ed!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden!important}
  body.app-ready #dashboard .bc-dash-panel-head {padding:18px 20px!important;margin:0!important;border-bottom:1px solid #e4ecf2!important;gap:12px!important;flex-wrap:wrap!important}
  body.app-ready #dashboard .bc-dash-panel h3 {font-size:1rem!important;font-weight:650!important;line-height:1.4!important}
  body.app-ready #dashboard .bc-dash-alert-panel {border-top:1px solid #d8e4ed!important}
  body.app-ready #dashboard .bc-dash-count {border-radius:6px!important;background:#edf4f9!important;color:#245976!important;height:auto!important;min-width:32px!important;font-weight:650!important}
  body.app-ready #dashboard .bc-dash-list,body.app-ready #dashboard .bc-dash-price-list,body.app-ready #dashboard .bc-dash-project-list,body.app-ready #dashboard .bc-dash-activity {padding:0 20px!important}
  body.app-ready #dashboard .bc-dash-alert {flex-wrap:wrap!important;gap:10px!important}
  body.app-ready #dashboard .bc-dash-alert-copy {flex:1 1 180px;min-width:0}
  body.app-ready #dashboard .bc-dash-alert-copy>span {font-size:.875rem!important;line-height:1.55!important}
  body.app-ready #dashboard .bc-dash-alert-copy b {font-size:.8125rem!important;font-weight:650!important}
  body.app-ready #dashboard .bc-dash-alert button {margin-left:17px!important}
  body.app-ready #dashboard .bc-dash-price strong {font-variant-numeric:tabular-nums;overflow-wrap:anywhere;white-space:normal!important}
  body.app-ready #dashboard .bc-dash-project b {overflow-wrap:anywhere}
  body.app-ready #dashboard .bc-dash-activity-row time {max-width:180px;overflow-wrap:anywhere}
  body.app-ready #dashboard .bc-dash-activity-row small {text-overflow:clip!important;overflow:visible!important}
  body.app-ready #dashboard .bc-plus-dashboard-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between;margin:0 0 20px}
  body.app-ready #dashboard #dashQuickActions {display:flex;gap:10px;flex-wrap:wrap}
  body.app-ready #dashboard .bc-plus-status-key {display:flex;align-items:center;flex-wrap:wrap;gap:6px}
  body.app-ready #dashboard .bc-plus-status-key>span:first-child {font-size:.8125rem;color:#526d80;margin-right:4px}

  body.app-ready main .page .bc-plus-flow {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0 0 20px!important;padding:0!important;border:1px solid #d1e0eb!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;min-width:0;box-shadow:none!important}
  body.app-ready main .page .bc-plus-flow button {display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important;min-width:0!important;min-height:82px!important;padding:14px!important;border:0!important;border-right:1px solid #e0e9f0!important;border-radius:0!important;background:#fff!important;color:#3b5c73!important;white-space:normal!important;box-shadow:none!important}
  body.app-ready main .page .bc-plus-flow button:last-child {border-right:0!important}
  body.app-ready main .page .bc-plus-flow button:hover {background:#f0f6fb!important}
  body.app-ready main .page .bc-plus-flow button[aria-current] {background:#e8f3fb!important;box-shadow:inset 0 -3px #2677a8!important;color:#153f60!important}
  body.app-ready .bc-plus-stage-number {display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;font-size:.875rem;font-weight:650;border:1px solid #d4e3ed;background:#f2f7fa;border-radius:7px;color:#42647c}
  body.app-ready .bc-plus-flow button[aria-current] .bc-plus-stage-number {background:#175984;color:#fff;border-color:#175984}
  body.app-ready .bc-plus-stage-copy {min-width:0;flex:1;display:block}
  body.app-ready .bc-plus-stage-copy b {display:block;font-size:.875rem;font-weight:650;line-height:1.4}
  body.app-ready .bc-plus-stage-copy small {display:block;font-size:.8125rem;font-weight:400;line-height:1.4;color:#526d80;margin-top:3px}
  body.app-ready .bc-plus-stage-count {font-size:.875rem;font-weight:650;font-variant-numeric:tabular-nums}
  body.app-ready #bc-rfq-workflow-note {display:none!important}
  body.app-ready .bc-plus-status,body.app-ready .erp-status[data-state],body.app-ready .erp-status-chip[data-state],body.app-ready .bc-acct-badge[data-state],body.app-ready .bc-wh-badge[data-state],body.app-ready .bc-hr-badge[data-state] {display:inline-flex!important;align-items:center!important;gap:5px!important;max-width:100%;border:1px solid var(--bc-status-border,#d7e1e9)!important;background:var(--bc-status-bg,#f1f5f8)!important;color:var(--bc-status-color,#466074)!important;padding:5px 9px!important;border-radius:6px!important;font-size:.875rem!important;line-height:1.4!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;white-space:normal!important;box-shadow:none!important}
  body.app-ready [data-state="draft"] {--bc-status-bg:#f1f5f8;--bc-status-color:#4d6579;--bc-status-border:#d7e1e9}
  body.app-ready [data-state="pending"],body.app-ready [data-state="hold"] {--bc-status-bg:#fff6df;--bc-status-color:#815705;--bc-status-border:#ecd6a0}
  body.app-ready [data-state="approved"],body.app-ready [data-state="paid"] {--bc-status-bg:#e9f6ef;--bc-status-color:#216246;--bc-status-border:#badcca}
  body.app-ready [data-state="locked"] {--bc-status-bg:#eaf0f8;--bc-status-color:#254668;--bc-status-border:#c2d2e4}
  body.app-ready [data-state="rejected"],body.app-ready [data-state="cancelled"] {--bc-status-bg:#fff0ee;--bc-status-color:#a23932;--bc-status-border:#efc5bf}
  body.app-ready [data-state="review"],body.app-ready [data-state="received"] {--bc-status-bg:#e8f4fa;--bc-status-color:#186184;--bc-status-border:#b8dbe9}
  body.app-ready [data-state="unlocked"] {--bc-status-bg:#fff3e4;--bc-status-color:#905611;--bc-status-border:#e6c695}
  body.app-ready .bc-plus-next-row {display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #e6edf3;min-width:0;flex-wrap:wrap}
  body.app-ready .bc-plus-next-row:last-child {border-bottom:0}
  body.app-ready .bc-plus-document-type {display:flex;justify-content:center;align-items:center;border-radius:8px;border:1px solid var(--bc-status-border);color:var(--bc-status-color);background:var(--bc-status-bg);width:38px;height:38px;flex:0 0 38px;font-size:.8125rem;font-weight:650}
  body.app-ready .bc-plus-next-copy {flex:1 1 120px;min-width:0}
  body.app-ready .bc-plus-next-copy b {display:block;color:#203e56;font-size:.875rem;font-weight:650;line-height:1.45;overflow-wrap:anywhere}
  body.app-ready .bc-plus-next-copy small {display:block;color:#526d80;font-size:.8125rem;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
  body.app-ready .bc-plus-queue-total {padding:12px 20px;margin:0;font-size:.8125rem;color:#526d80;background:#f7fafc}
  body.app-ready .bc-plus-empty {padding:30px 24px;text-align:center;color:#526d80;line-height:1.5}
  body.app-ready .bc-plus-empty>span {display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0 auto 12px;background:#e9f6ef;color:#216246;border-radius:9px}
  body.app-ready .bc-plus-empty b {display:block;font-size:1rem;font-weight:600;color:#294b62}
  body.app-ready .bc-plus-empty p {font-size:.875rem;margin:7px auto 0;max-width:350px}
  body.app-ready main .page button.bc-plus-reference {border:0!important;background:transparent!important;color:#175984!important;padding:0!important;min-height:44px!important;justify-content:flex-start!important;text-align:left!important;font-weight:650!important;overflow-wrap:anywhere;box-shadow:none!important}
  body.app-ready .bc-plus-record-row td:last-child {white-space:normal!important}
  body.app-ready .bc-plus-record-row td .erp-status+.erp-status {margin-top:5px;margin-left:4px}
  body.app-ready .bc-plus-document-context {display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;background:#f2f7fb;border:1px solid #d5e5f0;border-radius:9px;color:#3f6179;font-size:.875rem;line-height:1.5}
  body.app-ready .bc-plus-document-context>span {flex:1 1 220px;overflow-wrap:anywhere}
  body.app-ready .bc-plus-document-context button {min-height:44px!important;font-size:.875rem!important;line-height:1.4!important}
  body.app-ready #prModal .bc-pr-status-rail {overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}
  body.app-ready #prModal .bc-pr-step {min-width:130px;flex:1 0 130px;font-size:.875rem!important}
  body.app-ready #rfqs .bc-rfq-group-head {gap:16px!important;flex-wrap:wrap!important}
  body.app-ready #rfqs .bc-rfq-group-name strong {font-size:1.125rem!important;font-weight:650!important;line-height:1.4!important}
  body.app-ready #rfqs .bc-rfq-group-name small {font-size:.8125rem!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere}
  body.app-ready #rfqs .bc-rfq-group-meta {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
  body.app-ready #rfqs .bc-rfq-group-meta span {font-size:.8125rem!important;color:#526d80!important}
  body.app-ready #rfqs .bc-rfq-group-meta b {font-size:.875rem!important;line-height:1.5!important;overflow-wrap:anywhere}
  body.app-ready #rfqs .bc-rfq-mini-copy small,body.app-ready #rfqs .bc-rfq-mini-value small {font-size:.8125rem!important;line-height:1.5!important}
  body.app-ready #rfqs .bc-rfq-mini-copy>.erp-status {margin:8px 0 0}
  body.app-ready #rfqs .bc-rfq-mini-open {display:block!important;min-height:44px!important;font-size:.875rem!important}
  body.app-ready #rfqs .bc-rfq-group-foot {gap:14px;flex-wrap:wrap}
  body.app-ready #rfqs .bc-rfq-group-foot p {font-size:.875rem!important;line-height:1.5!important}

  body.app-ready #users .bcp-user-page-head {margin-bottom:18px!important;gap:14px!important}
  body.app-ready #users .bcp-user-page-head h2 {font-size:1.875rem!important;line-height:1.3!important;letter-spacing:-.025em!important}
  body.app-ready #users .bc-plus-user-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}
  body.app-ready #users .bc-plus-user-stats>div {min-width:0;border:1px solid #d8e4ed;border-radius:10px;background:#fff;padding:16px 20px}
  body.app-ready #users .bc-plus-user-stats span {display:block;font-size:.875rem;line-height:1.4;color:#526d80}
  body.app-ready #users .bc-plus-user-stats b {display:block;font-size:1.75rem;line-height:1.3;color:#173b5d;font-weight:650;margin-top:5px;font-variant-numeric:tabular-nums}
  body.app-ready #users .bcp-user-create-card {padding:0!important;margin:20px 0!important;border:1px solid #d8e4ed!important;border-radius:12px!important;box-shadow:none!important}
  body.app-ready #users .bcp-user-card-head {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:18px 20px!important;margin:0!important;flex-wrap:wrap!important}
  body.app-ready #users .bcp-user-card-head h3 {font-size:1.125rem!important;font-weight:650!important;margin:0!important}
  body.app-ready #users #bcPlusInvitePanel {padding:20px!important;border-top:1px solid #e0e9f0!important}
  body.app-ready #users #bcPlusInvitePanel .bcp-user-form {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:0!important}
  body.app-ready #users #bcpUserCompanyScope,body.app-ready #users .bcp-user-form-actions {grid-column:1/-1!important}
  body.app-ready #users .bcp-user-form-actions {padding:0!important;justify-content:flex-start!important}
  body.app-ready #users #bcpRoleNote {margin:16px 0 0!important;padding:12px 14px!important;line-height:1.55!important;border-radius:8px;background:#f1f6fa;color:#4a667c!important;font-size:.875rem!important}
  body.app-ready #users .bc-plus-scope {font-size:.875rem;line-height:1.45;color:#476a82;overflow-wrap:anywhere;background:#f0f6fa;padding:6px 10px;border-radius:6px;max-width:100%}
  body.app-ready #users .bc-plus-user-filters {display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:16px 20px 12px;background:#f7fafc;border-bottom:1px solid #e5edf3}
  body.app-ready #users .bc-plus-user-filters label {display:grid;gap:6px;min-width:0;flex:1 1 150px}
  body.app-ready #users .bc-plus-user-filters .bc-plus-user-search {flex:2 1 260px}
  body.app-ready #users .bc-plus-user-filters input,body.app-ready #users .bc-plus-user-filters select {width:100%!important;min-width:0!important;font-size:1rem!important}
  body.app-ready #users .bc-plus-result-count {margin:0;padding:12px 20px;font-size:.8125rem;color:#526d80;border-bottom:1px solid #e5edf3}
  body.app-ready #users .users-table {table-layout:fixed!important}
  body.app-ready #users .users-table th {background:#f7fafc!important;font-size:.875rem!important}
  body.app-ready #users .users-table td {font-size:.875rem!important;line-height:1.5!important}
  body.app-ready #users .users-table tr:hover {background:#f7fafc!important}
  body.app-ready #users .bc-plus-empty-cell {text-align:center!important;padding:30px 20px!important;font-size:.875rem!important;color:#526d80!important}
  body.app-ready #users #bcpPlatformCompanyCard {margin-bottom:20px!important;box-shadow:none!important;border-radius:12px!important;border:1px solid #d8e4ed!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-head {padding:18px 20px!important;gap:16px!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #e0e9f0!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-heading h3 {font-size:1.125rem!important;font-weight:650!important;margin:0!important;color:#173b5d!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-eyebrow {display:none!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-directory-tools {gap:8px!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-search input {min-width:0!important;min-height:44px!important;font-size:1rem!important}
  body.app-ready #users #bcpPlatformCompanyCard #bcpCreateCompanyBtn {color:#fff!important;background:#175984!important;min-height:44px!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-directory {padding:0!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table-wrap {border:0!important;border-radius:0!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table {width:100%;min-width:0;table-layout:fixed}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table th {background:#f7fafc!important;font-size:.875rem!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table td {font-size:.875rem!important;line-height:1.5!important;overflow-wrap:anywhere}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table th:first-child {width:28%}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table th:nth-child(2) {width:15%}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table th:nth-child(3) {width:27%}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-current-company {display:block;margin:5px 0 0!important;font-size:.8125rem!important}
  body.app-ready #users #bcpPlatformCompanyCard .bcp-company-form {margin:20px!important;padding:18px!important}
  body.app-ready #users .bc-plus-invite-scope {margin:8px 0 0;font-size:.875rem;font-weight:500;line-height:1.5;color:#245d81}

  body.app-ready :is(.bc-plus-flow,.bc-plus-next-row,.bc-plus-document-context,.bc-plus-user-filters) :is(button,input,select):focus-visible {outline:3px solid #2395c5!important;outline-offset:3px!important}
  body.app-ready #dashboard [data-bc-link][hidden],body.app-ready .bc-plus-flow[hidden],body.app-ready .bc-plus-flow button[hidden],body.app-ready #dashQuickActions[hidden],body.app-ready .bc-plus-document-context[hidden],body.app-ready #bcPlusInvitePanel[hidden],body.app-ready #users tr[hidden] {display:none!important}

  @media (max-width:1100px) {
    body.app-ready main .page .bc-plus-flow button {gap:8px!important;padding:12px!important;flex-wrap:wrap!important}
    body.app-ready .bc-plus-stage-copy small {display:none}
    body.app-ready #dashboard .bc-dash-grid-main,body.app-ready #dashboard .bc-dash-grid-bottom {grid-template-columns:1fr!important;gap:16px!important}
    body.app-ready #rfqs .bc-rfq-group-meta {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  }
  @media (min-width:600px) and (max-width:1000px) {
    body.app-ready {--bc-app-sidebar:184px;--bc-sidebar:184px}
    body.app-ready #dashboard .bc-dash-kpis {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
    body.app-ready #dashboard .bc-dash-money {grid-column:1/-1}
    body.app-ready #dashboard .bc-dash-kpi:last-child {grid-column:1/-1}
    body.app-ready #dashboard .bc-dash-kpi {min-height:114px!important;padding:16px!important}
    body.app-ready main .page .bc-plus-flow {grid-template-columns:repeat(2,minmax(0,1fr))!important}
    body.app-ready main .page .bc-plus-flow button {min-height:64px!important;border-bottom:1px solid #e0e9f0!important}
    body.app-ready main .page .bc-plus-flow button:nth-child(even) {border-right:0!important}
    body.app-ready main .page .bc-plus-flow button:nth-child(n+3) {border-bottom:0!important}
    body.app-ready #rfqs .bc-rfq-mini-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-head {align-items:stretch!important;flex-direction:column!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-heading,body.app-ready #users #bcpPlatformCompanyCard .bcp-company-directory-tools {flex:none!important}
  }
  @media (max-width:760px) {
    body.app-ready #users .bc-plus-user-stats {gap:8px}
    body.app-ready #users .bc-plus-user-stats>div {padding:12px}
    body.app-ready #users .bc-plus-user-stats span {font-size:.875rem}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-fields {grid-template-columns:1fr!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table,body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table tbody {display:block!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table thead {display:none!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table tbody {padding:0 18px!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table tr {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 0!important;border-bottom:1px solid #e0e9f0}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table td {display:block!important;width:auto!important;padding:0!important;border:0!important;min-width:0!important}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table td::before {content:attr(data-label);display:block;color:#526d80;font-size:.8125rem;margin-bottom:5px}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table td:first-child,body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table td:nth-child(3),body.app-ready #users #bcpPlatformCompanyCard .bcp-company-table td:last-child {grid-column:1/-1}
  }
  @media (max-width:599px) {
    body.app-ready #dashboard .bc-dash-hero {gap:10px!important;padding-bottom:16px!important}
    body.app-ready #dashboard .bc-dash-date {padding:0!important}
    body.app-ready #dashboard .bc-dash-hero h2,body.app-ready #users .bcp-user-page-head h2 {font-size:1.5rem!important}
    body.app-ready #dashboard .bc-dash-kpis {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
    body.app-ready #dashboard .bc-dash-money {grid-column:1/-1}
    body.app-ready #dashboard .bc-dash-kpi:last-child {grid-column:1/-1}
    body.app-ready #dashboard .bc-dash-kpi {min-height:114px!important;padding:16px!important}
    body.app-ready #dashboard .bc-dash-panel-head {padding:16px!important}
    body.app-ready #dashboard .bc-dash-list,body.app-ready #dashboard .bc-dash-price-list,body.app-ready #dashboard .bc-dash-project-list,body.app-ready #dashboard .bc-dash-activity {padding:0 16px!important}
    body.app-ready main .page .bc-plus-flow {grid-template-columns:repeat(2,minmax(0,1fr))!important}
    body.app-ready main .page .bc-plus-flow button {min-height:64px!important;border-bottom:1px solid #e0e9f0!important;padding:12px!important}
    body.app-ready main .page .bc-plus-flow button:nth-child(even) {border-right:0!important}
    body.app-ready main .page .bc-plus-flow button:nth-child(n+3) {border-bottom:0!important}
    body.app-ready .bc-plus-next-row {padding:16px!important}
    body.app-ready .bc-plus-next-row button {margin-left:50px!important}
    body.app-ready .bc-plus-stage-copy small {display:none}
    body.app-ready #users .bc-plus-user-stats {grid-template-columns:1fr}
    body.app-ready #users .bc-plus-user-stats>div {display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
    body.app-ready #users .bc-plus-user-stats b {font-size:1.375rem;margin:0}
    body.app-ready #users #bcPlusInvitePanel {padding:16px!important}
    body.app-ready #users #bcPlusInvitePanel .bcp-user-form {grid-template-columns:1fr!important}
    body.app-ready #users .bc-plus-user-filters {padding:16px;gap:12px}
    body.app-ready #users .bc-plus-user-filters .bc-plus-user-search {flex-basis:100%}
    body.app-ready #users .bc-plus-user-filters label {flex-basis:130px}
    body.app-ready #users .bc-plus-user-filters button {width:100%}
    body.app-ready #users #bcpPlatformCompanyCard .bcp-company-form {margin:16px!important}
    body.app-ready #users .users-table tr#bcPlusUserEmpty {display:block!important}
    body.app-ready #users .users-table tr#bcPlusUserEmpty td::before {display:none!important}
    body.app-ready :is(#purchase_requests,#purchase_orders) .erp-table-card {padding:0!important;overflow:visible!important;border:0!important;background:transparent!important}
    body.app-ready :is(#purchase_requests,#purchase_orders) .erp-table-card table,body.app-ready :is(#prBody,#poBody) {display:block!important;min-width:0!important;width:100%!important;border:0!important;background:transparent!important}
    body.app-ready :is(#purchase_requests,#purchase_orders) .erp-table-card table thead {display:none!important}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;margin:0 0 14px!important;padding:16px!important;background:#fff!important;border:1px solid #d8e4ed!important;border-radius:10px!important}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row td {display:block!important;width:auto!important;min-width:0!important;padding:0!important;min-height:0!important;border:0!important;white-space:normal!important;background:transparent!important;font-size:.875rem!important;overflow-wrap:anywhere}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row td::before {content:attr(data-label);display:block;color:#526d80;font-size:.8125rem;font-weight:500;line-height:1.4;margin-bottom:5px}
    body.app-ready #prBody .bc-plus-record-row td:first-child,body.app-ready #poBody .bc-plus-record-row td:nth-child(2) {grid-column:1/-1;font-size:1rem!important}
    body.app-ready #poBody .bc-plus-record-row td:first-child {grid-column:1/-1;display:flex!important;align-items:center!important;gap:10px}
    body.app-ready #poBody .bc-plus-record-row td:first-child::before {margin:0}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row td:last-child {grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:8px;border-top:1px solid #e5edf3!important;padding-top:12px!important}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row td:last-child::before {flex-basis:100%}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row td:last-child button {min-height:44px!important;flex:1 1 130px}
    body.app-ready #rfqs .bc-rfq-mini-grid {grid-template-columns:1fr!important}
    body.app-ready #rfqs .bc-rfq-group-foot button {width:100%!important}
  }
  @media (max-width:360px) {
    body.app-ready #dashboard .bc-dash-kpis {grid-template-columns:1fr!important}
    body.app-ready main .page .bc-plus-flow {grid-template-columns:1fr!important}
    body.app-ready #rfqs .bc-rfq-group-meta {grid-template-columns:1fr!important}
    body.app-ready :is(#prBody,#poBody) .bc-plus-record-row {grid-template-columns:1fr!important}
    body.app-ready main .page .bc-plus-flow button {border-right:0!important;border-bottom:1px solid #e0e9f0!important}
  }
}

/* Procurement summary: five focused metrics, no duplicated project count. */
body.app-ready #dashboard .bc-dash-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:1200px){body.app-ready #dashboard .bc-dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.app-ready #dashboard .bc-dash-money{grid-column:1/-1}}
@media(max-width:520px){body.app-ready #dashboard .bc-dash-kpis{grid-template-columns:1fr!important}}
