/* E-009: one quiet sheet, scrolling digits, cancel and confirm. */
.value-picker-backdrop:has(.is-time-picker){display:flex;align-items:flex-end;justify-content:center;background:#0007}
.value-picker.is-time-picker{height:auto;max-height:calc(100dvh - 24px);width:100%;max-width:560px;margin:0;border-radius:26px 26px 0 0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:var(--surface);animation:none}
.value-picker.is-time-picker>header{display:flex;align-items:center;gap:12px;padding:12px 16px;border:0;margin:0}
.value-picker.is-time-picker>header h2{flex:1;min-width:0;text-align:center;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:0}
.value-picker.is-time-picker>header>.icon-btn{width:48px;height:48px;min-width:48px;min-height:48px;border-radius:15px}
.value-picker.is-time-picker>header>.time-confirm{color:var(--accent-ink)}
.value-picker.is-time-picker .value-picker-body{display:block;max-width:none;padding:12px 20px calc(24px + env(safe-area-inset-bottom));margin:0;min-height:0;overflow-y:auto}
.value-picker.is-time-picker .value-wheels{--wheel-row-height:44px;position:relative;display:flex;gap:20px;justify-content:center;isolation:isolate;padding:0;margin:0;border:0;border-radius:0;background:transparent}
.value-picker.is-time-picker .value-wheels:before{content:'';position:absolute;z-index:-1;top:calc(2 * var(--wheel-row-height));left:0;right:0;height:var(--wheel-row-height);border-radius:999px;background:var(--accent)}
.value-picker.is-time-picker .value-wheels[data-kind=duration]:before{top:calc(24px + 2 * var(--wheel-row-height))}
.value-picker.is-time-picker .value-wheel-column{flex:1;min-width:0;position:relative}
.value-picker.is-time-picker .value-wheel-label{display:none}
.value-picker.is-time-picker [data-kind=duration] .value-wheel-label{display:block;height:24px;margin:0;font-size:11px;line-height:1.5;color:var(--muted)}
.value-picker.is-time-picker .value-wheel{height:calc(5 * var(--wheel-row-height));padding:calc(2 * var(--wheel-row-height)) 0;border-radius:0;background:transparent;mask-image:linear-gradient(transparent,#000 36%,#000 64%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 36%,#000 64%,transparent)}
.value-picker.is-time-picker .value-wheel-option{height:var(--wheel-row-height);line-height:1;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:400;color:var(--muted);transition:none}
.value-picker.is-time-picker .value-wheel-option.selected{font-size:22px;font-weight:600;color:var(--accent-contrast);background:transparent}
.value-picker.is-time-picker .value-wheel-column:not(:last-child):after{content:':';position:absolute;top:calc(2 * var(--wheel-row-height));right:-14px;width:8px;height:var(--wheel-row-height);line-height:1;display:flex;align-items:center;justify-content:center;font-size:22px;text-align:center;color:var(--accent-contrast);pointer-events:none}
.value-picker.is-time-picker [data-kind=duration] .value-wheel-column:not(:last-child):after{top:calc(24px + 2 * var(--wheel-row-height))}
.value-picker.is-time-picker .value-clear{display:block;margin:16px auto 0;font-size:13px;min-height:44px;background:transparent;border:0;color:var(--muted)}
.value-picker.is-time-picker .value-picker-error:not(:empty){padding:0 20px 20px}
.value-picker.is-time-picker .value-wheel:focus-visible{outline:2px solid var(--accent-graphic);outline-offset:2px}

.duration-sign{display:flex;gap:6px;padding:5px;margin:0 20px 20px;border-radius:17px;background:var(--surface)}
.duration-sign>button{flex:1;min-height:44px;border-radius:13px;font-size:14px;color:var(--muted)}
.duration-sign>button[aria-pressed=true]{background:var(--accent-wash);color:var(--accent-ink);font-weight:550}
