/* =====================================================================
   Suprixx design language (approved 2026-11-13).
   Calm light canvas, near-black indigo ink, purple only for actions and the
   active item, at most one dark surface per screen, no gradients, no
   decorative shapes. Green = completed, amber = pending, red = overdue.
   Loaded after app.css on every page.
   ===================================================================== */
:root {
  --sx-canvas: #F6F6FA; --sx-surface: #FFFFFF; --sx-sunk: #F0EFF7; --sx-line: #E7E5F1;
  --sx-ink: #15132E; --sx-ink2: #5B5875; --sx-ink3: #8E8BA6;
  --sx-p: #5B34E6; --sx-p7: #4526C4; --sx-p50: #F1EDFE; --sx-p100: #E3DBFD; --sx-night: #17143A;
  --sx-ok: #11996A; --sx-ok50: #E4F5EE; --sx-warn: #D97A06; --sx-warn50: #FDF0DC; --sx-bad: #D43C3C; --sx-bad50: #FBE9E9; --sx-blue: #2F6BFF;
  --sx-e1: 0 1px 2px rgba(21, 19, 46, .05); --sx-e2: 0 10px 30px -14px rgba(21, 19, 46, .22); --sx-e3: 0 24px 48px -20px rgba(21, 19, 46, .35);
  /* older tokens follow the new language */
  --paper: var(--sx-canvas); --surface: #fff; --ink: var(--sx-ink); --ink-2: var(--sx-ink2); --line: var(--sx-line); --line-strong: #D6D3E6;
  --violet: var(--sx-p); --violet-deep: var(--sx-p7); --violet-night: var(--sx-night); --navy: var(--sx-night);
  --petrol: var(--sx-p); --petrol-deep: var(--sx-p7); --petrol-wash: var(--sx-p50); --accent: var(--sx-p);
  --grad-brand: var(--sx-night); --grad-btn: var(--sx-p); --gold: var(--sx-p); --gold-ink: #fff; --amber: var(--sx-warn); --orange: var(--sx-warn);
  --ok: var(--sx-ok); --ok-wash: var(--sx-ok50); --warn: var(--sx-warn); --warn-wash: var(--sx-warn50); --bad: var(--sx-bad); --bad-wash: var(--sx-bad50);
  --sh-1: none; --sh-2: var(--sx-e2); --shadow-1: none;
}
body { background: var(--sx-canvas); color: var(--sx-ink); font-weight: 500; }
h1, h2, h3, .page-head h1, .sectionhead h2, .panel__head h2, .sheet__title { font-weight: 700; letter-spacing: -.02em; }
.page-head h1 { font-size: 24px; letter-spacing: -.028em; }
b, strong, .table td b, .ledger__main b { font-weight: 700; }
a { color: var(--sx-p); }

/* controls */
.btn, .btn--lg, .btn--sm { border-radius: 14px; font-weight: 700; box-shadow: none; border-color: var(--sx-line); background: #fff; color: var(--sx-ink); }
.btn--sm { border-radius: 11px; }
.btn:hover { background: var(--sx-canvas); border-color: #D6D3E6; }
.btn--primary, .btn--main, .startsheet .btn--main, .hero[data-tone="deep"] .btn--main, .auth .btn--primary.btn--lg, .appbar .btn--primary, .topnav .btn--primary {
  background: var(--sx-p); border-color: var(--sx-p); color: #fff; box-shadow: 0 10px 20px -12px rgba(91, 52, 230, .85);
}
.btn--primary:hover, .btn--main:hover, .auth .btn--primary.btn--lg:hover, .topnav .btn--primary:hover, .appbar .btn--primary:hover { background: var(--sx-p7); border-color: var(--sx-p7); color: #fff; }
.btn--danger { color: var(--sx-bad); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=search], input[type=number], input[type=month], input:not([type]), select, textarea { border-radius: 14px; border-color: var(--sx-line); }
input:focus, select:focus, textarea:focus { border-color: var(--sx-p); box-shadow: 0 0 0 4px rgba(91, 52, 230, .12); }
.field__label { font-weight: 600; font-size: 13.5px; color: var(--sx-ink2); }
.sheet, .panel, .filters, .list.sheet, .ledger__row, .route__stop a, .strip > div, .shell__main .strip > div, .inboxcard, .claimcard, .cal, .tiles__item { box-shadow: none; border: 1px solid var(--sx-line); border-radius: 18px; }
.avatar { border-radius: 14px; background: var(--sx-p50); color: var(--sx-p7); font-weight: 700; box-shadow: none; }
.avatar--lg { border-radius: 24px; }
.pill, .badge { font-weight: 700; }
.chip, .period__chip { border-color: var(--sx-line); font-weight: 600; }
.chip[aria-current="true"], .period__chip[aria-current="true"] { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.strip dd, .live__kpis dd { font-weight: 700; }
.flash { border-radius: 14px; }

/* ---- top bar (engineer pages, manager on phones): plain white ---- */
.appbar, .shell--top .appbar--mobile { background: #fff; color: var(--sx-ink); border: 0; border-bottom: 1px solid var(--sx-line); border-radius: 0; box-shadow: none; overflow: visible; }
.appbar::before, .appbar::after { display: none; }
.appbar .brand, .appbar .brand span { color: var(--sx-ink); font-weight: 700; }
.appbar .brand__mark, .topnav .brand__mark { color: var(--sx-p); }
.appbar__nav a:not(.btn) { color: var(--sx-ink2); font-weight: 600; }
.appbar__nav a:not(.btn):hover { color: var(--sx-ink); background: var(--sx-canvas); }
.appbar__nav a[aria-current="page"] { background: var(--sx-p50); color: var(--sx-p7); }
.appbar .iconbtn { color: var(--sx-ink); }
.appbar .iconbtn--accent { background: var(--sx-p); border-color: var(--sx-p); color: #fff; }
.appbar .avatar { background: var(--sx-p50); color: var(--sx-p7); box-shadow: none; }
.appbar__me[aria-current="page"] .avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sx-p); }

/* ---- bottom bar: white, indicator on the active item, square + ---- */
.bottomnav, .bottomnav.bottomnav--tabs, .bottomnav.bottomnav--admin { background: #fff; border: 0; border-top: 1px solid var(--sx-line); border-radius: 0; box-shadow: none; }
.bottomnav a, .bottomnav button, .bottomnav a span, .bottomnav button span, .bottomnav .bottomnav__log, .bottomnav .bottomnav__log span { color: var(--sx-ink3); font-weight: 600; }
.bottomnav a[aria-current="page"], .bottomnav a[aria-current="page"] span, .bottomnav--admin a[aria-current="page"] .icon { color: var(--sx-p); }
.bottomnav--tabs a { position: relative; }
.bottomnav--tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -8px; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 0 0 3px 3px; background: var(--sx-p); }
.bottomnav--tabs a i, .bottomnav--tabs a[aria-current="page"] i { background: none; }
.bottomnav__add b { width: 54px; height: 54px; margin-top: -14px; border-radius: 18px; background: var(--sx-p); box-shadow: 0 12px 20px -10px rgba(91, 52, 230, .9); }
.bottomnav__plus, .bottomnav .bottomnav__plus { border-radius: 18px; background: var(--sx-p); box-shadow: 0 12px 20px -10px rgba(91, 52, 230, .9); }

/* ---- manager top menu: white ---- */
@media (min-width: 1024px) {
  .topnav { background: #fff; border-bottom: 1px solid var(--sx-line); box-shadow: none; }
  .topnav .brand, .topnav .brand span { color: var(--sx-ink); font-weight: 700; }
  .topnav__links > a, .topnav__menu > summary { color: var(--sx-ink2); font-weight: 600; }
  .topnav__links > a:hover, .topnav__menu > summary:hover { background: var(--sx-canvas); color: var(--sx-ink); }
  .topnav__links > a[aria-current="page"], .topnav__menu[data-current] > summary { background: var(--sx-p50); color: var(--sx-p7); }
  .topnav__links em { background: var(--sx-warn); color: #fff; }
  .topnav__search input { background: var(--sx-sunk); border-color: transparent; color: var(--sx-ink); }
  .topnav__search input::placeholder { color: var(--sx-ink3); }
  .topnav__search .icon { color: var(--sx-ink3); }
  .topnav__menu--me .avatar { background: var(--sx-p50); color: var(--sx-p7); }
  .vrow[aria-current="true"] { background: var(--sx-p50); box-shadow: inset 3px 0 0 var(--sx-p); }
  .live__inbox, .live__team, .split__list { background: #fff; }
}
.live__kpis > div { box-shadow: var(--sx-e2); border: 0; }
.cal__day.is-on { background: var(--sx-ink); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--sx-p); }
.cal__dots b { background: var(--sx-p); }
.cal__day.is-on .cal__dots b { background: #fff; }

/* ---- sign-in family (forgot / new password keep the older markup) ---- */
.page-login { background: var(--sx-night); }
.authsplit { background: var(--sx-night); }
.authsplit::before, .authsplit::after { display: none; }
.authtop { text-align: left; padding: calc(40px + var(--sat)) 28px 26px; }
.authtop__mark { width: 30px; height: 30px; color: #fff; filter: none; vertical-align: middle; }
.authtop__name { display: inline; margin: 0 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: .01em; vertical-align: middle; }
.authtop__sub { margin: 26px 0 0; font-size: 15px; color: #C9C4EE; }
.authsplit .auth { border-radius: 28px 28px 0 0; box-shadow: none; }

/* ============================ sx components ============================ */
.sx-card { background: #fff; border: 1px solid var(--sx-line); border-radius: 18px; margin: 0 0 14px; }
.sx-card__head, .sx-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sx-card__head { padding: 14px 16px 10px; }
.sx-block__head { padding: 8px 4px 10px; }
.sx-block__head--top { padding-top: 6px; }
.sx-card__head h2, .sx-block__head h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.sx-card__head a, .sx-block__head a { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sx-card__head a .icon, .sx-block__head a .icon { width: 15px; height: 15px; }
.sx-block__head small { font-size: 13px; color: var(--sx-ink3); font-weight: 600; }
.sx-block { margin: 0 0 14px; }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border: 1px solid var(--sx-line); border-radius: 14px; background: #fff; color: var(--sx-ink); font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sx-btn .icon { width: 20px; height: 20px; }
.sx-btn--block { display: flex; width: 100%; }
.sx-btn--primary { background: var(--sx-p); border-color: var(--sx-p); color: #fff; box-shadow: 0 10px 20px -12px rgba(91, 52, 230, .85); }
.sx-btn--primary:hover { background: var(--sx-p7); }
.sx-btn--light { background: #fff; border-color: #fff; color: var(--sx-night); }
.sx-btn--quiet { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
.sx-btn:disabled { opacity: .7; }
.sx-btn:active { transform: scale(.985); }
.sx-ghost { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sx-line); border-radius: 12px; background: #fff; color: var(--sx-ink); cursor: pointer; }
.sx-ghost .icon { width: 19px; height: 19px; }
.sx-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--sx-sunk); color: var(--sx-ink2); }
.sx-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sx-tag--ok { background: var(--sx-ok50); color: var(--sx-ok); } .sx-tag--warn { background: var(--sx-warn50); color: var(--sx-warn); }
.sx-tag--bad { background: var(--sx-bad50); color: var(--sx-bad); } .sx-tag--brand { background: var(--sx-p50); color: var(--sx-p7); }
.sx-tag--brand::before { display: none; }
.sx-empty { display: grid; justify-items: center; gap: 4px; padding: 26px 18px; text-align: center; border: 1px dashed #D6D3E6; border-radius: 18px; color: var(--sx-ink2); }
.sx-empty--card { background: #fff; border-style: solid; border-color: var(--sx-line); margin-bottom: 14px; }
.sx-empty > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: var(--sx-sunk); color: var(--sx-ink2); }
.sx-empty b { color: var(--sx-ink); font-size: 15px; }
.sx-empty p { margin: 0; font-size: 13.5px; max-width: 30ch; }
.sx-note { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; margin: 0 0 14px; border-radius: 14px; font-size: 14px; font-weight: 600; }
.sx-note .icon { flex: none; width: 19px; height: 19px; margin-top: 1px; }
.sx-note--bad { background: var(--sx-bad50); color: #9E2A2A; } .sx-note--ok { background: var(--sx-ok50); color: #0C6B4A; }

/* ---- Home ---- */
.sx.page-home .appbar { display: none; }
.sx.page-home .wrap { padding-top: calc(16px + var(--sat)); }
.sx-hello { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0 2px 14px; }
.sx-hello__me { text-decoration: none; }
.sx-hello__me .avatar { width: 46px; height: 46px; font-size: 15px; }
.sx-hello__date { margin: 0 0 1px; font-size: 12.5px; font-weight: 600; color: var(--sx-ink3); }
.sx-hello h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-hello__tools { display: flex; gap: 8px; }
.sx-hello__tools #openSaver { display: none; }
.sx-now.hero, .has-bottomnav .wrap--narrow > .sx-now.hero { position: relative; display: block; min-height: 0; margin: 0 0 14px; padding: 18px 18px 16px; border: 0; border-radius: 26px; background: var(--sx-night); color: #fff; box-shadow: var(--sx-e3); overflow: hidden; }
.sx-now .scene__canvas { display: none; }
.sx-now__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #BDB7EA; }
.sx-now__state { display: inline-flex; align-items: center; gap: 8px; }
.sx-now__state i { width: 8px; height: 8px; border-radius: 50%; background: #6F69A8; }
.sx-now.is-live .sx-now__state i { background: #3DDC97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .22); }
.sx-gps, .gpschip.sx-gps { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: #BDB7EA; }
.sx-gps > i { display: none; }
.sx-sig { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.sx-sig i { display: block; width: 4px; border-radius: 2px; background: #4A4680; box-shadow: none; }
.sx-sig i:nth-child(1) { height: 6px; } .sx-sig i:nth-child(2) { height: 9px; } .sx-sig i:nth-child(3) { height: 12px; } .sx-sig i:nth-child(4) { height: 15px; } .sx-sig i:nth-child(5) { height: 18px; }
[data-level="1"] .sx-sig i:nth-child(-n+1), [data-level="2"] .sx-sig i:nth-child(-n+2), [data-level="3"] .sx-sig i:nth-child(-n+3), [data-level="4"] .sx-sig i:nth-child(-n+4), [data-level="5"] .sx-sig i:nth-child(-n+5) { background: #3DDC97; }
.sx-now__big { margin: 10px 0 0; font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.sx-now__big small { margin-left: 6px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: #C9C4EE; }
#siteTimer.sx-now__big { color: #fff; }
.sx-now__sub { margin: 6px 0 0; font-size: 14.5px; color: #DCD8F7; }
.sx-now__sub a { display: inline-flex; align-items: center; gap: 2px; color: #DCD8F7; text-decoration: none; }
.sx-now__sub .icon { width: 16px; height: 16px; }
.sx-now__lead { margin: 10px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: #fff; max-width: 26ch; }
.sx-now .sx-btn { margin-top: 16px; }
.sx-hero__msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(212, 60, 60, .2); color: #FFD9D9; font-size: 13.5px; font-weight: 600; }
.sx-hero__msg[hidden] { display: none; }
.sx-hero__alt { display: block; width: 100%; margin: 10px 0 0; padding: 4px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #BDB7EA; text-align: center; text-decoration: none; cursor: pointer; }
.sx-hero__alt[data-armed="1"] { color: #FFB4B4; }
.sx-route { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sx-route__lab { display: flex; justify-content: space-between; margin: 0; font-size: 12.5px; font-weight: 600; color: #A9A3DB; }
.sx-route__track { position: relative; display: flex; justify-content: space-between; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.sx-route__track::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; border-top: 2px dashed #4A4680; }
.sx-route__track li { position: relative; flex: 1 1 0; min-width: 0; display: grid; justify-items: center; text-align: center; font-size: 11.5px; line-height: 1.3; color: #C9C4EE; }
.sx-route__track li:first-child { justify-items: start; text-align: left; } .sx-route__track li:last-child { justify-items: end; text-align: right; }
.sx-route__track li:only-child { justify-items: start; text-align: left; }
.sx-route__track i { display: block; width: 16px; height: 16px; margin-bottom: 6px; border-radius: 50%; background: #8F78FF; border: 3px solid var(--sx-night); box-shadow: 0 0 0 2px #8F78FF; }
.sx-route__track .is-cur i { background: #3DDC97; box-shadow: 0 0 0 2px #3DDC97; }
.sx-route__track .is-next i { background: var(--sx-night); box-shadow: 0 0 0 2px #4A4680; }
.sx-route__track time { font-weight: 600; color: #fff; }
.sx-route__track span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-figs { padding: 14px 4px 12px; }
.sx-figs dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.sx-figs dl a { display: block; padding: 0 12px; color: var(--sx-ink); text-decoration: none; min-width: 0; }
.sx-figs dl a + a { border-left: 1px solid var(--sx-line); }
.sx-figs dd { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.sx-figs dt { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--sx-ink2); white-space: nowrap; }
.sx-figs dt i, .sx-share i { background: var(--sx-p); }
.sx-figs dt i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.k-done { background: var(--sx-ok) !important; } .k-pend { background: var(--sx-warn) !important; } .k-over { background: var(--sx-bad) !important; } .k-brand { background: var(--sx-p) !important; }
.sx-share { display: flex; gap: 3px; height: 6px; margin: 12px 12px 0; }
.sx-share i { border-radius: 3px; min-width: 6px; }
.sx-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.sx-actions a { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--sx-ink2); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.sx-actions i { display: grid; place-items: center; height: 56px; margin-bottom: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--sx-line); color: var(--sx-ink); font-style: normal; }
.sx-actions .is-hot i { background: var(--sx-p50); border-color: var(--sx-p100); color: var(--sx-p7); }
.sx-actions a:active i { transform: scale(.97); }
.sx-map { overflow: hidden; }
.sx-map[hidden] { display: none; }
.sx-map__frame { position: relative; height: 190px; margin: 0 12px 12px; border-radius: 14px; overflow: hidden; background: #ECEEF0; }
.sx-map__canvas { position: absolute; inset: 0; z-index: 0; }
.sx-map__key { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: flex; gap: 10px; margin: 0; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .95); font-size: 11.5px; font-weight: 600; box-shadow: var(--sx-e1); }
.sx-map__key span { display: inline-flex; align-items: center; gap: 5px; }
.sx-map__key i { width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; }
.sx-map__key .k-me { background: var(--sx-blue); } .sx-map__key .k-visit { background: var(--sx-p); } .sx-map__key .k-site { background: #fff; border: 2px solid var(--sx-p); }
.sx-map .leaflet-control-attribution { font-size: 9.5px; background: rgba(255, 255, 255, .8); }
.sx-rail { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(-16px - var(--sar)) 0 calc(-16px - var(--sal)); padding: 0 calc(16px + var(--sar)) 4px calc(16px + var(--sal)); scrollbar-width: none; scroll-snap-type: x proximity; }
.sx-rail::-webkit-scrollbar { display: none; }
.sx-due { flex: none; width: 210px; scroll-snap-align: start; padding: 13px 14px; background: #fff; border: 1px solid var(--sx-line); border-radius: 16px; color: var(--sx-ink); text-decoration: none; }
.sx-due b { display: block; margin-top: 8px; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-due small { display: block; font-size: 12.5px; color: var(--sx-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-timeline { margin: 0; padding: 0 14px; list-style: none; background: #fff; border: 1px solid var(--sx-line); border-radius: 18px; }
.sx-timeline li + li { border-top: 1px solid var(--sx-line); }
.sx-timeline a { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 13px 0; color: var(--sx-ink); text-decoration: none; }
.sx-timeline time { grid-row: span 2; font-size: 12.5px; font-weight: 600; color: var(--sx-ink3); }
.sx-timeline b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-timeline small { grid-column: 2; font-size: 12.5px; color: var(--sx-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-timeline .sx-tag { grid-column: 3; grid-row: 1 / span 2; }
.sx-timeline .sx-tag + .sx-tag { display: none; }
.sx .ledger { display: grid; gap: 0; background: #fff; border: 1px solid var(--sx-line); border-radius: 18px; overflow: hidden; }
.sx .ledger__row { border: 0; border-radius: 0; box-shadow: none; }
.sx .ledger__row + .ledger__row { border-top: 1px solid var(--sx-line); }
@media (min-width: 760px) {
  .sx.page-home .appbar { display: flex; }
  .sx.page-home .wrap { padding-top: 22px; }
  .sx-hello__me { display: none; } .sx-hello { grid-template-columns: minmax(0, 1fr) auto; }
  .sx-now .sx-btn--block { width: auto; display: inline-flex; min-width: 300px; }
  .sx-hero__alt { text-align: left; width: auto; }
  .sx-map__frame { height: 280px; }
}

/* ---- new visit ---- */
.sx .wiz__bar { display: none; }
.sx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 16px; padding: 0; list-style: none; }
.sx-steps li { font-size: 11.5px; font-weight: 600; color: var(--sx-ink3); }
.sx-steps li::before { content: ""; display: block; height: 4px; margin-bottom: 7px; border-radius: 4px; background: var(--sx-line); transition: background .2s; }
.sx-steps i { display: none; }
.wiz[data-step="1"] .sx-steps li:nth-child(-n+1)::before, .wiz[data-step="2"] .sx-steps li:nth-child(-n+2)::before, .wiz[data-step="3"] .sx-steps li:nth-child(-n+3)::before, .wiz[data-step="4"] .sx-steps li:nth-child(-n+4)::before { background: var(--sx-p); }
.wiz[data-step="1"] .sx-steps li:nth-child(1), .wiz[data-step="2"] .sx-steps li:nth-child(2), .wiz[data-step="3"] .sx-steps li:nth-child(3), .wiz[data-step="4"] .sx-steps li:nth-child(4) { color: var(--sx-p7); }
.wiz__title { font-size: 23px; font-weight: 700; letter-spacing: -.028em; }
.wiz__step { font-weight: 600; color: var(--sx-ink2); }
.wizfoot { border-top: 1px solid var(--sx-line); }
.lock { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 0; padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--sx-line); border-radius: 18px; background: #fff; color: var(--sx-ink2); box-shadow: none; }
.lock__ring { width: 40px; height: 40px; padding: 4px; border-radius: 12px; background: var(--sx-sunk); color: var(--sx-ink2); overflow: hidden; }
.lock__text strong { font-size: 14.5px; font-weight: 700; color: var(--sx-ink); }
.lock__text span { font-size: 12.5px; font-weight: 600; color: var(--sx-ink2); }
.lock__link { font-size: 12.5px; }
.lock[data-state="locked"] { --tone: var(--sx-ok); background: #F4FBF7; border-color: #CDEBDD; }
.lock[data-state="locked"] .lock__ring { background: var(--sx-ok50); color: var(--sx-ok); }
.lock[data-state="locked"] .lock__text strong { color: #0C6B4A; } .lock[data-state="locked"] .lock__text span { color: #3F7A63; }
.lock[data-state="weak"] { background: #FEF8EE; border-color: #F6DFB6; } .lock[data-state="weak"] .lock__ring { background: var(--sx-warn50); color: var(--sx-warn); }
.lock[data-state="error"] { background: #FEF5F5; border-color: #F3CFCF; } .lock[data-state="error"] .lock__ring { background: var(--sx-bad50); color: var(--sx-bad); }
.gpschip--light.is-locked, .gpschip--light.is-ready { color: var(--sx-ok); }
.gpschip--light.is-locked i, .gpschip--light.is-ready i { background: var(--sx-ok); box-shadow: 0 0 0 4px rgba(17, 153, 106, .16); }
.ckbanner { border-radius: 14px; }
.chips__opts label span, .chips label span { border-radius: 99px; }

/* ---- reports ---- */
.sx-pagehead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 2px 2px 14px; }
.sx-pagehead h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.028em; }
.sx-pagehead p { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--sx-ink3); }
.sx-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 12px; background: var(--sx-sunk); }
.sx-seg a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--sx-ink2); text-decoration: none; white-space: nowrap; }
.sx-seg a b { font-weight: 600; color: var(--sx-ink3); font-size: 12.5px; }
.sx-seg a[aria-current="true"] { background: #fff; color: var(--sx-ink); box-shadow: var(--sx-e1); }
.sx-search { position: relative; display: flex; align-items: center; margin: 0 0 12px; }
.sx-search > .icon { position: absolute; left: 14px; width: 19px; height: 19px; color: var(--sx-ink3); pointer-events: none; }
.sx-search input[type=search] { width: 100%; min-height: 48px; padding: 10px 14px 10px 44px; border: 1px solid transparent; border-radius: 14px; background: var(--sx-sunk); font-size: 15px; }
.sx-search input[type=search]:focus { background: #fff; }
.sx-search .btn, .sx-search button { margin-left: 8px; }
.sx-period { margin: 0 0 12px; padding: 0; border: 0; background: none; box-shadow: none; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chips .period__chip { padding: 7px 13px; border: 1px solid var(--sx-line); border-radius: 99px; background: #fff; color: var(--sx-ink2); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.sx-chips .period__chip::-webkit-details-marker { display: none; }
.sx-chips .period__chip[aria-current="true"] { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.sx-custom[open] { flex-basis: 100%; }
.sx-custom .period__dates { margin-top: 10px; padding: 12px; background: #fff; border: 1px solid var(--sx-line); border-radius: 14px; }
.sx-sum { margin: 0 2px 6px; font-size: 13.5px; color: var(--sx-ink2); }
.sx-list { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--sx-line); border-radius: 18px; overflow: hidden; }
.sx-list li + li { border-top: 1px solid var(--sx-line); }
.sx-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 14px; color: var(--sx-ink); text-decoration: none; }
.sx-list a:active { background: var(--sx-canvas); }
.sx-list__lead { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sx-sunk); color: var(--sx-ink2); }
.sx-list__lead .icon { width: 19px; height: 19px; }
.sx-list__lead.is-done { background: var(--sx-ok50); color: var(--sx-ok); } .sx-list__lead.is-pend { background: var(--sx-warn50); color: var(--sx-warn); }
.sx-list__main { min-width: 0; }
.sx-list__main b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-list__main small { display: block; font-size: 12.5px; color: var(--sx-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-list__end { display: grid; justify-items: end; gap: 4px; }
.sx-list__end time { font-size: 12px; font-weight: 600; color: var(--sx-ink3); white-space: nowrap; }
.sx-pager { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.sx-export { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; padding: 14px 16px; }
.sx-export__text b { display: block; font-size: 15px; } .sx-export__text small { font-size: 12.5px; color: var(--sx-ink2); }
.sx-export .sx-btn { min-height: 44px; font-size: 14.5px; }
.sx-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--sx-ink2); }
.sx-check input { width: 18px; height: 18px; accent-color: var(--sx-p); }
.sx .statementbar { display: none; }

/* ---- profile ---- */
.sx-profile { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: center; margin: 4px 2px 18px; }
.sx-profile .avatar { grid-row: span 3; width: 72px; height: 72px; border-radius: 24px; font-size: 24px; background: var(--sx-night); color: #fff; }
.sx-profile h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sx-profile p { margin: 1px 0 0; font-size: 13px; color: var(--sx-ink2); }
.sx-profile__co { display: flex; align-items: center; gap: 8px; margin-top: 4px !important; font-weight: 600; color: var(--sx-ink) !important; }
.sx-profile__co img { height: 20px; width: auto; border-radius: 4px; }
.sx-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 4px 4px 14px; }
.sx-metrics--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-metrics > div { padding: 0 12px; min-width: 0; } .sx-metrics > div + div { border-left: 1px solid var(--sx-line); }
.sx-metrics dd { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.sx-metrics dt { font-size: 11.5px; font-weight: 600; color: var(--sx-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-metrics dd.is-ok { color: var(--sx-ok); } .sx-metrics dd.is-bad { color: var(--sx-bad); }
.sx-bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 5px; align-items: end; height: 76px; margin: 0 16px; padding-top: 6px; border-top: 1px solid var(--sx-line); }
.sx-bars span { display: flex; align-items: flex-end; height: 100%; }
.sx-bars i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; background: var(--sx-p100); }
.sx-bars i.is-zero { background: var(--sx-line); } .sx-bars .is-today i:not(.is-zero) { background: var(--sx-p); }
.sx-bars__cap { display: flex; justify-content: space-between; gap: 8px; margin: 8px 16px 14px; font-size: 11.5px; font-weight: 600; color: var(--sx-ink3); }
.sx-menu { padding: 0; overflow: hidden; }
.sx-menu a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 12px 14px; color: var(--sx-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.sx-menu a + a { border-top: 1px solid var(--sx-line); }
.sx-menu a > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--sx-sunk); color: var(--sx-ink); font-style: normal; }
.sx-menu a > i .icon { width: 19px; height: 19px; }
.sx-menu a > .icon { width: 17px; height: 17px; color: var(--sx-ink3); }
.sx-over { margin: 22px 4px 10px; font-size: 13px; font-weight: 700; color: var(--sx-ink3); }
.signout .btn { color: var(--sx-bad); border-color: #F3CFCF; background: #fff; }

/* ---- sign in ---- */
.sx.page-login .wrap, .sx.page-login main { padding: 0; max-width: none; }
.sx-login { min-height: 100vh; display: flex; flex-direction: column; background: var(--sx-night); }
.sx-login__brand { position: relative; flex: 1 0 auto; min-height: 300px; padding: calc(34px + var(--sat)) 28px 58px; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.sx-login__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-login__lockup { position: relative; display: flex; align-items: center; gap: 10px; }
.sx-login__mark { width: 28px; height: 28px; color: #fff; }
.sx-login__name { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
.sx-login__sub { margin: 1px 0 0; font-size: 12px; color: #A9A3DB; font-weight: 600; }
.sx-login__line { position: relative; margin: 0; font-size: 38px; font-weight: 700; letter-spacing: -.045em; line-height: 1.12; color: #fff; }
.sx-login__sheet { position: relative; margin-top: -28px; padding: 28px 28px calc(24px + var(--sab)); background: #fff; border-radius: 28px 28px 0 0; }
.sx-login__sheet > * { max-width: 420px; margin-left: auto; margin-right: auto; }
.sx-login__sheet h1 { margin-top: 0; margin-bottom: 2px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sx-login__hint { margin-top: 0; margin-bottom: 18px; font-size: 13.5px; color: var(--sx-ink2); }
.sx-form { display: block; }
.sx-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--sx-ink2); }
.sx-labelrow { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.sx-labelrow a { font-size: 13px; font-weight: 700; text-decoration: none; }
.sx-input { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid var(--sx-line); border-radius: 14px; background: #fff; color: var(--sx-ink3); }
.sx-input:focus-within { border-color: var(--sx-p); box-shadow: 0 0 0 4px rgba(91, 52, 230, .12); color: var(--sx-ink); }
.sx-input > .icon { flex: none; width: 20px; height: 20px; }
.sx-input input, .sx-input input:focus { flex: 1; min-width: 0; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline: none; font: inherit; font-size: 15.5px; color: var(--sx-ink); }
.sx-input__toggle { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--sx-p); cursor: pointer; padding: 6px 0 6px 6px; }
.sx-form .sx-btn--block { margin-top: 20px; }
.sx-login__foot { margin-top: 22px; }
.sx-login .langs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sx-sunk); }
.sx-login .langs a, .sx-login .langs span, .sx-login .langs button { display: block; padding: 8px 4px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--sx-ink2); text-align: center; text-decoration: none; min-height: 0; }
.sx-login .langs [aria-current], .sx-login .langs .is-on, .sx-login .langs .is-current { background: #fff; color: var(--sx-ink); box-shadow: var(--sx-e1); }
.sx-login__legal { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; margin-bottom: 0; font-size: 12px; font-weight: 600; color: var(--sx-ink3); }
.sx-login__legal a { color: var(--sx-ink3); }
@media (min-width: 900px) {
  .sx-login { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); }
  .sx-login__brand { padding: 56px 64px 72px; }
  .sx-login__line { font-size: 56px; }
  .sx-login__sheet { margin: 0; border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: 56px; }
  .sx-login__sheet > * { width: 100%; max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) { .sx-btn:active, .sx-actions a:active i { transform: none; } }
.sx-sig i, .gpschip.is-ready .sx-sig i, .gpschip .sx-sig i { box-shadow: none !important; }
.bottomnav--tabs a i, .bottomnav--tabs a[aria-current="page"] i, .bottomnav.bottomnav--tabs a[aria-current="page"] i { background: none !important; }
.sx-metrics--4 > div { padding: 0 8px; } .sx-metrics--4 dt { font-size: 11px; }
.authtop ~ .auth .auth__sub { text-align: left; font-size: 15px; font-weight: 600; color: var(--sx-ink); letter-spacing: 0; margin-bottom: 16px; }
.auth__hint, .auth .auth__alt, .auth__powered { text-align: left; }
.auth .langs a[aria-current="true"] { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }

/* ---- customer: searchable dropdown ---- */
#custPicker { position: relative; }
#custPicker .searchbar--field { position: relative; }
#custPicker .searchbar--field::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--sx-ink3); border-bottom: 2px solid var(--sx-ink3); transform: rotate(45deg); pointer-events: none; }
#custPicker .searchbar--field input { padding-right: 40px; }
#custPicker .pick { display: none; }
#custPicker.is-open .pick { display: block; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid var(--sx-line); border-radius: 16px; box-shadow: var(--sx-e3); }
#custPicker.is-open .searchbar--field::after { transform: rotate(-135deg); margin-top: -2px; }
.pick__more { margin: 0; padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: var(--sx-ink3); border-top: 1px solid var(--sx-line); }
.fixeddate { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 50px; padding: 0 14px; border: 1px solid var(--sx-line); border-radius: 14px; background: var(--sx-sunk); color: var(--sx-ink); }
.fixeddate .icon { width: 19px; height: 19px; color: var(--sx-ink3); }

/* ---- selfie at the site ---- */
.selfie { position: relative; width: 100%; max-width: 320px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--sx-night); border: 1px solid var(--sx-line); }
.selfie video, .selfie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.selfie video { transform: scaleX(-1); }
.selfie[data-state="camera"] video { display: block; }
.selfie[data-state="done"] img { display: block; }
.selfie__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center; color: #C9C4EE; font-size: 13.5px; font-weight: 600; }
.selfie__empty .icon { width: 34px; height: 34px; }
.selfie:not([data-state="empty"]) .selfie__empty { display: none; }
.selfie__live { position: absolute; left: 10px; top: 10px; display: none; padding: 3px 9px; border-radius: 99px; background: var(--sx-ok); color: #fff; font-size: 12px; font-weight: 700; }
.selfie[data-state="done"][data-live="1"] .selfie__live { display: block; }
.selfie__actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.selfie__actions .btn { min-height: 44px; }
.has-error .selfie { border-color: var(--sx-bad); box-shadow: 0 0 0 3px rgba(212, 60, 60, .15); }

/* ---- identity check on the visit page ---- */
.idcheck__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 14px; margin: 0 0 12px; }
.idcheck__pair figure { margin: 0; }
.idcheck__pair img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--sx-line); background: var(--sx-sunk); }
.idcheck__pair figcaption { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--sx-ink2); }
.idcheck__facts { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.idcheck__facts li { position: relative; padding-left: 18px; }
.idcheck__facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--sx-ink3); }
.idcheck__facts .is-ok::before { background: var(--sx-ok); } .idcheck__facts .is-warn::before { background: var(--sx-warn); } .idcheck__facts .is-bad::before { background: var(--sx-bad); }
.idcheck__facts .is-bad { color: var(--sx-bad); font-weight: 700; }
.idcheck__act { display: flex; gap: 8px; flex-wrap: wrap; }
.idcheck__act form { margin: 0; }

/* ---- step25: cancel check-in box, red button ---- */
.sx-btn--danger { background: #D43C3C; border-color: #D43C3C; color: #fff; }
.sx-btn--danger:hover { background: #B92F2F; }
.sx-ask { width: min(340px, calc(100vw - 40px)); padding: 22px 20px 18px; border: 0; border-radius: 22px; background: #fff; color: var(--sx-ink); box-shadow: 0 30px 60px -20px rgba(23, 20, 58, .5); }
.sx-ask::backdrop { background: rgba(23, 20, 58, .5); }
.sx-ask h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.sx-ask p { margin: 0 0 16px; font-size: 14.5px; color: var(--sx-ink2); }
.sx-ask .sx-btn { margin-top: 10px; }
.sx-ask .sx-ask__err { color: #D43C3C; font-weight: 600; margin-bottom: 8px; }

/* ---- step25: automatic face comparison ---- */
.idauto { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid var(--sx-line); border-radius: 14px; background: var(--sx-sunk, #F0EFF7); }
.idauto__lab { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sx-ink3); }
.idauto__out { margin: 0 0 8px; font-weight: 700; font-size: 14.5px; color: var(--sx-ink); }
.idauto__out.is-ok { color: #0B7A55; }
.idauto__out.is-warn { color: #B45F00; }
.idauto__out.is-bad { color: #C0392B; }
.idauto__note { margin: 8px 0 0; font-size: 12.5px; color: var(--sx-ink3); }
.idbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.idthumb { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 1px solid var(--sx-line); }
.idtable { overflow-x: auto; }
.idtabs { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--sx-sunk, #F0EFF7); }
.idtab { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--sx-ink2); text-decoration: none; }
.idtab.is-on { background: #fff; color: var(--sx-p); box-shadow: 0 1px 3px rgba(23, 20, 58, .12); }
.rowactions__photo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.idthumb--team { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; object-position: center 30%; }
.staffphoto .chip { display: inline-block; max-width: 220px; white-space: normal; margin: 4px 0; }
.idthumb--sm { width: 44px; height: 44px; border-radius: 10px; }

/* ---- step26: app update notice ---- */
.sx-update { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--sx-p100, #E3DBFD); border-radius: 16px; background: var(--sx-p50, #F1EDFE); }
.sx-update span { display: grid; gap: 2px; }
.sx-update b { font-size: 14.5px; color: var(--sx-ink); }
.sx-update.is-busy { flex-wrap: wrap; }
.sx-update .sx-btn[hidden] { display: none; }
.sx-update__bar { flex: 1 0 100%; height: 8px; border-radius: 999px; background: var(--sx-p100, #E3DBFD); overflow: hidden; }
.sx-update__bar[hidden] { display: none; }
.sx-update__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--sx-p600, #6D4AE6); transition: width .25s ease; }
.sx-update.is-wait .sx-update__bar i { width: 38%; animation: sxwait 1.3s ease-in-out infinite; }
@keyframes sxwait { 0% { margin-left: -38%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .sx-update.is-wait .sx-update__bar i { animation: none; width: 100%; opacity: .5; } }
.sx-update small { font-size: 12.5px; color: var(--sx-ink2); }
.idthumb--none { display: inline-grid; place-items: center; width: 56px; height: 56px; border: 1px dashed var(--sx-line); background: var(--sx-sunk, #F0EFF7); font-size: 11px; font-weight: 700; color: var(--sx-ink3); text-align: center; }
.staffphoto .rowactions__photo { flex-direction: column; align-items: flex-start; min-width: 180px; }
.staffphoto input[type=file] { max-width: 190px; font-size: 12.5px; }

/* sign in: remember username, fingerprint button */
.sx-remember { display: flex; align-items: center; gap: 8px; margin: -2px 0 6px; font-size: 13.5px; color: var(--sx-ink2); }
.sx-remember input { width: 18px; height: 18px; accent-color: var(--sx-p600, #6D4AE6); }
.sx-bio { margin-top: 14px; display: grid; gap: 8px; }
.sx-bio[hidden], .sx-update[hidden], #bioSection[hidden] { display: none; }
.sx-bio .sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sx-bio__msg { margin: 0; min-height: 18px; font-size: 13px; color: var(--sx-ink2); text-align: center; }
.sx-update__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-update__btns[hidden] { display: none; }
.sx-btn--ghost { background: transparent; border: 1px solid var(--sx-p100, #E3DBFD); color: var(--sx-ink); }
.sx-update .sx-update__btns { display: flex; }
.sx-update .sx-update__btns[hidden] { display: none; }

#appUpdateAlt { font-size: 12.5px; color: var(--sx-p600, #6D4AE6); font-weight: 600; text-decoration: underline; margin-top: 2px; }
#appUpdateAlt[hidden] { display: none; }
.chip--warn { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #FFF1D6; color: #8A5A00; font-size: 11.5px; font-weight: 600; }
