.app-date-field { position: relative; min-width: 0; }
.app-date-field > [data-date-picker] { width: 100%; padding-right: 42px; background: #fff; cursor: pointer; }
.app-date-field > svg { position: absolute; top: 50%; right: 12px; width: 18px; height: 18px; color: var(--brand-dark); pointer-events: none; transform: translateY(-50%); }
.app-date-picker { position: fixed; z-index: 1500; width: 304px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 18px 42px rgba(15, 35, 60, .2); color: var(--ink); }
.app-date-picker > header { min-height: 38px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 6px; margin-bottom: 8px; }
.app-date-picker > header b { font-size: 14px; text-align: center; text-transform: capitalize; }
.app-date-picker > header button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--brand-dark); font-size: 22px; line-height: 1; }
.app-date-picker > header button:hover { background: var(--brand-soft); }
.app-date-weekdays, .app-date-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.app-date-weekdays span { height: 28px; display: grid; place-items: center; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.app-date-days button { position: relative; width: 36px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-size: 12px; }
.app-date-days button:hover:not(:disabled) { background: var(--brand-soft); color: var(--brand-dark); }
.app-date-days button.is-outside { color: #a8b3c1; opacity: .68; }
.app-date-days button.is-today { box-shadow: inset 0 0 0 1px #8abcf0; color: var(--brand-dark); font-weight: 800; }
.app-date-days button.is-selected { background: var(--brand); color: #fff; font-weight: 800; box-shadow: none; }
.app-date-days button:disabled { color: #c8d0da; cursor: not-allowed; text-decoration: line-through; }
.app-date-picker > footer { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line-soft); }
.app-date-picker > footer button { min-height: 30px; padding: 5px 9px; border: 0; border-radius: 6px; background: transparent; color: var(--brand); font-size: 12px; font-weight: 700; }
.app-date-picker > footer button:hover { background: var(--brand-soft); }
@media (max-width: 420px) { .app-date-picker { width: min(304px, calc(100vw - 20px)); } }
