.bid-customer-picker{padding:16px;margin:0 0 12px;border:1px solid var(--line,#d3dee5);border-radius:14px;background:var(--card,#fff);color:var(--ink,#183440);min-width:0}
.bid-customer-picker>label{display:block;margin-bottom:8px;font-weight:750;font-size:14px}
.bid-customer-search-row{display:flex;gap:10px;min-width:0}
.bid-customer-search-row input{flex:1;min-width:0;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line,#d3dee5);border-radius:9px;font:inherit}
.bid-customer-search-row button,.bid-customer-picker button{min-height:44px;border:1px solid var(--line,#d3dee5);border-radius:9px;padding:8px 12px;background:var(--card,#fff);color:var(--ink,#183440);font-weight:700;font-size:14px;font-family:inherit;cursor:pointer}
.bid-customer-search-row button{background:var(--blue,#123d5b);color:#fff;border-color:transparent;white-space:nowrap}
#bid-customer-status{margin:6px 0 0;font-size:12px;color:var(--muted,#52616b);min-height:1em}
#bid-customer-results,#bid-customer-properties{display:grid;gap:6px;max-height:280px;overflow:auto;margin-top:8px}
#bid-customer-results[hidden],#bid-customer-properties[hidden],#bid-customer-card[hidden],.bid-customer-search-row[hidden]{display:none!important}
#bid-customer-results button,#bid-customer-properties button{text-align:left;display:block;width:100%;overflow-wrap:anywhere}
#bid-customer-results small{display:block;font-weight:400;margin-top:3px}
#bid-customer-properties>strong{font-size:13px}
#bid-customer-card{display:flex;justify-content:space-between;align-items:center;gap:14px;min-width:0}
#bid-customer-card>div{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.bid-customer-card-actions{display:flex!important;flex-wrap:wrap;gap:8px}
#bid-customer-name{font-size:16px}
#bid-customer-address,#bid-customer-contact{font-size:13px}
.bid-customer-details{margin:0 0 16px;padding:0 12px;border:1px solid var(--line,#d3dee5);border-radius:10px}
.bid-customer-details>summary{cursor:pointer;padding:10px 0;font-size:13px;font-weight:700;min-height:44px}
#bid-customer-profile .bb-jc-create-actions,#bid-customer-profile .bb-jc-create-panel{grid-column:1/-1}
.bid-customer-profile{border:1px solid var(--line,#d3dee5);border-radius:10px;margin:0 0 12px;padding:12px;min-width:0}
.bid-customer-profile legend{font-size:13px;font-weight:750;padding:0 5px}
.bid-customer-profile>p{margin:0 0 12px;font-size:12px;color:var(--muted,#52616b)}
.bid-customer-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bid-customer-profile-grid label{display:grid;gap:4px;font-size:12px;font-weight:700;min-width:0}
.bid-customer-profile-grid :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box;min-height:44px;border:1px solid var(--line,#d3dee5);border-radius:8px;padding:8px;font-size:16px;font-family:inherit;background:var(--card,#fff);color:var(--ink,#183440)}
.bid-customer-profile-grid [hidden],.bid-contact-composer[hidden]{display:none!important}
.bid-phone-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;min-width:0}
.bid-phone-row .bid-customer-text-note{margin:0;min-height:44px;white-space:nowrap}
.bid-customer-text-note input[type=checkbox]{width:24px;height:24px;min-height:24px;flex:none;accent-color:var(--blue,#123d5b)}
.bid-customer-profile-grid [data-bid-note-toggle],.bid-contact-composer-actions button,.bid-additional-contacts>button{min-height:44px;border:1px solid var(--line,#d3dee5);border-radius:8px;background:var(--card,#fff);color:var(--ink,#183440);font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:8px 12px}
.bid-customer-profile-grid [data-bid-note-field]{margin-top:8px}
.bid-customer-consent-note{font-size:12px;color:var(--muted,#52616b);margin:10px 0}
.bid-contact-composer{border:1px solid var(--line,#d3dee5);border-radius:10px;padding:12px;margin:10px 0}
.bid-contact-composer-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.bid-customer-save-row{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 12px}.bid-customer-save-row p{flex:1;margin:0;font-size:12px;color:var(--muted,#52616b)}.bid-customer-save-row button{min-height:44px;padding:8px 14px;border:0;border-radius:8px;background:var(--blue,#123d5b);color:#fff;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
.bid-customer-profile-wide{grid-column:1/-1}
.bid-customer-text-note{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px}
.bid-additional-contacts{border-top:1px solid var(--line,#d3dee5);padding-top:12px}.bid-additional-contacts>strong{display:block;font-size:13px;margin-bottom:8px}
.bid-additional-contact{border:1px solid var(--line,#d3dee5);border-radius:8px;padding:10px;margin:8px 0;display:grid;gap:4px}.bid-additional-contact strong{font-size:13px}.bid-additional-contact small{color:var(--muted,#52616b);overflow-wrap:anywhere}.bid-contact-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.bid-customer-picker :is(input,button):focus-visible,.bid-customer-details summary:focus-visible{outline:3px solid var(--accent,#ef7b23);outline-offset:2px}
@media(max-width:600px){.bid-customer-search-row{flex-direction:column}.bid-customer-search-row button{width:100%}#bid-customer-card{align-items:flex-start;flex-direction:column}.bid-customer-card-actions{width:100%}.bid-customer-card-actions button{flex:1}.bid-customer-profile-grid{grid-template-columns:minmax(0,1fr)}.bid-phone-row{grid-template-columns:minmax(0,1fr) auto}.bid-phone-row .bid-customer-text-note{white-space:normal;max-width:104px}.bid-customer-save-row{flex-wrap:wrap}.bid-customer-save-row button{width:100%}}
@media print{.bid-customer-picker,.bid-customer-details{display:none!important}}
