/* Date picker (datepicker.js): minimal, matches the custom dropdowns */
.dp { position: relative; width: 100%; }
.dp-native { position: absolute !important; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; border: 0 !important; padding: 0 !important; min-height: 0 !important; }
.dp__btn { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem .8rem; border: 1px solid #d6d3ca; border-radius: 10px; background: #fff; color: var(--ink, #000); font: 400 .95rem var(--font, inherit); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.dp__btn:hover { border-color: #b8b8ac; }
.dp__btn:focus-visible, .dp.is-open .dp__btn { border-color: var(--plum, var(--t-primary,#5e6e48)); outline: 3px solid var(--plum-tint, var(--t-primary-tint,#f1f3ec)); }
.dp__val.is-ph { color: #85857a; }
.dp__ico { display: grid; color: #7a7a70; flex: none; }
.dp.is-disabled .dp__btn { color: #85857a; cursor: not-allowed; background: var(--t-soft-2,#faf9f6); }

.dp__pop { position: fixed; z-index: 1000; width: 288px; padding: .8rem; background: #fff; border: 1px solid #e3e0d8; border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(31,34,26, .35); font: 400 .9rem var(--font, inherit); color: var(--ink, #000); animation: dpIn .12s ease-out; }
.dp__head { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-bottom: .6rem; }
.dp__title { display: flex; gap: .25rem; flex: 1; justify-content: center; }
.dp__sel { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 700 .95rem var(--font, inherit); color: var(--plum, var(--t-primary,#5e6e48)); padding: .25rem .35rem; border-radius: 8px; cursor: pointer; text-align: center; }
.dp__sel:hover { background: var(--plum-tint, var(--t-primary-tint,#f1f3ec)); }
.dp__nav { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--plum, var(--t-primary,#5e6e48)); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.dp__nav:hover { background: var(--plum-tint, var(--t-primary-tint,#f1f3ec)); }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dp__dow { padding: .3rem 0; font-size: .72rem; font-weight: 700; color: #85857a; text-transform: uppercase; letter-spacing: .03em; }
.dp__day { height: 36px; border: 0; border-radius: 50%; background: transparent; font: 500 .88rem var(--font, inherit); color: inherit; cursor: pointer; }
.dp__day.is-we { color: #6f7263; }
.dp__day:hover:not(:disabled) { background: var(--plum-tint, var(--t-primary-tint,#f1f3ec)); }
.dp__day:focus-visible { outline: 2px solid var(--plum, var(--t-primary,#5e6e48)); outline-offset: -2px; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--t-accent,#b07d2b); font-weight: 700; }
.dp__day.is-sel { background: var(--plum, var(--t-primary,#5e6e48)); color: #fff; font-weight: 700; box-shadow: none; }
.dp__day:disabled { color: #cbc8bd; cursor: not-allowed; }
.dp__foot { display: flex; justify-content: space-between; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid #eff0ed; }
.dp__foot button { background: none; border: 0; padding: .25rem .4rem; border-radius: 6px; font: 600 .85rem var(--font, inherit); color: var(--plum, var(--t-primary,#5e6e48)); cursor: pointer; }
.dp__foot button:hover:not(:disabled) { background: var(--plum-tint, var(--t-primary-tint,#f1f3ec)); }
.dp__foot button:disabled { color: #cbc8bd; cursor: not-allowed; }
.dp__foot [hidden] { display: none; }
.filters .dp, .page-actions .dp, .filter-row .dp { min-width: 150px; }
@keyframes dpIn { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .dp__pop { animation: none; } }
