.overview-select{display:flex;align-items:end;gap:18px;padding:16px;margin-bottom:18px}.overview-select .location-grid{flex:1;margin:0}.property-viewer{display:block;width:100%;height:730px;border:1px solid var(--line);border-radius:12px;background:#dde5df}.editing-viewer{height:850px}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.management-card{padding:24px}.management-card h2{font-size:19px}.management-card p{color:var(--muted);line-height:1.6;min-height:45px}.area-report-context{background:#eff5ed;border-left:3px solid var(--green);padding:12px;font-size:13px}@media(max-width:900px){.overview-select{display:block}.overview-select button{margin-top:14px}.management-grid{grid-template-columns:1fr}.property-viewer{height:760px}.content{padding:18px}}

/* Compact property overview: keep the map above the fold. */

.overview-content{max-width:none;padding:16px 28px 24px}
.overview-content .heading{gap:18px;align-items:center;margin-bottom:12px}
.overview-content .heading>div{min-width:0}
.overview-content .heading .eyebrow{font-size:9px;line-height:12px}
.overview-content .heading h1{font-size:28px;line-height:1.15;margin:3px 0 5px}
.overview-content .heading p{font-size:12px;line-height:1.4;margin:0}
.overview-content .heading .btn{flex:none;width:auto;min-width:0;min-height:34px;height:auto;margin:0;padding:8px 12px;font-size:12px}
.overview-content .overview-select{padding:9px 12px;gap:12px;margin-bottom:12px;display:block}
.overview-content .overview-select .location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:12px;justify-content:start}
.overview-content .overview-select .field{gap:4px;margin:0}
.overview-content .overview-select label{font-size:11px;line-height:14px}
.overview-content .overview-select select{width:100%;height:32px;min-height:32px;padding:5px 9px;font-size:12px;border-radius:5px}
@media(max-width:760px){.overview-content{padding:12px 14px 20px}.overview-content .heading{flex-wrap:wrap;gap:10px}.overview-content .heading h1{font-size:25px}.overview-content .overview-select .location-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
.overview-content .property-viewer{height:calc(100dvh - 240px);min-height:380px}


.overview-content,.facility-edit-content{max-width:none;padding:8px 24px 20px}
.overview-content .heading,.facility-edit-content .heading{margin-bottom:8px;gap:14px;align-items:center}
.overview-content .heading h1,.facility-edit-content .heading h1{font-size:25px;line-height:1.15;margin:2px 0 4px}
.facility-edit-content .heading p{font-size:12px;line-height:1.4;margin:0}
.overview-content .heading .eyebrow,.facility-edit-content .heading .eyebrow{font-size:9px;line-height:10px}
.facility-edit-content .heading .btn{font-size:12px;min-height:32px;padding:7px 10px;margin:0;width:auto;height:auto}
.facility-edit-content .editing-viewer{height:calc(100dvh - 130px);min-height:460px}
.overview-content .overview-select{padding:7px 10px;margin-bottom:8px}
.overview-content .overview-select select{height:30px;min-height:30px}
.overview-content .property-viewer{height:calc(100dvh - 210px);min-height:380px}

.issue-row {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.issue-location, .issue-handler { overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .table-head.issue-row { display: none; }
  .report.issue-row { grid-template-columns: minmax(0, 1fr) auto; }
  .issue-row .report-title { grid-column: 1 / -1; }
  .issue-location { grid-column: 1 / -1; }
  .issue-handler { grid-column: 1; }
}

/* Facilities Review keeps the Mac work-table and right-panel layout in the cloud palette. */
.facilities-review .review-header{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:14px;margin-bottom:10px}
.facilities-review .review-date{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.facilities-review .review-date label{display:grid;gap:5px;font-size:13px;font-weight:600}
.facilities-review .review-date input{font:inherit;color:inherit;background:white;border:1px solid #bdcbbd;border-radius:7px;min-height:43px;padding:8px}
.facilities-review .review-header .btn{width:auto;height:auto;font-size:13px;padding:11px 16px;margin:0}
.facilities-review .review-tools,.facilities-review .review-filters{display:flex;align-items:start;flex-wrap:wrap;gap:8px;margin:14px 0}
.facilities-review .review-tools details[open]{flex-basis:100%}
.facilities-review .review-tools summary{width:max-content;max-width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);cursor:pointer;font-size:13px;font-weight:600}
.facilities-review .review-tool-links,.facilities-review .review-issues{padding:12px;background:white;border:1px solid var(--line);border-radius:7px;margin-top:5px}
.facilities-review .review-tool-links{display:flex;flex-wrap:wrap;gap:8px}
.facilities-review .review-issues ul{padding-inline-start:20px;margin-top:0}
.facilities-review .review-issues small{display:block;padding-bottom:8px}
.facilities-review .review-filters [aria-pressed="true"]{background:var(--green);border-color:var(--green);color:white}
.facilities-review .review-table-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px}
.facilities-review .review-table{border-collapse:collapse;width:100%;table-layout:fixed;background:white}
.facilities-review .review-table th,.facilities-review .review-table td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.facilities-review .review-table th:first-child{width:46%}
.facilities-review .review-table th:last-child{width:26%}
.facilities-review .review-table thead{background:var(--ink);color:white}
.facilities-review .review-table thead button,.facilities-review .review-expand,.facilities-review .review-link{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left}
.facilities-review .review-table thead [aria-sort="ascending"] button::after{content:" ↑"}
.facilities-review .review-table thead [aria-sort="descending"] button::after{content:" ↓"}
.facilities-review .review-expand,.facilities-review .review-link{color:var(--green);font-weight:650}
.facilities-review .review-expand{display:flex;align-items:center;gap:.55rem;width:100%}
.facilities-review .review-expand::before{content:"";width:.4rem;height:.4rem;flex:none;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(-45deg)}
.facilities-review .review-expand[aria-expanded="true"]::before{transform:rotate(45deg)}
.facilities-review .review-link:hover,.facilities-review .review-expand:hover{text-decoration:underline}
.facilities-review .review-summary td{background:#f0f4ed}
.facilities-review #review-more{margin-top:10px}
.facilities-review .facility-review-panel{position:fixed;inset:0 0 0 auto;height:100%;max-height:100%;width:min(38rem,100%);max-width:100%;margin:0;border-radius:0;background:var(--cream)}
@media(max-width:760px){
 .facilities-review .review-table th,.facilities-review .review-table td{padding:8px 6px;font-size:12px}
 .facilities-review .review-table th:last-child{width:31%}
 .facilities-review .review-expand{min-height:36px}
}
