/* Each clock opens a small, immediately applied hour/minute wheel. */
html body .item-editor .mode-time-button{display:block;flex:none;width:39px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--text);font-family:inherit;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;line-height:28px;text-align:center;cursor:pointer}
html body .item-editor .mode-time-button:active{background:var(--sel)}
html body .item-editor .mode-time-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
html body .item-editor .mode-time-button[aria-expanded="true"]{background:#eceef0;color:#292d32}

html body #pop.time-picker{
  position:fixed;display:block;box-sizing:border-box;width:136px;min-width:0;
  max-width:calc(100vw - 16px);height:auto;margin:0;padding:8px;
  border:1px solid #e6e8eb;border-radius:12px;background:#fff;color:#292d32;
  z-index:47;overflow:hidden;box-shadow:0 6px 20px rgba(20,25,30,.13);
  font-family:inherit;-webkit-tap-highlight-color:transparent;
}
html body #pop.time-picker[hidden]{display:none!important}
#pop.time-picker *,#pop.time-picker *::before,#pop.time-picker *::after{box-sizing:border-box}
#pop.time-picker .mode-time-title{
  margin:0 0 5px;padding:0 2px;font-size:10px;line-height:13px;font-weight:500;
  color:#8a8e95;text-align:center;white-space:nowrap;
}
#pop.time-picker .mode-time-row{display:flex;align-items:stretch;gap:2px;width:100%;min-width:0;margin:0;padding:0}
#pop.time-picker .mode-time-wheels{position:relative;isolation:isolate;flex:1 1 0;min-width:0;height:140px}
#pop.time-picker .mode-time-band{
  position:absolute;top:50%;left:0;right:0;height:28px;transform:translateY(-50%);
  border-radius:7px;background:#f0f1f3;pointer-events:none;z-index:0;
}
#pop.time-picker .mode-time-wheel{
  position:relative;z-index:1;flex:1 1 0;min-width:0;width:100%;height:140px;
  margin:0;padding:56px 0;border:0;background:transparent;overflow-x:hidden;overflow-y:auto;
  scroll-snap-type:y mandatory;scroll-padding:0;overscroll-behavior:contain;touch-action:pan-y;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 35%,#000 65%,transparent);
  mask-image:linear-gradient(to bottom,transparent,#000 35%,#000 65%,transparent);
  user-select:none;-webkit-user-select:none;
}
#pop.time-picker .mode-time-wheel::-webkit-scrollbar{display:none;width:0;height:0}
#pop.time-picker .mode-time-wheel:focus-visible{outline:1.5px solid #a9afb8;outline-offset:-2px;border-radius:5px}
#pop.time-picker .mode-time-option{
  position:relative;display:flex;align-items:center;justify-content:center;flex:none;
  width:100%;height:28px;min-height:28px;max-height:28px;margin:0;padding:0;border:0;border-radius:0;
  background:transparent;color:#8d9299;font-family:inherit;font-size:19px;font-weight:400;
  line-height:28px;font-variant-numeric:tabular-nums;letter-spacing:-.025em;white-space:nowrap;
  scroll-snap-align:center;scroll-margin:0;cursor:pointer;touch-action:pan-y;
}
#pop.time-picker .mode-time-option:is(.selected,.is-selected,[aria-selected="true"]){color:#24282e;font-weight:650}
#pop.time-picker .mode-time-option:focus-visible{outline:1px solid #a9afb8;outline-offset:-2px;border-radius:5px}
#pop.time-picker :is(.mode-time-day,.mode-time-option small){margin-left:3px;font-size:8px;line-height:1;font-weight:500;letter-spacing:0;color:#8a8e95}
#pop.time-picker .mode-time-hint{margin:5px 0 0;padding:0 1px;font-size:9px;line-height:12px;font-weight:400;color:#8b5e5e;text-align:center;overflow-wrap:anywhere}
#pop.time-picker .mode-time-hint:empty{display:none}
#pop.time-picker .mode-time-hint[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){
  #pop.time-picker,#pop.time-picker *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
