#inspectors>.title-row{margin:28px 0 24px}
#inspectors>.title-row h1{margin:0}
.inspectors-layout{display:grid;grid-template-columns:minmax(220px,290px) minmax(0,1fr);gap:24px;align-items:start}
#inspectors-details{min-width:0}
.inspectors-directory{min-width:0;background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.inspector-search,.inspector-inspection-search{display:grid;gap:8px;font-size:13px;font-weight:400}
.inspector-search{padding:16px}
.inspector-search input,.inspector-inspection-search input{width:100%;max-width:none;min-width:0;font-size:14px;font-weight:400}
#inspectors-list{max-height:70vh;overflow:auto}
.inspector-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;border:0;border-top:1px solid var(--border);border-radius:0;background:#fff;color:var(--brand);text-align:left;font-size:14px;font-weight:400}
.inspector-list-item:hover{background:#f5f7fb}
.inspector-list-item.active{background:#eef2f8;box-shadow:inset 3px 0 var(--brand)}
.inspector-list-item>span:first-child{overflow-wrap:anywhere}
.inspector-count{flex-shrink:0;min-width:28px;padding:3px 6px;background:#f1f3f7;border-radius:4px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
.inspector-counts{display:grid;justify-items:end;gap:4px;flex-shrink:0}
.inspector-project-count{background:#eaf1fa;color:#234e87}
.inspector-unassigned{color:#895300}
.inspector-unassigned .inspector-count{background:#fff4d6}
.inspector-details{min-width:0;margin:0;padding:24px}
.inspector-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin-bottom:24px}
.inspector-heading h2{margin:0;font-size:23px}
.inspector-summary{color:var(--text-muted);font-size:13px}
.inspector-missing-note{margin:-8px 0 24px;font-size:14px;color:var(--text-muted);line-height:1.6}
.inspector-inspection-search{margin:0 0 20px;max-width:480px}
.inspector-project-search{display:grid;gap:8px;margin:0 0 20px;max-width:480px;font-size:13px;font-weight:400}
.inspector-project-search input{width:100%;max-width:none;min-width:0;font-size:14px;font-weight:400}
.inspector-projects,.inspector-inspections{min-width:0}
.inspector-projects{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.inspector-projects h3,.inspector-inspections h3{margin:0 0 16px;font-size:17px}
.inspector-projects table{min-width:620px}
.inspector-details .inspector-projects table :is(td,th){white-space:normal;width:auto;text-align:left;overflow-wrap:anywhere}
.inspector-projects td:first-child{width:30%;font-weight:500}
.inspector-projects .inspector-building-name{display:block;margin:0 0 6px}
.inspector-details .table-wrap{margin:0}
.inspector-details table{width:100%}
.inspector-details td,.inspector-details th{padding:16px}
.inspector-details td:nth-child(2),.inspector-details td:nth-child(3),.inspector-details td:last-child{white-space:nowrap;width:1%}
.inspector-details td:last-child{text-align:right}
.inspector-details small{margin-top:5px}
.inspector-building-name{padding:0;border:0;border-radius:0;background:transparent;color:var(--brand);font-size:14px;line-height:1.5;font-weight:600;text-align:left}
.inspector-building-name:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}
.inspector-open{display:inline-flex;gap:14px;align-items:center;justify-content:space-between;min-height:38px;font-size:13px;white-space:nowrap}
.inspector-empty{margin:0;padding:20px 16px;font-size:14px}
.inspector-error{display:flex;align-items:center;gap:16px;padding:16px;margin-bottom:20px;border:1px solid var(--border);border-radius:8px;background:#fff}
#inspectors-feedback:empty{display:none}
@media(max-width:1050px){.inspectors-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}.inspector-details{padding:20px}.inspector-details td,.inspector-details th{padding:12px}}
@media(max-width:800px){.inspectors-layout{grid-template-columns:minmax(0,1fr)}#inspectors-list{max-height:240px}.inspector-heading{align-items:flex-start}.inspector-summary{display:block;width:100%}.inspector-details{padding:16px}.inspector-details table{min-width:560px}}
