:root{--navy:#233f51;--blue:#e2edf4;--bg:#f2f5f7;--ink:#20323b;--muted:#536974;--line:#d6e0e5;--white:#fff;--amber:#81550a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}a{color:var(--navy)}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--navy);border-radius:9px;font-weight:650;padding:11px 16px;min-height:44px}button:hover{background:#edf3f7}button:disabled{opacity:.6;cursor:wait}.primary{background:var(--navy);color:white;border-color:var(--navy)}.primary:hover{background:#142f40}.quiet{background:transparent}.wide{width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b58124;outline-offset:3px}header{background:white;padding:18px max(24px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{text-decoration:none;font-size:18px;font-weight:750;letter-spacing:-.5px}.brand span{font-size:12px;letter-spacing:0;font-weight:500;color:var(--muted);display:block}#role-label{font-size:13px;background:var(--blue);border-radius:6px;padding:6px 10px}#local-note{font-size:12px;padding:9px 24px;background:#fff1cf;color:#715014;text-align:center}#local-note[hidden]{display:none}main{max-width:1180px;margin:auto;padding:32px 24px 50px;min-height:75vh}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}#project-label{font-size:13px;color:var(--muted);margin:0 0 4px}h1{font-size:clamp(29px,5vw,42px);letter-spacing:-1.2px;line-height:1.15;margin:0 0 10px}p{margin:0 0 12px}#page-description{color:var(--muted);max-width:640px;margin:0}.heading-actions{display:flex;gap:9px;flex-shrink:0}.summary{display:flex;gap:25px;margin:0 0 25px}.summary div{display:flex;gap:8px;align-items:baseline}.summary strong{font-size:24px;letter-spacing:-.8px}.summary span{color:var(--muted);font-size:13px}.tabbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:20px;gap:12px}.tabbar [role=tablist]{display:flex;gap:4px}.tabbar [role=tab]{background:transparent;border:0;border-radius:0;border-bottom:3px solid transparent;padding:13px 16px;color:var(--muted)}.tabbar [role=tab][aria-selected=true]{border-bottom-color:var(--navy);color:var(--navy)}.tabbar span{display:inline-block;min-width:20px;background:#e2e9ee;border-radius:4px;font-size:12px;margin-left:4px;padding:1px 5px}.filters{display:grid;grid-template-columns:1.6fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:20px}label{display:block;font-size:12px;font-weight:650;color:var(--muted);min-width:0}input,select,textarea{display:block;width:100%;min-width:0;color:var(--ink);background:white;border:1px solid #bccbd4;border-radius:7px;min-height:45px;padding:10px 11px;margin-top:6px;font-size:16px;font-weight:400}textarea{resize:vertical;line-height:1.5}.check{display:flex;gap:8px;align-items:center;min-height:45px;font-size:13px}.check input{width:18px;min-height:18px;margin:0;accent-color:var(--navy)}[hidden]{display:none!important}#sync-state{font-size:12px;color:var(--muted);margin-bottom:13px;min-height:18px}#sync-state.error{color:#9e3932}.room{margin-bottom:28px}.room-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 12px}.room-heading h2{font-size:21px;letter-spacing:-.4px;margin:0;font-weight:650}.room-heading span{font-size:12px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-card{display:block;width:100%;padding:0;text-align:left;border:1px solid var(--line);border-radius:11px;background:white;overflow:hidden;color:var(--ink);font-weight:400}.task-card:hover{background:#fcfdfe;border-color:#9fb6c5}.card-photo{width:100%;height:170px;object-fit:cover;background:#e3eaee;display:block}.card-content{padding:18px}.card-top{display:flex;gap:8px;justify-content:space-between;align-items:flex-start;margin-bottom:7px}.ref{font-size:11px;color:var(--muted)}.task-card h3{font-size:17px;font-weight:650;line-height:1.35;margin:0 0 9px}.task-card .excerpt{color:var(--muted);font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 14px}.card-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:var(--muted)}.person{font-weight:650;color:var(--navy)}.badge{display:inline-block;font-size:11px;line-height:1.4;font-weight:650;border-radius:5px;padding:4px 7px;background:#edf1f3;color:#526773;white-space:nowrap}.badge.done{background:#e1f1e7;color:#22563b}.badge.inprogress{background:#e1edf8;color:#285479}.badge.stuck,.badge.attention{background:#fff0c9;color:#78500b}.badge.ready{background:#ece5fa;color:#62458f}.flags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.empty{padding:50px 20px;text-align:center;border:1px dashed #c3d1db;border-radius:10px;background:white}.empty h2{font-size:21px;margin:0 0 8px}.empty p{color:var(--muted);max-width:420px;margin:0 auto 16px}.small{font-size:12px;color:var(--muted)}dialog{border:1px solid var(--line);padding:0;border-radius:15px;max-width:760px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:white;box-shadow:0 20px 70px #142c3d30}dialog::backdrop{background:#132d3f88}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 25px 18px;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:2}.dialog-header h2{margin:0;font-size:24px;letter-spacing:-.6px;line-height:1.25}.dialog-header p{font-size:13px;color:var(--muted);margin:7px 0 0}.dialog-header span{font-size:11px;color:var(--muted)}.icon-button{border:0;font-size:27px;line-height:1;min-width:44px;padding:6px;background:transparent}.task-section{padding:20px 25px;border-bottom:1px solid var(--line)}.task-section h3{font-size:15px;margin:0 0 13px}.task-section .description{white-space:pre-wrap;font-size:15px;line-height:1.65}.task-section .detail-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:16px}.task-section label+label,.task-section details label{margin-top:13px}.form-grid label+label{margin:0}.task-section details{margin:12px 0 16px}.task-section summary{font-size:13px;color:var(--navy);cursor:pointer;padding:5px 0}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.photos{display:flex;gap:9px;overflow:auto;padding-bottom:5px}.photos button{padding:0;flex:0 0 160px;border-radius:8px;overflow:hidden;min-height:100px;background:#e4ebef}.photos img{display:block;width:160px;height:130px;object-fit:cover}.photo-add{font-size:13px;margin-top:12px;display:inline-block;color:var(--navy);cursor:pointer}.photo-add input{margin-top:8px;font-size:13px;max-width:100%}.updates{list-style:none;padding:0;margin:0 0 20px}.updates li{border-left:2px solid var(--line);margin-bottom:15px;padding:0 0 0 14px}.updates .update-who{font-size:12px;color:var(--muted);margin-bottom:5px}.updates p{white-space:pre-wrap;margin:0;font-size:14px}.signal-buttons{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.signal-buttons button{font-size:12px;padding:8px 12px}.signal-buttons button[aria-pressed=true]{border-color:var(--navy);background:var(--blue)}.form-error{font-size:13px;color:#a03730;white-space:pre-wrap;min-height:0}.link-row{padding:17px 0;border-bottom:1px solid var(--line)}.link-row h3{font-size:16px;margin:0 0 5px}.link-row p{font-size:13px;color:var(--muted);margin:0 0 12px}.link-row .actions{margin:0}.link-row input{font-size:12px}.link-row button,.link-row a{font-size:13px}.open-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px}#links-body,#new-form{padding:22px 25px}#new-form>label{margin-bottom:18px}.selected-photos{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.selected-photos img{width:70px;height:70px;object-fit:cover;border-radius:6px}#photo-dialog{max-width:1000px;background:#142a37;border:0}#photo-dialog>button{position:absolute;right:8px;top:8px;color:white;background:#142a37aa}#photo-dialog img{width:100%;height:78dvh;object-fit:contain;display:block}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:10;padding:13px 18px;border-radius:8px;background:var(--navy);color:white;font-size:14px;max-width:calc(100% - 30px);box-shadow:0 3px 20px #0002}footer{max-width:1180px;margin:auto;padding:20px 24px 30px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:16px}#login{max-width:550px;padding:30px;background:white;border:1px solid var(--line);border-radius:12px}
@media(max-width:900px){.filters{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%}.summary{gap:18px;flex-wrap:wrap}.cards{grid-template-columns:1fr 1fr}}
@media(max-width:600px){header{padding:15px 18px}.brand{font-size:16px}#role-label{font-size:11px;max-width:140px}#local-note{padding:8px 16px;text-align:left;font-size:11px}main{padding:24px 16px 30px}.page-heading{gap:18px;margin-bottom:22px}.heading-actions button{flex:1;padding:11px 10px;font-size:13px}h1{font-size:32px}#page-description{font-size:14px}.summary{gap:10px;justify-content:space-between}.summary div{flex-direction:column;gap:0}.summary strong{font-size:25px}.summary span{font-size:11px}.tabbar [role=tab]{padding:12px 8px}.filters{gap:10px}.filters>label:first-child{grid-column:1/-1}.check{grid-column:1/-1;min-height:32px}.cards{grid-template-columns:1fr}.card-content{padding:16px}.card-photo{height:185px}.room-heading h2{font-size:21px}.dialog-header{padding:20px 18px 16px}.dialog-header h2{font-size:22px}.task-section{padding:18px}.form-grid{gap:12px}.form-grid label{font-size:12px}.task-section .actions button{flex:1}.task-section .actions{gap:8px}dialog{width:100%;max-width:100%;max-height:96dvh;margin:auto 0 0;border-radius:16px 16px 0 0}#links-body,#new-form{padding:20px 18px}.photos button{flex-basis:140px}.photos img{width:140px;height:120px}.link-row input{font-size:12px}footer{padding:18px 16px 25px;flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .12s,border-color .12s}}

.heading-actions{flex-wrap:wrap}#related-requests{background:#eef4f8;border:1px solid #cddce6;border-radius:8px;padding:13px;margin:0 0 18px}#related-requests b{font-size:13px}#related-requests p{font-size:12px;color:var(--muted);margin:6px 0 10px}#related-requests button{display:flex;justify-content:space-between;gap:10px;text-align:left;width:100%;font-size:13px;padding:9px 10px;margin-top:6px;font-weight:500}#related-requests span{font-size:11px;color:var(--muted);white-space:nowrap}#focus-filter{min-width:0}@media(max-width:600px){.heading-actions #copy-homeowner{flex-basis:100%}}
