/* Project dashboard: teal panels, gold accents, and compact development rows. */
.pd-dashboard{color:#123d4d;direction:rtl}.pd-dashboard h2,.pd-dashboard h3,.pd-dashboard p{margin:0}.pd-dashboard-head,.pd-dashboard-controls,.pd-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pd-dashboard-head{padding:12px 0 20px}.pd-dashboard-head h2{font-size:25px}.pd-dashboard-head p{font-size:14px;margin-top:5px}.pd-dashboard-controls button{margin:0}.pd-number{display:inline-block;background:#e1f4f8;border-radius:7px;padding:5px 12px;color:#175367;font-weight:700;font-size:14px;white-space:nowrap}.pd-dashboard .pd-base{border:1px solid #c6dbe3;border-radius:14px;padding:16px;margin:0;background:white}.pd-dashboard .pd-upgrades{border:1px solid #c6dbe3;border-top:0;border-radius:0 0 14px 14px;padding:16px;margin:-8px 0 18px;background:linear-gradient(110deg,#e6f5fa,#cae9ee)}.pd-dashboard .pd-base{border-radius:14px 14px 0 0}.pd-section-head{margin-bottom:12px}.pd-section-head h3{font-size:20px}.pd-section-head button{background:#007f8c!important;color:white!important;margin:0;padding:8px 17px}.pd-dashboard .pd-branch{margin:0;box-shadow:none}.pd-dashboard .pd-base-card{border:0;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px 22px}.pd-base-card .pd-branch-title{grid-column:1;position:relative;padding-inline-start:16px}.pd-base-card .pd-branch-title:before{content:'';position:absolute;inset-inline-start:0;top:0;bottom:0;width:5px;border-radius:4px;background:#e5b727}.pd-branch-title>strong{font-size:22px}.pd-branch-info{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:15px}.pd-price{color:#142e36;font-size:21px;font-variant-numeric:tabular-nums}.pd-stage{font-size:13px;white-space:nowrap;border-radius:8px;padding:5px 12px;background:#eef3f7;color:#516d7a}.pd-stage-done{background:#d3f3d9;color:#216b3c}.pd-stage-pending{background:#fff0c7;color:#795c0b}.pd-base-card .pd-branch-info{grid-column:1}.pd-worker{font-size:12px;color:#637f8b}.pd-base-card .pd-worker{grid-column:1}.pd-solar-visual{grid-column:2;grid-row:1/5;background:linear-gradient(145deg,#d3edf6,#f5fbfc 60%,#fff3c6);border:1px solid #c6dfe8;border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:150px}.pd-solar-visual img{width:110px;height:110px;opacity:.85}.pd-dashboard .pd-branch-actions{display:flex;gap:8px;justify-content:flex-start}.pd-dashboard .pd-branch-actions button{background:white;color:#1b5b6b;border:1px solid #80acb9;padding:8px 14px;font-size:14px;margin:0;border-radius:7px}.pd-dashboard .pd-base-card .pd-branch-actions{grid-column:1}.pd-dashboard .pd-development-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:12px 14px;background:#f7fcfd;border:1px solid #d1e6eb;border-radius:9px;margin:8px 0}.pd-development-row .pd-branch-title{flex:1;min-width:180px;justify-content:flex-start;gap:10px}.pd-development-row .pd-branch-title>strong{font-size:15px}.pd-development-row .pd-branch-info{gap:12px}.pd-development-row .pd-price{font-size:16px}.pd-development-row .pd-number{font-size:12px;padding:3px 8px}.pd-development-row .pd-worker{flex-basis:100%;display:none}.pd-development-row .pd-branch-actions{margin-inline-start:auto}.pd-dashboard .pd-development-row .pd-branch-actions button{font-size:12px;padding:6px 10px}.pd-invoice-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);border:1px solid #c9dfe7;padding:18px;border-radius:14px;background:#fff;gap:20px}.pd-invoice-layout h3{font-size:20px;margin:0 0 16px}.pd-invoice-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pd-dashboard .pd-invoice-mode{border:1px solid #a6c8d3;background:#fff;border-radius:8px;display:flex;align-items:center;gap:8px;padding:12px 10px;margin:0;min-width:0;font-size:14px;cursor:pointer}.pd-invoice-mode.is-selected{background:#007f8c;color:#fff;border-color:#007f8c}.pd-dashboard input[type=checkbox],.pd-dashboard input[type=radio]{display:inline-block;flex:0 0 18px;width:18px;height:18px;padding:0;margin:0;accent-color:#008391}.pd-invoice-choices{background:#e4f4f8;padding:14px;border:1px solid #badde7;border-radius:9px;margin-top:14px}.pd-invoice-choices>strong{font-size:14px}.pd-invoice-choices label{display:flex;gap:10px;align-items:center;border-bottom:1px solid #cfe1e8;padding:8px 0;margin:0;font-size:14px}.pd-invoice-choices label:last-child{border:0}.pd-invoice-preview{border:1px solid #c8dce4;border-radius:10px;padding:14px}.pd-invoice-preview h3{background:#d5eef3;border-radius:7px;padding:12px;font-size:18px}.pd-preview-line,.pd-preview-total{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #d9e6eb;padding:10px 0;font-size:14px}.pd-preview-line span{overflow-wrap:anywhere}.pd-preview-line strong{white-space:nowrap}.pd-preview-total{background:#fff2c9;border-radius:8px;padding:12px;margin-top:8px;font-size:19px;color:#153d4b}.pd-invoice-preview button{width:100%;background:#007f8c;color:white;padding:10px;border-radius:8px;margin:12px 0 0;font-size:15px}.pd-dashboard-note{padding:10px 14px;background:#d7edf2;margin-top:16px!important;border-radius:7px;font-size:13px}.project-file-dialog,.development-dialog{width:min(1300px,96vw)!important}.pd-project-label{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff;padding:16px 18px;border-bottom:1px solid #cddfe7}.pd-project-label>strong{font-size:20px;color:#164657}.pd-project-label>span{background:#e2f3f7;padding:3px 10px;border-radius:6px;font-weight:700}.pd-last-activity{margin-inline-start:auto;color:#627d89;font-size:12px}.pd-list-base-title{margin:0 0 5px;font-size:18px;color:#184a5a}.pd-list-footer{padding:12px 16px;background:#f4fafc;border-top:1px solid #cfE3e9}.pd-list-footer button{background:#007f8c;margin:0;padding:8px 17px;font-size:14px}.pd-list-upgrades{margin:0!important;background:linear-gradient(100deg,#e7f6fa,#cfebef)!important;padding:14px!important;border:0!important;border-top:1px solid #c4e1e8!important;border-radius:0!important}.pd-list-upgrades>h3{font-size:19px;margin:0 0 12px;color:#144859}
#page-inspections .pd-list-upgrades .un-project-card{margin-top:8px!important;border-radius:8px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;background:#f8fcfd!important}#page-inspections .pd-list-upgrades .un-project-card[hidden]{display:none!important}#page-inspections .pd-list-upgrades .un-project-card-head{background:transparent!important;border:0!important;padding:10px 14px!important;gap:10px!important;align-items:center!important}#page-inspections .pd-list-upgrades .un-project-card-head h3{font-size:14px!important}#page-inspections .pd-list-upgrades .un-project-card-meta{display:none}#page-inspections .pd-list-upgrades .un-project-card-info>small{font-size:13px;color:#174b5b}#page-inspections .pd-list-upgrades .un-project-card-actions{border:0!important;background:transparent!important;padding:8px 12px!important}#page-inspections .pd-list-upgrades .un-project-card-actions button{font-size:12px!important;padding:6px 9px!important;min-height:32px}#page-inspections .pd-list-upgrades .un-project-card-more[open]{position:relative;flex-basis:100%}#page-inspections .pd-list-upgrades .un-project-card-more[open] .un-project-card-extra button{display:inline-flex!important}
@media(max-width:800px){.pd-invoice-layout{grid-template-columns:1fr}.pd-dashboard .pd-base-card{grid-template-columns:minmax(0,1fr) 140px}.pd-solar-visual{min-height:110px}.pd-solar-visual img{width:80px;height:80px}.pd-invoice-modes{grid-template-columns:1fr}.pd-dashboard-head h2{font-size:21px}#page-inspections .pd-list-upgrades .un-project-card{grid-template-columns:1fr!important}.pd-price{font-size:18px}}@media(max-width:480px){.pd-dashboard .pd-base-card{display:flex;flex-direction:column;padding:5px}.pd-solar-visual{display:none}.pd-dashboard .pd-base{padding:12px}.pd-dashboard .pd-upgrades{padding:12px}.pd-branch-title>strong{font-size:19px}.pd-development-row .pd-branch-actions{margin:0}.pd-dashboard-head{align-items:flex-start}.pd-dashboard-controls{gap:5px}.pd-dashboard-controls button{padding:7px 10px}.pd-project-label>strong{font-size:17px}.pd-invoice-layout{padding:12px;gap:12px}.pd-preview-total{font-size:17px}}

/* v211: outside is summary-only; all controls and work forms live inside the project file. */
.pd-outside-summary{display:block;padding:10px 18px;color:#557584;font-size:13px;background:#f5fafc}.pd-list-footer{display:flex;justify-content:flex-end}.pd-list-footer>button{min-width:160px}.project-file-dialog .pd-branch-actions{flex-wrap:wrap}.project-file-dialog .pd-branch-actions button.inspection-delete-btn{border-color:#e6b3b3;color:#aa3232;background:#fff7f7}.project-file-dialog .pd-development-row .pd-branch-actions{flex-basis:100%;margin:0;border-top:1px solid #d7e7ec;padding-top:10px}.pf-work-area{border-top:3px solid #168596;margin-top:22px;padding-top:16px}.pf-work-area>[data-project-work-panel]{margin-top:12px!important;max-width:100%}.pf-work-area>[data-project-work-panel][hidden]{display:none!important}.pf-work-area input,.pf-work-area select,.pf-work-area textarea{max-width:100%}.project-file-dialog .pf-work-area .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-file-dialog .pf-work-area .scroll{max-width:100%;overflow:auto}.project-file-dialog .pd-branch-actions button{font-size:13px}@media(max-width:650px){.project-file-dialog .pf-work-area .grid{grid-template-columns:1fr}.pd-list-footer>button{width:100%}.project-file-dialog .pd-branch-actions button{flex:1 1 42%}}
