/* Public booking calendars: white surfaces, navy selections and quiet gray ranges. */
body.creek-rounded-ui{--calendar-accent:#142636;--calendar-ink:#111827;--calendar-muted:#4b5563;--calendar-border:#e5e7eb;--calendar-range:#f3f4f6;--calendar-hover:#f2f2f2;--calendar-disabled:#d1d5db;--calendar-face:Inter,"DM Sans",Arial,sans-serif}

/* Trip range dialog. Preserve the existing date selection and keyboard behavior. */
html body.creek-rounded-ui dialog.creek-trip-calendar{width:min(740px,calc(100vw - 32px));padding:20px;border:1.5px solid var(--calendar-border);border-radius:6px;background:#fff;color:var(--calendar-ink);font:400 14px/1.5 var(--calendar-face);box-shadow:0 12px 36px #14263614}
html body.creek-rounded-ui dialog.creek-trip-calendar::backdrop{background:#14263633}
html body.creek-rounded-ui dialog.creek-trip-calendar button{border-radius:6px;color:var(--calendar-ink);font-family:var(--calendar-face);font-weight:600}
html body.creek-rounded-ui dialog.creek-trip-calendar button:hover{background:var(--calendar-hover);color:var(--calendar-ink)}
html body.creek-rounded-ui dialog.creek-trip-calendar :is(h2,h3){color:var(--calendar-ink);font-family:var(--calendar-face);font-weight:700}
html body.creek-rounded-ui dialog.creek-trip-calendar h2{font-size:20px}
html body.creek-rounded-ui dialog.creek-trip-calendar h3{margin-bottom:20px;font-size:14px}
html body.creek-rounded-ui dialog.creek-trip-calendar :is(.trip-calendar-header p,.trip-calendar-instruction,.trip-calendar-selection span,.trip-calendar-status){color:var(--calendar-muted)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection button{border-color:var(--calendar-border)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection button[aria-pressed=true]{border-color:var(--calendar-accent);background:var(--calendar-range);box-shadow:none}
html body.creek-rounded-ui dialog.creek-trip-calendar :is(.trip-calendar-close,.trip-calendar-navigation button){border:0;border-radius:50%;color:var(--calendar-accent)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation button{font-size:0}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation button::before{content:"";width:9px;height:9px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation button[data-direction="-1"]::before{transform:rotate(225deg)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-weekdays{color:var(--calendar-muted);font-size:12px;font-weight:600}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid{row-gap:4px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button{position:relative;isolation:isolate;min-height:40px;border:0;border-radius:0;background:transparent;color:var(--calendar-ink);font-size:14px;font-weight:600}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button:hover:not(:disabled){background:radial-gradient(circle at center,var(--calendar-hover) 18px,transparent 18.5px)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid .is-in-range{background:var(--calendar-range)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid .is-in-range:hover{background:var(--calendar-border)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid :is(.is-start,.is-end){background:none;color:#fff}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid :is(.is-start,.is-end)::before{content:"";position:absolute;z-index:-1;inset:50% auto auto 50%;width:36px;height:36px;border-radius:50%;transform:translate(-50%,-50%);background:#ff3600}
html body.creek-rounded-ui dialog.creek-trip-calendar:has(.is-end) .trip-calendar-grid .is-start{background:linear-gradient(to right,transparent 50%,var(--calendar-range) 50%)}
html body.creek-rounded-ui dialog.creek-trip-calendar:has(.is-start) .trip-calendar-grid .is-end{background:linear-gradient(to left,transparent 50%,var(--calendar-range) 50%)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button:disabled{background:transparent;color:var(--calendar-disabled);text-decoration:line-through;cursor:not-allowed;font-weight:500}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation button:disabled{color:var(--calendar-disabled);background:transparent}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer{border-color:var(--calendar-border)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-save{background:#ff3600;color:#fff;border-radius:999px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-save:hover{background:#e63000;color:#fff}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-save:disabled{background:var(--calendar-range);color:#9ca3af}
html body.creek-rounded-ui dialog.creek-trip-calendar button:focus-visible,html body.creek-rounded-ui .creek-trip-date-trigger:focus-visible{outline:2px solid var(--calendar-accent);outline-offset:2px}
/* Pointer selection stays clean; keyboard focus follows the circular date marker. */
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button:focus{outline:none}
html body.creek-rounded-ui dialog.creek-trip-calendar[data-keyboard-focus="true"] .trip-calendar-grid button:focus-visible::after{content:"";position:absolute;pointer-events:none;inset:50% auto auto 50%;width:42px;height:42px;border:2px solid var(--calendar-accent);border-radius:50%;transform:translate(-50%,-50%)}
html body.creek-rounded-ui button.creek-trip-date-trigger:hover,html body.creek-rounded-ui button.creek-trip-date-trigger[aria-expanded=true]{border-color:var(--calendar-accent);background:var(--calendar-range);color:var(--calendar-ink)}

/* Checkout birth dates use the same controls as the customer calendars.
   Target the navigation buttons explicitly: dropdown triggers stay transparent. */
@layer creek-brand-ui {
html body.creek-rounded-ui .dob-calendar{box-sizing:border-box;width:min(360px,calc(100vw - 28px))!important;max-height:calc(100dvh - 28px);overflow:auto;padding:16px!important;border:1px solid #d4d8df!important;border-radius:24px!important;background:#fff!important;box-shadow:none!important;color:#101419;font:500 14px/1.45 'Creek DM Sans','DM Sans',Arial,sans-serif!important}
html body.creek-rounded-ui .dob-calendar-head{grid-template-columns:40px minmax(0,1fr) 82px 40px!important;gap:6px!important;align-items:center!important}
html body.creek-rounded-ui .dob-calendar-head select{box-sizing:border-box;min-width:0;width:100%;height:44px!important;min-height:44px!important;padding:0 24px 0 10px!important;border:0!important;border-radius:14px!important;background-color:#f0f2f5!important;color:#101419!important;-webkit-text-fill-color:#101419!important;font:600 14px/1.3 'Creek DM Sans','DM Sans',Arial,sans-serif!important;box-shadow:none!important;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23101419' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-position:right 8px center!important;background-repeat:no-repeat!important;background-size:16px!important;cursor:pointer}
html body.creek-rounded-ui .dob-calendar-head :is(#dobPrevMonth,#dobNextMonth){box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:999px!important;background:#f0f2f5!important;color:#101419!important;font-size:0!important;box-shadow:none!important;cursor:pointer}
html body.creek-rounded-ui .dob-calendar-head :is(#dobPrevMonth,#dobNextMonth)::before{content:"";width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
html body.creek-rounded-ui .dob-calendar-head #dobPrevMonth::before{transform:rotate(225deg)}
html body.creek-rounded-ui .dob-weekdays{margin:16px 0 8px!important;gap:0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}
html body.creek-rounded-ui .dob-weekdays span{color:#657080;font:600 12px/1.4 'Creek DM Sans','DM Sans',Arial,sans-serif!important}
html body.creek-rounded-ui .dob-days{gap:4px 0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-auto-rows:40px;align-items:center}
html body.creek-rounded-ui .dob-day{box-sizing:border-box;width:40px!important;max-width:100%;height:40px!important;min-height:40px!important;justify-self:center;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#101419!important;-webkit-text-fill-color:currentColor!important;font:500 14px/1.4 'Creek DM Sans','DM Sans',Arial,sans-serif!important;box-shadow:none!important}
html body.creek-rounded-ui .dob-day:is(.selected,:hover):not(:disabled),html body.creek-rounded-ui .dob-calendar-head :is(#dobPrevMonth,#dobNextMonth):hover{background:#ff3600!important;color:#fff!important}
html body.creek-rounded-ui .dob-day:disabled{background:transparent!important;color:#b7bec7!important;text-decoration:line-through;cursor:not-allowed}
html body.creek-rounded-ui .dob-calendar :is(button,select):focus-visible{outline:2px solid #101419!important;outline-offset:2px}
html body.creek-rounded-ui .dob-clear{box-sizing:border-box;width:100%;height:44px!important;min-height:44px!important;margin-top:16px!important;padding:0 18px!important;border:0!important;border-radius:999px!important;background:#f0f2f5!important;color:#101419!important;-webkit-text-fill-color:currentColor!important;font:600 14px/1.4 'Creek DM Sans','DM Sans',Arial,sans-serif!important;box-shadow:none!important}
html body.creek-rounded-ui .dob-clear:hover{background:#ff3600!important;color:#fff!important}
html body.creek-rounded-ui .dob-calendar-button:hover,html body.creek-rounded-ui .dob-calendar-button[aria-expanded=true]{background:#f0f2f5;color:#101419}
@media(max-width:360px){html body.creek-rounded-ui .dob-calendar{padding:12px!important}html body.creek-rounded-ui .dob-calendar-head select{padding-right:20px!important;padding-left:8px!important;background-position:right 6px center!important;background-size:14px!important}html body.creek-rounded-ui .dob-calendar-head{grid-template-columns:36px minmax(0,1fr) 76px 36px!important;gap:4px!important}html body.creek-rounded-ui .dob-calendar-head :is(#dobPrevMonth,#dobNextMonth){width:36px!important}}
}

/* Enquiry-form date popups share the same palette. */
html body.creek-rounded-ui .flatpickr-calendar{border:1.5px solid var(--calendar-border);border-radius:6px;background:#fff;box-shadow:0 8px 24px #14263614}
html body.creek-rounded-ui .flatpickr-calendar,html body.creek-rounded-ui .flatpickr-calendar *{font-family:var(--calendar-face)!important}
html body.creek-rounded-ui .flatpickr-calendar :is(.flatpickr-current-month,.flatpickr-monthDropdown-months,input.cur-year){color:var(--calendar-ink);font-size:14px!important;font-weight:700!important}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-weekday{color:var(--calendar-muted);font-size:12px!important;font-weight:600!important}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day{border-radius:50%;color:var(--calendar-ink);font-size:14px!important;font-weight:600!important}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day:is(.prevMonthDay,.nextMonthDay){color:#9ca3af}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day:hover,html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day:focus{border-color:var(--calendar-hover);background:var(--calendar-hover)}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day.today{border-color:var(--calendar-accent)}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day.inRange{border-color:var(--calendar-range);border-radius:0;background:var(--calendar-range);box-shadow:-5px 0 0 var(--calendar-range),5px 0 0 var(--calendar-range)}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day:is(.selected,.startRange,.endRange){border-color:var(--calendar-accent);background:var(--calendar-accent);box-shadow:none;color:#fff}
html body.creek-rounded-ui .flatpickr-calendar .flatpickr-day.flatpickr-disabled{border-color:transparent;background:transparent;color:var(--calendar-disabled);text-decoration:line-through}
html body.creek-rounded-ui .flatpickr-calendar :is(.flatpickr-prev-month,.flatpickr-next-month){color:var(--calendar-accent);fill:var(--calendar-accent)}
html body.creek-rounded-ui .flatpickr-calendar :is(.flatpickr-prev-month,.flatpickr-next-month):hover{background:var(--calendar-hover)}
html body.creek-rounded-ui .flatpickr-calendar :is(.flatpickr-prev-month,.flatpickr-next-month):hover svg{fill:var(--calendar-accent)}
@media(max-width:640px){html body.creek-rounded-ui dialog.creek-trip-calendar{width:calc(100vw - 24px);padding:16px;border-radius:6px}html body.creek-rounded-ui dialog.creek-trip-calendar h2{font-size:18px}html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button{min-height:42px}}



/* Vehicle-specific availability, including the entire selected rental range. */
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-availability{margin:0 0 12px;color:var(--calendar-muted);font-size:12px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-retry{margin:0 0 12px;padding:8px 12px;border:1px solid var(--calendar-border)}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-retry[hidden]{display:none}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button.is-unavailable{background:#f9fafb;color:#9ca3af;text-decoration:line-through;cursor:not-allowed}
.detail-availability-message{font-size:14px;line-height:1.5;color:#fff;margin:12px 0}
.detail-availability-message:empty{display:none}


/* Compact reference-style dropdown, anchored to the field instead of a screen overlay. */
html body.creek-rounded-ui dialog.creek-trip-calendar{position:fixed;inset:auto;margin:0;width:350px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;border:1.5px solid #e5e7eb;border-radius:6px;box-shadow:0 8px 16px #14263626;z-index:10000}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-header,
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection,
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-month h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-header button,
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection button{display:none}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation{margin:0 0 20px;gap:8px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation button{width:32px;min-height:36px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-instruction{font-size:14px;font-weight:700;color:#111827}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-months{grid-template-columns:minmax(0,1fr);gap:0}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-weekdays{line-height:24px;margin-bottom:8px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid{row-gap:0}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button{height:40px;min-height:40px;padding:2px 0;filter:none!important;opacity:1!important;text-shadow:none!important}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button:is(:disabled,.is-unavailable){color:#b0b5bd!important;background:transparent!important;text-decoration:line-through!important;text-decoration-thickness:1px!important;text-decoration-color:currentColor!important;opacity:1!important;filter:none!important;cursor:not-allowed}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button:is(:disabled,.is-unavailable)::before{display:none}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-grid button[aria-current=date]:not(:disabled){text-decoration:none}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer{margin-top:10px;padding-top:8px;gap:4px;flex-direction:column;align-items:stretch}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer>div{justify-content:space-between}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer button{min-height:32px;padding:4px 10px;font-size:12px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-status{font-size:11px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-availability{font-size:11px;margin:0 0 8px}

html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-availability[hidden]{display:none}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer>div{display:none}


/* Reviewed range selection controls. */
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection{position:static;width:auto;height:auto;margin:0 0 12px;overflow:visible;clip-path:none;white-space:normal;display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection button{display:flex;min-height:54px;padding:8px 12px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection strong{font-size:13px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-months{grid-template-columns:1fr 1fr;gap:24px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-month h3{position:static;width:auto;height:auto;margin:0 0 12px;overflow:visible;clip-path:none;white-space:normal;font-size:14px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-navigation{margin:8px 0 12px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-instruction{font-size:12px;font-weight:500}





html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer{display:flex;flex-direction:row;align-items:center;gap:10px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer>div{display:flex;gap:8px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer button{min-height:40px;padding:8px 14px;font-size:13px}
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-status{font-size:12px}
@media(max-width:640px){html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-months{grid-template-columns:1fr;gap:0}html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-footer{flex-direction:column;align-items:stretch}}

/* Keep pointer-opened selection tabs free of browser focus rings. */
html body.creek-rounded-ui dialog.creek-trip-calendar .trip-calendar-selection button:focus{outline:none;box-shadow:none}
html body.creek-rounded-ui dialog.creek-trip-calendar[data-keyboard-focus="true"] .trip-calendar-selection button:focus-visible{outline:2px solid var(--calendar-accent);outline-offset:2px}

