/* Date presentation only; native values, constraints and calendar behavior retained. */
.app-shell input[type="date"] {
  box-sizing: border-box;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #edf4fb;
  color: #142c47;
  font: inherit;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  color-scheme: light;
  box-shadow: none;
  transition: background-color .16s ease, box-shadow .16s ease;
}
.app-shell input[type="date"]:hover { background: #e4eef9; }
.app-shell input[type="date"]:focus {
  border: 0;
  outline: 2px solid #0868b5;
  outline-offset: 2px;
  background: #fff;
  box-shadow: none;
}
.app-shell input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  padding: 4px;
  margin-left: 8px;
  cursor: pointer;
  border-radius: 7px;
  opacity: .75;
}
.app-shell input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background-color: #dceeff;
  opacity: 1;
}
.app-shell .field:has(input[type="date"]) > label {
  color: #3f5369;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.app-shell .field:has(input[type="date"]) > .help {
  margin-top: 8px;
  line-height: 1.5;
}
/* Existing From/To toolbars only. No page or form markup is replaced. */
.app-shell form.toolbar:has(input[type="date"][name="from"]):has(input[type="date"][name="to"]) {
  gap: 12px;
  align-items: flex-end;
}
.app-shell form.toolbar:has(input[type="date"][name="from"]) > label:has(input[type="date"]) {
  display: grid;
  gap: 8px;
  color: #3f5369;
  font-size: 12px;
  font-weight: 700;
}
.app-shell form.toolbar input[type="date"] { width: 180px; max-width: 100%; }
.app-shell form.toolbar:has(input[type="date"][name="from"]) > button.btn {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  background: #0868b5;
  color: #fff;
  font-size: 13px;
}
.app-shell form.toolbar:has(input[type="date"][name="from"]) > button.btn:hover { background: #07528f; }
.app-shell form.toolbar:has(input[type="date"][name="from"]) > a.btn {
  min-height: 48px;
  border-radius: 14px;
  padding: 12px 18px;
  background: #edf4fb;
  color: #07528f;
}
.app-shell form.toolbar:has(input[type="date"][name="from"]) > .btn:focus-visible {
  outline: 2px solid #0868b5;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .app-shell form.toolbar:has(input[type="date"][name="from"]) > label:has(input[type="date"]),
  .app-shell form.toolbar:has(input[type="date"][name="from"]) > input[type="date"] {
    flex: 1 1 140px;
    min-width: 0;
  }
  .app-shell form.toolbar:has(input[type="date"][name="from"]) > label input[type="date"] { width: 100%; }
  .app-shell form.toolbar:has(input[type="date"][name="from"]) > small { flex-basis: 100%; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .app-shell input[type="date"] { transition: none; }
}
