/* Compact, non-modal date filtering within the existing orange/white workspace. */
.adm-date-control{flex:none;min-width:0}
.adm-date-button{display:inline-flex;align-items:center;gap:7px;max-width:100%;white-space:nowrap}
.adm-date-button>svg{flex:none}
.adm-date-button>span{overflow:hidden;text-overflow:ellipsis}
.adm-date-button.is-active{color:#963c11;background:#fff1e7;border-color:#e9ac85}
.adm-date-chevron{margin-left:2px;transition:transform .16s ease-out}
.adm-date-button[aria-expanded="true"] .adm-date-chevron{transform:rotate(180deg)}
.adm-date-panel{position:fixed;z-index:60;width:330px;max-width:calc(100vw - 28px);max-height:calc(100vh - 28px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:16px;background:#fff;border:1px solid #dce1e8;border-radius:8px;box-shadow:0 8px 28px rgba(28,35,46,.16);color:#222630}
.adm-date-panel[hidden]{display:none}
.adm-date-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:2px}
.adm-date-heading h2{font-size:15px;line-height:1.5;margin:0}
.adm-date-heading .adm-button{min-height:32px;padding:5px 8px}
.adm-date-help{font-size:12px;line-height:1.6;color:#5c6370;margin:0 0 14px}
.adm-date-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}
.adm-date-presets .adm-button{padding:7px 6px;white-space:nowrap}
.adm-date-presets [aria-pressed="true"]{color:#963c11;background:#fff1e7;border-color:#e9ac85}
.adm-date-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.adm-date-inputs label{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:600;color:#5c6370}
.adm-date-inputs .adm-input{min-width:0;width:100%;box-sizing:border-box;padding:7px;color:#222630;font-variant-numeric:tabular-nums}
.adm-date-error{font-size:12px;line-height:1.6;color:#aa2d22;margin:8px 0 0}
.adm-date-error:empty{display:none}
.adm-date-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.adm-date-summary{flex-basis:100%;margin:0;font-size:12px;line-height:1.6;color:#5c6370;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.adm-date-panel .adm-button:focus-visible,.adm-date-button:focus-visible,.adm-date-panel .adm-input:focus-visible{outline:2px solid #a84316;outline-offset:2px}
@media(max-width:760px){
  .adm-tools>.adm-date-control{grid-column:3/5;grid-row:3;justify-self:stretch}
  .adm-date-button{width:100%;justify-content:center;gap:5px;padding:7px 8px}
  .adm-tools.has-date-filter>#adminReset{grid-column:3/5;grid-row:4}
  .adm-tools>.adm-date-summary{grid-column:1/3;grid-row:4;align-self:center;min-width:0}
  .adm-tools.has-date-filter>.adm-updated{grid-row:5}
}
@media(prefers-reduced-motion:reduce){html:not([data-motion="full"]) .adm-date-chevron{transition:none}}
