.booking-editor { max-width:1100px; }
.booking-editor .booking-cancel { color:#923f32; border-color:#e8c9c3; }
.booking-editor fieldset { margin-bottom:36px; }
.booking-picker { position:relative; }
.booking-picker__input { position:relative; display:flex; }
.booking-picker:has(.booking-picker__panel) .booking-picker__input { z-index:31; }
.booking-picker__input input { padding-right:48px!important; }
.booking-picker__input>button { position:absolute; right:1px; top:1px; bottom:1px; width:42px; border:0; border-radius:0 6px 6px 0; background:transparent; color:#626963; cursor:pointer; font-size:20px; }
.booking-picker__backdrop { position:fixed; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; z-index:30; cursor:default; }
.booking-picker__panel { position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:32; padding:8px; border:1px solid #dfe4dd; border-radius:10px; background:white; box-shadow:0 10px 32px #292e2c20; }
.clients .booking-picker__hint { margin:4px 8px 10px; color:#727873; font-size:12px; }
.booking-picker__options { max-height:240px; overflow-y:auto; }
.booking-picker__options button,.booking-picker__create { display:block; width:100%; padding:11px 12px; border:0; border-radius:6px; background:white; text-align:left; color:#292e2c; font:inherit; cursor:pointer; overflow-wrap:anywhere; }
.booking-picker__options button:hover,.booking-picker__options button.is-active { background:#eaf5ef; }
.booking-picker__options button[aria-selected=true] { font-weight:600; }
.booking-picker__create { margin-top:8px; border-top:1px solid #e8eae5; border-radius:0; color:#237c6d; font-weight:500; }
.booking-picker__create:hover { background:#fbefed; }
.booking-copy { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:24px; }
.booking-map { margin:28px 0; }
.booking-map h2 { font-size:16px; margin-bottom:8px; }
.booking-zone-group { margin-top:20px; }
.booking-zone-group h3 { font-weight:400; font-size:14px; margin-bottom:12px; }
.booking-zones { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.booking-zones label,.booking-zones input { text-align:center; }
.booking-upload { background:#fbf5ef; border:1px dashed #d8c5b8; border-radius:10px; padding:24px; }
.booking-photo-fields { margin:22px 0; }
.booking-photo-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-bottom:24px; }
.booking-photo-groups--single { grid-template-columns:1fr; }
.booking-photo-group { min-width:0; padding:22px; border:1px solid #e8eae5; border-radius:14px; }
.booking-photo-group h2 { font-size:18px; margin-bottom:18px; }
.booking-photo-group .booking-photos { grid-template-columns:1fr; }
.booking-photo-group .booking-photos:empty { display:none; }
.booking-photo-group .booking-upload { padding:16px; }
.booking-photo-group input[type=file] { font-size:13px; }
.booking-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:24px; }
.booking-photos figure { margin:0; }
.booking-photos img { width:100%; height:220px; object-fit:contain; background:#fafaf7; border:1px solid #e8eae5; border-radius:10px; }
.booking-photos figcaption { font-size:13px; color:#727873; overflow-wrap:anywhere; }
.booking-cell-detail { display:block; color:#727873; font-size:13px; }
.booking-client-actions { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
@media(max-width:650px) { .booking-copy { flex-direction:column; align-items:flex-start; } .booking-zones { grid-template-columns:repeat(3,minmax(0,1fr)); } .booking-photos,.booking-photo-groups { grid-template-columns:1fr; } }
.booking-created-dialog{width:min(520px,calc(100vw - 32px));text-align:center;padding:36px}.booking-created-check{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin:0 auto 24px;border-radius:50%;background:#e6f2ec;color:#237c6d}.booking-created-check svg{width:40px;height:40px}.booking-created-dialog h2{font-size:24px;margin-bottom:14px}.booking-created-dialog h2:focus{outline:none}.booking-created-dialog p{margin:0 0 28px;line-height:1.7}.booking-created-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}@media(max-width:550px){.booking-created-dialog{padding:28px 20px}.booking-created-actions{flex-direction:column}.booking-created-actions .clients-button{width:100%}}
.booking-pending-photo{display:flex;align-items:flex-start;gap:16px;margin:20px 0;padding:16px;border:1px solid #e8eae5;border-radius:12px;background:#fafaf7}.booking-pending-thumbnail{display:block;flex:0 0 120px;width:120px;height:100px;object-fit:contain;border-radius:8px;background:white}.booking-pending-details{flex:1;min-width:0}.booking-pending-name{margin:0 0 12px!important;overflow-wrap:anywhere;font-size:13px;font-weight:600}.booking-pending-details label{font-size:13px}.booking-remove-upload{margin-top:12px;color:#923f32;font-size:13px;min-height:40px;padding:8px 12px}@media(max-width:650px){.booking-pending-photo{flex-direction:column}.booking-pending-thumbnail{flex-basis:auto;width:100%;height:160px}.booking-pending-details{width:100%}}
.booking-photo-open{display:block;width:100%;padding:0;border:0;border-radius:10px;background:transparent;cursor:zoom-in}.booking-photo-open:focus-visible{outline:3px solid #298e7c;outline-offset:4px}.booking-pending-open{flex:0 0 120px;width:120px}.photo-lightbox{box-sizing:border-box;width:calc(100vw - 32px);max-width:1400px;height:calc(100dvh - 32px);max-height:1100px;margin:auto;padding:16px;border:1px solid #ffffff22;border-radius:16px;background:#141a17;color:#fff;overflow:hidden}.photo-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.photo-lightbox::backdrop{background:#0c1412df}.photo-lightbox-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.photo-lightbox-header p{margin:0;font-size:14px}.photo-lightbox button{border:1px solid #ffffff44;border-radius:8px;background:#25332d;color:#fff;font:inherit;cursor:pointer;min-width:44px;min-height:44px;padding:8px 14px}.photo-lightbox button:hover{background:#3a5045}.photo-lightbox button:focus-visible{outline:3px solid #a4dcca;outline-offset:3px}.photo-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;touch-action:pan-y pinch-zoom}.photo-lightbox-stage>img{display:block;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}.photo-lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;font-size:30px!important;line-height:1;background:#14221cbb!important}.photo-lightbox-prev{left:4px}.photo-lightbox-next{right:4px}.photo-lightbox-loading{position:absolute;bottom:16px;margin:0!important;padding:8px 16px;border-radius:8px;background:#14221cbb;font-size:13px}.photo-lightbox-footer{text-align:center;max-height:20dvh;overflow:auto}.photo-lightbox-caption{margin:4px 0 8px!important;white-space:pre-wrap;overflow-wrap:anywhere}.photo-lightbox-footer small{color:#bdccc4;font-size:12px}@media(max-width:650px){.booking-pending-open{flex-basis:auto;width:100%}.photo-lightbox{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;padding:12px}.photo-lightbox button{padding:8px 12px}.photo-lightbox-footer{padding-bottom:env(safe-area-inset-bottom)}.photo-lightbox-stage>img{width:100%}}
.photo-lightbox .photo-lightbox-header p,.photo-lightbox .photo-lightbox-footer p,.photo-lightbox .photo-lightbox-loading{color:#fff}
.booking-status{display:inline-flex;align-items:center;max-width:100%;padding:4px 9px;border:1px solid #d8dee5;border-radius:6px;background:#eef1f4;color:#4a5565;font-size:12px;font-weight:500;line-height:1.45;vertical-align:middle;overflow-wrap:anywhere}.booking-status--0{background:#eef1f4;color:#4a5565;border-color:#d8dee5}.booking-status--1{background:#e8f0ff;color:#2458a6;border-color:#cbdafa}.booking-status--2{background:#e5f3e9;color:#236b3b;border-color:#c6e3cf}.booking-status--3{background:#fde9e7;color:#9b3531;border-color:#f1c7c3}.booking-status--4{background:#fff1d6;color:#855600;border-color:#ecd5a3}.schedule-visit .booking-status{flex-shrink:0;max-width:42%;font-size:.7rem}
