.admin-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px}.admin-links a{display:block;padding:22px;background:#e8f4ff;border:1px solid #bdd9ef;border-radius:12px;color:#083c70;text-decoration:none;font-weight:700}.customer-workspace{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,1.5fr);gap:24px}.customer-workspace[hidden]{display:none}.customer-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.customer-fields label{display:flex;flex-direction:column;gap:6px}.customer-fields .full{grid-column:1/-1}.customer-row{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;margin:10px 0;background:#edf7ff;color:#123b60;border:1px solid #c6deef;overflow-wrap:anywhere}.customer-row span{font-size:14px;font-weight:400}.customer-fields textarea{width:100%;min-height:100px;border:1px solid #bccddd;border-radius:6px;padding:10px;font:inherit}.customer-fields input{width:100%}.customer-workspace .panel{min-width:0}.customer-tools{display:flex;gap:12px;align-items:center;justify-content:space-between}.customer-tools h2{margin:0}.customer-active{display:flex;align-items:center;gap:8px;margin:18px 0}@media(max-width:760px){.customer-workspace,.customer-fields{grid-template-columns:1fr}.admin-links{flex-direction:column}.customer-tools{flex-wrap:wrap}}


.customer-logo-tools{margin-top:24px;border-top:1px solid #bdd9ef;padding-top:16px}.customer-logo-tools img{width:160px;height:100px;object-fit:contain;background:white;border:1px solid #bdd9ef;border-radius:8px}.customer-row-logo{width:56px;height:40px;object-fit:contain;background:white;border-radius:6px}

.customer-edit-column{display:flex;flex-direction:column;gap:24px;min-width:0}.customer-workspace .panel{background:#edf7ff;border:1px solid #bdd9ef}.customer-edit-column .customer-logo-tools{margin:0;padding:24px;border:1px solid #bdd9ef}.customer-logo-tools h3{margin-top:0}


.realty-company-card{background:#edf7ff;border:1px solid #b7d5eb;border-left:4px solid #287cb5;border-radius:10px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.realty-company-header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.realty-company-header h3{font-size:17px;margin:0;flex:1;min-width:130px}.realty-company-header button{padding:7px 10px;min-height:36px;font-size:13px}.realty-company-badge{background:#d8eaf8;color:#124b76;font-size:12px;font-weight:700;padding:4px 8px;border-radius:20px}.realty-company-card>p{font-size:14px;margin:10px 0}.realty-company-realtors{border-top:1px solid #c6deef;margin-top:12px;padding-top:12px}.realty-company-realtors>summary{cursor:pointer;font-weight:700;color:#164f79;min-height:30px}.company-contact-browser{margin-top:12px}.company-contact-browser label{display:flex;flex-direction:column;gap:6px;font-size:14px}.company-contact-browser input{width:100%;min-height:42px;background:#fff;border:1px solid #aac9dd;border-radius:6px;padding:8px}.company-contact-count{font-size:12px;color:#526d81}.company-contact h4{margin:0;font-size:15px}.company-contact p{font-size:13px}.company-contact summary{font-size:13px;cursor:pointer;color:#164f79}.company-contact-browser>button{margin-top:12px}.customer-workspace [hidden]{display:none!important}@media(max-width:500px){.realty-company-header{gap:8px}.realty-company-header button{margin-left:auto}.realty-company-card{padding:12px}}

.realty-company-card{cursor:pointer}.realty-company-card:hover{border-color:#287cb5}.realty-company-card:focus-visible{outline:3px solid #287cb5;outline-offset:3px}.realty-company-card details,.realty-company-card input{cursor:auto}

.customer-completeness{display:flex;flex-wrap:wrap;gap:.35rem;margin:.5rem 0}.customer-completeness span{font-size:.78rem;padding:.2rem .4rem;border-radius:4px}.customer-data-present{color:#14532d;background:#dcfce7}.customer-data-missing{color:#991b1b;background:#fee2e2}.customer-validation-pending{color:#475569;background:#e2e8f0}


.customer-workspace{grid-template-columns:minmax(0,1fr);width:100%}.customer-edit-column{width:100%}.customer-edit-column .panel{width:100%;margin:0}.customer-workspace>.panel{width:100%;margin:0}.customer-tools{flex-wrap:wrap}.customer-tools #all-customers-link{color:#075b9c;font-weight:700}#all-customers-modal{width:min(960px,calc(100% - 24px));max-height:85dvh;border:1px solid #bdd9ef;border-radius:14px;padding:24px;background:#fff;color:#082c61;overflow:auto}#all-customers-modal::backdrop{background:#082c6180}.customer-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.customer-modal-heading h2{margin:0}#all-customers-modal>label{display:block;margin-bottom:8px;font-weight:700}#all-customers-modal #customer-list{margin-top:18px}@media(max-width:600px){#all-customers-modal{padding:16px}.customer-fields{grid-template-columns:1fr}.customer-edit-column .panel{padding:16px}}

#customer-logo-card{margin:0 0 20px;padding:0;border:0}#customer-logo-preview{display:block;max-width:220px;max-height:130px;object-fit:contain;margin-bottom:20px}.customer-logo-actions{display:flex;align-items:start;gap:12px;flex-wrap:wrap;margin-top:-6px}.customer-logo-actions label{margin:0}.customer-logo-actions small{flex-basis:100%}.customer-contact-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.customer-managed-contact{border-top:1px solid #bdd9ef;padding:18px 0}.customer-managed-contact .customer-contact-actions{display:flex;gap:10px;margin-top:12px}.customer-managed-contact textarea{width:100%;min-height:80px;font:inherit;border:1px solid #b5c9dd;border-radius:8px;padding:12px}.customer-logo-actions input[type=file]{max-width:100%}#customer-contacts-panel[hidden]{display:none!important}

.customer-fields>label:has(input[name=website]){grid-column:1/-1}

#customer-logo-card{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}#customer-quotes-modal{width:min(760px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid #bdd9ef;border-radius:14px;padding:24px;background:#fff;color:#082c61}.customer-quoted-location{padding:16px 0;border-top:1px solid #bdd9ef;overflow-wrap:anywhere}.customer-quoted-location a{display:block;margin:10px 0}#customer-quotes-modal::backdrop{background:#082c6180}

.customer-read-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.customer-read-details dt{font-weight:700;font-size:13px;color:#53657a}.customer-read-details dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.icon-action{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px}.property-list-row{display:flex;gap:12px;align-items:center;margin:10px 0}.property-list-row .customer-row{flex:1;min-width:0}.customer-contact-actions{flex-wrap:wrap}#customer-form[hidden],#customer-details-view[hidden]{display:none!important}@media(max-width:600px){.customer-read-details{grid-template-columns:1fr}}
