/* V90: PM shortcuts only on Overview, compact icon actions and expense ledger */
body.v90-pm-workflow #overviewActions{display:none!important}
body.v90-pm-workflow.v90-show-overview #overviewActions{display:flex!important}
.dcmi-project-actions{display:inline-flex!important;gap:6px!important;flex-wrap:nowrap!important;align-items:center}
.dcmi-project-actions .v90-icon-btn{width:37px!important;min-width:37px!important;height:38px!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;line-height:1;border:1px solid #ede3d8;background:#fff;color:#785c41;border-radius:11px}
.dcmi-project-actions .v90-icon-request{background:#fff7ec!important;border-color:#efd4ad!important;color:#ae6817!important}
.dcmi-project-actions .v90-icon-delete{background:#fff7f7!important;border-color:#efcaca!important;color:#bb4141!important}
.dcmi-project-actions .v90-icon-btn:disabled{opacity:.4;cursor:not-allowed}
.dcmi-project-actions .v90-icon-btn:hover:not(:disabled){background:#fff0d7}
.dcmi-project-actions .v90-icon-btn:focus-visible,.v90-report-button:focus-visible{outline:3px solid #e7a13d;outline-offset:2px}
.v90-project-money{margin-top:6px;display:flex;gap:4px;align-items:center;flex-wrap:wrap;max-width:280px;white-space:normal}
.v90-report-button{border:1px solid #eadbc5;color:#976323;background:#fff8ee;border-radius:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.v90-report-button svg{width:15px;height:15px}
.v90-money-summary{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#857565;min-width:0}
.v90-exp-approved{font-weight:680;color:#6d5840}
.v90-counts{display:flex;flex-wrap:wrap;gap:3px}
.v90-mine{display:flex;gap:4px;align-items:center;white-space:nowrap;font-size:10px}
.v90-state{display:inline-flex;align-items:center;border-radius:7px;border:1px solid;padding:3px 6px;font-size:10px;font-weight:750;white-space:nowrap}
.v90-state-pending{color:#926311;background:#fff5da;border-color:#ecd3a0}
.v90-state-revision{color:#a06a00;background:#fff5be;border-color:#e8cb59}
.v90-state-approved{color:#167448;background:#eaf8ef;border-color:#a6dcbf}
.v90-state-rejected{color:#b9343b;background:#fff0f0;border-color:#efbbc1}
.v90-overlay[hidden]{display:none!important}
.v90-overlay{position:fixed;inset:0;z-index:200004;background:#16130f95;overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:18px}
.v90-dialog{background:white;color:#332d26;border-radius:20px;width:min(1100px,100%);max-height:93vh;overflow:auto;padding:25px;box-shadow:0 18px 70px #0003}
.v90-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:16px;padding-bottom:15px;border-bottom:1px solid #eee5d9}
.v90-dialog-head h2{margin:0 0 5px;font-size:21px}
.v90-help{font-size:12px;color:#8b8176;line-height:1.6;margin:10px 0}
.v90-report-content{padding-top:8px}
.v90-report-content h3{font-size:17px;margin:14px 0}
.v90-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v90-stats>div{border:1px solid #efe7db;border-radius:12px;background:#fffaf4;padding:13px;display:flex;flex-direction:column;gap:10px}
.v90-stats small{font-size:11px;color:#8f806f}
.v90-stats b{font-size:19px;color:#9b5d13}
.v90-scroll{overflow-x:auto;border:1px solid #eee6db;border-radius:12px;margin-top:12px}
.v90-scroll table{white-space:normal;width:100%;min-width:800px;border-collapse:collapse}
.v90-scroll th,.v90-scroll td{text-align:left;padding:12px;vertical-align:middle;border-bottom:1px solid #f0e9df;font-size:12px}
.v90-scroll td small{display:block;color:#9d9081;margin-top:4px}
.v90-scroll th{background:#faf7f2;color:#8f7a66;font-size:11px}
.v90-scroll td.v90-num{white-space:nowrap}
.v90-detail-btn,.v90-revise-btn{white-space:nowrap;margin:2px}
.v90-history{font-size:12px;line-height:1.8;color:#655c53}
@media(max-width:700px){.v90-dialog{padding:16px}.v90-stats{grid-template-columns:1fr}.dcmi-project-actions .v90-icon-btn{width:32px!important;min-width:32px!important;height:34px!important}}
/* V91: Keep approval in All Project, and display RAB/PM+Crew cost report in project detail. */
#directory .v91-pm-approval-in-directory{border:1px solid #eee5da;border-radius:16px;padding:20px;margin:16px 0 20px;background:#fff;box-shadow:0 3px 12px #7c5b2710}
#directory .v91-pm-approval-in-directory h3{margin:0;font-size:17px}
#directory .v91-pm-approval-in-directory .v75-empty{margin-top:10px}
#directory .projects-table{min-width:1080px!important}
#directory .projects-table th:first-child,#directory .projects-table td:first-child{width:50px;min-width:50px;text-align:center}
#directory .projects-table th:last-child,#directory .projects-table td:last-child{width:180px;white-space:nowrap}
.v91-project-id{font-size:12px;color:#765b39;margin-top:7px}
.v91-project-costs{margin:22px 0 12px;padding-top:16px;border-top:1px solid #eee5db;min-width:0}
.v91-cost-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.v91-cost-head h3{margin:0}
.v91-project-costs .v90-stats{margin-top:14px}
.v91-project-costs .v90-scroll{margin-top:12px}
@media(max-width:700px){#directory .v91-pm-approval-in-directory{padding:14px;margin:12px 0}.v91-project-costs .v90-stats{grid-template-columns:1fr}}
