.nexus-date-field { min-width: 0; display: grid; gap: 6px; }
.nexus-date-field > label { color: inherit; font: inherit; }
.nexus-date-control { display: flex; align-items: stretch; border: 1px solid var(--line, #dce1e8); border-radius: 10px; background: #fff; overflow: hidden; }
.nexus-date-control:focus-within { border-color: var(--accent, #983e36); box-shadow: 0 0 0 3px #983e361c; }
.nexus-date-control input[data-date-text] { width: 100%; min-width: 0; min-height: 44px; border: 0; border-radius: 0; padding: 0 10px; background: transparent; color: var(--ink, #202633); font: inherit; font-weight: 600; box-shadow: none; }
.nexus-date-field .nexus-date-control button { width: 44px; flex: 0 0 44px; border: 0; border-left: 1px solid var(--line, #dce1e8); border-radius: 0; background: #fbf7f6; color: var(--accent, #983e36); display: grid; place-items: center; cursor: pointer; }
.nexus-date-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nexus-date-calendar[hidden] { display: none; }
.nexus-date-calendar { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line, #dce1e8); border-radius: 12px; background: #fff; color: var(--ink, #202633); box-shadow: 0 8px 24px #2a111112; }
.nexus-date-month { display: grid; grid-template-columns: 32px minmax(0, 1fr) 70px 32px; align-items: center; gap: 3px; margin-bottom: 5px; }
.nexus-date-month select { width: 100%; min-width: 0; font: inherit; font-size: 12px; padding: 0 2px; border: 0; background: #fff; color: inherit; }
.nexus-date-calendar .nexus-date-month button, .nexus-date-calendar .nexus-date-days button { min-height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.nexus-date-month button { font-size: 22px; }
.nexus-date-weekdays, .nexus-date-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.nexus-date-weekdays { color: var(--muted, #738091); font-size: 11px; padding: 4px 0; }
.nexus-date-days button.is-other-month { color: #7a8492; }
.nexus-date-days button[aria-current="date"] { box-shadow: inset 0 0 0 1px #b27b31; }
.nexus-date-calendar .nexus-date-days button[aria-pressed="true"] { background: var(--accent, #983e36); color: #fff; }
.nexus-date-calendar button:hover:not(:disabled):not([aria-pressed="true"]) { background: #f6e9e6; }
.nexus-date-calendar button:disabled { opacity: .3; cursor: default; }
.nexus-date-close { display: block; width: 100%; min-height: 36px; margin-top: 5px; border: 0; border-radius: 6px; background: #faf6f5; color: var(--accent, #983e36); font: inherit; font-size: 12px; cursor: pointer; }
.nexus-date-field :is(button, select):focus-visible { outline: 2px solid var(--accent, #983e36); outline-offset: 1px; }
