.customer-search-anchor{position:relative;display:block;min-width:0}.customer-search-anchor>input{width:100%}.customer-popup{position:absolute;top:calc(100% + 4px);left:0;right:0;min-width:0;z-index:2000;padding:8px;border:1px solid #177e89;border-radius:10px;background:#fff;color:#17212b;box-shadow:0 10px 28px #14293238;text-align:left;font-size:14px;line-height:1.4;letter-spacing:normal;text-transform:none}.customer-popup-status{margin:4px 4px 8px;font-size:12px;font-weight:500}.customer-options{display:grid;gap:6px;max-height:min(300px,45vh);overflow:auto;overscroll-behavior:contain}.customer-option{display:grid;gap:3px;text-align:left;width:100%;min-height:0;padding:10px;border:1px solid #d4dfe4;border-radius:7px;background:#fff;color:#17212b;cursor:pointer;font-size:14px;line-height:1.4;letter-spacing:normal;text-transform:none}.customer-option:hover,.customer-option:focus-visible{border-color:#177e89;background:#eaf6f5;outline:2px solid #177e89;outline-offset:-2px}.customer-option span,.customer-option small{font-weight:400;font-size:12px}.customer-lookup{margin:12px 0;padding:12px;border:1px solid #cdd8df;border-radius:10px;background:#f7f9fb;color:#17212b}.customer-lookup>.form-note{margin:0;font-size:12px}.customer-lookup label{display:grid;gap:6px;margin-top:10px}.customer-lookup select{width:100%;padding:10px}.customer-lookup[hidden],.customer-lookup [hidden],.customer-popup[hidden],.customer-vehicle-manual[hidden]{display:none}.customer-vehicle-details>summary{cursor:pointer;font-weight:600;padding:10px 0}.customer-vehicle-details[open]>summary{margin-bottom:8px}

.customer-vehicle-dialog{width:min(600px,calc(100vw - 28px));max-height:90vh;padding:24px;border:1px solid #bbcbd2;border-radius:14px;background:#fff;color:#17212b;overflow:auto;box-shadow:0 18px 60px #0004}.customer-vehicle-dialog::backdrop{background:#14202b88}.customer-vehicle-dialog h2{margin:0 0 20px}.customer-vehicle-dialog label{display:grid;gap:6px;margin:12px 0;font-size:14px;font-weight:600}.customer-vehicle-dialog input{width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #b9c9d1;border-radius:7px;background:#fff;color:#17212b;font:inherit}.customer-vehicle-dialog button{font:inherit;cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid #177e89;border-radius:7px;background:#eaf6f5;color:#17212b}.customer-vehicle-dialog button:disabled{opacity:.5;cursor:wait}.customer-vehicle-dialog p{font-size:13px;line-height:1.5}.customer-vehicle-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.customer-vehicle-actions button[type=submit]{background:#17212b;color:#fff}

html.q100-dialog-active,html.q100-dialog-active body,html.q100-embedded-dialog-active,html.q100-embedded-dialog-active body{overflow:hidden!important;overscroll-behavior:none}
dialog[open]{overscroll-behavior:contain;scrollbar-gutter:stable}
.customer-vehicle-dialog{box-sizing:border-box;max-height:calc(100dvh - 32px);margin:16px auto;overflow-y:auto;overscroll-behavior:contain}

.customer-vehicle-dialog .vehicle-no-plate{width:auto;min-height:0}.customer-vehicle-dialog label:has(.vehicle-no-plate){display:flex;align-items:center;gap:10px}.customer-vehicle-dialog [role=alert]:not(:empty){padding:12px;border:1px solid #b02d23;border-radius:6px;background:#fff0ed;color:#85251c;font-weight:600}
.customer-profile-editor fieldset{margin:12px 0;padding:8px 12px 12px;border:1px solid #d5dfe2;border-radius:8px;min-width:0}.customer-profile-editor select,.customer-profile-editor textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #b9c9d1;border-radius:7px;background:#fff;color:#17212b;font:inherit}.customer-profile-editor textarea{min-height:76px;resize:vertical}

.vin-photo-preview{display:block;width:100%;height:auto;max-height:40dvh;object-fit:contain}.vin-capture{margin:8px 0}.vin-capture [hidden]{display:none}.vin-photo-dialog .vin-candidate{display:block;width:100%;margin:12px 0;font:600 17px ui-monospace,monospace;letter-spacing:.04em}

/* Keep actions inside the visible viewport, including a modal in the desk iframe. */
.customer-vehicle-dialog.structured-dialog{padding:0;overflow:hidden;max-height:calc(100dvh - 24px);margin:12px auto}
.customer-vehicle-dialog.structured-dialog>form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 28px);margin:0;padding:0;min-height:0}
.structured-dialog>form>h2{margin:0;padding:18px 20px;border-bottom:1px solid #d5dfe2;font-size:22px;background:white}
.customer-vehicle-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:4px 20px 16px;scroll-padding-block:16px;-webkit-overflow-scrolling:touch}
.structured-dialog .customer-vehicle-actions{margin:0;padding:12px 20px;border-top:1px solid #d5dfe2;background:#fff;box-shadow:0 -5px 12px #17212b12;flex-shrink:0}
.structured-dialog .customer-vehicle-actions button{flex:1;white-space:normal}
@media(max-width:600px){.structured-dialog>form>h2{padding:12px 14px;font-size:19px}.customer-vehicle-body{padding-inline:14px}.structured-dialog .customer-vehicle-actions{padding:10px 14px}}
