/* Coordination feature styles: tours, housing requests, screening and leases. Loaded after styles.css. */
.coord-actions{display:contents}

/* Status cards above the messages */
.coord-card{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fbfdfc;display:grid;gap:8px;min-width:0}
.coord-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.coord-card-title{display:inline-flex;align-items:center;gap:7px;color:var(--navy);font-size:13.5px;flex-wrap:wrap}
.coord-card-title .icon{color:var(--teal)}
.coord-line,.coord-note,.coord-when,.coord-fine{margin:0;font-size:13px;line-height:1.5}
.coord-note{color:#526772;font-style:italic}
.coord-when{font-weight:800;display:flex;align-items:center;gap:7px;color:var(--navy)}
.coord-when .icon{color:var(--teal);flex:none}
.coord-fine{font-size:11.5px;color:var(--muted)}
.coord-times,.coord-buttons{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.coord-safety{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:12px;line-height:1.5;color:#286e63;background:var(--mint);border-radius:10px;padding:8px 10px}
.coord-safety .icon{flex:none;margin-top:2px}
.coord-safety a{text-decoration:underline;font-weight:800}
.coord-copy{margin:0;padding-left:18px;font-size:12.5px;line-height:1.5;color:#41545e;display:grid;gap:4px;overflow-wrap:anywhere}
.coord-details summary{cursor:pointer;font-size:12.5px;font-weight:800;color:var(--teal)}
.coord-details[open] summary{margin-bottom:8px}

/* Tour modal */
.coord-kind{border:0;padding:0;margin:0 0 14px;display:flex;gap:8px;flex-wrap:wrap}
.coord-kind legend{margin-bottom:6px;padding:0}
.coord-choice{flex:1 1 140px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font-weight:800;cursor:pointer;color:var(--navy)}
.coord-choice:has(input:checked){border-color:var(--teal);background:var(--mint)}
.coord-choice .icon{color:var(--teal)}

/* Housing requests */
.coord-renter-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.coord-filter-grid{display:grid;grid-template-columns:1.2fr .7fr 1.4fr auto;gap:12px;align-items:end}
.coord-filter-grid .form-group{margin:0}
.coord-filter-actions{display:flex;gap:8px}
.coord-filters .toggle-line{margin-top:14px}
.coord-subhead{font-size:17px;margin:4px 0 12px}
.coord-request{display:grid;gap:8px;padding:20px}
.coord-request.is-focus{border-color:var(--teal);box-shadow:0 0 0 3px #d5efe8}
.coord-request>p{margin:0;display:flex;align-items:center;gap:7px;font-size:13.5px}
.coord-request>p .icon{color:var(--teal);flex:none}
.coord-request .coord-request-details{display:block;color:#41545e}
.coord-request-head{display:flex;align-items:center;gap:12px}
.coord-request-head .pill{margin-left:auto}
.coord-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
span.coord-avatar{font-size:17px}
.coord-facts{display:flex;flex-wrap:wrap;gap:6px}
.coord-facts span{background:#f2f6f5;border-radius:100px;padding:5px 10px;font-size:12px;font-weight:700;color:#41545e}
.coord-my-request{padding:12px 0;border-bottom:1px solid #edf1f1;display:grid;gap:6px}
.coord-my-request:last-child{border-bottom:0;padding-bottom:0}
.coord-offers{margin:0;padding-left:18px;font-size:12.5px}

/* Lease */
.coord-lease-wrap{max-width:900px}
.coord-lease-doc{background:#fff;border:1px solid var(--line);border-radius:17px;padding:40px 46px;margin-bottom:19px;font-family:Georgia,'Times New Roman',serif;color:#1d2a31;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.coord-lease-doc h2{font-family:inherit;font-size:26px;letter-spacing:0;text-align:center;margin:0 0 18px}
.coord-lease-doc h3{font-family:inherit;font-size:16.5px;letter-spacing:0;margin:24px 0 6px}
.coord-lease-doc p{margin:0 0 10px;line-height:1.65}
.coord-lease-doc ul{margin:4px 0 12px;padding-left:22px}
.coord-signatures{margin-top:30px;border-top:1px solid var(--line);padding-top:18px}
.coord-sig-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.coord-sig{display:grid;gap:3px;border-bottom:1px solid #9aa9ae;padding-bottom:8px}
.coord-sig small{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-family:var(--font);font-size:10.5px;font-weight:800}
.coord-sig-name{font-size:21px;font-style:italic;min-height:30px}
.coord-sig span{font-size:12px;color:var(--muted);font-family:var(--font)}
.coord-signatures h4{font-family:var(--font);font-size:13px;margin:18px 0 6px;letter-spacing:0}
.coord-audit{font-family:var(--font);font-size:11.5px;line-height:1.5;color:#51636d;padding-left:18px;margin:0;display:grid;gap:3px}
.coord-lease-textarea{min-height:420px;font-family:ui-monospace,Consolas,monospace;font-size:12.5px;margin:10px 0}
.coord-sign .coord-consent{margin:6px 0 16px;align-items:flex-start;font-size:13px}
.coord-sign .coord-consent input{margin-top:3px}
.coord-void{margin:-6px 0 20px}

@media(max-width:860px){
 .coord-renter-grid{grid-template-columns:1fr}
 .coord-renter-grid.has-requests aside{order:-1}
 .coord-filter-grid{grid-template-columns:1fr 1fr}
 .coord-filter-actions{grid-column:1/-1}
}
@media(max-width:650px){
 .coord-lease-doc{padding:22px 18px;font-size:14px;border-radius:14px}
 .coord-lease-doc h2{font-size:21px}
 .coord-sig-grid,.coord-filter-grid{grid-template-columns:1fr}
 .coord-request{padding:16px}
 .coord-request-head{flex-wrap:wrap}
 .coord-request-head .pill{margin-left:0}
 .coord-times .btn,.coord-buttons .btn{flex:1 1 auto;justify-content:center}
}

/* Printing the lease: only the agreement, signatures and audit trail. */
@media print{
 body.coord-lease-view .site-header,body.coord-lease-view .nav-links,body.coord-lease-view .mobile-bottom,
 body.coord-lease-view .footer,body.coord-lease-view .demo-ribbon,body.coord-lease-view .notice-bar,
 body.coord-lease-view .coord-noprint,body.coord-lease-view .btn,body.coord-lease-view button,
 body.coord-lease-view .toast,body.coord-lease-view #modal-mount{display:none!important}
 body.coord-lease-view{background:#fff}
 body.coord-lease-view .page-shell{background:#fff;padding:0;min-height:0}
 body.coord-lease-view .container{padding:0;max-width:none}
 body.coord-lease-view .coord-lease-doc{border:0;border-radius:0;padding:0;margin:0;font-size:11.5pt;color:#000}
 body.coord-lease-view .coord-lease-doc h3{break-after:avoid}
 body.coord-lease-view .coord-signatures{break-inside:avoid}
}
