.clock-picker { position: fixed; inset: 0 auto auto 0; margin: 0; box-sizing: border-box; width: min(400px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; overflow: hidden; padding: 20px; border: 0; border-right: 1px solid var(--bs-border-color, #aaa); border-radius: 0; color: var(--bs-body-color, #222); background: var(--bs-body-bg, white); box-shadow: -8px 0 40px #0003; }
.clock-picker[open] { display: flex; flex-direction: column; }
.clock-picker > h2, .clock-picker > .clock-picker-actions { flex-shrink: 0; }
.clock-picker-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: safe center; }
.clock-picker-actions { padding-top: 12px; border-top: 1px solid var(--bs-border-color, #aaa); }
.clock-picker::backdrop { background: #0008; }
.clock-picker > label { display: block; }
.clock-picker-time { display: flex; align-items: center; justify-content: center; font-size: 2rem; gap: 8px; margin-bottom: 12px; }
.clock-picker-time button { border: 0; border-radius: 6px; padding: 2px 12px; color: inherit; background: var(--bs-tertiary-bg, #eee); }
.clock-picker-time button[aria-pressed=true] { color: white; background: var(--bs-primary, #0d6efd); }
.clock-picker-face { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 1; border-radius: 50%; background: var(--bs-tertiary-bg, #eee); }
.clock-picker-face button { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: inherit; background: transparent; }
.clock-picker-number { width: 32px; height: 32px; font-size: 15px; }
.clock-picker-dot { width: 16px; height: 16px; font-size: 18px; }
.clock-picker-face button:hover, .clock-picker-face button[aria-pressed=true] { background: var(--bs-primary, #0d6efd); color: white; }
.clock-picker button:focus-visible { outline: 3px solid var(--bs-primary, #0d6efd); outline-offset: 3px; }
.clock-picker-with-date { width: min(560px, 100vw); padding: 16px; }
.clock-picker-with-date .clock-picker-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: safe center; align-items: center; gap: 16px; }
.clock-picker-with-date .clock-picker-time { font-size: 1.6rem; gap: 4px; margin-bottom: 6px; }
.clock-picker-with-date .clock-picker-face { max-width: 240px; }
.clock-picker-with-date .clock-picker-number { width: 26px; height: 26px; font-size: 13px; }
.clock-picker-with-date .clock-picker-dot { width: 12px; height: 12px; font-size: 15px; }
.clock-picker-with-date .clock-picker-calendar { font-size: .85rem; }
.clock-picker-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.clock-picker-days span { font-size: .8rem; padding: 6px 0; }
.clock-picker-days button { aspect-ratio: 1; border: 0; border-radius: 50%; color: inherit; background: transparent; }
.clock-picker-days button:hover, .clock-picker-days button[aria-pressed=true] { color: white; background: var(--bs-primary, #0d6efd); }
.clock-picker-days button:disabled { opacity: .35; }
.clock-picker-days .clock-picker-outside { opacity: .4; }
.clock-picker-days .clock-picker-holiday { color: var(--bs-danger-text-emphasis, #c62828); }
.clock-picker-days button[aria-pressed=true] { opacity: 1; color: white; }
.clock-picker-days button.clock-picker-holiday:hover { color: white; }
@media (max-width: 580px) { .clock-picker { width: 100vw; border-left: 0; padding: 16px; } .clock-picker-with-date .clock-picker-body { grid-template-columns: minmax(0, 1fr); } }
