/* One keyboard-editable date and the native calendar share a field. */
.date-entry { position:relative; display:block; min-width:0; }
.date-entry[hidden] { display:none; }
.date-entry input.date-entry-text { display:block; width:100%; box-sizing:border-box; padding-inline-end:2.6rem; margin:0; }
.date-entry .date-entry-guide { position:absolute; display:flex; align-items:center; overflow:hidden; white-space:pre; margin:0; padding:0; color:#687581; user-select:none; pointer-events:none; }
.date-entry > [hidden] { display:none; }
.date-entry-guide::before { content:attr(data-prefix); visibility:hidden; flex:none; }
@media (forced-colors:active) { .date-entry .date-entry-guide { color:GrayText; } }
.date-entry .date-entry-calendar { position:absolute; top:0; right:0; width:2.5rem; height:100%; max-height:3rem; display:grid; place-items:center; }
.date-entry-calendar::before { content:''; width:1rem; height:1rem; background:currentColor; opacity:.7;
  clip-path:polygon(0 15%,20% 15%,20% 0,30% 0,30% 15%,70% 15%,70% 0,80% 0,80% 15%,100% 15%,100% 100%,0 100%,0 15%,12% 38%,12% 88%,88% 88%,88% 38%,12% 38%); }
.date-entry-calendar:focus-within { outline:2px solid currentColor; outline-offset:-3px; }
.date-entry .date-entry-calendar input[type=date] { position:absolute; inset:0; width:100%; height:100%; min-width:0; min-height:0; padding:0; margin:0; opacity:0; cursor:pointer; }
