/* ==========================================================================
   SwipeIn design system v3 — the manager web app. "Map first" at desk scale.
   Load after swipein.css: it uses the same tokens (:root) and reuses
   .si-tag, .si-switch, .si-tl, .si-icon, .si-logo, .si-time, .si-avatar.
   Class prefix: sw-   ·   Light only.   Designed at 1280 × 800.
   Readers are mostly over forty: 14.5px text, 40px controls, labels on
   every icon, nothing that only appears on hover.
   ========================================================================== */
.sw, .sw *, .sw *::before, .sw *::after { box-sizing: border-box; }
.sw { color: var(--ink); background: #f6f7f9; font: 400 14.5px/21px var(--font-text); -webkit-font-smoothing: antialiased; }
.sw h1, .sw h2, .sw h3, .sw p { margin: 0; }
.sw button, .sw input, .sw select, .sw textarea { font: inherit; color: inherit; }
.sw button { cursor: pointer; border: 0; background: none; }
.sw a { color: inherit; }
.sw :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- App frame: sidebar and main ---------- */
.sw-app { position: relative; display: grid; grid-template-columns: 224px minmax(0, 1fr); width: 1280px; height: 800px; overflow: hidden; background: #f6f7f9; }
.sw-side { display: flex; flex-direction: column; gap: 18px; padding: 18px 12px 14px; background: #fff; border-right: 1px solid var(--line); }
.sw-side .si-logo { padding: 2px 8px; }
.sw-nav { display: flex; flex-direction: column; gap: 2px; }
.sw-nav a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 6px; border-radius: 12px; color: var(--soft); font-weight: 600; text-decoration: none; }
.sw-nav a > span:first-child { display: grid; place-items: center; width: 36px; height: 28px; border-radius: 14px; flex: none; }
.sw-nav a:hover { background: var(--well); }
.sw-nav a[aria-current="page"] { color: var(--ink); background: var(--well); }
.sw-nav a[aria-current="page"] > span:first-child { background: var(--hivis); }
.sw-nav em { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--hivis); font: 700 11.5px/20px var(--font-text); font-style: normal; text-align: center; }
.sw-nav__label { padding: 12px 10px 4px; font: 600 12px/16px var(--font-text); color: var(--faint); }
.sw-org { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--well); font-size: 13px; line-height: 17px; color: var(--soft); min-width: 0; }
.sw-org b { display: block; color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-main { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: auto; }
.sw-content { display: flex; flex-direction: column; gap: 20px; padding: 28px 32px 40px; }
.sw-content--narrow { max-width: 880px; }

/* ---------- Type ---------- */
.sw-h1 { font: 600 28px/34px var(--font-head); letter-spacing: -0.03em; text-wrap: balance; }
.sw-h2 { font: 600 18px/24px var(--font-head); letter-spacing: -0.015em; }
.sw-h3 { font: 600 15px/21px var(--font-head); }
.sw-sub { color: var(--soft); }
.sw-fine { font-size: 13px; line-height: 18px; color: var(--soft); }
.sw-label { font: 600 13.5px/19px var(--font-text); }
.sw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sw-head > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw-crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.sw-row { display: flex; align-items: center; gap: 10px; }
.sw-row--between { justify-content: space-between; }
.sw-stack { display: flex; flex-direction: column; gap: 12px; }
.sw-grow { flex: 1 1 0; min-width: 0; }

/* ---------- Buttons ---------- */
.sw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: #fff !important; box-shadow: inset 0 0 0 1.5px var(--edge); font: 600 14.5px/1 var(--font-head) !important; letter-spacing: -0.005em; white-space: nowrap; text-decoration: none; }
.sw-btn:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.sw-btn--hivis { background: var(--hivis) !important; box-shadow: inset 0 0 0 1px var(--hivis-edge); }
.sw-btn--ink { background: var(--ink) !important; color: #fff !important; box-shadow: none; }
.sw-btn--danger { color: var(--red) !important; box-shadow: inset 0 0 0 1.5px var(--red); }
.sw-btn--red { background: var(--red) !important; color: #fff !important; box-shadow: none; }
.sw-btn--text { background: none !important; box-shadow: none; padding: 0 6px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; font-family: var(--font-text) !important; }
.sw-btn--sm { height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13.5px !important; }
.sw-btn--icon { width: 40px; padding: 0; }
.sw-btn[disabled] { background: #e9ecf1 !important; color: var(--faint) !important; box-shadow: none; cursor: not-allowed; }

/* ---------- Fields ---------- */
.sw-input, .sw-select, .sw-textarea { height: 40px; width: 100%; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); outline: 0; }
.sw-textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.sw-input:focus, .sw-select:focus, .sw-textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.sw-input--error { box-shadow: inset 0 0 0 2px var(--red); }
.sw-search { position: relative; }
.sw-search .si-icon { position: absolute; left: 12px; top: 10px; color: var(--soft); pointer-events: none; }
.sw-search .sw-input { padding-left: 40px; }
.sw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sw-help { font-size: 13px; line-height: 18px; color: var(--soft); }
.sw-help--error { color: var(--red); font-weight: 600; }
.sw-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Filter chips with counts */
.sw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: #fff !important; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--soft) !important; font: 600 13.5px/1 var(--font-text) !important; white-space: nowrap; }
.sw-chip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sw-chip[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; box-shadow: none; }
.sw-chip[aria-pressed="true"] b { color: var(--hivis); }
/* Segmented: one of a few */
.sw-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--well); }
.sw-seg button { height: 34px; padding: 0 14px; border-radius: 9px; color: var(--soft); font: 600 13.5px/1 var(--font-text); }
.sw-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 17, 22, 0.12), 0 0 0 1px var(--line); }
/* Tabs inside a page */
.sw-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.sw-tabs button { height: 40px; margin-bottom: -1px; color: var(--soft); font: 600 14.5px/1 var(--font-text); border-bottom: 3px solid transparent; }
.sw-tabs button[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Surfaces ---------- */
.sw-card { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 20px; min-width: 0; }
.sw-card--flush { padding: 0; overflow: hidden; }
.sw-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sw-grid { display: grid; gap: 16px; }
.sw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sw-grid--side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.sw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sw-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sw-stat b { font: 600 26px/30px var(--font-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sw-stat span { font-size: 13px; line-height: 18px; color: var(--soft); }
.sw-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff6c2; }
.sw-note > span { flex: 1 1 0; min-width: 0; }
.sw-note--quiet { background: var(--well); }
.sw-note--problem { background: var(--red-soft); }
.sw-note--problem > .si-icon { color: var(--red); }
.sw-note--ok { background: #ddf7ec; }
.sw-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 20px; text-align: center; color: var(--soft); }
.sw-empty b { color: var(--ink); font-size: 15px; }

/* ---------- Table ---------- */
.sw-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sw-table th { padding: 10px 16px; text-align: left; font: 600 12.5px/18px var(--font-text); color: var(--soft); background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sw-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sw-table tr:last-child td { border-bottom: 0; }
.sw-table tbody tr:hover td { background: #fafbfc; }
.sw-table .is-right { text-align: right; }
.sw-table .is-num { font-family: var(--font-time); letter-spacing: -0.02em; }
.sw-table small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.sw-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; }

/* ---------- People ---------- */
.sw-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 12px/1 var(--font-head); }
.sw-avatar--lg { width: 56px; height: 56px; font-size: 19px; }
.sw-avatar--soft { background: var(--well); color: var(--ink); }
.sw-person { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.sw-person:last-child { border-bottom: 0; }
.sw-person:hover, .sw-person[aria-current="true"] { background: #fafbfc; }
.sw-person[aria-current="true"] { box-shadow: inset 3px 0 0 var(--ink); }
.sw-person > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.sw-person b { display: block; font-weight: 600; }
.sw-person small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Status: colour, word and shape together */
.sw-st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--well); color: var(--soft); font: 600 12.5px/1 var(--font-text); white-space: nowrap; }
.sw-st i { width: 9px; height: 9px; flex: none; background: currentColor; border-radius: 2px; }
.sw-st--in { background: var(--blue-soft); color: var(--blue); }
.sw-st--in i { border-radius: 50%; }
.sw-st--quiet { background: #ffead5; color: #b54708; }
.sw-st--quiet i { border-radius: 50%; background: none; box-shadow: inset 0 0 0 2.5px currentColor; }
.sw-st--alert { background: var(--red); color: #fff; }
.sw-st--alert i { transform: rotate(45deg); }
.sw-st--notin { background: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.sw-st--notin i { background: none; box-shadow: inset 0 0 0 2px currentColor; }

/* ---------- Map screens: the map fills the main area, panels float over it ---------- */
.sw-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #eef1f5; }
.sw-panel { position: absolute; z-index: 3; top: 16px; left: 16px; bottom: 16px; width: 372px; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: var(--lift-1); overflow: hidden; }
.sw-panel__head { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 12px; border-bottom: 1px solid var(--line); }
.sw-panel__list { flex: 1 1 auto; min-height: 0; overflow: auto; }
.sw-drawer { position: absolute; z-index: 4; top: 16px; right: 16px; bottom: 16px; width: 348px; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--lift-1); overflow: auto; }
.sw-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 19px; background: #fff; box-shadow: var(--lift-1); font: 600 13.5px/1 var(--font-text); white-space: nowrap; }
.sw-alertbar { position: absolute; z-index: 5; top: 16px; left: 404px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 18px; background: var(--red); color: #fff; box-shadow: var(--lift-1); }
.sw-alertbar > span { flex: 1 1 0; min-width: 0; }
.sw-alertbar .sw-btn { box-shadow: none; color: var(--ink); }
.sw-alertbar .sw-btn--ink { background: rgba(0, 0, 0, 0.28) !important; color: #fff !important; }
/* Things drawn on the map (positioned by the page) */
.sw-pin { position: absolute; z-index: 2; transform: translate(-13px, -50%); display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 14px; background: var(--ink); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(14, 17, 22, 0.3); font: 600 12.5px/1 var(--font-text); white-space: nowrap; }
.sw-pin i { width: 16px; height: 16px; border-radius: 50%; background: var(--hivis); }
.sw-pin--quiet i { background: none; box-shadow: inset 0 0 0 3px #fff; }
.sw-pin--alert { background: var(--red); }
.sw-pin--alert i { background: #fff; }
.sw-bubble { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ink) !important; color: #fff !important; border: 3px solid #fff !important; box-shadow: 0 4px 12px rgba(14, 17, 22, 0.3); font: 600 12.5px/15px var(--font-text) !important; }
.sw-bubble b { font: 600 24px/26px var(--font-head); color: var(--hivis); letter-spacing: -0.03em; }
.sw-dot { position: absolute; z-index: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--hivis); border: 2.5px solid var(--ink); }

/* ---------- Settings rows ---------- */
.sw-set { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sw-set:last-child { border-bottom: 0; }
.sw-set > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.sw-set > div:first-child small { font-size: 13px; line-height: 18px; color: var(--soft); }

/* ---------- Over the page ---------- */
.sw-scrim { position: absolute; inset: 0; z-index: 8; background: rgba(14, 17, 22, 0.4); display: grid; place-items: center; }
.sw-modal { width: 480px; max-width: calc(100% - 48px); display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px -20px rgba(14, 17, 22, 0.5); }
.sw-modal__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.sw-toast { position: absolute; z-index: 9; left: 50%; bottom: 24px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--lift-1); white-space: nowrap; }
.sw-toast .si-icon { color: var(--hivis); }
.sw-bar { display: flex; align-items: center; gap: 10px; padding: 10px 32px; background: var(--ink); color: #fff; font-size: 13.5px; }
.sw-bar--warn { background: #fff6c2; color: var(--ink); }
.sw-bar .sw-btn { margin-left: auto; }

/* Phone components reused inside the web shell: .sw button resets the background, so restore theirs. */
.sw .si-switch { background: var(--edge); }
.sw .si-switch[aria-checked="true"] { background: var(--ink); }
.sw .si-chip { background: var(--well); }
.sw .si-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sw .si-seg button[aria-pressed="true"] { background: var(--ground); }

/* ==========================================================================
   Page components. Each page keeps its own prefix (.p15-, .p16- …) so nothing
   here can touch another page. Shared pieces stay in the sw- rules above.
   ========================================================================== */

/* ---- Page 15 (Web: Sign up) · classes .p15-* ---- */
.p15-auth { position: relative; display: grid; grid-template-columns: 520px minmax(0, 1fr); width: 1280px; height: 800px; overflow: hidden; background: #fff; }
.p15-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 44px; background: var(--hivis); color: var(--ink); }
.p15-brand .si-logo { font-size: 22px; }
.p15-brand .si-logo svg { width: 30px; height: 30px; }
.p15-display { position: relative; z-index: 1; margin-top: 84px !important; font: 700 56px/56px var(--font-head); letter-spacing: -0.045em; text-wrap: balance; }
.p15-lede { position: relative; z-index: 1; margin-top: 18px !important; max-width: 380px; font-size: 19px; line-height: 27px; }
.p15-mark { position: absolute; right: -150px; bottom: -120px; width: 540px; height: 540px; color: var(--ink); pointer-events: none; }
.p15-side { display: flex; flex-direction: column; min-width: 0; padding: 24px 40px 22px; }
.p15-top { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--soft); }
.p15-form { width: 480px; margin: auto; display: flex; flex-direction: column; gap: 14px; }
.p15-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.p15-price { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--well); }
.p15-price b { font: 600 19px/25px var(--font-head); letter-spacing: -0.02em; }
.p15-price span { font-size: 13px; line-height: 18px; color: var(--soft); }
.p15-cta { height: 48px; font-size: 16px !important; }
.p15-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 13px; line-height: 18px; color: var(--soft); }
.p15-foot a, .p15-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.p15-code { position: relative; display: grid; grid-template-columns: repeat(6, 60px); gap: 10px; }
.p15-code span { height: 68px; border-radius: 14px; background: var(--well); box-shadow: inset 0 0 0 1.5px var(--edge); display: grid; place-items: center; font: 600 28px/1 var(--font-time); }
.p15-code span.is-active { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.p15-code--error span { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.p15-code--done span { background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); color: var(--soft); }
.p15-code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.p15-spin { animation: p15-turn 0.9s linear infinite; }
@keyframes p15-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .p15-spin { animation: none; } }
.ho-wstate .bw .p15-cta { height: 48px; }

/* ---- Page 16 (Web: Sign in) · classes .p16-* ---- */
.p16-auth { position: relative; display: grid; grid-template-columns: 520px minmax(0, 1fr); width: 1280px; height: 800px; overflow: hidden; background: #fff; }
.p16-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 44px; background: var(--hivis); color: var(--ink); }
.p16-brand .si-logo { font-size: 22px; }
.p16-brand .si-logo svg { width: 30px; height: 30px; }
.p16-display { position: relative; z-index: 1; margin-top: 84px !important; font: 700 56px/56px var(--font-head); letter-spacing: -0.045em; text-wrap: balance; }
.p16-lede { position: relative; z-index: 1; margin-top: 18px !important; max-width: 380px; font-size: 19px; line-height: 27px; }
.p16-mark { position: absolute; right: -150px; bottom: -120px; width: 540px; height: 540px; color: var(--ink); pointer-events: none; }
.p16-side { display: flex; flex-direction: column; min-width: 0; padding: 24px 40px 22px; }
.p16-top { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 32px; color: var(--soft); }
.p16-form { width: 440px; margin: auto; display: flex; flex-direction: column; gap: 16px; }
.p16-big { height: 48px; font-size: 16px !important; }
.p16-field { height: 48px; font-size: 16px; }
.p16-keep { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.p16-keep input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.p16-keep small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p16-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 13px; line-height: 18px; color: var(--soft); }
.p16-foot a, .p16-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.p16-code { position: relative; display: grid; grid-template-columns: repeat(6, 60px); gap: 10px; }
.p16-code span { height: 68px; border-radius: 14px; background: var(--well); box-shadow: inset 0 0 0 1.5px var(--edge); display: grid; place-items: center; font: 600 28px/1 var(--font-time); }
.p16-code span.is-active { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.p16-code--error span { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.p16-code--off span { background: var(--well); box-shadow: none; color: var(--faint); }
.p16-code--done span { background: #fff; color: var(--soft); }
.p16-code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.p16-badge { width: 52px; height: 52px; border-radius: 16px; background: var(--well); display: grid; place-items: center; }
.p16-badge--stop { background: var(--ink); color: var(--hivis); }
.p16-stores { display: flex; gap: 10px; }
.p16-stores span { display: grid; place-items: center; width: 150px; height: 46px; border-radius: 10px; border: 1.5px dashed var(--edge); font-size: 13px; color: var(--soft); }
.p16-spin { animation: p16-turn 0.9s linear infinite; }
@keyframes p16-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .p16-spin { animation: none; } }
.ho-wstate .bw .p16-big { height: 48px; }

/* ---- Page 17 (Web: First-run setup) · classes .p17-* ---- */
.p17-grid { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 20px; align-items: start; }
.p17-steps { display: flex; flex-direction: column; gap: 2px; padding: 10px; list-style: none; margin: 0; }
.sw .p17-step { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px; border-radius: 12px; text-align: left; }
.sw .p17-step[aria-current="step"] { background: var(--well); box-shadow: inset 3px 0 0 var(--ink); }
.p17-step > i { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--edge); font: 600 14px/1 var(--font-head); font-style: normal; color: var(--soft); }
.p17-step.is-done > i { background: var(--ink); color: var(--hivis); box-shadow: none; }
.p17-step[aria-current="step"] > i { background: var(--hivis); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hivis-edge); }
.p17-step.is-done[aria-current="step"] > i { background: var(--ink); color: var(--hivis); box-shadow: none; }
.p17-step b { display: block; font-weight: 600; }
.p17-step small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.p17-meter { display: flex; align-items: center; gap: 10px; padding: 12px 20px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.p17-bars { display: flex; gap: 4px; flex: 1 1 0; }
.p17-bars i { flex: 1 1 0; height: 6px; border-radius: 3px; background: var(--line); }
.p17-bars i.is-on { background: var(--ink); }
.p17-body { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; }
.p17-foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); }
.p17-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 24px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.p17-row:last-child { border-bottom: 0; padding-bottom: 0; }
.p17-row:first-child { padding-top: 0; }
.p17-row > .sw-label { padding-top: 9px; }
.p17-row > div { display: flex; flex-direction: column; gap: 6px; }
.p17-row .sw-seg { align-self: flex-start; }
.p17-add { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 132px minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.p17-paste { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.p17-paste textarea { min-height: 150px; font-family: var(--font-time); font-size: 13.5px; line-height: 22px; }
.p17-found { display: flex; flex-direction: column; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p17-found div { display: flex; gap: 8px; align-items: flex-start; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 19px; }
.p17-found div:last-child { border-bottom: 0; }
.p17-found .is-bad { background: var(--red-soft); }
.p17-found .is-bad .si-icon { color: var(--red); }
.p17-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; border-radius: 16px; border: 1.5px dashed var(--edge); text-align: center; color: var(--soft); }
.p17-opt { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.p17-opt:first-child { padding-top: 0; }
.p17-opt:last-child { border-bottom: 0; padding-bottom: 0; }
.p17-opt > span { flex: 1 1 0; min-width: 0; }
.p17-opt b { display: block; font-weight: 600; }
.p17-opt small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.sw .p17-switch { position: relative; width: 46px; height: 28px; flex: none; padding: 0; border-radius: 14px; background: var(--edge); }
.sw .p17-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.sw .p17-switch[aria-checked="true"] { background: var(--ink); }
.sw .p17-switch[aria-checked="true"]::after { left: 21px; }
.p17-invite { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.p17-sms { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 22px; background: var(--well); }
.p17-sms > small { text-align: center; font-size: 12.5px; color: var(--soft); }
.p17-sms p { padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; line-height: 21px; }
.p17-sms u { text-decoration-thickness: 1.5px; text-underline-offset: 3px; color: var(--blue); }
.p17-stores { display: flex; gap: 10px; }
.p17-stores span { display: grid; place-items: center; flex: 1 1 0; height: 44px; border-radius: 10px; border: 1.5px dashed var(--edge); font-size: 13px; color: var(--soft); }
.p17-who { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.p17-who li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.p17-who li:last-child { border-bottom: 0; }
.p17-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px 32px; }
.p17-tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--hivis); }
.p17-tick .si-icon { width: 32px; height: 32px; stroke-width: 2.4; }
.p17-mini { position: absolute; z-index: 4; top: 16px; right: 16px; width: 344px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--lift-1); }
.p17-mini ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.p17-mini li { display: flex; align-items: center; gap: 8px; color: var(--soft); }
.p17-mini li.is-next { color: var(--ink); font-weight: 600; }
.p17-mini li .si-icon { color: var(--ink); }
.ho-wstate .bw .p17-step { align-self: auto; margin-top: 0; height: auto; padding: 8px 10px; border-radius: 12px; background: none; box-shadow: none; font: inherit; }
.ho-wstate .bw .p17-step[aria-current="step"] { background: var(--well); box-shadow: inset 3px 0 0 var(--ink); }
.ho-wstate .bw .p17-switch { align-self: auto; margin-top: 0; height: 28px; padding: 0; border-radius: 14px; background: var(--edge); box-shadow: none; }
.ho-wstate .bw .p17-switch[aria-checked="true"] { background: var(--ink); }

/* ---- Page 19 (Web: Team days) · classes .p19-* ---- */
.p19-rowbtn { cursor: pointer; }
.p19-flags { display: flex; flex-wrap: wrap; gap: 4px; }
.p19-panel { width: 440px; }
.p19-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.p19-body > * { flex: none; }
.p19-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.p19-mini .sw-stat { padding: 10px 12px; }
.p19-mini .sw-stat b { font-size: 20px; line-height: 24px; }
.p19-tl { overflow: visible; }
.p19-tl li { grid-template-columns: 46px minmax(0, 1fr) auto; font-size: 14.5px; padding-bottom: 10px; }
.p19-tl li > b, .p19-tl li > small { grid-column: 2; }
.p19-tl .p19-alert::before { background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.p19-tl .p19-alert > b { color: var(--red); }
.p19-tl .p19-sel > b .p19-stop { background: var(--hivis); box-shadow: 0 0 0 4px var(--hivis); border-radius: 4px; }
.p19-stop { padding: 0; font: inherit; font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.p19-selfie { grid-column: 3; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: #dfe4eb; box-shadow: 0 0 0 1px var(--line); }
.p19-selfie svg { display: block; width: 100%; height: 100%; }
.p19-fix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p19-fix > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.p19-fix > div + div { border-left: 1px solid var(--line); background: #f1fbf6; }
.p19-fix > div.is-wait { background: var(--blue-soft); }
.p19-fix strong { font: 600 15px/21px var(--font-head); }
.p19-fix > p { grid-column: 1 / 3; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--soft); }
.p19-sec { display: flex; flex-direction: column; gap: 8px; }
.p19-line { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: var(--well); }
.p19-line > span { flex: 1 1 0; min-width: 0; }
.p19-line small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.p19-quote { padding: 10px 12px; border-radius: 12px; background: var(--well); }
.p19-photos { display: flex; gap: 8px; }
.p19-photo { width: 112px; height: 84px; border-radius: 12px; background: linear-gradient(135deg, #cfd6df, #e9edf2); display: flex; align-items: flex-end; padding: 6px 8px; font-size: 13px; color: var(--ink); }

/* ---- Page 19b (Web: Approvals) · classes .p19b-* ---- */
.p19b-split { display: grid; grid-template-columns: 348px minmax(0, 1fr); gap: 16px; align-items: start; }
.p19b-tabs button b { display: inline-block; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: var(--well); color: var(--ink); font: 700 12px/20px var(--font-text); text-align: center; vertical-align: 1px; }
.p19b-tabs button[aria-current="page"] b { background: var(--ink); color: var(--hivis); }
.p19b-item { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.p19b-item:last-child { border-bottom: 0; }
.p19b-item[aria-current="true"] { background: #fafbfc; box-shadow: inset 3px 0 0 var(--ink); }
.p19b-item > button { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; text-align: left; }
.p19b-item > button > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.p19b-item b { display: block; font-weight: 600; }
.p19b-item small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p19b-check { width: 20px; height: 20px; flex: none; accent-color: var(--ink); cursor: pointer; }
.p19b-detail { display: flex; flex-direction: column; gap: 14px; }
.p19b-done td:nth-child(1), .p19b-done td:nth-child(5) { white-space: nowrap; }
.p19b-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p19b-cmp > div { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; }
.p19b-cmp > div + div { border-left: 1px solid var(--line); background: var(--blue-soft); }
.p19b-cmp dl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 10px; margin: 0; }
.p19b-cmp dt { color: var(--soft); }
.p19b-cmp dd { margin: 0; font-weight: 600; }
.p19b-cmp dd small { display: inline; margin-left: 8px; font-weight: 400; font-size: 13px; line-height: 17px; color: var(--soft); }
.p19b-ev { position: relative; height: 96px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.p19b-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.p19b-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; }
.p19b-facts > div + div { border-left: 1px solid var(--line); }
.p19b-facts b { font: 600 15px/21px var(--font-head); }
.p19b-two { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.p19b-bal { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--well); }
.p19b-bal b { font: 600 20px/24px var(--font-head); letter-spacing: -0.02em; }
.p19b-off { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.p19b-off li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.p19b-off li:last-child { border-bottom: 0; }
.p19b-tl li { font-size: 14.5px; padding-bottom: 12px; grid-template-columns: 0 1fr; column-gap: 0; }
.p19b-quote { padding: 10px 12px; border-radius: 12px; background: var(--well); }

/* ---- Page 19c (Web: Tasks) · classes .p19c-* ---- */
.p19c-content--open { padding-right: 472px; }
.p19c-flabel { font: 600 13px/18px var(--font-text); color: var(--soft); margin-right: 2px; }
.p19c-flabel:not(:first-child) { margin-left: 14px; }
.p19c-table td { padding-top: 9px; padding-bottom: 9px; }
.p19c-table td:first-child, .p19c-table th:first-child { width: 48px; padding-right: 0; }
.p19c-table td:nth-child(3), .p19c-table td:nth-child(4) { white-space: nowrap; }
.p19c-group td { padding: 8px 16px; background: #fafbfc; font: 600 13px/18px var(--font-text); color: var(--soft); }
.p19c-group b { color: var(--ink); margin-left: 4px; }
.p19c-open { display: block; width: 100%; text-align: left; }
.p19c-open b { display: block; font-weight: 600; text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 4px; }
.p19c-row--sel td { background: #fafbfc !important; }
.p19c-row--sel td:first-child { box-shadow: inset 3px 0 0 var(--ink); }
.p19c-row--done .p19c-open b { color: var(--soft); text-decoration-line: line-through; text-decoration-color: var(--faint); }
.p19c-late { color: var(--red); font-weight: 600; }
.p19c-content--open .p19c-hide { display: none; }
.p19c-side { position: absolute; z-index: 6; top: 0; right: 0; bottom: 0; width: 440px; display: flex; flex-direction: column; background: #fff; box-shadow: -1px 0 0 var(--line), var(--lift-1); }
.p19c-side__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.p19c-side__body { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 20px; }
.p19c-side__foot { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 14px 20px; border-top: 1px solid var(--line); }
.p19c-text { font: 600 21px/27px var(--font-head); letter-spacing: -0.02em; }
.p19c-rows { display: flex; flex-direction: column; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.p19c-rows > div { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px 8px 14px; border-bottom: 1px solid var(--line); }
.p19c-rows > div:last-child { border-bottom: 0; }
.p19c-rows > div > span { flex: 1 1 0; min-width: 0; }
.p19c-rows small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p19c-seg[aria-disabled="true"] { opacity: 0.55; }
.p19c-seg[aria-disabled="true"] button { cursor: not-allowed; }
.p19c-thread .si-bubble { font-size: 14.5px; line-height: 20px; }
.p19c-thread .si-sysline { font-size: 13px; line-height: 18px; }
.p19c-h { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.p19c-h:last-of-type { border-bottom: 0; }
.p19c-h > span { flex: 1 1 0; min-width: 0; }
.p19c-h small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p19c-h time { font: 400 13px/20px var(--font-time); letter-spacing: -0.02em; color: var(--soft); white-space: nowrap; }
.p19c-compose { display: flex; gap: 8px; }
.p19c-tokens { display: flex; flex-wrap: wrap; gap: 6px; }
.p19c-token { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 16px; background: var(--well); font: 600 13.5px/1 var(--font-text); }
.p19c-token button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.p19c-token button:hover { background: var(--edge); }
.p19c-modal { width: 600px; }

/* ---- Page 20 (Web: People) · classes .p20-* ---- */
.p20-table td, .p20-table th { padding-left: 12px; padding-right: 12px; }
.p20-table td:first-child, .p20-table th:first-child { padding-left: 16px; }
.p20-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.p20-who a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 4px; white-space: nowrap; }
.p20-who a:hover { text-decoration-color: var(--ink); }
.p20-none { color: var(--soft); }
.p20-new td { background: #fffbe0; }
.p20-st--on i { border-radius: 50%; }
.p20-st--locked { background: var(--red-soft); color: var(--red); }
.p20-st--locked i { transform: rotate(45deg); }
.p20-st--never { background: #ffead5; color: #b54708; }
.p20-st--never i { background: none; box-shadow: inset 0 0 0 2px currentColor; transform: rotate(45deg); }
.p20-modal { width: 680px; gap: 16px; }
.p20-modal--wide { width: 820px; }
.p20-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.p20-span { grid-column: 1 / -1; }
.p20-msg { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--well); }
.p20-msg p { align-self: flex-start; max-width: 520px; padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.p20-msg p b { display: block; }
.p20-foot { align-items: center; }
.p20-foot > span { margin-right: auto; }
.p20-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px; border-radius: 16px; border: 2px dashed var(--edge); text-align: center; }
.p20-csv { max-height: 286px; overflow: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.p20-csv .sw-table th { position: sticky; top: 0; }
.p20-csv .sw-table td, .p20-csv .sw-table th { padding: 8px 12px; }
.p20-bad td { background: #fff8f7; }

/* ---- Page 21 (Web: One person) · classes .p21-* ---- */
.p21-top { display: flex; align-items: center; gap: 16px; }
.p21-top__now { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.p21-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; padding: 18px 20px; margin: 0; }
.p21-dl > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p21-dl dt { font-size: 13px; line-height: 18px; color: var(--soft); }
.p21-dl dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.p21-dl .sw-field { gap: 4px; }
.p21-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.p21-foot > span { flex: 1 1 0; min-width: 0; }
.p21-rows { display: flex; flex-direction: column; padding: 6px 20px; }
.p21-rows > div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.p21-rows > div:last-child { border-bottom: 0; }
.p21-rows > div > span:first-child { width: 104px; flex: none; color: var(--soft); font-size: 13px; }
.p21-rows > div > span:last-child { flex: 1 1 0; min-width: 0; font-weight: 600; }
.p21-rows small { display: block; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--soft); }
.p21-checks { display: flex; flex-direction: column; gap: 9px; padding: 14px 20px; border-top: 1px solid var(--line); }
.p21-checks .si-checkrow { font-size: 14.5px; gap: 10px; }
.p21-checks .si-check { width: 22px; height: 22px; }
.p21-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.p21-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 16px 20px 6px; }
.p21-cells > div { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 14px; background: var(--well); }
.p21-cells b { font: 600 22px/26px var(--font-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.p21-cells span { font-size: 13px; line-height: 17px; color: var(--soft); }
.p21-list { display: flex; flex-direction: column; padding: 4px 20px 8px; }
.p21-list > div { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.p21-list > div:last-child { border-bottom: 0; }
.p21-list > div > span.sw-grow { flex: 1 1 0; min-width: 0; }
.p21-list b { display: block; font-weight: 600; }
.p21-list small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p21-late { color: var(--red) !important; font-weight: 600; }
.p21-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--edge); white-space: nowrap; }
.p21-what { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.p21-what li { display: flex; gap: 12px; align-items: flex-start; }
.p21-what li > span { flex: 1 1 0; }
.p21-what small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p21-sms { padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: var(--well); font-size: 13.5px; line-height: 19px; }
.p21-st--on i { border-radius: 50%; }
.p21-st--locked { background: var(--red-soft); color: var(--red); }
.p21-st--locked i { transform: rotate(45deg); }
.p21-st--never { background: #ffead5; color: #b54708; }
.p21-st--never i { background: none; box-shadow: inset 0 0 0 2px currentColor; transform: rotate(45deg); }

/* ---- Page 22 (Web: Attendance) · classes .p22-* ---- */
.p22-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.p22-stats .sw-stat b { font-size: 24px; line-height: 30px; }
.p22-t th, .p22-t td { padding-left: 8px; padding-right: 8px; }
.p22-t th:first-child, .p22-t td:first-child { padding-left: 16px; }
.p22-t tbody tr { cursor: pointer; }
.p22-t .p22-grp { border-left: 1px solid var(--line); }
.p22-t .is-zero { color: var(--faint); }
.p22-t .is-num, .p22-days .is-num { white-space: nowrap; }
.p22-flags { display: flex; flex-wrap: wrap; gap: 4px; }
.p22-period { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 14.5px/1 var(--font-head); white-space: nowrap; }
.p22-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.p22-opt input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.p22-opt small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.p22-list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---- Page 23 (Web: Leave) · classes .p23-* ---- */
.p23-r { display: grid; align-items: stretch; min-height: 44px; border-bottom: 1px solid var(--line); }
.p23-r--head { min-height: 50px; background: #fafbfc; }
.p23-who { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 6px 12px 6px 20px; font-weight: 600; }
.p23-who small { font-weight: 400; font-size: 13px; line-height: 17px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p23-r--head .p23-who { font: 600 12.5px/18px var(--font-text); color: var(--soft); }
.p23-c { grid-row: 1; display: grid; place-items: center; min-width: 0; padding: 4px 3px; border-left: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.p23-c.is-we { background: repeating-linear-gradient(135deg, #f3f5f8 0 5px, #fafbfc 5px 10px); padding: 4px 0; }
.p23-c.is-hol { background: var(--well); font-weight: 600; }
.sw .p23-h { padding: 0; box-shadow: none; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 100%; height: 42px; border-radius: 10px; font: 400 13px/16px var(--font-text) !important; color: var(--soft) !important; }
.sw .p23-h b { font: 600 15px/18px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.sw .p23-h.is-today b { min-width: 26px; padding: 0 6px; border-radius: 9px; background: var(--ink); color: #fff; }
.sw .p23-h[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: #fff !important; }
.sw .p23-n { padding: 0; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 100%; height: 34px; border-radius: 10px; background: var(--well) !important; color: var(--ink) !important; font: 600 15px/1 var(--font-head) !important; font-variant-numeric: tabular-nums; }
.sw .p23-n i.p23-w { font: 600 13px/20px var(--font-text); font-style: normal; height: 22px; padding: 0 3px; border: 1.5px dashed var(--soft); border-radius: 8px; background: #fff; color: var(--ink); }
.sw .p23-n.is-busy { background: #ffead5 !important; color: #b54708 !important; }
.sw .p23-n .si-icon { width: 15px; height: 15px; flex: none; }
.sw .p23-n[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.sw .p23-bar { box-shadow: none; grid-row: 1; z-index: 1; align-self: center; height: 28px; margin: 0 4px; padding: 0 9px; border-radius: 9px; background: var(--ink) !important; color: #fff !important; font: 600 13px/28px var(--font-text) !important; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sw .p23-bar.is-wait { background: #fff !important; color: var(--ink) !important; border: 1.5px dashed var(--ink) !important; line-height: 25px !important; }
.sw .p23-bar.is-am { width: calc(50% - 4px); justify-self: start; padding: 0; }
.sw .p23-bar.is-pm { width: calc(50% - 4px); justify-self: end; padding: 0; }
.sw .p23-bar.is-short { width: 14px; justify-self: center; padding: 0; margin: 0; border-radius: 7px; }
.sw .p23-bar.is-cut-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.sw .p23-bar.is-cut-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.p23-day { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px 8px; border-bottom: 1px solid var(--line); }
.p23-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.p23-p { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.p23-p > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.p23-p b { font-weight: 600; }
.p23-p small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.p23-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 20px; font-size: 13px; line-height: 18px; color: var(--soft); }
.p23-key span { display: inline-flex; align-items: center; gap: 7px; }
.p23-key i { width: 22px; height: 14px; border-radius: 5px; background: var(--ink); flex: none; }
.p23-key i.is-wait { background: #fff; border: 1.5px dashed var(--ink); }
.p23-key i.is-busy { background: #ffead5; }
.p23-key i.is-we { background: repeating-linear-gradient(135deg, #e4e8ee 0 3px, #fafbfc 3px 6px); }
.p23-bal b { font: 600 15px/20px var(--font-time); letter-spacing: -0.02em; }
.p23-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* ---- Page 24 (Web: Settings: tracking and stops) · classes .p24-* ---- */
.p24-sec { display: flex; flex-direction: column; }
.p24-sec > header { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.p24-sec > header p { max-width: 720px; }
.p24-ctl { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.p24-ctl > .sw-fine, .p24-ctl > .sw-note { max-width: 580px; }
.p24-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bw .sw .p24-switch { width: 46px; height: 28px; padding: 0; border-radius: 14px; background: var(--edge); box-shadow: none; }
.bw .sw .p24-switch[aria-checked="true"] { background: var(--ink); }
.p24-onoff { min-width: 28px; font-weight: 600; }
.p24-val { font-weight: 600; }
.p24-ctl select[disabled], .p24-ctl input[disabled] { background: #e9ecf1; color: var(--faint); box-shadow: none; }
.p24-priv { display: flex; gap: 8px; align-items: flex-start; max-width: 580px; font-size: 13px; line-height: 18px; color: var(--soft); }
.p24-priv .si-icon { flex: none; margin-top: 1px; color: var(--ink); }
.p24-save { position: sticky; bottom: 0; z-index: 6; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px 32px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(14, 17, 22, 0.3); }
.p24-save b { display: block; }
.p24-save small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p24-save--problem { background: var(--red-soft); }
.p24-save--problem > .si-icon { color: var(--red); flex: none; }
.p24-box { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; align-self: stretch; }
.p24-ans { display: flex; align-items: center; gap: 8px; align-self: stretch; max-width: 600px; }
.p24-ans__n { flex: none; width: 22px; font: 500 13.5px/1 var(--font-time); color: var(--soft); text-align: right; }
.p24-ans .sw-input { flex: 1 1 0; min-width: 0; }
.bw .sw .p24-ans .sw-btn { padding: 0 12px; }
.p24-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- Page 25 (Web: Settings: people and sign-in) · classes .p25-* ---- */
.p25-sec { display: flex; flex-direction: column; }
.p25-sec > header { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.p25-sec > header p { max-width: 720px; }
.p25-ctl { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.p25-ctl > .sw-fine, .p25-ctl > .sw-note { max-width: 580px; }
.p25-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bw .sw .p25-switch { width: 46px; height: 28px; padding: 0; border-radius: 14px; background: var(--edge); box-shadow: none; }
.bw .sw .p25-switch[aria-checked="true"] { background: var(--ink); }
.p25-onoff { min-width: 28px; font-weight: 600; }
.p25-val { font-weight: 600; }
.p25-ctl select[disabled], .p25-ctl input[disabled] { background: #e9ecf1; color: var(--faint); box-shadow: none; }
.p25-priv { display: flex; gap: 8px; align-items: flex-start; max-width: 580px; font-size: 13px; line-height: 18px; color: var(--soft); }
.p25-priv .si-icon { flex: none; margin-top: 1px; color: var(--ink); }
.p25-save { position: sticky; bottom: 0; z-index: 6; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px 32px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(14, 17, 22, 0.3); }
.p25-save b { display: block; }
.p25-save small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p25-save--problem { background: var(--red-soft); }
.p25-save--problem > .si-icon { color: var(--red); flex: none; }
.p25-box { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; align-self: stretch; }
.p25-tree { display: flex; flex-direction: column; }
.p25-node { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; border-bottom: 1px solid var(--line); }
.p25-node:last-child { border-bottom: 0; }
.p25-node > span.sw-grow b { display: block; font-weight: 600; }
.p25-node > span.sw-grow small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.p25-kids { margin-left: 27px; border-left: 2px solid var(--line); }
.p25-kids .p25-kids .p25-node { min-height: 46px; }
.bw .sw .p25-tog { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 8px; border-radius: 12px; background: var(--well); font: 600 13.5px/1 var(--font-text); white-space: nowrap; }
.p25-modal--wide { width: 820px; }
.p25-csv { max-height: 330px; overflow: auto; }
.p25-csv td { padding-top: 8px; padding-bottom: 8px; vertical-align: top; }
.p25-csv tr.is-bad td { background: #fff5f4; }
.p25-form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; padding: 16px; border-radius: 16px; background: var(--well); align-self: stretch; }
.p25-form > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.p25-map { position: relative; height: 100%; min-height: 190px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.p25-map .sw-pin { left: 50%; top: 50%; }
.p25-field { display: flex; flex-direction: column; gap: 6px; }
.p25-count { font: 600 22px/26px var(--font-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---- Page 26 (Web: Settings, leave) · classes .p26-* ---- */
.p26-set1 { grid-template-columns: minmax(0, 1fr); }
.p26-box { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p26-box .sw-table td { padding: 8px 12px; }
.p26-box .sw-table th { padding: 9px 12px; }
.p26-box .sw-table td:first-child, .p26-box .sw-table th:first-child { padding-left: 16px; }
.p26-box .sw-table tbody tr:hover td { background: none; }
.p26-unit { display: flex; align-items: center; gap: 8px; color: var(--soft); }
.p26-unit .sw-input { width: 84px; text-align: right; font-family: var(--font-time); }
.p26-onoff { display: flex; align-items: center; gap: 12px; min-height: 40px; font-weight: 600; }
.p26-fields { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; }
.p26-addrow { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--line); background: #fafbfc; }
.p26-save { position: sticky; bottom: 0; z-index: 6; margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 32px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(14, 17, 22, 0.25); }
.p26-save > span { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.p26-save.is-error > span { color: var(--red); }
.p26-kept { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Page 27 (Web: Settings: emergency and AI) · classes .p27-* ---- */
.p27-sec { display: flex; flex-direction: column; }
.p27-sec > header { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.p27-sec > header p { max-width: 720px; }
.p27-ctl { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.p27-ctl > .sw-fine, .p27-ctl > .sw-note { max-width: 580px; }
.p27-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bw .sw .p27-switch { width: 46px; height: 28px; padding: 0; border-radius: 14px; background: var(--edge); box-shadow: none; }
.bw .sw .p27-switch[aria-checked="true"] { background: var(--ink); }
.p27-onoff { min-width: 28px; font-weight: 600; }
.p27-val { font-weight: 600; }
.p27-ctl select[disabled], .p27-ctl input[disabled] { background: #e9ecf1; color: var(--faint); box-shadow: none; }
.p27-priv { display: flex; gap: 8px; align-items: flex-start; max-width: 580px; font-size: 13px; line-height: 18px; color: var(--soft); }
.p27-priv .si-icon { flex: none; margin-top: 1px; color: var(--ink); }
.p27-save { position: sticky; bottom: 0; z-index: 6; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px 32px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(14, 17, 22, 0.3); }
.p27-save b { display: block; }
.p27-save small { display: block; font-size: 13px; line-height: 18px; color: var(--soft); }
.p27-save--problem { background: var(--red-soft); }
.p27-save--problem > .si-icon { color: var(--red); flex: none; }
.p27-box { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; align-self: stretch; }
.p27-contact { display: flex; align-items: flex-start; gap: 8px; align-self: stretch; max-width: 600px; }
.p27-contact > label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p27-contact > label:first-child { flex: 1 1 0; }
.p27-contact > label:nth-child(2) { width: 170px; }
.p27-contact > label > span { font-size: 13px; line-height: 18px; color: var(--soft); }
.p27-contact .sw-btn { margin-top: 22px; }
.p27-sms { display: flex; flex-direction: column; gap: 10px; align-self: stretch; max-width: 460px; padding: 14px; border-radius: 18px; background: var(--well); }
.p27-sms > small { font: 600 12.5px/17px var(--font-text); color: var(--soft); }
.p27-sms > p { align-self: flex-start; max-width: 92%; padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; line-height: 21px; }
.p27-sms > p u { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.p27-code { display: flex; align-items: center; gap: 8px; align-self: stretch; max-width: 600px; }
.p27-code > code { flex: 1 1 0; min-width: 0; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--well); font: 500 13.5px/40px var(--font-time); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p27-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: stretch; max-width: 600px; }
.p27-two > div { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--well); }
.p27-two ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 19px; }
.p27-two li { display: flex; gap: 8px; align-items: flex-start; }
.p27-two li .si-icon { flex: none; margin-top: 1px; }
.p27-result { display: flex; flex-direction: column; align-self: stretch; max-width: 600px; }
.p27-result > div { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-top: 1px solid var(--line); }
.p27-result > div:first-child { border-top: 0; background: #fafbfc; }
.p27-result small { display: block; font-size: 13px; line-height: 17px; color: var(--soft); }
.p27-gone td { color: var(--faint); }

/* ---- Page 28 (Web: Billing) · classes .p28-* ---- */
.p28-cols { display: grid; grid-template-columns: minmax(0, 1fr) 328px; gap: 16px; align-items: start; }
.p28-status { display: flex; align-items: flex-start; gap: 20px; }
.p28-status > div:first-child { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.p28-big { font: 600 24px/30px var(--font-head); letter-spacing: -0.025em; }
.p28-days { display: flex; gap: 3px; max-width: 320px; }
.p28-days i { flex: 1 1 0; height: 8px; border-radius: 4px; background: var(--line); }
.p28-days i.is-gone { background: var(--ink); }
.p28-days i.is-today { background: var(--hivis); box-shadow: inset 0 0 0 1px var(--hivis-edge); }
.p28-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 600 26px/32px var(--font-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.p28-sum small { font: 400 14.5px/21px var(--font-text); letter-spacing: 0; color: var(--soft); }
.p28-sum em { font-style: normal; color: var(--soft); font-weight: 500; }
.p28-who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.p28-who > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--well); font-size: 13.5px; line-height: 19px; color: var(--soft); }
.p28-who b { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.p28-dl { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.p28-dl div { display: flex; flex-direction: column; }
.p28-dl dt { font-size: 13px; line-height: 18px; color: var(--soft); }
.p28-dl dd { margin: 0; }
.p28-card { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--well); font-weight: 600; }
.p28-paused { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.p28-phone { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--hivis); }
.p28-phone .si-logo { font-size: 14px; }
.p28-phone .si-logo svg { width: 18px; height: 18px; }
.p28-phone b { font: 700 19px/22px var(--font-head); letter-spacing: -0.03em; }
.p28-phone span { font-size: 13px; line-height: 18px; }
.p28-steps { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 20px; }
.p28-stripe { display: grid; place-items: center; gap: 4px; height: 132px; padding: 12px; border-radius: 12px; border: 2px dashed var(--faint); background: var(--well); text-align: center; color: var(--soft); font-size: 13px; line-height: 18px; }
.p28-stripe b { font: 600 15px/20px var(--font-time); color: var(--ink); }
.p28-inv th, .p28-inv td { padding-left: 12px; padding-right: 8px; white-space: nowrap; }
.p28-inv th:first-child, .p28-inv td:first-child { padding-left: 20px; }
.p28-inv th:last-child, .p28-inv td:last-child { padding-right: 16px; }
.p28-quiet { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 0; font-size: 13px; color: var(--soft); }
.p28-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
