/* BUILDOJA dates: custom trigger and calendar, with native value/validation retained. */
.bdj-date{position:relative;min-width:0;width:100%}
.bdj-date[hidden],.bdj-date__panel[hidden]{display:none!important}
.bdj-date .bdj-date__input{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important;opacity:0!important}
.bdj-date__trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:48px;padding:11px 12px;border:1px solid var(--line,#dce4e6);border-radius:7px;background:var(--surface,#fff);color:var(--ink,#13394c);font:inherit;font-size:15px;line-height:1.4;text-align:left;cursor:pointer}
.bdj-date__value{min-width:0;overflow-wrap:anywhere}
.bdj-date[data-empty=true] .bdj-date__value{color:var(--muted,#61727b)}
.bdj-date__trigger>svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:var(--blue,#186290)}
.bdj-date__trigger:hover:not(:disabled){border-color:var(--blue,#186290)}
.bdj-date__trigger:focus-visible{outline:2px solid var(--blue,#186290);outline-offset:3px}
.bdj-date__trigger[aria-invalid=true]{border-color:#b5322c}
.bdj-date__trigger:disabled{opacity:.55;cursor:not-allowed}
.bdj-date__panel{position:fixed;inset:auto;z-index:1000;box-sizing:border-box;width:344px;max-width:calc(100vw - 16px);margin:0;padding:10px 12px 12px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line,#dce4e6);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#13394c);box-shadow:0 12px 42px #0c2f4829;font:inherit;line-height:1.4;color-scheme:light}
.bdj-date__panel::backdrop{background:transparent}
.bdj-date__top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;margin-bottom:4px}
.bdj-date__label{font-size:12px;font-weight:600;color:var(--muted,#61727b)}
.bdj-date__close,.bdj-date__month-button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:0;padding:0;border:0;border-radius:7px;background:transparent;color:var(--ink,#13394c);cursor:pointer}
.bdj-date__close{margin:-5px -5px -5px 0}
.bdj-date__close>svg,.bdj-date__month-button>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bdj-date__previous>svg{transform:rotate(180deg)}
.bdj-date__close:hover,.bdj-date__month-button:hover:not(:disabled){background:var(--pale,#eef3ef)}
.bdj-date__nav{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:6px}
.bdj-date__month{font-size:15px;font-weight:700;text-align:center;line-height:1.3}
.bdj-date__month-button:disabled{opacity:.3;cursor:not-allowed}
.bdj-date__weekdays,.bdj-date__week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.bdj-date__weekdays{margin-bottom:4px}
.bdj-date__weekdays>span{text-align:center;padding:4px 0;font-size:11px;font-weight:600;color:var(--muted,#61727b)}
.bdj-date__cell{display:flex;min-width:0;min-height:42px;align-items:center;justify-content:center}
.bdj-date__day{position:relative;width:100%;min-width:0;min-height:42px;padding:6px 1px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink,#13394c);font:inherit;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.2;text-align:center;cursor:pointer;touch-action:manipulation}
.bdj-date__day:hover:not(:disabled){background:var(--pale,#eef3ef)}
.bdj-date__day[aria-current=date]::after{position:absolute;content:'';bottom:4px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:currentColor}
.bdj-date__day[data-selected=true],.bdj-date__day[data-selected=true]:hover{background:#164d6b;color:#fff;font-weight:700}
.bdj-date__day:disabled{color:var(--muted,#61727b);opacity:.3;cursor:not-allowed}
.bdj-date__day:focus-visible,.bdj-date__month-button:focus-visible,.bdj-date__close:focus-visible{outline:2px solid var(--blue,#186290);outline-offset:-2px}
.bdj-date__message{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--muted,#61727b)}
.dark .bdj-date__panel{color-scheme:dark;box-shadow:0 12px 42px #0007}
.dark .bdj-date__day[data-selected=true],.dark .bdj-date__day[data-selected=true]:hover{background:#8bcbe8;color:#102b3b}
.dark .bdj-date__trigger[aria-invalid=true]{border-color:#ffaaa4}
@media(max-width:380px){.bdj-date__trigger{font-size:14px;padding-inline:10px}.bdj-date__panel{padding-inline:10px}.bdj-date__cell,.bdj-date__day{min-height:40px}}
@media(prefers-reduced-motion:reduce){.bdj-date__panel,.bdj-date__trigger{scroll-behavior:auto}}
