/* Property of EQ — all rights reserved. Unauthorised use prohibited. */
/* EQ Field — the supervisor-side phone classes (sm-*), drawn by the one phone app (scripts/phone-shell.js and scripts/phone-*.js).
   The old supervisor app and its #sup-app root are gone; the colour tokens and root rules now live in the phone scripts.
   Tokens from the Claude Design handoff (2026-10-21): Sky, Deep, Ice, Ink, grey.
   No gradients, no shadows, colour/border transitions only (150ms). */

.sm-body { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.sm-page { padding: 12px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.sm-page.sm-tight { gap: 12px; }

.sm-date { font-size: 14px; color: var(--sm-grey); font-weight: 500; }
.sm-hello { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sm-meta { font-size: 13px; color: var(--sm-grey); margin-top: 2px; line-height: 1.4; }
.sm-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; min-height: 44px; display: flex; align-items: center; }
.sm-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sm-ink); }
.sm-sub { font-size: 15px; color: var(--sm-grey); line-height: 1.5; }

.sm-search { height: 52px; width: 100%; border: 1px solid var(--sm-line); border-radius: 6px; padding: 0 16px; font-size: 16px; color: var(--sm-ink); background: #fff; }

/* Action cards on Home */
.sm-act { width: 100%; min-height: 88px; border-radius: 8px; border: 1px solid var(--sm-deep); background: var(--sm-deep); color: #fff; display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-align: left; }
.sm-act .sm-chip { min-width: 56px; height: 56px; border-radius: 8px; background: #fff; color: var(--sm-deep); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.sm-act .sm-act-t { font-size: 19px; font-weight: 800; }
.sm-act .sm-act-d { font-size: 14px; margin-top: 2px; }
.sm-act .sm-arrow { font-size: 24px; font-weight: 700; margin-left: auto; }
.sm-act.sm-line { background: #fff; color: var(--sm-ink); }
.sm-act.sm-line .sm-chip { background: var(--sm-ice); color: var(--sm-deep); }
.sm-act > div:nth-child(2) { flex: 1; min-width: 0; }

.sm-clear { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.sm-clear .sm-tick { width: 56px; height: 56px; border-radius: 28px; background: var(--sm-ice); color: var(--sm-deep); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.sm-clear .sm-clear-t { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }

.sm-card { border: 1px solid var(--sm-line); border-radius: 8px; display: flex; flex-direction: column; }
.sm-card > .sm-row { border-top: 1px solid var(--sm-line); }
.sm-card > .sm-row:first-child { border-top: 0; }
.sm-row { width: 100%; min-height: 64px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; background: transparent; border: 0; text-align: left; color: inherit; }
.sm-row .sm-row-t { font-size: 17px; font-weight: 800; }
.sm-row .sm-row-d { font-size: 14px; color: var(--sm-grey); margin-top: 2px; }
.sm-row > div:first-child { flex: 1; min-width: 0; }
.sm-go { color: var(--sm-deep); font-weight: 800; }

/* Lists */
.sm-list { display: flex; flex-direction: column; }
.sm-item { width: 100%; min-height: 68px; border: 0; border-top: 1px solid var(--sm-line); background: transparent; display: flex; align-items: center; gap: 12px; text-align: left; color: inherit; padding: 0; }
.sm-av { width: 44px; height: 44px; border-radius: 22px; background: var(--sm-ice); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex: none; }
.sm-item .sm-it { font-size: 16px; font-weight: 700; }
.sm-item .sm-id { font-size: 14px; color: var(--sm-grey); }
.sm-item > div:nth-child(2) { flex: 1; min-width: 0; }
.sm-call { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--sm-deep); background: #fff; color: var(--sm-deep); font-size: 18px; flex: none; padding: 0; display: flex; align-items: center; justify-content: center; }
.sm-num { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--sm-deep); width: 76px; flex: none; }
.sm-empty { font-size: 15px; color: var(--sm-grey); padding: 12px 0; }

/* Chips, segmented */
.sm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sm-chip-b { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--sm-line); background: #fff; color: var(--sm-ink); font-weight: 700; font-size: 14px; }
.sm-chip-b.sm-on { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }
.sm-chips.sm-fill .sm-chip-b { flex: 1; padding: 0 8px; }
.sm-chips.sm-seven { flex-wrap: nowrap; gap: 4px; }
.sm-chips.sm-seven .sm-chip-b { min-width: 0; padding: 0; border-radius: 12px; font-size: 13px; line-height: 1.2; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sm-seg { display: flex; gap: 4px; background: var(--sm-ice); border-radius: 8px; padding: 4px; }
.sm-seg button { flex: 1; min-height: 44px; border-radius: 6px; border: 0; background: transparent; color: var(--sm-ink); font-weight: 800; font-size: 15px; }
.sm-seg button.sm-on { background: var(--sm-deep); color: #fff; }

/* Week grid */
.sm-weekbar { align-self: flex-start; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--sm-deep); background: #fff; color: var(--sm-deep); font-weight: 700; font-size: 14px; }
.sm-weekbar.sm-on { background: var(--sm-ice); }
.sm-grid { display: grid; gap: 4px; align-items: center; }
.sm-grid.sm-head { position: sticky; top: 0; z-index: 2; background: var(--sm-sky); color: var(--sm-ink); border-radius: 6px; padding: 8px 4px; font-size: 12px; font-weight: 800; text-align: center; }
.sm-grid.sm-head > div:first-child { text-align: left; padding-left: 4px; }
.sm-grid.sm-head .sm-today { background: #fff; border-radius: 4px; padding: 2px 0; }
.sm-gname { min-height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 700; padding: 0; line-height: 1.15; overflow-wrap: anywhere; background: transparent; border: 0; text-align: left; color: inherit; }
.sm-cell { height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1px solid var(--sm-ice); background: var(--sm-ice); overflow: hidden; }
button.sm-cell { width: 100%; padding: 0; font-family: inherit; color: inherit; cursor: pointer; }
.sm-cell.sm-leave { background: var(--sm-warn); border-color: var(--sm-warn); }
.sm-cell.sm-free { background: #fff; border: 1px dashed var(--sm-sky); }
.sm-cell.sm-quiet { background: #fff; border: 1px solid #F3F4F6; }
.sm-cell.sm-now { border: 2px solid var(--sm-ink); }
.sm-wkstep { display: flex; align-items: center; gap: 8px; }
.sm-wkstep button { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--sm-line); background: #fff; font-size: 18px; color: var(--sm-ink); }
.sm-wkstep span { flex: 1; text-align: center; font-weight: 800; font-size: 15px; }

/* Detail screens */
.sm-back { align-self: flex-start; min-height: 44px; border: 0; background: transparent; color: var(--sm-deep); font-weight: 700; font-size: 15px; padding: 0; }
.sm-who { display: flex; align-items: center; gap: 16px; }
.sm-who .sm-av { width: 64px; height: 64px; border-radius: 32px; font-size: 20px; }
.sm-who .sm-wn { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sm-btns { display: flex; gap: 8px; }
.sm-btn { flex: 1; min-height: 56px; border-radius: 6px; border: 1px solid var(--sm-deep); background: #fff; color: var(--sm-deep); font-size: 16px; font-weight: 700; padding: 0 12px; }
.sm-btn.sm-fill { background: var(--sm-deep); color: #fff; font-weight: 800; }
.sm-btn.sm-off { background: var(--sm-grey); border-color: var(--sm-grey); color: #fff; }
.sm-btn.sm-sm { min-height: 48px; }
.sm-btn.sm-auto { flex: none; }
a.sm-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.sm-ice { background: var(--sm-ice); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.sm-ice .sm-big { font-size: 20px; font-weight: 800; }
.sm-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sm-day { border-radius: 6px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--sm-ice); border: 1px solid var(--sm-ice); }
.sm-day.sm-leave { background: var(--sm-warn); border-color: var(--sm-warn); }
.sm-day.sm-pickable.sm-free { background: #F3F4F6; border: 1px solid #F3F4F6; color: var(--sm-grey); }
.sm-day.sm-pickable.sm-now { background: var(--sm-ink); border: 2px solid var(--sm-ink); color: #fff; }
.sm-day span:first-child { font-size: 12px; font-weight: 700; }
.sm-day span:nth-child(2) { font-size: 14px; font-weight: 800; }
.sm-day small { font-size: 11px; font-weight: 600; color: var(--sm-grey); }
.sm-field { padding: 12px 16px; border-top: 1px solid var(--sm-line); }
.sm-field:first-child { border-top: 0; }
.sm-field .sm-fl { font-size: 13px; color: var(--sm-grey); }
.sm-field .sm-fv { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.sm-jobno { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--sm-deep); line-height: 1; }
.sm-jobname { font-size: 22px; font-weight: 800; margin-top: 4px; }
.sm-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Safety */
.sm-grp-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.sm-grp-h .sm-gt { font-size: 17px; font-weight: 800; }
.sm-grp-h .sm-gn { font-size: 13px; color: var(--sm-grey); }
.sm-srow { min-height: 56px; border-top: 1px solid var(--sm-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sm-srow .sm-st { font-size: 15px; font-weight: 700; }
.sm-srow .sm-ss { font-size: 13px; color: var(--sm-grey); }
.sm-srow .sm-sr { display: flex; align-items: center; gap: 8px; flex: none; }
.sm-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 800; background: var(--sm-line); color: var(--sm-ink); }
.sm-pill.sm-ok { background: var(--sm-ice); color: #1d6a8f; }
.sm-pill.sm-warn { background: var(--sm-warn); color: #6b4e00; }
.sm-callb { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--sm-deep); background: #fff; color: var(--sm-deep); font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; }

/* Incident / forms */
.sm-banner { background: var(--sm-ice); border-radius: 8px; padding: 16px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.sm-ta { min-height: 112px; width: 100%; border: 1px solid var(--sm-line); border-radius: 6px; padding: 12px 16px; font-size: 16px; color: var(--sm-ink); resize: none; }
.sm-hint { font-size: 13px; color: var(--sm-grey); line-height: 1.5; }
.sm-h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sm-grp { display: flex; flex-direction: column; gap: 8px; }
.sm-open { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sm-deep); }

/* Bottom bar */
.sm-nav { height: 64px; flex: none; border-top: 1px solid var(--sm-line); background: #fff; display: flex; padding: 0 4px 6px; }
.sm-nav button { flex: 1; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; color: var(--sm-grey); padding: 0; }
.sm-nav button.sm-on { color: var(--sm-deep); }
.sm-nav .sm-pillbg { position: relative; width: 48px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.sm-nav button.sm-on .sm-pillbg { background: var(--sm-ice); }
.sm-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sm-nav .sm-lb { font-size: 12px; font-weight: 700; }
.sm-badge { position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sm-ink); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Sheet + toast */
.sm-scrim { position: absolute; inset: 0; background: rgba(13,27,42,.6); display: flex; flex-direction: column; justify-content: flex-end; z-index: 5; }
.sm-sheet { background: #fff; border-radius: 12px 12px 0 0; padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 4px; max-height: 85%; overflow-y: auto; }
.sm-sheet-h { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.sm-sheet-h .sm-sht { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.sm-x { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--sm-ink); }
.sm-srow2 { width: 100%; min-height: 64px; border: 0; border-top: 1px solid var(--sm-line); background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; color: inherit; padding: 0; }
.sm-srow2 .sm-l { font-size: 16px; font-weight: 700; }
.sm-srow2 .sm-d { font-size: 13px; color: var(--sm-grey); margin-top: 1px; }
.sm-box { border: 1px solid var(--sm-line); border-radius: 8px; padding: 12px 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.sm-appr { font-size: 15px; line-height: 1.45; margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: #EAF5FB; }
.sm-note { margin-top: 8px; }
.sm-clash { white-space: normal; max-height: 220px; overflow-y: auto; }
.sm-clash .sm-kicker { margin-bottom: 4px; }
.sm-clash-r { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--sm-line); font-size: 14px; }
.sm-clash-r:first-of-type { border-top: 0; }
.sm-clash-n { font-weight: 700; flex: none; }
.sm-clash-w { color: var(--sm-grey); text-align: right; }
.sm-sign { margin-top: 8px; width: 100%; height: 96px; border: 2px dashed var(--sm-deep); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--sm-deep); }
.sm-sign.sm-done { font-size: 32px; font-style: italic; font-weight: 500; color: var(--sm-ink); }
.sm-toast { position: absolute; left: 16px; right: 16px; bottom: 80px; background: var(--sm-ink); color: #fff; border-radius: 8px; min-height: 52px; display: flex; align-items: center; padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 1.4; z-index: 6; }
.sm-note { border-top: 1px solid var(--sm-line); padding-top: 16px; font-size: 13px; color: var(--sm-grey); line-height: 1.5; }
.sm-link { align-self: flex-start; min-height: 44px; border: 0; background: transparent; color: var(--sm-deep); font-weight: 700; font-size: 14px; padding: 0; }

div.sm-item { cursor: pointer; }
.sm-item .sm-go { padding-right: 4px; }

.sm-day.sm-pickable { cursor: pointer; }
.sm-btns .sm-btn { min-width: 0; }

.sm-call svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sm-topline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sm-topline .sm-date { font-size: 15px; font-weight: 700; color: var(--sm-ink); }
.sm-topline .sm-meta { margin-top: 0; text-align: right; }
.sm-refresh { min-height: 44px; padding: 0 4px; border: 0; background: transparent; font-family: inherit; color: var(--sm-deep); cursor: pointer; }
button.sm-call { padding: 0; }

.sm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sm-stepper { display: flex; align-items: center; gap: 12px; }
.sm-stepper button { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--sm-deep); background: #fff; color: var(--sm-deep); font-size: 22px; font-weight: 800; padding: 0; }
.sm-stepper span { min-width: 72px; text-align: center; font-size: 17px; font-weight: 800; }

.sm-cell.sm-other, .sm-day.sm-other { background: #fff; border: 1px solid var(--sm-line); color: var(--sm-grey); }
html.shell-mode .sm-nav { height: 52px; padding-bottom: 2px; }
html.shell-mode .sm-nav .sm-pillbg { height: 24px; width: 44px; }
html.shell-mode .sm-nav svg { width: 18px; height: 18px; }
html.shell-mode .sm-nav .sm-lb { font-size: 11px; }

/* Pre-start sign-on (phone flow) */
.sm-check { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 16px; border: 0; border-top: 1px solid var(--sm-line); background: transparent; text-align: left; font-size: 16px; font-weight: 700; color: var(--sm-ink); padding: 0; }
.sm-cbox { width: 32px; height: 32px; border-radius: 6px; border: 2px solid var(--sm-deep); background: #fff; flex: none; display: flex; align-items: center; justify-content: center; transition: background-color .15s ease; }
.sm-cbox.sm-on { background: var(--sm-deep); }
.sm-cbox svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sm-pad { width: 100%; height: 200px; background: #fff; border: 1px solid var(--sm-line); border-radius: 8px; touch-action: none; display: block; margin-top: 8px; }

/* v3.5.1073 — the shared phone pre-start (scripts/phone-prestart.js) renders the same classes in both phone apps. */
.sm-grow { flex: 1; min-width: 0; }
.sm-select { height: 52px; width: 100%; border: 1px solid var(--sm-line); border-radius: 6px; padding: 0 12px; font-size: 16px; background: #fff; color: var(--sm-ink); }
.sm-warnbox { background: var(--sm-warn); border-radius: 6px; padding: 8px 12px; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.sm-btns.sm-col2 { flex-direction: column; }
.sm-btns.sm-col2 .sm-btn { width: 100%; }
.sm-photo { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--sm-line); border-radius: 8px; padding: 8px; }
.sm-photo img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 6px; }
.sm-photo .sm-search { height: 44px; }
.sm-search { -webkit-appearance: none; appearance: none; }

/* v3.5.1076 — compact high-risk work list in the shared phone pre-start */
.sm-hrcw-list { max-height: 280px; overflow-y: auto; border: 1px solid var(--sm-line); border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
.sm-hrow { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 12px; border: 0; border-top: 1px solid var(--sm-line); background: transparent; text-align: left; font-size: 15px; font-weight: 600; color: var(--sm-ink); padding: 4px 12px; }
.sm-hrow:first-child { border-top: 0; }

/* My schedule: one compact top row, a dark hero for the chosen day, earlier days folded away */
.sm-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm-who-sel { height: 44px; max-width: 55%; border: 1px solid var(--sm-line); border-radius: 22px; padding: 0 14px; font-size: 16px; font-weight: 700; color: var(--sm-ink); background: #fff; }
.sm-ice.sm-hero { background: var(--sm-ink); color: #fff; }
.sm-hero .sm-kicker { color: var(--sm-sky); }
.sm-hero .sm-big { color: #fff; font-size: 24px; }
.sm-hero .sm-sub, .sm-hero .sm-hint { color: #D5DAE5; }
.sm-hero .sm-btn, .sm-hero .sm-btn.sm-fill { background: #fff; border-color: #fff; color: var(--sm-ink); }
.sm-more { margin-top: 12px; border: 1px solid var(--sm-line); border-radius: 8px; padding: 0 16px; font-size: 14px; }
.sm-more summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--sm-deep); cursor: pointer; }
.sm-more-hint { font-size: 12px; font-weight: 500; color: var(--sm-grey); }
.sm-more[open] .sm-more-hint { display: none; }
.sm-mrow { margin-bottom: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.sm-mnote { margin-top: 2px; font-size: 12px; color: var(--sm-grey); }
.sm-past summary { min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--sm-deep); cursor: pointer; }

/* Pre-start: one site field that opens a short list (shared by both phone apps) */
.sm-pair { flex-direction: row; gap: 8px; }
.sm-pair .sm-btn { font-size: 14px; padding: 0 8px; min-height: 52px; }
.sm-sitefield { width: 100%; min-height: 52px; border: 1px solid var(--sm-line); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; text-align: left; color: var(--sm-ink); font-size: 16px; }
.sm-sitefield .sm-fl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sm-grey); }
.sm-sitev { display: block; font-size: 16px; font-weight: 800; }
.sm-sitev.sm-ph { color: var(--sm-grey); font-weight: 600; }
.sm-sitepick { border: 1px solid var(--sm-line); border-radius: 8px; background: #fff; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.sm-sitelist { max-height: min(300px, 36dvh); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sm-sitegrp { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sm-grey); padding: 10px 8px 4px; }
.sm-siterow { width: 100%; min-height: 44px; border: 0; border-radius: 6px; background: transparent; display: flex; align-items: center; gap: 10px; padding: 0 8px; text-align: left; color: var(--sm-ink); font-size: 15px; }
.sm-siterow.sm-on { background: #EAF5FB; }
.sm-sitenm { flex: 1; font-weight: 700; }
.sm-sitecode { font-size: 12px; color: var(--sm-grey); }
.sm-sitetick { color: #2986B4; font-weight: 800; }
.sm-sitecustom { background: #EAF5FB; font-weight: 800; }
.sm-chevd { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--sm-grey); transition: transform .15s; }
.sm-chevd.sm-up { transform: rotate(180deg); }
.sm-pair .sm-btn { white-space: nowrap; }
.sm-sitepick [hidden], .sm-sitelist [hidden] { display: none !important; }

.sm-cklist { padding: 4px 16px; }
.sm-ckline { font-size: 15px; font-weight: 600; padding: 8px 0; border-top: 1px solid var(--sm-line); }
.sm-ckline:first-child { border-top: 0; }

.sm-sitesug { border: 1px dashed var(--sm-deep); }
/* Photo check (v3.5.1081): too dark/blurry = icon + Take again / Use anyway. */
.sm-ph-wrap { position: relative; }
.sm-ph-ok { position: absolute; top: 8px; left: 8px; width: 32px; height: 32px; border-radius: 16px; background: #1E7F45; color: #fff; display: flex; align-items: center; justify-content: center; }
.sm-ph-ok svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sm-ph-hint { display: flex; align-items: center; gap: 10px; background: var(--sm-warn); border-radius: 6px; padding: 10px 12px; font-size: 17px; font-weight: 800; color: var(--sm-ink); }
.sm-ph-hint svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Sites tab (scripts/sup-mobile-sites.js) */
.sm-sitecount { width: 44px; height: 44px; border-radius: 22px; background: var(--sm-ice); color: var(--sm-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex: none; }
.sm-cell.sm-h0 { background: #fff; border: 1px solid #F3F4F6; }
.sm-cell.sm-h1 { background: var(--sm-ice); color: var(--sm-ink); }
.sm-cell.sm-h2 { background: #B9DFF1; color: var(--sm-ink); }
.sm-cell.sm-h3 { background: var(--sm-sky); color: var(--sm-ink); }
.sm-cell.sm-h4 { background: var(--sm-deep); border-color: var(--sm-deep); color: #fff; }
.sm-cell.sm-h0.sm-now { border: 2px solid var(--sm-ink); }
.sm-map { height: 52vh; min-height: 300px; border-radius: 8px; border: 1px solid var(--sm-line); overflow: hidden; }
.sm-pin { width: 34px; height: 34px; border-radius: 50%; background: var(--sm-sky); border: 3px solid #fff; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; box-sizing: border-box; }

/* ── Month calendar (shared scripts/phone-calendar.js) ── */
.sm-mstep { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.sm-mstep button { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--sm-line); background: #fff; font-size: 18px; color: var(--sm-ink); }
.sm-mstep span { flex: 1; text-align: center; font-weight: 800; font-size: 15px; }
.sm-mback { min-height: 44px; border-radius: 6px; border: 1px solid var(--sm-deep); background: #fff; color: var(--sm-deep); font-size: 15px; font-weight: 700; font-family: inherit; padding: 0 12px; margin-top: 8px; }
.sm-mdow, .sm-mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.sm-mdow span { text-align: center; font-size: 11px; font-weight: 800; color: var(--sm-grey); }
.sm-mcell { min-height: 52px; border-radius: 6px; border: 1px solid var(--sm-ice); background: var(--sm-ice); padding: 4px 2px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; font-family: inherit; color: var(--sm-ink); min-width: 0; }
.sm-mout { background: transparent; border-color: transparent; }
.sm-mcell.sm-mtoday { border: 2px solid var(--sm-ink); }
.sm-mcell.sm-msel { background: var(--sm-deep); border-color: var(--sm-deep); color: #fff; }
.sm-mcell.sm-mph, .sm-mcell.sm-mlv { background: var(--sm-warn); border-color: var(--sm-warn); }
.sm-mcell.sm-msel.sm-mph, .sm-mcell.sm-msel.sm-mlv { background: var(--sm-deep); border-color: var(--sm-deep); }
.sm-mcell.sm-mtr:not(.sm-msel) { border-bottom: 4px solid var(--sm-deep); }
.sm-md { font-size: 14px; font-weight: 800; line-height: 1.1; }
.sm-mt { font-size: 11px; font-weight: 700; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-mt i { font-style: normal; color: #B45309; margin-left: 3px; }
.sm-msel .sm-mt i { color: #fff; }
.sm-mleg { font-size: 13px; color: var(--sm-grey); margin-top: 8px; }
.sm-mdetail { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.sm-mdh { font-size: 16px; font-weight: 800; }
.sm-msite, .sm-mlv-g { border: 1px solid var(--sm-line); border-radius: 8px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.sm-msn { font-size: 16px; font-weight: 800; }
.sm-msj, .sm-msa, .sm-mpp { font-size: 14px; color: var(--sm-grey); line-height: 1.4; }
.sm-mph-note { font-size: 15px; font-weight: 800; color: #B45309; }
.sm-mdir { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 6px; background: var(--sm-deep); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; margin-top: 4px; }
.sm-jump { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: var(--sm-ink); margin-top: 8px; }
.sm-jump select { height: 44px; border: 1px solid var(--sm-line); border-radius: 6px; padding: 0 12px; font-size: 16px; font-family: inherit; color: var(--sm-ink); background: #fff; max-width: 60%; }

/* Leave sheet: "Remind <approver>" link, and its greyed "Reminded today" state */
.sm-bell { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-right: 6px; vertical-align: -4px; }
.sm-link.sm-off { color: var(--sm-grey); }
.sm-scopejob { border-top: 1px solid var(--sm-line); }
.sm-scopejob summary { min-height: 52px; display: flex; flex-direction: column; justify-content: center; cursor: pointer; line-height: 1.35; padding: 6px 0; }
.sm-scopeother { margin: 12px 0 0; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
