/* Company management: one consistent hierarchy across platform pages. */
body #platformOverview{max-width:1600px;padding:28px 30px!important;background:#f5f7fa;font-family:Inter,'Segoe UI',sans-serif;color:#20364d}
body #platformOverview>.sa-header{display:flex;justify-content:space-between;align-items:center;border:0;padding:0;margin:0 0 24px;gap:18px}
body #platformOverview>.sa-header h1{font-size:26px!important;line-height:1.25;font-weight:650;letter-spacing:-.025em;margin:5px 0 7px}
body #platformOverview>.sa-header .sa-eyebrow{font-size:10px;letter-spacing:.11em;font-weight:650;color:#668099}
body #platformOverview>.sa-header .sa-intro{font-size:13px;margin:0;color:#62758a}
body #platformOverview>.sa-header>.sa-actions{width:auto;flex-shrink:0}
body #platformOverview .sa-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px}
body #platformOverview .sa-metrics .sa-metric{grid-column:auto;grid-row:auto!important;order:0;min-height:116px;box-sizing:border-box;padding:17px 19px;border:1px solid #dce5ed;border-radius:9px;background:white;box-shadow:none;display:flex;flex-direction:column;align-items:flex-start;gap:7px}
body #platformOverview .sa-metrics .sa-metric span{min-height:0;font-size:12px;font-weight:500;color:#586e84;line-height:1.4}
body #platformOverview .sa-metrics .sa-metric strong{font-size:27px;font-weight:650;letter-spacing:-.025em;line-height:1.3;color:#143c5b;margin:0;overflow-wrap:anywhere}
body #platformOverview .sa-metrics .sa-metric-money strong{font-size:22px}
body #platformOverview .sa-metrics .sa-metric small{font-size:11px;color:#748599;line-height:1.5;margin:0;margin-top:auto;width:auto}
body #platformOverview .sa-portfolio{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 17px;border:1px solid #dce7f1;border-radius:8px;background:#eef4fa;box-shadow:none;margin:0 0 22px}
body #platformOverview .sa-attention-copy{display:flex;align-items:center;gap:12px;min-width:0}
body #platformOverview .sa-attention-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid #b9cede;border-radius:50%;font-weight:700;color:#276086;background:white}
body #platformOverview .sa-attention-copy strong{font-size:12px;font-weight:650;color:#234664}
body #platformOverview .sa-attention-copy p{font-size:12px;color:#5c7287;margin:3px 0 0;line-height:1.5}
body #platformOverview #saReviewActions{background:transparent;border:0;box-shadow:none;color:#185d91;font-size:12px;white-space:nowrap;padding:7px 0;min-height:36px}
body #platformOverview .sa-directory{margin:0}
body #platformOverview #bcpPlatformCompanyCard{border-radius:10px;border:1px solid #dce5ed;box-shadow:0 2px 8px #20364d04}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-head{background:white;padding:20px!important;border-bottom:1px solid #e5ebf1;gap:18px}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-heading h3{font-size:16px!important;font-weight:650;color:#20364d}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-heading p{font-size:12px!important;color:#708194;line-height:1.5;margin:5px 0 0}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-directory-head{display:none}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-directory-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-search input,body #platformOverview #saCompanyFilter{height:38px;min-height:38px;font-size:12px;border:1px solid #d6e0ea;background:white;border-radius:6px;font-weight:400}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-search input{min-width:190px}
body #platformOverview button{border-radius:6px;min-height:36px;font-size:12px;font-weight:600;padding:8px 12px;box-shadow:none}
body #platformOverview button.primary{background:#175e8e;border-color:#175e8e;color:white}
body #platformOverview .sa-directory .sa-table{font-size:12px}
body #platformOverview .sa-directory .sa-table th{font-size:10px!important;text-transform:uppercase;letter-spacing:.055em;font-weight:600!important;background:#f7f9fb!important;color:#687c90!important;padding:12px 15px!important;white-space:nowrap}
body #platformOverview .sa-directory .sa-table td{font-size:12px!important;padding:18px 15px!important;line-height:1.5;vertical-align:middle;border-bottom:1px solid #edf1f5}
body #platformOverview .sa-directory .sa-table td small{font-size:11px;color:#75869a;line-height:1.5;margin-top:4px}
body #platformOverview .sa-company-name{gap:11px}
body #platformOverview .sa-company-name strong{font-size:13px;font-weight:650;color:#1c3e5b}
body #platformOverview .sa-monogram{width:35px;height:35px;border-radius:8px;background:#eaf1f8;color:#295d85;font-size:12px}
body #platformOverview .sa-badge{font-size:10px;padding:3px 7px;border-radius:4px;font-weight:600}
body #platformOverview .sa-plan-name{font-size:12px;color:#435e75;font-weight:500}
body #platformOverview .sa-row-actions{align-items:center;gap:8px}
body #platformOverview .sa-row-actions .sa-open-workspace{border-color:transparent;background:transparent;color:#4d6e88;font-size:11px;font-weight:500;padding:7px 3px}
body #platformOverview .sa-row-actions .sa-open-workspace:hover{color:#175e8e;text-decoration:underline}
body #platformOverview .sa-detail{border-radius:10px;padding:24px!important;margin-top:24px;box-shadow:0 5px 20px #1b3b5b08}
body #platformOverview .sa-detail h2{font-size:22px;font-weight:650}
body #platformOverview .sa-detail h3{font-size:15px;font-weight:650}
body #platformOverview .sa-detail-summary>div{background:#f7f9fb;border-radius:7px}
body #platformOverview .sa-form{background:#f7f9fb;border:1px solid #e7edf3;padding:18px}
body #platformOverview .sa-form label{font-size:12px;color:#526b80}
body #platformOverview .sa-form input,body #platformOverview .sa-form select,body #platformOverview .sa-form textarea{background:white;font-size:13px;border-radius:6px}
body #platformOverview .sa-panel,body #platformOverview .sa-setup-card{border-radius:9px;box-shadow:none}
body #platformOverview .sa-panel-head h2{font-size:16px;font-weight:650}
body #platformOverview #saDelete{color:#a63c36;border-color:#e5c9c6;background:white}
@media(max-width:1250px){body #platformOverview{padding:24px!important}body #platformOverview #bcpPlatformCompanyCard .bcp-company-head{align-items:flex-start;flex-direction:column}body #platformOverview #bcpPlatformCompanyCard .bcp-company-directory-tools{width:100%}body #platformOverview .sa-directory .sa-table{min-width:880px}}
@media(max-width:900px){body #platformOverview .sa-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body #platformOverview .sa-directory .sa-table{min-width:0}body #platformOverview .sa-directory .sa-table tbody{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:14px}body #platformOverview .sa-directory .sa-table td{padding:0!important;border:0}body #platformOverview .sa-directory .sa-table tr{padding:16px;gap:14px}body #platformOverview .sa-row-actions{justify-content:space-between}body #platformOverview .sa-row-actions button{flex:0 1 auto}body #platformOverview .sa-portfolio{align-items:flex-start}}
@media(max-width:600px){body #platformOverview{padding:16px!important}body #platformOverview>.sa-header{gap:12px;align-items:flex-start}body #platformOverview>.sa-header h1{font-size:23px!important}body #platformOverview .sa-metrics{gap:10px}body #platformOverview .sa-metrics .sa-metric{padding:14px;min-height:112px}body #platformOverview .sa-metrics .sa-metric strong{font-size:24px}body #platformOverview .sa-metrics .sa-metric-money strong{font-size:18px}body #platformOverview .sa-portfolio{flex-direction:column;gap:5px}body #platformOverview #saReviewActions{margin-left:40px}body #platformOverview .sa-directory .sa-table tbody{grid-template-columns:1fr}body #platformOverview #bcpPlatformCompanyCard .bcp-company-head{padding:16px!important}body #platformOverview #bcpPlatformCompanyCard .bcp-company-search input{min-width:0}body #platformOverview .sa-detail{padding:16px!important}}

/* Keep the company tools as sibling controls, with one shared baseline. */
body #platformOverview #bcpPlatformCompanyCard .bcp-company-directory-tools{display:grid;grid-template-columns:minmax(145px,180px) minmax(180px,280px) auto;align-items:center;gap:8px}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-search{display:block;margin:0!important;padding:0;min-width:0;max-width:none;width:100%}
body #platformOverview #bcpPlatformCompanyCard .bcp-company-search .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body #platformOverview #bcpPlatformCompanyCard :is(#saCompanyFilter,#bcpCompanySearch,#bcpCreateCompanyBtn){box-sizing:border-box;height:40px!important;min-height:40px!important;margin:0!important;min-width:0!important;width:100%;font-size:13px;line-height:1.4}
body #platformOverview #bcpCreateCompanyBtn{white-space:nowrap}
@media(max-width:600px){body #platformOverview #bcpPlatformCompanyCard .bcp-company-directory-tools{grid-template-columns:minmax(0,1fr) auto;width:100%}body #platformOverview #bcpPlatformCompanyCard .bcp-company-search{grid-column:1/-1;grid-row:1}body #platformOverview #saCompanyFilter{grid-column:1;grid-row:2}body #platformOverview #bcpCreateCompanyBtn{grid-column:2;grid-row:2}}
