/* Persistent inset captions, following prototype/dist/booking-fields. */
body .inset-field {
    display:flex;flex-direction:column;gap:3px;min-width:0;min-height:62px;
    padding:9px 14px 10px;border:1px solid var(--line);border-radius:10px;
    background:var(--panel);color:var(--muted);font-size:11px;font-weight:500;line-height:16px;
    transition:border-color .15s,box-shadow .15s;
}
body .inset-field[hidden]{display:none!important}
.inset-field > .inset-label {font-size:11px!important;font-weight:500!important;line-height:16px!important;color:var(--muted)}
body .inset-field :is(input:not([type=hidden]),textarea,select,.booking-select-trigger) {
    width:100%;min-width:0;margin:0;padding:0!important;border:0!important;border-radius:0;
    background:transparent!important;box-shadow:none!important;color:var(--ink);
    font:400 14px/22px Onest,Arial,sans-serif!important;outline:none;
}
body .inset-field :is(input:not([type=hidden]),select,.booking-select-trigger){height:auto;min-height:22px}
body .inset-field textarea{min-height:62px;resize:vertical}
body .inset-field input::placeholder,body .inset-field textarea::placeholder{color:var(--muted);opacity:.7}
body .inset-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent)}
.inset-field:focus-within > .inset-label{color:var(--accent)}
body .inset-field .booking-select-trigger{padding-right:28px!important;text-align:left}
body .inset-field .booking-select-trigger::after{right:0}
body .inset-field .booking-select-panel input{border:1px solid var(--line)!important;border-radius:8px;padding:8px 10px!important;min-height:40px}
body .inset-field .booking-select-list{font-size:14px;line-height:1.5;font-weight:400;color:var(--ink)}
body .inset-field .fixed-date-field{gap:8px}
body .inset-field .fixed-date-field > .icon{width:30px;height:30px;font-size:17px}
body .inset-field .guest-stepper{align-items:center}
body .inset-field .guest-stepper button{min-height:30px;height:30px;font-size:20px}
body .inset-field .guest-stepper input{text-align:center}
body .inset-field .login-password-control input{padding-right:40px!important}
body .inset-field .password-visibility{height:30px;top:50%;transform:translateY(-50%)}
body .inset-field small{font-size:11px;line-height:1.5;font-weight:400}
body .inset-field.inset-invalid,body .inset-field:has([aria-invalid=true]),body .validation-attempted .inset-field:has(:invalid){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
body .inset-field:has(:disabled):not(:has(input:enabled,select:enabled,textarea:enabled)){opacity:.65}
@media(max-width:540px){body .inset-field :is(input:not([type=hidden]),textarea,select,.booking-select-trigger){font-size:16px!important;line-height:24px!important;min-height:24px}}
@media(prefers-reduced-motion:reduce){body .inset-field{transition:none}}

.searchbar > .inset-standalone,.row > .inset-standalone{flex:1;min-width:0}
body .inset-standalone{margin:0}
body .money-input:has(.inset-field) > span{top:50%;transform:translateY(-50%)}
body .money-input .inset-field input{padding-right:24px!important}
body .range-inputs .inset-field{padding:7px 9px;min-height:54px}
body .range-inputs .inset-field input{width:100%}
/* Pricing adornments must not position the new caption as a currency symbol. */
body #workshop-editor .pricing-table .money-input .inset-label{position:static;transform:none;right:auto;top:auto}
body #workshop-editor .pricing-table :is(.money-input,.range-inputs) input{height:22px}
body .range-inputs > .inset-field{width:68px;flex:0 0 68px}
body .inbox .chat form{border:0;padding:0}
body .inbox .chat form > .inset-field{flex:0 0 100%}
body #workshop-editor .schedule-entry :is(.schedule-fields,.schedule-timing){align-items:stretch}
body #workshop-editor .schedule-entry .inset-field{min-height:84px;justify-content:space-between}
@media(max-width:550px){
 body #workshop-editor .schedule-entry{grid-template-columns:minmax(0,1fr)}
 body #workshop-editor .schedule-entry .schedule-timing{grid-template-columns:minmax(0,1fr)}
 body #workshop-editor .schedule-entry > .row{grid-column:1;grid-row:auto;justify-content:flex-end}
 body #workshop-editor .schedule-entry .inset-field{min-height:72px}
 body .schedule-entry .guest-stepper{gap:4px}
}

/* Anchor the menu to the complete captioned field, not its inner control. */
body .inset-field:has(> .booking-select){position:relative}
body .inset-field > .booking-select{position:static}
