/* The parts every page shares - the message line, the picker (common.js choose / pickFrom / pickList) and the clock-face time picker
   (common.js pickTime) - ONE copy (expert review B24, Nov 23 2026). Each look draws them with the same token names: the office and phone
   pages with common.css's, the Time cards editor with its green ones (timecards.html :root) plus a few sizes of its own. The clock face is
   blue in both looks - its tokens are here. */
:root { --dial-accent: #1d5fd1; --accent-bg: #dbe7fb; --accent-line: #9ab8f0; --dial-bg: #eef2f7; --dial-ink: #344054; --dial-soft: #98a2b3;
  --dial-line: #d0d5dd; --dial-muted: #667085; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the message line (common.js toast) */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #1d2433; color: #fff; padding: 11px 18px; border-radius: 10px; z-index: 100; max-width: 90vw; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.toast.bad { background: var(--red); }

/* the list (common.js pickFrom / pickList - the customer list for punching in too): big rows, no drop-down */
.pick-search { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 4px 0 6px; }
.pick-h { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 12px 2px 5px; }
.pick-group { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pick-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 14px; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); background: none; border: none; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.pick-row:last-child { border-bottom: none; }
.pick-row:active { background: var(--gray-bg); }
.pick-row .nm { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pick-row .rt { flex: 0 0 auto; color: var(--muted); font-weight: 500; font-size: .9rem; }
.pick-row .pick-sub { display: block; font-size: .86rem; font-weight: 500; color: var(--muted); }
.pick-row.pick-add .nm { color: var(--accent); }
.pick-row.on { background: var(--green-bg, #e8f5ec); }
/* the box that opens ONE picker (choose(), Oct 30 2026) - the same box on every screen, phone or PC */
.pick-box { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 12px; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; text-align: left; cursor: pointer; }
.pick-box:active { background: var(--gray-bg); }
.pick-box:disabled { opacity: .55; cursor: default; }
.pick-box .pb-text { flex: 1 1 auto; min-width: 0; }
.pick-box .pb-name { display: block; font-weight: 700; line-height: 1.25; }
.pick-box .pb-sub { display: block; font-size: .8rem; color: var(--muted); }
.pick-box .pb-go { flex: 0 0 auto; color: var(--accent); font-weight: 700; }
.pick-box.empty .pb-name { color: var(--muted); font-weight: 600; }
.pick-box.sm { min-height: 36px; padding: 4px 10px; font-size: .92rem; border-radius: 8px; }
.pick-box.sm .pb-sub { font-size: .72rem; }           /* the customer stays readable on a timesheet row */
.picker { min-width: min(440px, 100%); }

/* the clock-face time picker (common.js pickTime) */
.tp { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tp-head { display: flex; align-items: center; gap: 4px; font-size: 2.6rem; font-weight: 700; line-height: 1; }
.tp-seg { font: inherit; border: 0; border-radius: 10px; padding: 6px 10px; background: var(--dial-bg); color: var(--dial-ink); cursor: pointer; min-width: 2.1em; }
.tp-seg.on { background: var(--accent-bg); color: var(--dial-accent); }
.tp-colon { color: var(--dial-soft); }
.tp-aps { display: flex; flex-direction: column; gap: 4px; margin-left: 10px; }
.tp-ap { font: 600 .85rem system-ui, sans-serif; border: 1px solid var(--dial-line); border-radius: 8px; padding: 5px 9px; background: #fff; color: var(--dial-muted); cursor: pointer; }
.tp-ap.on { background: var(--accent-bg); color: var(--dial-accent); border-color: var(--accent-line); }
.tp-dial { width: min(260px, 72vw); height: auto; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; outline: none; }
.tp-dial:focus-visible .tp-face { stroke: var(--dial-accent); stroke-width: 3; }
.tp-face { fill: var(--dial-bg); }
.tp-hand { stroke: var(--dial-accent); stroke-width: 3; }
.tp-pin { fill: var(--dial-accent); }
.tp-num { font: 500 17px system-ui, sans-serif; fill: var(--dial-ink); pointer-events: none; }
.tp-knob { fill: var(--dial-accent); pointer-events: none; }
.tp-knob-num { font: 700 16px system-ui, sans-serif; fill: #fff; pointer-events: none; }
.tp-hint { font-size: .85rem; color: var(--dial-muted); }

/* spacing helpers for the page code (expert review B25, Nov 23 2026: the inline style strings became these) - !important, as the inline
   style they replace beat every rule. m0 comes first so 'm0 mt8' = margin: 8px 0 0. */
.m0 { margin: 0 !important; }
.mt0 { margin-top: 0 !important; } .mt2 { margin-top: 2px !important; } .mt4 { margin-top: 4px !important; } .mt6 { margin-top: 6px !important; } .mt8 { margin-top: 8px !important; } .mt10 { margin-top: 10px !important; } .mt12 { margin-top: 12px !important; } .mt14 { margin-top: 14px !important; } .mt16 { margin-top: 16px !important; } .mt18 { margin-top: 18px !important; }
.mb0 { margin-bottom: 0 !important; } .mb2 { margin-bottom: 2px !important; } .mb4 { margin-bottom: 4px !important; } .mb6 { margin-bottom: 6px !important; } .mb8 { margin-bottom: 8px !important; } .mb10 { margin-bottom: 10px !important; } .mb12 { margin-bottom: 12px !important; } .mb14 { margin-bottom: 14px !important; } .mb16 { margin-bottom: 16px !important; } .mb18 { margin-bottom: 18px !important; }
.ml0 { margin-left: 0 !important; } .ml2 { margin-left: 2px !important; } .ml4 { margin-left: 4px !important; } .ml6 { margin-left: 6px !important; } .ml8 { margin-left: 8px !important; } .ml10 { margin-left: 10px !important; } .ml12 { margin-left: 12px !important; } .ml14 { margin-left: 14px !important; } .ml16 { margin-left: 16px !important; } .ml18 { margin-left: 18px !important; }
.mr0 { margin-right: 0 !important; } .mr2 { margin-right: 2px !important; } .mr4 { margin-right: 4px !important; } .mr6 { margin-right: 6px !important; } .mr8 { margin-right: 8px !important; } .mr10 { margin-right: 10px !important; } .mr12 { margin-right: 12px !important; } .mr14 { margin-right: 14px !important; } .mr16 { margin-right: 16px !important; } .mr18 { margin-right: 18px !important; }
.nowrap { flex-wrap: nowrap !important; } .minw0 { min-width: 0 !important; } .w-auto { width: auto !important; } .grow1 { flex: 1 !important; }