body:has(#project-drawer[open]){overflow:hidden}
.project-table,.project-tabs{position:relative}
.project-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:24px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--line)}
.project-stats>div{display:flex;align-items:center;gap:10px;background:white;padding:18px;font-size:14px;color:var(--muted)}
.project-stats strong{margin-left:auto;font-size:23px;font-weight:600;color:var(--green);font-variant-numeric:tabular-nums}
.project-stat-dot{width:8px;height:8px;border-radius:50%;flex:none;background:#c0c4b7}.project-stat-dot.status-in_progress{background:#abc96c}.project-stat-dot.status-completed{background:#51896d}.project-stat-doc{background:#92a7b4}
.project-filters{padding:16px 20px 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.project-filters label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:var(--muted);min-width:0}
.project-filters input,.project-filters select,.project-pagination select{color:var(--green);background:#fcfdfb;border:1px solid var(--line);border-radius:5px;padding:9px 10px;font-size:14px;width:100%;min-width:0;min-height:36px}
.project-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px 16px;border-bottom:1px solid var(--line)}
.project-table table{min-width:1070px}.project-table th{font-size:14px;white-space:nowrap;padding:16px 12px}.project-table td{padding:18px 12px;font-size:14px}.project-table td:first-child{width:25%;min-width:210px}.project-table td:nth-child(3){white-space:nowrap}
.project-numeric{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:500}.project-muted{color:#8b948d}.project-ambiguous{color:#8a6029;font-size:14px}.project-avatars{display:flex;flex-wrap:wrap;gap:3px}.project-avatars .avatar{width:29px;height:29px;font-size:14px;border:2px solid white}
.project-pagination{display:flex;align-items:center;gap:12px}.project-pagination label{display:flex;align-items:center;gap:8px}.project-pagination select{width:63px;padding:6px}.project-pagination button:disabled{cursor:default}.project-data-note{font-size:14px;line-height:1.8;color:var(--muted);margin:17px 3px}
#project-actions{position:fixed;inset:auto;margin:0;width:260px;padding:12px;background:white;color:var(--green);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 35px #18302225;max-height:calc(100dvh - 16px);overflow:auto}
#project-actions:popover-open{display:flex;flex-direction:column;gap:5px}#project-actions>strong{font-size:14px;padding:7px 8px 12px;overflow-wrap:anywhere}#project-actions .button{justify-content:flex-start;white-space:normal;border:0;background:transparent;box-shadow:none;color:var(--green);font-size:14px;padding:10px}#project-actions .button:hover{background:var(--pale)}
#project-actions button:disabled,.project-actions-bar button:disabled{cursor:not-allowed}
#project-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(850px,calc(100vw - 60px));height:100dvh;max-height:100dvh;max-width:none;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:-15px 0 70px #16332226;background:#f6f7f3}
#project-drawer{overflow:hidden}#project-drawer::backdrop{background:#203d2c55;backdrop-filter:blur(1px)}#project-detail{height:100%;display:flex;flex-direction:column;min-height:0;min-width:0}
.project-drawer-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:29px 28px 20px;background:white;flex:none}
.project-drawer-heading h2{font-size:24px;letter-spacing:-.6px;font-weight:600;line-height:1.4;margin-top:8px;overflow-wrap:anywhere}.project-drawer-heading p{font-size:14px;color:var(--muted);margin-top:6px}.project-drawer-heading .icon-button{background:#f1f4ed;border-radius:50%;margin-top:3px}
.project-tabs{display:flex;overflow-x:auto;flex:none;padding:0 28px;background:white;border-bottom:1px solid var(--line);gap:22px;scrollbar-width:thin}
.project-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:16px 0;font-size:14px;color:var(--muted);white-space:nowrap}.project-tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:650}.project-tabs button:focus-visible{outline-offset:-3px}
.project-drawer-scroll{padding:22px 28px 34px;overflow:auto;overscroll-behavior:contain;min-height:0}.project-actions-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.project-actions-bar .button{font-size:14px;min-height:35px}
.project-card{padding:24px;background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.project-card:last-child{margin-bottom:0}.project-card h3{font-size:14px;font-weight:600;line-height:1.5}.project-card .project-name{font-size:23px;letter-spacing:-.5px;margin:8px 0}.project-address{font-size:14px;color:var(--muted);line-height:1.8;margin:10px 0}
.project-summary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-top:22px}.project-summary-grid>div,.project-date-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}.project-summary-grid>div>span:first-child,.project-date-grid>div>span{font-size:14px;color:var(--muted)}
.project-amount-note{font-size:14px;line-height:1.8;color:var(--muted);padding-top:15px;margin-top:17px;border-top:1px solid #edf0e8}
.project-financial-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding-top:23px;margin-top:20px;border-top:1px solid var(--line)}.project-financial>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}.project-financial .tag{font-size:14px;color:var(--muted);background:#f1f3ee}
.project-progress-track{height:6px;background:#e8ece5;border-radius:8px;margin:14px 0 9px}.project-financial p{font-size:14px;color:var(--muted);line-height:1.7}
.project-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.project-document-filters{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:14px 0 13px}.project-chip{border:0;background:none;color:var(--muted);font-size:14px;padding:8px 10px;border-radius:5px}.project-chip[aria-pressed=true]{background:var(--pale);color:var(--green);font-weight:600}
.project-doc-archives{margin:15px 0}.project-documents{list-style:none;padding:0;margin:0}.project-documents li{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:17px 0;border-bottom:1px solid #edf0e8}.project-documents li:last-child{border-bottom:0}.project-documents .status{margin-top:9px;font-size:14px}.project-document-value{display:flex;flex-direction:column;align-items:flex-end;flex:none;padding-top:3px}.project-document-value>strong{font-size:14px;font-variant-numeric:tabular-nums}.project-document-value .text-button{padding-right:0;margin-top:9px}
.project-empty-note{padding:14px 0 0;color:var(--muted);font-size:14px;line-height:1.8}.project-history{list-style:none;margin:15px 0 0;padding:0}.project-history li{display:flex;gap:12px;align-items:center;padding:13px 0;font-size:14px;border-top:1px solid #edf0e8}.project-history strong{font-weight:500}.project-history time{margin-left:auto;font-size:14px;color:var(--muted);text-align:right}.project-history-dot{width:6px;height:6px;border-radius:50%;background:#97b386;flex:none}
.project-coming{text-align:center;border:1px dashed #cfd8c7;border-radius:10px;padding:38px 24px;background:#f3f6ef}.project-coming-icon{display:flex;justify-content:center;align-items:center;width:46px;height:46px;margin:0 auto 14px;border-radius:12px;background:#e5edde;color:#648350}.project-coming .tag{display:inline-block;margin:0 auto 12px;font-size:14px}.project-coming h3{font-size:18px;letter-spacing:-.3px;margin-bottom:12px}.project-coming p{font-size:14px;line-height:1.9;color:var(--muted);max-width:460px;margin:auto}
.project-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:22px 0}.project-text{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:18px}.project-team-list{list-style:none;padding:0;margin:22px 0 0}.project-team-list li{display:flex;gap:14px;align-items:center;padding:15px 0;border-top:1px solid var(--line);font-size:14px}
@media(min-width:1650px){.project-filters{grid-template-columns:repeat(6,minmax(0,1fr))}.project-table td,.project-table th{padding-left:16px;padding-right:16px}}
@media(max-width:1100px){.project-stats>div{padding:14px;gap:8px;font-size:14px}.project-stats strong{font-size:20px}}
@media(max-width:650px){.project-stats{grid-template-columns:1fr 1fr;margin-bottom:18px}.project-stats>div{font-size:14px}.project-filters{grid-template-columns:1fr 1fr;padding:15px 14px 10px;gap:12px}.project-filters input,.project-filters select{font-size:14px}.project-filter-footer{padding:10px 14px;flex-wrap:wrap}.project-directory .toolbar{flex-wrap:nowrap}.project-directory .search-box{flex-basis:auto}.project-table table{min-width:0}.project-table td{padding:6px 0;font-size:14px}.project-table td:first-child{width:100%;padding-bottom:14px}.project-table .row-actions{padding-top:13px}.project-table .avatar{width:30px;height:30px}.project-pagination{gap:8px;width:100%;justify-content:space-between}.project-pagination label{font-size:14px}.project-pagination .button{min-height:36px}.project-directory .directory-footer{gap:14px}
  #project-drawer{width:100%;border:0}.project-drawer-heading{padding:21px 18px 17px;gap:12px}.project-drawer-heading h2{font-size:21px}.project-tabs{padding:0 18px;gap:22px}.project-tabs button{padding:15px 0}.project-drawer-scroll{padding:18px 14px 24px}.project-card{padding:18px}.project-actions-bar{gap:7px;margin-bottom:17px}.project-actions-bar .button{min-height:38px;font-size:14px;padding:8px 10px}.project-card .project-name{font-size:21px}.project-summary-grid{grid-template-columns:1fr 1fr;gap:18px}.project-summary-grid>div:last-child{grid-column:1/-1}.project-financial-grid{gap:19px}.project-financial>div:first-child{flex-wrap:wrap}.project-financial .tag{margin-left:0}.project-documents li{gap:14px}.project-documents .name-button{font-size:14px}.project-document-value>strong{font-size:14px}.project-document-value .text-button{font-size:14px}.project-history li{align-items:flex-start}.project-history time{flex:none}.project-team-list .secondary{font-size:14px}.project-data-note{font-size:14px}
}
