.customer-match-panel{grid-column:1/-1;min-width:0}.customer-match-message{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);padding:10px 12px;color:var(--muted);font-size:12px;line-height:1.45}.customer-match-message>[data-customer-match-reason]{flex:1}.customer-match-mark{display:grid;place-items:center;flex:0 0 22px;height:22px;border-radius:50%;background:var(--blue-pale,#eef6ff);color:var(--blue,#2474d5);font-weight:800}.customer-match-message[data-tone="matched"]{border-color:#96d8c1;background:#f6fcf9;color:#27664f}.customer-match-message[data-tone="matched"] .customer-match-mark{background:#dff4eb;color:#187052}.customer-match-message[data-tone="override"],.customer-match-message[data-tone="warning"]{border-color:#efc17e;background:#fff8eb;color:#855616}.customer-match-message[data-tone="override"] .customer-match-mark,.customer-match-message[data-tone="warning"] .customer-match-mark{background:#ffe7bd;color:#9b6212}.customer-match-message .text-btn{flex:0 0 auto;padding:2px 0;cursor:pointer}.remember-unit-customer{display:grid!important;grid-template-columns:auto 1fr;gap:2px 8px;margin-top:8px;border:1px solid #9fc4e8;border-radius:8px;background:var(--blue-pale,#eef6ff);padding:10px 12px;color:var(--ink)!important;font-size:12px!important}.remember-unit-customer input{grid-row:1/3;width:17px!important;height:17px!important;margin:1px 0 0!important}.remember-unit-customer small{color:var(--muted);font-weight:400}.customer-selection-evidence{display:grid;gap:3px;margin:12px 0 0;border:1px solid #96d8c1;border-radius:8px;background:#f6fcf9;padding:10px 11px}.customer-selection-evidence.is-override{border-color:#efc17e;background:#fff8eb}.customer-selection-evidence b{font-size:11px}.customer-selection-evidence span{font-size:11px;line-height:1.4;color:#4f6b60}.customer-selection-evidence small{font-size:9px;color:var(--muted)}
.relationship-entry-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}.relationship-entry-card .team-note{margin:4px 0 0}.relationship-manager-modal{width:min(1180px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}.property-search-form{display:flex;gap:8px;max-width:720px}.property-search-form input,.relationship-form input,.relationship-form select,.relationship-manager-detail header input{width:100%;height:39px;border:1px solid var(--line);border-radius:7px;background:var(--surface,#fff);color:var(--ink);padding:0 10px;font:14px var(--font)}.property-search-form input{flex:1}.property-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}.property-search-result{display:grid;gap:4px;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);padding:12px;color:var(--ink);cursor:pointer}.property-search-result:hover,.property-search-result:focus-visible{border-color:#80b5ee;background:var(--blue-pale,#eef6ff)}.property-search-result span{font-size:11px;color:var(--muted)}.relationship-manager-detail>header{display:grid;grid-template-columns:auto 1fr 180px;align-items:end;gap:16px;border-bottom:1px solid var(--line);padding:16px 0}.relationship-manager-detail h3{margin:0;font:700 18px Manrope}.relationship-manager-detail header p{margin:4px 0 0}.relationship-manager-detail header label{font-size:11px;font-weight:700}.relationship-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.relationship-overview-grid>section{min-width:0;border:1px solid var(--line);border-radius:9px;padding:14px;background:var(--surface,#fff)}.relationship-overview-grid h4,.relationship-form h4{margin:0 0 10px;font:700 14px Manrope}.relationship-row,.relationship-history-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:9px 0}.relationship-row:first-of-type,.relationship-history-row:first-of-type{border-top:0}.relationship-row>div,.relationship-history-row>div{min-width:0}.relationship-row b,.relationship-row span,.relationship-row small,.relationship-history-row b,.relationship-history-row span,.relationship-history-row small{display:block}.relationship-row b,.relationship-history-row b{font-size:11px}.relationship-row div>span,.relationship-history-row div>span{font-size:10px;color:var(--muted);margin-top:2px}.relationship-row small,.relationship-history-row small{font-size:9px;color:var(--muted);margin-top:3px}.relationship-history-row>span{font-size:10px;color:var(--muted);text-align:right}.relationship-actions-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:14px}.relationship-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;border:1px solid var(--line);border-radius:9px;padding:15px;background:var(--surface,#fff)}.relationship-form h4,.relationship-form>p,.relationship-form .included-unit-exceptions{grid-column:1/-1}.relationship-form label{font-size:11px;font-weight:700;color:var(--muted)}.relationship-form label>input,.relationship-form label>select{display:block;margin-top:5px}.relationship-form .relationship-approval{display:flex;align-items:center;gap:8px;color:var(--ink)}.relationship-approval input{width:17px;height:17px}.included-unit-exceptions{border:1px solid #efc17e;border-radius:7px;padding:9px 11px;background:#fff8eb}.included-unit-exceptions summary{cursor:pointer;font-weight:700}.included-unit-exceptions p{font-size:11px;color:#855616}.included-unit-exceptions label{display:flex;align-items:center;gap:7px;margin:7px 0}.included-unit-exceptions input{width:16px;height:16px}.relationship-warning,.relationship-error{border-radius:7px;padding:9px 11px;font-size:11px}.relationship-warning{background:#fff8eb;color:#855616}.relationship-error{background:#ffedef;color:var(--danger,#c64242)}.relationship-loading{color:var(--muted)}.add-unit-form{display:block}.add-unit-form>*{margin-bottom:10px}.add-unit-form .btn{margin:0}.bulk-customer-field{min-width:170px}.bulk-row>.customer-match-panel.compact{grid-column:1/-1}.customer-match-panel.compact .customer-match-message{padding:8px 10px;font-size:11px}
.technician-capacity-panel{margin-top:14px;border:1px solid var(--line);border-radius:9px;background:var(--surface,#fff);overflow:hidden}.technician-capacity-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:10px 12px}.technician-capacity-panel h2{margin:3px 0 0;font:700 14px Manrope}.technician-capacity-panel>header>span{font-size:10px;color:var(--muted)}.capacity-scroll{max-height:218px;overflow:auto}.technician-capacity-row{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(190px,1.25fr) 60px 48px;align-items:center;gap:10px;width:100%;min-width:500px;border:0;border-top:1px solid var(--line);background:transparent;padding:8px 12px;color:var(--ink);text-align:left;cursor:pointer}.technician-capacity-row:first-child{border-top:0}.technician-capacity-row:hover,.technician-capacity-row.selected{background:var(--blue-pale,#eef6ff)}.capacity-technician{display:flex;align-items:center;gap:8px;min-width:0}.capacity-technician b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.capacity-boxes{display:flex;gap:5px;min-width:max-content}.capacity-box{display:block;flex:0 0 17px;width:17px;height:17px;border:1.5px solid #9aabb9;border-radius:3px;background:transparent}.capacity-box.filled{border-color:var(--blue,#2474d5);background:var(--blue,#2474d5)}.technician-capacity-row.full .capacity-box.filled{border-color:#d39132;background:#d39132}.technician-capacity-row.over .capacity-box.filled{border-color:var(--danger,#c64242);background:var(--danger,#c64242)}.capacity-state{min-height:22px;display:flex;align-items:center}.capacity-state .status{font-size:9px}.technician-capacity-row>strong{text-align:right;font-size:11px;white-space:nowrap}.capacity-empty{margin:0;padding:18px;color:var(--muted);font-size:11px}
@media(min-width:1301px){.calendar-panel.has-capacity{padding:18px!important}.calendar-panel.has-capacity .calendar-toolbar{margin-bottom:12px}.calendar-panel.has-capacity .month-head{margin-bottom:8px}.calendar-panel.has-capacity .day-cell{height:62px!important;padding:4px 5px}.calendar-panel.has-capacity .date-num{margin-bottom:2px}.calendar-panel.has-capacity .calendar-event{padding-block:1px}.calendar-panel.has-capacity .more-events{display:none}}
@media(min-width:721px) and (max-width:1300px){.calendar-panel.has-capacity .day-cell{height:76px!important}.capacity-scroll{max-height:260px}}
@media(max-width:900px){.relationship-overview-grid,.relationship-actions-grid{grid-template-columns:1fr}.relationship-manager-detail>header{grid-template-columns:1fr}.relationship-manager-detail>header .text-btn{justify-self:start}.property-search-results{grid-template-columns:1fr}}
@media(max-width:720px){.relationship-entry-card{align-items:stretch;flex-direction:column}.relationship-manager-modal{width:100vw;max-width:100vw}.relationship-form{grid-template-columns:1fr}.relationship-form>*{grid-column:1!important}.technician-capacity-panel{margin-top:12px}.technician-capacity-panel>header{align-items:flex-start;flex-direction:column}.capacity-scroll{max-height:300px;overflow:auto}.capacity-box{flex-basis:18px;width:18px;height:18px}}
.property-search-form{max-width:none;align-items:end}.property-search-form>label{display:grid;gap:5px;min-width:180px;font-size:11px;font-weight:700;color:var(--muted)}.property-search-form select{width:100%;height:39px;border:1px solid var(--line);border-radius:7px;background:var(--surface,#fff);color:var(--ink);padding:0 10px;font:14px var(--font)}.property-search-form>input{min-width:0}.relationship-create-address{margin-top:18px}.relationship-create-address>summary{width:fit-content;cursor:pointer;font-size:14px;font-weight:700;color:var(--blue,#2475c7);padding:10px 0}.relationship-create-address>.relationship-form{margin-top:8px}.relationship-create-address h3{grid-column:1/-1;margin:0;font:700 17px Manrope}.relationship-create-address p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.relationship-create-address .btn{align-self:end}.relationship-create-address .relationship-approval input{flex:0 0 17px}
@media(max-width:720px){.property-search-form{flex-wrap:wrap}.property-search-form>label{flex-basis:100%}.property-search-form>input{flex-basis:calc(100% - 95px)}.relationship-create-address .btn{width:100%}}
html:is([data-theme=dark],[data-color-scheme=dark]) :is(.customer-match-message,.remember-unit-customer,.customer-selection-evidence,.relationship-manager-modal,.property-search-result,.relationship-overview-grid>section,.relationship-form,.technician-capacity-panel){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
.remember-unit-customer[hidden]{display:none!important}
.relationship-address-views{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.property-address-issues{display:block;color:var(--ink);font-weight:600;margin:5px 0}
