/* UtiliNexus 2.8.45.13 — Homeowner Project Hub */
.homeowner-project-hub-modal{width:min(1080px,95vw);max-height:93vh;overflow:auto}
.hub-project-list{display:grid;gap:10px;margin-top:18px}
.hub-project-card{width:100%;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;text-align:left;padding:16px;border:1px solid #203d53;border-radius:15px;background:#071725;color:inherit;cursor:pointer}
.hub-project-card:hover{border-color:#0056FC;background:#092039}
.hub-project-card>div{display:grid;gap:4px}.hub-project-card small{color:#8fa8bb}
.hub-project-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.hub-project-head h2{margin-bottom:5px}.hub-head-actions{display:flex;gap:8px;align-items:center}
.hub-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0 14px;padding-bottom:12px;border-bottom:1px solid #173147}
.hub-tabs button{padding:9px 12px;border:1px solid #254b67;border-radius:10px;background:#071725;color:#a8bed0;cursor:pointer}
.hub-tabs button.active{border-color:#0056FC;background:#0a2c58;color:#f4f8fc}
.hub-overview-grid,.hub-billing-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hub-panel{padding:17px;border:1px solid #203d53;border-radius:15px;background:#071725}
.hub-panel h3{margin-top:0}
.hub-detail-list{display:grid;gap:0;margin:8px 0 14px}
.hub-detail-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #173147}.hub-detail-list span{color:#8fa8bb}
.hub-description{color:#adbecb;line-height:1.6}
.hub-contractor-name{display:block;font-size:20px;margin-bottom:4px}.hub-panel>span{display:block;color:#9ab0c2}
.hub-contact-list{display:grid;gap:7px;margin:16px 0}.hub-contact-list a{color:#64a6ff;text-decoration:none}
.hub-updates{margin-top:14px}.hub-update{padding:12px 0;border-bottom:1px solid #173147}.hub-update:last-child{border-bottom:0}.hub-update p{margin:4px 0;color:#b7c7d3}.hub-update small{color:#7794aa}
.hub-schedule-list{display:grid;gap:10px}.hub-schedule-row{display:grid;grid-template-columns:70px 1fr;gap:14px;padding:13px;border:1px solid #1f3d54;border-radius:13px;background:#061521}
.hub-schedule-date{display:grid;place-items:center;min-height:58px;border-radius:11px;background:#0a2b52;color:#70adff;font-weight:900}
.hub-schedule-row>div:last-child{display:grid;gap:3px}.hub-schedule-row span,.hub-schedule-row small{color:#8fa8bb}.hub-schedule-row p{margin:5px 0 0;color:#b5c5d1}
.hub-file-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hub-file-card{min-width:0;text-align:left;display:grid;gap:6px;padding:14px;border:1px solid #203d53;border-radius:13px;background:#061521;color:inherit;cursor:pointer}.hub-file-card:hover{border-color:#0056FC}.hub-file-icon{font-size:25px}.hub-file-card small{color:#819cad;overflow-wrap:anywhere}
.hub-money-card{border:1px solid #203d53;border-radius:13px;background:#061521;margin-bottom:9px;overflow:hidden}.hub-money-card summary{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:14px;cursor:pointer;list-style:none}.hub-money-card summary::-webkit-details-marker{display:none}.hub-money-card summary>div{display:grid;gap:3px}.hub-money-card summary small{color:#829bac}.hub-money-card summary strong{font-size:18px}
.hub-money-body{display:grid;padding:0 14px 14px}.hub-money-body>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #173147}.hub-money-body .total{font-size:16px}.hub-money-body p{color:#9eb2c2}
.hub-money-body>.hub-document-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px;padding-top:14px;border-top:1px solid rgba(95,170,255,.16)}
.hub-document-actions .hub-print-money{margin:0}
@media(max-width:640px){.hub-money-body>.hub-document-actions{flex-direction:column}.hub-document-actions button{width:100%}}
.hub-message-thread,.phase2-message-thread{display:grid;gap:9px;max-height:360px;overflow:auto;padding:4px}
.hub-message,.phase2-message{max-width:78%;padding:10px 12px;border:1px solid #21435c;border-radius:13px;background:#061521}.hub-message.mine,.phase2-message.mine{justify-self:end;background:#092b55;border-color:#145fbd}.hub-message p,.phase2-message p{margin:4px 0;white-space:pre-wrap}.hub-message small,.phase2-message small{color:#7894a8}
.hub-message-compose,.phase2-message-compose{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:12px;align-items:end}.hub-message-compose textarea,.phase2-message-compose textarea{min-width:0}
.hub-back{margin-top:14px}
.phase2-event-actions,.phase2-file-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.phase2-file{grid-template-columns:1fr auto}.phase2-file-actions{grid-row:1/3;grid-column:2;align-self:center}
.phase2-customer-messages{margin-top:14px}
@media(max-width:800px){.hub-overview-grid,.hub-billing-grid{grid-template-columns:1fr}.hub-file-grid{grid-template-columns:1fr 1fr}.hub-project-head{flex-direction:column}.hub-head-actions{width:100%;justify-content:space-between}}
@media(max-width:560px){.hub-file-grid{grid-template-columns:1fr}.hub-project-card{grid-template-columns:1fr}.hub-message,.phase2-message{max-width:92%}.hub-message-compose,.phase2-message-compose{grid-template-columns:1fr}.hub-tabs{display:grid;grid-template-columns:1fr 1fr}.hub-tabs button:last-child{grid-column:1/-1}}

/* 2.8.45.32 */
.hub-tabs{flex-wrap:wrap}.hub-tabs button{font-weight:800}
