/* Strict time field + wheel-picker popover (no build step). Tokens fall back if app.css is absent. */
.timefield{position:relative;display:inline-flex;align-items:center;gap:2px}
.timefield .time-input{width:calc(58px * var(--fs, 1));text-align:center;font-variant-numeric:tabular-nums}
.timefield .time-input.invalid{outline:2px solid var(--error,#C0392B);outline-offset:1px}
.timefield .time-pick{border:0;background:transparent;cursor:pointer;font-size:calc(13px * var(--fs, 1));line-height:1;padding:2px;opacity:.6}
.timefield .time-pick:hover{opacity:1}
.tf-pop{position:fixed;z-index:1000;background:var(--surface,#fff);border:1px solid var(--border,#ddd);border-radius:10px;box-shadow:var(--shadow-lg,0 6px 24px rgba(0,0,0,.16));padding:10px;width:calc(200px * var(--fs, 1));font-size:calc(13px * var(--fs, 1))}
.tf-pop[hidden]{display:none}
.tf-read{text-align:center;font-weight:700;font-size:calc(18px * var(--fs, 1));line-height:1;font-family:ui-monospace,Consolas,monospace;margin-bottom:8px;color:var(--ink,#1c1b19)}
.tf-read small{display:block;font-weight:400;font-size:calc(11px * var(--fs, 1));line-height:1.4;font-family:system-ui;color:var(--muted,#6f6a61)}
.tf-toggles{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.tf-seg{display:flex;border:1px solid var(--border,#ddd);border-radius:8px;overflow:hidden}
.tf-seg button{flex:1;border:0;background:var(--surface,#fff);color:var(--muted,#6f6a61);padding:8px 4px;cursor:pointer;font-weight:600;font-size:calc(14px * var(--fs, 1));line-height:1;font-family:system-ui}
.tf-seg button.on{background:var(--accent,#A8842C);color:#fff}
.tf-seg button:disabled{opacity:.45;cursor:default}
.tf-seg button.on:disabled{opacity:.85}
.tf-wheels{position:relative;display:flex;gap:6px}
.tf-wheel{flex:1;height:calc(160px * var(--fs, 1));overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.tf-wheel::-webkit-scrollbar{display:none}
.tf-wheel ul{list-style:none;margin:0;padding:calc(64px * var(--fs, 1)) 0}
.tf-wheel li{height:calc(32px * var(--fs, 1));line-height:calc(32px * var(--fs, 1));text-align:center;scroll-snap-align:center;cursor:pointer;font-size:calc(16px * var(--fs, 1));font-variant-numeric:tabular-nums;font-family:ui-monospace,Consolas,monospace;color:var(--muted,#6f6a61)}
.tf-wheel li.sel{color:var(--ink,#1c1b19);font-weight:700;font-size:calc(18px * var(--fs, 1))}
.tf-band{position:absolute;left:0;right:0;top:50%;height:calc(32px * var(--fs, 1));transform:translateY(-50%);pointer-events:none;border-top:1px solid var(--border,#ddd);border-bottom:1px solid var(--border,#ddd);background:rgba(168,132,44,.08)}
.tf-done{display:block;width:100%;margin-top:8px;border:0;border-radius:6px;background:var(--primary,#1c1b19);color:#fff;padding:8px 0;cursor:pointer;font-weight:600;font-size:calc(13px * var(--fs, 1));line-height:1;font-family:system-ui}
