.ws-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.ws-toolbar input,.ws-toolbar select{border:1px solid #dfe5ed;background:white;border-radius:8px;padding:9px 12px;min-height:38px;color:#344054;font-size:13px}.ws-toolbar input{flex:1;min-width:180px}.ws-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.ws-metric{background:#fff;border:1px solid #e8edf3;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px}.ws-metric small{color:#667085}.ws-metric strong{font-size:23px;color:#253858;overflow-wrap:anywhere}.ws-metric span{font-size:11px;color:#8994a5}.ws-table-wrap{overflow:auto;background:#fff;border:1px solid #e6ebf2;border-radius:12px;margin:12px 0}.ws-table{border-collapse:collapse;width:100%;min-width:980px;font-size:12px}.ws-table th{background:#f5f7fa;text-align:left;color:#667085;font-weight:600;white-space:nowrap;padding:13px 14px}.ws-table td{padding:14px;border-top:1px solid #edf0f5;vertical-align:top;color:#344054}.ws-table td small{display:block;font-size:11px;color:#8994a5;margin-top:6px;line-height:1.6}.ws-table td:first-child{min-width:210px;max-width:360px}.ws-link{border:0;background:none;color:#2666b0;padding:0;cursor:pointer;text-align:left;font-size:12px;display:block;line-height:1.6}.ws-link+.ws-link{margin-top:8px}.ws-link:hover{text-decoration:underline}.ws-muted{color:#8994a5}.ws-bucket{margin:20px 0}.ws-bucket h4{font-size:13px;color:#667085}.ws-bucket.over h4{color:#bd3e42}.ws-bucket.near h4,.ws-bucket.missing h4{color:#9f701d}.ws-dialog{border:0;border-radius:16px;width:min(1000px,94vw);max-height:88vh;padding:0;color:#344054;box-shadow:0 20px 70px #0003}.ws-dialog::backdrop{background:#15223866}.ws-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #edf0f5}.ws-dialog-body{padding:20px;overflow:auto}.ws-dialog-body .ws-table{min-width:600px}#project-register{margin:16px;background:#fff;border:1px solid #dfe5ed;border-radius:12px;overflow:hidden}#pm-board-list>.finance-page-shell,#income-workspace{padding:20px}@media(max-width:700px){.ws-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ws-metric{padding:13px}.ws-metric strong{font-size:18px}#pm-board-list>.finance-page-shell,#income-workspace{padding:12px}.ws-dialog-head{padding:14px}.ws-dialog-body{padding:12px}}

/* Settlement: company results and manager distribution are distinct, compact sections. */
#ceo-settlement-view{padding:0 20px 28px}
#ceo-settlement-view>.filter-bar{background:transparent;border:0;padding:10px 0}
#settle-pm-tabs{gap:6px;flex-wrap:wrap!important;white-space:normal!important}
#settle-pm-tabs .ftab{border:1px solid #e1e7ee;border-radius:8px;padding:8px 14px;background:#fff;font-size:13px}
#settle-pm-tabs .ftab.active{background:#edf4fc;border-color:#bcd0eb;color:#245f9d}
.settlement-shell{max-width:1500px;margin:auto;color:#344054}
.settlement-shell .ws-toolbar{margin:12px 0 8px}
.settlement-section-head{display:flex;align-items:center;gap:12px;margin:26px 0 10px}
.settlement-section-head h3{margin:0;font-size:17px;font-weight:600}
.settlement-tag{padding:4px 9px;border-radius:6px;font-size:11px;background:#eef2f6;color:#667085}
.settlement-period-note{font-size:12px;line-height:1.7;color:#667085;margin:8px 0}
.settlement-shell .ws-metrics{margin:12px 0}
.settlement-shell .ws-metric strong{font-size:22px;font-variant-numeric:tabular-nums}
.settlement-shell .ws-table{min-width:880px;font-size:13px}
.settlement-shell .ws-table td:first-child{min-width:88px}
.settlement-shell .ws-table td:not(:first-child),.settlement-shell .ws-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.settlement-shell .ws-table td{padding:15px 12px}
.settlement-shell .ws-table th{padding:12px;white-space:normal}
.settlement-shell .settlement-bonus{font-weight:600;color:#245f9d}
.settlement-total{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:16px 20px;background:#edf4fc;border-radius:10px;font-size:13px;margin-bottom:20px}
.settlement-total strong{font-size:22px;color:#245f9d;font-variant-numeric:tabular-nums}
.settlement-total span{font-size:11px;color:#667085}
.settlement-shell details.card,.settlement-explanation{box-shadow:none;border:1px solid #e6ebf2;border-radius:10px;background:#fff;padding:16px;margin:12px 0}
.settlement-shell details>summary{cursor:pointer;line-height:1.6}
.settlement-shell details.card>summary{font-weight:600;font-size:14px}
.settlement-explanation{font-size:12px;color:#667085}
.settlement-explanation p{line-height:1.8;margin-bottom:0}
@media(max-width:700px){
 #ceo-settlement-view{padding:0 12px 20px}
 .settlement-section-head{margin-top:20px;flex-wrap:wrap}
 .settlement-shell .ws-metric strong{font-size:18px}
 .settlement-total{justify-content:flex-start;gap:8px;flex-wrap:wrap;padding:14px}
 .settlement-total span{width:100%}
 .settlement-shell details.card{padding:12px}
}

/* 1003: reuse homepage metric styling; readable settlement tables. */
.settlement-shell .settlement-metric{font-family:inherit}
.settlement-shell .settlement-metric .home-metric-head{font-size:14px;color:#566070}
.settlement-shell .settlement-metric strong{font-size:27px;line-height:1.2}
.settlement-shell .settlement-metric summary>span{display:block;font-size:13px;color:#667085;margin-top:10px}
.settlement-shell .ws-table,.settlement-shell .ws-link{font-size:15px}
.settlement-shell .ws-table td small,.settlement-shell .home-data-note,.settlement-period-note{font-size:14px;line-height:1.7}
.settlement-section-head h3{font-size:20px}
.settlement-tag,.settlement-total span{font-size:13px}
.settlement-total{font-size:15px}
#settle-pm-tabs .ftab{font-size:15px}
.settlement-shell .ws-table td,.settlement-shell .ws-table th{padding:16px}
@media(max-width:700px){.settlement-shell .settlement-metric{padding:16px}.settlement-shell .settlement-metric strong{font-size:22px}}
