.task-date-picker {
  position: fixed;
  margin: 0;
  padding: 12px;
  width: 296px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 10px 35px #0f172a33;
  font: 13px system-ui, sans-serif;
}
.task-date-picker::backdrop { background: transparent; }
.task-date-picker-heading, .task-date-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.task-date-picker table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; margin: 8px 0; }
.task-date-picker th, .task-date-picker td { padding: 1px; border: 0; text-align: center; }
.task-date-picker th { position: static; font-size: 11px; font-weight: 600; height: 25px; }
.task-date-picker button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  padding: 6px;
  min-width: 28px;
  min-height: 30px;
  cursor: pointer;
  font: inherit;
}
.task-date-picker td button { width: 100%; }
.task-date-picker button:hover:not(:disabled) { background: #e8f0fe; }
.task-date-picker button:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
.task-date-picker .outside-month { color: #64748b; }
.task-date-picker [aria-current="date"] { box-shadow: inset 0 0 0 1px #2563eb; }
.task-date-picker button.selected { background: #2563eb; color: #fff; }
.task-date-picker button:disabled { opacity: .35; cursor: default; }
