/* The dashboard's own one-day calendar (static/datepick.js). It sits over the
   page, so it carries the house motion and colours itself. */
.dp {position:fixed; z-index:80; width:308px; padding:10px; border:1px solid rgb(var(--c-line-strong));
     border-radius:8px; background:rgb(var(--c-surface)); color:rgb(var(--c-ink-900));
     box-shadow:0 18px 44px rgb(var(--c-ink-900) / .22); font-size:15px;
     opacity:0; transform:translateY(-8px);
     transition:opacity .16s cubic-bezier(.2,0,0,1), transform .16s cubic-bezier(.2,0,0,1);}
.dp.is-up {transform:translateY(8px);}
.dp.is-open {opacity:1; transform:none;
             transition:opacity .24s cubic-bezier(.2,0,0,1), transform .24s cubic-bezier(.2,0,0,1);}
.dp[hidden] {display:none;}
.dp button {font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer;}
.dp-h {display:flex; align-items:center; justify-content:space-between; padding:0 0 6px;}
.dp-t {font-size:15px; font-weight:600; font-variant-numeric:tabular-nums;}
.dp-a {display:grid; place-items:center; width:34px; height:34px; border-radius:6px;
       transition:background .16s cubic-bezier(.2,0,0,1);}
.dp-a svg {width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.dp-a:hover:not(:disabled) {background:rgb(var(--c-surface-sunken));}
.dp-a:disabled {color:rgb(var(--c-ink-300)); cursor:default;}
.dp-g {display:grid; grid-template-columns:repeat(7, 1fr); gap:2px;}
.dp-w {padding:4px 0; text-align:center; font-size:12px; font-weight:600; color:rgb(var(--c-ink-500));}
.dp-d {height:36px;}
.dp-d {border-radius:6px; font-size:14px; font-variant-numeric:tabular-nums;
       transition:background .16s cubic-bezier(.2,0,0,1), color .16s cubic-bezier(.2,0,0,1);}
.dp-d:hover:not(:disabled):not(.is-on) {background:rgb(var(--c-surface-sunken));}
.dp-d.is-out {color:rgb(var(--c-ink-300));}
.dp-d.is-today {font-weight:700; box-shadow:inset 0 0 0 1px rgb(var(--c-line-strong));}
.dp-d.is-on {background:rgb(var(--c-ink-900)); color:rgb(var(--c-surface)); font-weight:600; box-shadow:none;}
.dp-d:disabled {color:rgb(var(--c-ink-300)); cursor:default;}
.dp button:focus-visible {outline:2px solid rgb(var(--c-ink-900)); outline-offset:-2px;}
.dp-d.is-on:focus-visible {outline-color:rgb(var(--c-surface)); outline-offset:-4px;}
.dp-f[hidden] {display:none;}
.dp-f {display:flex; justify-content:flex-end; gap:8px; margin-top:8px; padding-top:8px;
       border-top:1px solid rgb(var(--c-line));}
.dp-o {height:34px; padding:0 12px; border-radius:6px; font-size:15px; font-weight:500;
       transition:background .16s cubic-bezier(.2,0,0,1);}
.dp-o:hover {background:rgb(var(--c-surface-sunken));}
.dp-o[hidden] {display:none;}
/* A date field's button: the field's own look, read left to right. */
.dp-field {display:inline-flex; align-items:center; justify-content:flex-start; gap:8px; text-align:left; cursor:pointer;
           font-variant-numeric:tabular-nums; white-space:nowrap;}
.dp-field svg {flex:none; width:16px; height:16px; fill:none; stroke:rgb(var(--c-ink-500)); stroke-width:2;
               stroke-linecap:round; stroke-linejoin:round;}
.dp-field.is-empty {color:rgb(var(--c-ink-500));}
.dp-field:disabled {cursor:default; opacity:.5;}
@media (prefers-reduced-motion:reduce) {
  .dp, .dp.is-open, .dp.is-up {transition:none; transform:none;}
}
