/* Scoped exclusively to the two booking fields. */
.tx-picker-shell{position:relative;width:100%}
.tx-picker-shell>input{padding-right:48px!important;cursor:pointer}
.tx-picker-trigger{position:absolute;right:6px;top:50%;transform:translateY(-50%);height:40px;width:40px;display:flex;align-items:center;justify-content:center;background:transparent;color:inherit;border:0;border-radius:5px;cursor:pointer;z-index:1}
.tx-picker-trigger svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round}
.tx-picker-trigger:hover,.tx-picker-trigger:focus-visible{background:rgba(198,161,91,.14);outline-offset:2px}
.tx-picker-popover[hidden],.tx-picker-backdrop[hidden]{display:none!important}
.tx-picker-popover{position:absolute;top:calc(100% + 7px);left:0;z-index:9999;box-sizing:border-box;width:min(352px,95vw);background:#fff;color:#222;border:1px solid #d8d4cb;border-radius:10px;padding:15px;box-shadow:0 16px 42px rgba(0,0,0,.18);font:400 15px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left}
.tx-picker-popover button{font:inherit;cursor:pointer;touch-action:manipulation;border-radius:6px;transition:background-color .12s}
.tx-picker-popover button:focus-visible{outline:2px solid #956a23;outline-offset:1px}
.tx-picker-popover button:disabled{cursor:not-allowed;opacity:.3}
.tx-picker-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;color:#171717}
.tx-picker-head strong{font-size:16px;font-weight:700}
.tx-picker-close{background:transparent;border:0;color:#555;font-size:26px!important;width:36px;height:36px}
.tx-cal-nav{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:12px}
.tx-cal-nav button{border:1px solid #ddd;background:#fafafa;color:#111;width:36px;height:36px;font-size:23px;line-height:1}
.tx-cal-nav span{font-size:11px;color:#777;text-align:center}
.tx-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.tx-weekday{font-size:12px;color:#6d6559;padding:7px 0;font-weight:700}
.tx-cal-grid button{width:100%;min-height:39px;padding:0;border:1px solid transparent;background:#f6f5f2;color:#202020;font-weight:600}
.tx-cal-grid button:hover:not(:disabled){background:#eee4cf}
.tx-cal-grid button.is-selected{background:#181818;color:#fff}
/* Compact hour/minute interface, isolated from the calendar. */
#tx-time-panel{max-width:320px}
#tx-time-panel .tx-time-selects{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:8px;align-items:end;padding:5px 0 2px}
#tx-time-panel .tx-time-unit{display:flex;flex-direction:column;gap:7px;min-width:0;position:relative}
#tx-time-panel .tx-time-label{font-size:13px;line-height:1.4;font-weight:600;color:#4f4a43}
#tx-time-panel .tx-time-toggle{box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;width:100%;min-width:0;max-width:100%;height:46px;padding:7px 20px 7px 9px;margin:0;border:1px solid #cec8bd;border-radius:7px;background:#faf9f7;color:#171717;font:600 19px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
#tx-time-panel .tx-time-toggle:focus-visible{outline:2px solid #b7904e;outline-offset:2px}
#tx-time-panel .tx-time-chevron{position:absolute;right:9px;font-size:18px;line-height:1;color:#777}
#tx-time-panel .tx-time-menu[hidden]{display:none!important}
#tx-time-panel .tx-time-menu{position:absolute;z-index:10;top:calc(100% + 5px);left:0;right:0;box-sizing:border-box;max-height:168px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px;background:#fff;border:1px solid #d1cbc1;border-radius:7px;box-shadow:0 10px 20px rgba(0,0,0,.15)}
#tx-time-panel .tx-time-menu.is-above{top:auto;bottom:calc(100% + 5px)}
#tx-time-panel .tx-time-option{display:block;box-sizing:border-box;width:100%;min-height:39px;padding:8px;border:0;border-radius:5px;background:#fff;color:#171717;text-align:center;font-size:16px}
#tx-time-panel .tx-time-option:hover:not(:disabled),#tx-time-panel .tx-time-option:focus-visible{background:#f2e7d2}
#tx-time-panel .tx-time-option.is-selected{background:#181818;color:#fff}
#tx-time-panel .tx-time-option:disabled{opacity:.3}
#tx-time-panel .tx-time-separator{font-size:24px;font-weight:700;line-height:46px;text-align:center;color:#555}
.tx-picker-backdrop{display:none}
.tx-picker-shell>input[aria-invalid="true"]{outline:2px solid #bc3629;outline-offset:1px}
@media(max-width:600px){
 .tx-picker-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:99997}
 .tx-picker-popover:not([hidden]){position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(100vw - 28px);max-width:374px;max-height:88dvh;overflow-y:auto;z-index:99998;padding:15px}
 .tx-cal-grid button{min-height:42px}
 #tx-time-panel{overflow:visible!important}
 #tx-time-panel .tx-time-toggle{min-height:48px;height:48px}
}