/* YWS: clock-face time picker */
.yws-clock-pop { position: fixed; z-index: 2100; width: 268px; padding: 14px 16px 10px; background: #fff; color: #333; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08); user-select: none; -webkit-user-select: none; outline: none; }
.yws-clock-pop.yws-inline { position: static; width: auto; padding: 4px 0 0; box-shadow: none; background: transparent; }
.yws-clock-pop.yws-center { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); }
.yws-clock-shade { position: fixed; inset: 0; z-index: 2099; background: rgba(0,0,0,.35); }
.yws-clock-head { display: flex; align-items: center; justify-content: center; gap: 2px; margin-bottom: 12px; }
.yws-clock-big { border: 0; background: transparent; color: #9aa08a; font-size: 30px; font-weight: 600; line-height: 1.2; padding: 2px 8px; min-width: 62px; text-align: center; border-radius: 8px; cursor: pointer; font-variant-numeric: tabular-nums; }
.yws-clock-big.on { color: #6f7659; background: #f1f2ea; }
.yws-clock-colon { font-size: 28px; font-weight: 600; color: #9aa08a; }
.yws-clock-ampm { display: flex; flex-direction: column; gap: 4px; margin-left: 10px; }
.yws-clock-ampm button { border: 1px solid #dcdfd2; background: #fff; color: #7f8469; border-radius: 6px; font-size: 13px; font-weight: 600; padding: 4px 12px; cursor: pointer; }
.yws-clock-ampm button.on { background: #6f7659; border-color: #6f7659; color: #fff; }
.yws-clock-face { position: relative; width: 232px; height: 232px; margin: 0 auto; border-radius: 50%; background: #f1f2ea; touch-action: none; cursor: pointer; }
.yws-clock-face svg { position: absolute; left: 0; top: 0; pointer-events: none; }
.yws-clock-hand { stroke: #6f7659; stroke-width: 2; }
.yws-clock-pin, .yws-clock-tip { fill: #6f7659; }
.yws-clock-dot { fill: #fff; }
.yws-clock-num { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; line-height: 32px; text-align: center; font-size: 14px; color: #333; pointer-events: none; border-radius: 50%; }
.yws-clock-num.inner { width: 28px; height: 28px; margin: -14px 0 0 -14px; line-height: 28px; font-size: 12px; color: #777; }
.yws-clock-num.on { color: #fff; font-weight: 600; }
.yws-clock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.yws-clock-foot button { border: 0; background: transparent; color: #6f7659; font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.yws-clock-foot button:hover { background: #f1f2ea; }
.yws-clock-foot button[data-do="clear"] { color: #999; }
.yws-clock-foot .yws-clock-ok { background: #6f7659; color: #fff; margin-left: 4px; }
.yws-clock-foot .yws-clock-ok:hover { background: #5e6449; }
html[data-yws-theme="dark"] .yws-clock-pop:not(.yws-inline) { background: var(--yd-raised, #23272a); color: var(--yd-text, #e6e6e6); box-shadow: 0 12px 32px rgba(0,0,0,.5); }
html[data-yws-theme="dark"] .yws-clock-face, html[data-yws-theme="dark"] .yws-clock-big.on, html[data-yws-theme="dark"] .yws-clock-foot button:hover { background: var(--yd-bg, #15181a); }
html[data-yws-theme="dark"] .yws-clock-big.on { color: #cfdab2; }
html[data-yws-theme="dark"] .yws-clock-num { color: var(--yd-text, #e6e6e6); }
html[data-yws-theme="dark"] .yws-clock-num.inner { color: var(--yd-muted, #9aa); }
html[data-yws-theme="dark"] .yws-clock-num.on { color: #fff; }
html[data-yws-theme="dark"] .yws-clock-ampm button { background: transparent; border-color: var(--yd-line, #333); color: var(--yd-muted, #9aa); }
html[data-yws-theme="dark"] .yws-clock-ampm button.on { background: #6f7659; border-color: #6f7659; color: #fff; }
html[data-yws-theme="dark"] .yws-clock-foot button { color: #cfdab2; }
html[data-yws-theme="dark"] .yws-clock-foot .yws-clock-ok { color: #fff; }
