/* vvms/vvms.css: layout for the VVMS screens. Parts are .ui-* in ../shared/components.css (Help Desk build, unchanged).
   Colours are kit tokens (../shared/tokens.css) plus the three MD3_Antz tokens the IRS build added; fonts are Antz text styles.
   Phone follows the Figma "Mobile UI" section (390 x 844); tablet uses the Training Sessions split, as the IRS build. */

:root { --c-add-primary: #00AFD6; --c-outline-variant: #C3CEC7; --c-display-bg-primary: #E8F4F2;
  --vv-navy: var(--c-on-secondary-container); --vv-line: rgba(0, 0, 0, .08); }

/* ---------- from the IRS build: form column, bottom bar, phone frame ---------- */
.hd-form { display: flex; flex-direction: column; gap: var(--s-4); min-height: 100%; padding: 20px var(--ui-pad); background: var(--c-display-bg-primary); }
.vv-home { display: block; flex: 1; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  :root { --frame-w: 100%; }
  .page { padding: 0; gap: 0; height: 100vh; height: 100dvh; min-height: 0; align-items: stretch; }
  .tab-frame { width: 100%; height: auto; flex: 1 1 auto; min-height: 0; border-radius: 0; box-shadow: none; }
  .tab-frame, .tab-frame * { --ui-pad: 16px; }
  .stage { width: 100%; flex-wrap: wrap; border-radius: 0; border-width: 0 0 1.5px; padding: 8px 12px; gap: 6px; }
  .stage > .stage__who { flex: 1 1 100%; overflow: hidden; text-overflow: ellipsis; }
  .stage > .stage__sp { display: none; } .stage > .stage__ctl { margin-left: 0; } .stage__tag { display: none; } .stage__switch { width: 104px; }
  .app-top, .ui-top { padding-left: 16px; padding-right: 16px; }
  #layer .layer__box--center { width: calc(100% - 32px); max-width: 520px; }
  #toast { max-width: calc(100% - 32px); width: max-content; }
  .stage__dev { display: none !important; }
}
html[data-device="phone"] .tab-frame { width: 390px; height: 844px; }
html[data-device="phone"] .tab-frame, html[data-device="phone"] .tab-frame * { --ui-pad: 16px; }
html[data-device="phone"] .app-top, html[data-device="phone"] .ui-top { padding-left: 16px; padding-right: 16px; }
html[data-device="phone"] #layer .layer__box--center { width: calc(100% - 32px); max-width: 520px; }
html[data-device="phone"] #toast { max-width: calc(100% - 32px); width: max-content; }
@media (max-width: 860px) { html[data-device="phone"] .tab-frame { width: 100%; height: auto; } }


/* ---------- buttons the kit lacks ---------- */
.ui-btn--navy { background: var(--vv-navy); }
.ui-btn--primary:disabled, .ui-btn:disabled { opacity: .45; cursor: default; }
.tab-frame .ui-of--locked { pointer-events: none; background: var(--c-background); opacity: .7; }

/* a row's display rule must never beat the hidden attribute (search filters hide rows with it) */
.tab-frame [hidden] { display: none !important; }

.vv-onsite { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 2px 8px; border-radius: 6px; background: #FFEBE5; color: #C2401F; font: var(--t-subtext-title); }
.vv-onsite svg { fill: currentColor; }
.vv-muted { font: var(--t-body-regular); color: var(--c-neutral-secondary); font-style: italic; }
.vv-err { color: var(--c-error) !important; }

/* dashboard */
.vv-dash { padding-top: 4px; }
.vv-stats, .vv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px var(--ui-pad); }
.vv-page--wide .vv-stats { grid-template-columns: repeat(4, 1fr); }
.vv-stat, .vv-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; background: var(--c-white); text-align: left; min-height: 76px; }
button.vv-tile { cursor: pointer; border: 0; }
.vv-stat__n, .vv-tile__n { font: 600 26px/32px var(--t-family); color: var(--c-neutral-primary); }
.vv-stat__l, .vv-tile__l { font: var(--t-body-regular); color: var(--c-on-surface-variant); padding-right: 44px; }
.vv-stat__ic { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; }
.vv-stat__ic--green { background: var(--c-st-approved-bg); color: var(--c-on-surface); }
.vv-stat__ic--grey { background: var(--c-background); color: var(--c-on-surface-variant); }
.vv-stat__ic--blue { background: #E4F4F9; color: #0078A0; }
.vv-stat__ic--red { background: #FFEBE5; color: var(--c-tertiary); }
.vv-stat__ic--yellow { background: #FBF3D0; color: #8A6A00; }
.vv-stat__ic svg { fill: currentColor; }
.vv-h { margin: 8px 0 0; padding: 8px var(--ui-pad); font: var(--t-minor-medium); color: var(--c-on-secondary-container); }

/* ---------- the tablet split ---------- */
.vv-split { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--c-surface-variant); position: relative; }
.vv-split > .ui-tabs { flex: none; background: var(--c-white); }
.vv-split > .app-main { background: var(--c-surface-variant); }
.vv-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.vv-left { grid-column: span 4; min-height: 0; display: flex; flex-direction: column; border-radius: 12px; background: var(--c-white); overflow: hidden; }
.vv-left > .vv-cards, .vv-left > .vv-gate { flex: 1; min-height: 0; overflow-y: auto; background: var(--c-white); }
.vv-left .vv-pcard, .vv-left .vv-vrow { box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.vv-right { grid-column: span 6; min-height: 0; display: flex; padding: 8px; border-radius: 12px; background: var(--c-white); overflow: hidden; }
.vv-right > .ui-empty { margin: auto; }
.vv-left__add { flex: none; padding: 16px 24px 20px; }
.vv-addbtn { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: var(--c-add-primary); color: var(--c-white); font: var(--t-minor-medium); cursor: pointer; }
.vv-rightpad { flex: 1; min-height: 0; overflow-y: auto; }
.vv-rightpad .vv-page { background: var(--c-white); padding-bottom: 16px; }

/* bottom bar */
.vv-foot { flex: none; display: flex; gap: 12px; padding: 16px var(--ui-pad); background: var(--c-white); box-shadow: 0 -2px 8px rgba(0, 0, 0, .06); }
.vv-foot .ui-btn { flex: 1; }
.vv-foot--banner { justify-content: center; font: var(--t-body-medium); }
.vv-foot--expired, .vv-foot--cancelled { background: #FDE6EA; color: var(--c-error); box-shadow: none; }

/* menu next to the ⋮ */
#layer .layer__box:has(> .vv-menuwrap) { inset: 0; max-height: none; background: transparent; border-radius: 0; pointer-events: none; overflow: visible; }
.vv-menuwrap { position: absolute; pointer-events: auto; }

/* sheets: header, body and foot from procurement/helpdesk-only/helpdesk/views.css (.hd-shd / .hd-sbody / .hd-sfoot, Figma "Add NEW" 1535:80501);
   the body is white and unpadded here because each VVMS sheet pads its own list */
.hd-shd { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 12px var(--ui-pad); background: var(--c-white); box-shadow: 0 1px .5px rgba(0, 0, 0, .1); position: relative; z-index: 1;
  font: var(--t-medium); color: var(--c-on-surface-variant); }
.tab-frame .hd-sbody { display: flex; flex-direction: column; padding: 8px 0 0; background: var(--c-white); }
.hd-sfoot .ui-btn { height: 56px; font: var(--t-minor-title); }
.vv-slist, .vv-glist, .vv-sheetform { display: flex; flex-direction: column; gap: 12px; padding: 4px var(--ui-pad) 20px; }
.vv-slist .vv-srow, .vv-slist .vv-prow { padding: 8px 0; border-bottom: 1px solid var(--vv-line); }
.vv-glist { background: var(--c-background); padding-top: 12px; }
.vv-gbox { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 8px; background: var(--c-white); }
.vv-out__body .vv-gbox { background: var(--c-background); }
.vv-gbox__h { display: flex; align-items: center; gap: 8px; font: var(--t-minor-medium); color: var(--c-on-surface-variant); }
.vv-gbox__h svg { fill: var(--c-on-surface-variant); }
.vv-kvr { display: flex; justify-content: space-between; gap: 12px; font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-kvr b { font: var(--t-body-medium); color: var(--c-on-surface-variant); text-align: right; }
.vv-contact { align-items: center; gap: 8px; padding: 12px 24px 28px; }
.vv-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--c-outline-variant); margin-bottom: 12px; }
.vv-contact .vv-ava { border-radius: 16px; }
.vv-contact__n { font: var(--t-medium); color: var(--c-on-surface-variant); }
.vv-contact__t, .vv-contact__p { font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-contact__a { display: flex; gap: 12px; margin-top: 8px; }
.vv-pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 8px; font: var(--t-body-medium); cursor: pointer; }
.vv-pill svg { fill: currentColor; }
.vv-pill--call { background: var(--c-st-approved-bg); color: var(--c-on-surface); border: 1px solid #9EDDB7; }
.vv-pill--msg { background: #DFF3FA; color: #0B5C78; border: 1px solid #A6D9EA; }

/* confirmation dialog */
.vv-done__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--c-st-approved-bg); color: var(--c-on-surface); }
.vv-done__ic svg { fill: currentColor; }

/* ---------- security: console, results ---------- */
.vv-gatehd { display: flex; align-items: center; gap: 4px; height: 64px; padding: 0 16px; background: #BEE6F0; flex: none; }
.vv-gatehd__t { flex: 1; font: var(--t-medium); color: var(--c-on-secondary-container); }
.vv-sitechip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 16px; background: rgba(255, 255, 255, .7); font: var(--t-body-medium); color: var(--c-on-secondary-container); }
.vv-sitechip svg { fill: var(--c-primary); }
.vv-gatesub { display: flex; align-items: center; gap: 12px; padding: 8px 24px; background: #BEE6F0; font: var(--t-body-regular); color: var(--c-on-secondary-container); flex: none; }
.vv-gate { min-height: 100%; background: var(--c-white); }
.vv-gate__band { padding: 4px 0 4px; background: #BEE6F0; border-radius: 0 0 24px 24px; }
.vv-gate--left .vv-gate__band { border-radius: 0; padding-top: 12px; }
.vv-gsearch { position: relative; padding: 4px var(--ui-pad) 0; z-index: 3; }
.vv-search--gate { height: 52px; background: var(--c-white); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.vv-scanbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--c-on-surface-variant); cursor: pointer; }
.vv-scanbtn svg { fill: currentColor; }
.vv-gres { position: absolute; left: var(--ui-pad); right: var(--ui-pad); top: 60px; padding: 6px; border-radius: 10px; background: var(--c-white); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.vv-gres__r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 8px; text-align: left; cursor: pointer; }
.vv-gres__r:hover { background: var(--c-background); }
.vv-gres__r > span:not(.vv-chip) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-gres__r b { font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-gres__r small { font: var(--t-subtext-regular); color: var(--c-neutral-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-gres__none { padding: 12px; font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-tile { box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.vv-gate__list { padding-bottom: 24px; }
.vv-scanrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px var(--ui-pad); border-bottom: 1px solid var(--vv-line); text-align: left; cursor: pointer; background: var(--c-white); }
.vv-scanrow.is-on { background: #F1FBF5; }
.vv-scanrow__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-scanrow__d b { font: var(--t-minor-regular); color: var(--c-on-surface-variant); }
.vv-scanrow__d small { font: var(--t-body-regular); color: var(--c-neutral-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-scanrow__r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.vv-scanrow__r small { font: var(--t-subtext-regular); color: var(--c-neutral-secondary); }
.vv-tag { padding: 2px 8px; border-radius: 4px; font: var(--t-body-medium); }
.vv-tag--entry { background: var(--c-st-approved-bg); color: var(--c-on-surface); }
.vv-tag--exit { background: var(--c-background); color: var(--c-on-surface-variant); }
.vv-tag--denied { background: #FDE6EA; color: var(--c-error); }
.vv-idle { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 320px; text-align: center; }
.vv-idle__ic { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 24px; background: #BEE6F0; color: var(--c-on-secondary-container); }
.vv-idle__ic svg { fill: currentColor; }
.vv-idle b { font: var(--t-minor-medium); color: var(--c-on-surface-variant); }
.vv-idle p { margin: 0; font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-idle .ui-btn { width: 100%; }
/* scan sheet */
.vv-cam { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px var(--ui-pad) 4px; }
.vv-cam__vf { width: 100%; max-width: 280px; aspect-ratio: 1.4; border-radius: 12px; background: #1d2b24; display: grid; place-items: center; }
.vv-cam__vf span { width: 120px; height: 120px; border: 3px solid var(--c-secondary); border-radius: 12px; }
.vv-cam p { margin: 0; font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-manual { display: flex; gap: 8px; align-items: center; padding: 12px var(--ui-pad); }
.vv-manual .ui-of { flex: 1; }
.vv-scanpicks { display: flex; flex-direction: column; padding: 0 var(--ui-pad) 20px; }
.vv-scanpick { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--vv-line); text-align: left; cursor: pointer; }
.vv-scanpick > span { display: flex; flex-direction: column; gap: 2px; }
.vv-scanpick b { font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-scanpick small { font: var(--t-subtext-regular); color: var(--c-neutral-secondary); }
.vv-qrbad { width: 32px; height: 32px; display: grid !important; place-items: center; border: 2px dashed var(--c-outline); border-radius: 4px; font: 600 16px/1 var(--t-family); color: var(--c-outline); }
/* result */
.vv-out { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--c-white); }
.vv-out--phone { border-radius: 0; }
.vv-out__scroll { flex: 1; min-height: 0; overflow-y: auto; }
.vv-out__top { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px 40px; }
.vv-out--ok .vv-out__top { background: #E1F7EA; } .vv-out--bad .vv-out__top { background: #FDE6EA; } .vv-out--warn .vv-out__top { background: #FBF3D0; }
.vv-out__bar { align-self: stretch; display: flex; justify-content: space-between; align-items: center; height: 56px; font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-out__bar span { display: inline-flex; align-items: center; gap: 4px; }
.vv-out__bar svg { fill: var(--c-on-surface-variant); }
.vv-out__disc { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 50%; background: var(--c-primary); color: var(--c-white); }
.vv-out__disc svg, .vv-out__shield svg { fill: currentColor; }
.vv-out--bad .vv-out__shield { color: var(--c-error); } .vv-out--warn .vv-out__shield { color: var(--c-moderate-secondary); }
.vv-out__h { font: 700 28px/36px var(--t-family); }
.vv-out--ok .vv-out__h { color: var(--c-on-surface); } .vv-out--bad .vv-out__h { color: #5C0F1E; } .vv-out--warn .vv-out__h { color: #5C4600; }
.vv-out__s { font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-out__id { display: inline-flex; align-items: center; gap: 6px; font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-out__id svg { fill: currentColor; }
.vv-out__body { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; margin-top: -24px; background: var(--c-white); border-radius: 24px 24px 0 0; padding-top: 16px; }
.vv-out__card { display: flex; flex-direction: column; gap: 14px; padding: 14px; border: 1px solid var(--c-outline-variant); border-radius: 10px; }
.vv-out__who { display: flex; align-items: center; gap: 14px; }
.vv-out__who > span { display: flex; flex-direction: column; gap: 2px; }
.vv-out__who b { font: var(--t-medium); color: var(--c-on-surface-variant); }
.vv-out__who small { font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-out__kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vv-out__kv > span { display: flex; flex-direction: column; gap: 4px; font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-out__kv small { display: inline-flex; align-items: center; gap: 4px; font: var(--t-subtext-regular); color: var(--c-neutral-secondary); }
.vv-out__kv small svg { fill: currentColor; }
.vv-out__kv em { font-style: normal; } .vv-out__d--bad { color: var(--c-error); } .vv-out__d--ok { color: var(--c-on-surface); }
.vv-out__note { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 8px; background: var(--c-background); font: var(--t-body-regular); line-height: 20px; color: var(--c-on-surface-variant); }
.vv-out__note svg, .vv-out__note img { flex: none; fill: currentColor; }
.vv-out__note--auto { background: #FFF1E0; color: #7A3E00; }
.vv-out__note--bad { background: #FDE6EA; color: #7A1023; }
.vv-out__note--warn { background: #FBF3D0; color: #5C4600; }
.vv-foot--row .ui-btn { flex: 1; }

/* ---------- masters ---------- */
.vv-mlist { display: flex; flex-direction: column; margin: 0 var(--ui-pad); border-radius: 10px; overflow: hidden; background: var(--c-white); }
.vv-mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-bottom: 1px solid var(--vv-line); background: var(--c-white); text-align: left; cursor: pointer; }
.vv-mrow:last-child { border-bottom: 0; }
.vv-mrow--g { cursor: default; }
.vv-mrow__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer; }
.vv-mrow__d b { font: var(--t-minor-regular); color: var(--c-on-surface-variant); }
.vv-mrow__d small { font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-mrow__site { display: inline-flex; align-items: center; gap: 4px; font: var(--t-body-medium); color: var(--c-on-surface); }
.vv-mrow__site svg { fill: var(--c-primary); }
.vv-mrow__site.is-none { color: var(--c-error); }
.vv-page--narrow .ui-inote { margin: 16px var(--ui-pad); }
.vv-page--narrow > .vv-sec { margin: 16px var(--ui-pad) 0; border-radius: 10px; background: var(--c-white); }
.vv-fld { display: flex; align-items: center; gap: 12px; }
.vv-fld.is-off { opacity: .5; }
.vv-fld__n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--c-background); font: var(--t-body-medium); color: var(--c-on-surface-variant); flex: none; }
.vv-fld > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.vv-fld b { font: var(--t-body-medium); color: var(--c-on-surface-variant); }
.vv-fld small { font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-fcard.is-off { opacity: .7; }
.vv-fcard__h { display: flex; align-items: center; gap: 10px; font: var(--t-minor-medium); color: var(--c-on-surface-variant); }
.vv-fcard__h b { flex: 1; font-weight: 500; }
.vv-fcard__sw { display: inline-flex; align-items: center; gap: 8px; font: var(--t-body-regular); color: var(--c-neutral-secondary); }
.vv-drag { color: var(--c-outline); letter-spacing: -2px; }
.vv-fcard__ft { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--vv-line); }
.vv-fcard__ft > span { display: flex; gap: 8px; }
.vv-cb { display: inline-flex; align-items: center; gap: 8px; font: var(--t-body-medium); color: var(--c-on-surface-variant); cursor: pointer; }
.vv-addfield { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; border-radius: 8px; background: var(--c-secondary); color: var(--c-white); font: var(--t-minor-medium); cursor: pointer; }
.vv-empty-box { padding: 28px; border-radius: 8px; background: var(--c-surface-variant); text-align: center; font: var(--t-minor-regular); color: var(--c-on-surface-variant); }

/* phone: nothing sits in two columns that would clip */
html[data-device="phone"] .vv-out__kv { grid-template-columns: 1fr 1fr; }


/* =====================================================================================================================
   FIGMA "Mobile UI" (74YTD7MToJVweXNuVri6xY, 8:5555), taken from get_design_context, 17 Nov 2026.
   Tokens by value: OnSurfaceVariant #44544A · neutralSecondary #7A8684 · OnPrimaryContainer #1F515B · OnSecondaryContainer #1F415B ·
   Primary #37BD69 · Secondary #00D6C9 · OutlineVariant #C3CEC7 · displaybgPrimary #E8F4F2 · displaybgSecondary #DDEBE9 · OnBackground #E1F9ED
   Text: Medium 20/500 · Minor Medium 16/500 · Body Medium 14/500 +0.1 · Body Regular 14/400 · Subtext title 12/600 · Subtext Regular 12/400
   ===================================================================================================================== */
.tab-frame { --f-osv: #44544A; --f-ns: #7A8684; --f-opc: #1F515B; --f-osc: #1F415B; --f-pri: #37BD69; --f-sec: #00D6C9; --f-ov: #C3CEC7;
  --f-dbp: #E8F4F2; --f-dbs: #DDEBE9; --f-ob: #E1F9ED; --f-n05: rgba(0, 0, 0, .05); }
.vv-fig { display: block; flex: none; }

/* top app bar (190:17741) */
.vv-top { flex: none; display: flex; align-items: center; gap: 4px; height: 72px; padding: 26px 16px 22px; background: #fff; }
.vv-top__lead { width: 30px; height: 48px; display: flex; align-items: center; flex: none; cursor: pointer; }
.vv-top__t { flex: 1; min-width: 0; font: 500 20px/normal var(--t-family); color: var(--f-osv); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-top__act { width: 40px; height: 40px; display: grid; place-items: center; flex: none; color: var(--f-osv); cursor: pointer; }
.vv-top__act svg { fill: currentColor; }

/* tab group (190:17749) */
.vv-tabs { flex: none; display: flex; background: #fff; }
.vv-tab { flex: 1 0 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 16px; border-bottom: 1px solid var(--f-ov);
  font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: var(--f-osv); white-space: nowrap; cursor: pointer; }
.vv-tab.is-on { border-bottom: 2px solid var(--f-pri); padding-bottom: 15px; color: var(--f-pri); }
.vv-tab__ic { width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

/* list head: quick filters (190:17765) + search & filter (190:17770) */
.vv-listhead { background: #fff; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); position: relative; z-index: 1; }
.vv-qf { display: flex; gap: 12px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; }
.vv-qf::-webkit-scrollbar { display: none; }
.vv-qf--fill .vv-qchip { flex: 1 0 0; }
.vv-qchip { flex: none; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 8px; border-radius: 8px; background: var(--f-dbs);
  font: 400 14px/normal var(--t-family); color: var(--f-opc); white-space: nowrap; cursor: pointer; }
.vv-qchip.is-on { background: var(--f-opc); color: #fff; font-weight: 500; letter-spacing: .1px; }
.vv-sf { display: flex; align-items: center; gap: 10px; height: 54px; padding: 12px 16px; }
.vv-sbar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 4px; background: var(--f-n05); }
.vv-sbar input { flex: 1; min-width: 0; border: 0; padding: 0; background: none; outline: 0; font: 400 12px/18px var(--t-family); color: var(--f-osv); }
.vv-sbar input::placeholder { color: var(--f-osv); }
.vv-sfbtn { position: relative; display: grid; place-items: center; padding: 6px; border-radius: 4px; background: var(--f-n05); cursor: pointer; }
.vv-sfbtn.is-on { background: var(--f-ob); box-shadow: inset 0 0 0 1px var(--f-pri); }
.vv-sfbtn i { position: absolute; top: -6px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--c-tertiary); color: #fff; font: 600 10px/16px var(--t-family); font-style: normal; text-align: center; }

/* list body (190:17771): displaybgPrimary, 20 / 16 / 16, gap 12 */
.vv-page { min-height: 100%; background: var(--f-dbp); padding-bottom: 104px; }
.vv-page--wide { max-width: 980px; margin: 0 auto; }
.vv-page--narrow { max-width: 720px; margin: 0 auto; width: 100%; }
.vv-cards { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px 16px; }
.vv-cards--flat { padding-top: 0; }
.vv-count { margin: 0; padding: 16px 16px 4px; font: 500 14px/normal var(--t-family); color: var(--f-osv); }
.vv-listtop { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px; background: #fff; }

/* pass card (281:7032) */
.vv-pcard { display: flex; flex-direction: column; width: 100%; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.vv-pcard.is-on, .vv-vrow.is-on { box-shadow: inset 0 0 0 1.5px var(--f-pri); }
.vv-pcard__top { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--f-n05); }
.vv-pcard__id { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; font: 600 12px/normal var(--t-family); color: var(--f-osv); }
.vv-pcard__b { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
.vv-pcard__line { font: 400 12px/normal var(--t-family); color: var(--f-ns); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-pcard__line b { font-weight: 600; color: var(--f-osc); }
/* User Chip (281:7021): 36 avatar, 8 gap, name Minor Medium, vendor Body Regular */
.vv-uchip { display: flex; align-items: center; gap: 8px; min-height: 38px; text-align: left; }
.vv-uchip__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-uchip__n { font: 500 16px/normal var(--t-family); color: var(--f-osv); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-uchip__s { font: 400 14px/normal var(--t-family); color: var(--f-ns); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-uchip--w { gap: 12px; flex: 1; min-width: 0; cursor: pointer; }
.vv-uchip--w .vv-uchip__n, .vv-uchip--w .vv-uchip__s { color: #fff; }
.vv-vrow { display: block; width: 100%; padding: 12px; border-radius: 8px; background: #fff; cursor: pointer; }

/* avatar (User Images): Secondary circle, white initials Body Medium */
.vv-ph { flex: none !important; display: inline-grid !important; place-items: center; border-radius: 100px; overflow: hidden; object-fit: cover;
  background: var(--f-sec); color: #fff; font-family: var(--t-family); font-weight: 500; letter-spacing: .1px; }
.vv-ph--none { background: #fff; color: var(--f-opc); box-shadow: inset 0 0 0 1.5px dashed; outline: 1.5px dashed var(--f-ov); outline-offset: -1.5px; }
.vv-ava { flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--f-opc); color: #fff; font: 500 10px/1 var(--t-family); }

/* pass status (281:7044 card size; 22:15666 detail size) */
.vv-chip { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 4px; font: 600 12px/normal var(--t-family); white-space: nowrap; }
.vv-chip--lg { font: 500 14px/normal var(--t-family); letter-spacing: .1px; }
.vv-chip--sm { padding: 2px 6px; font-size: 11px; vertical-align: middle; }
.vv-chip--active { background: var(--f-ob); color: #006D35; }
.vv-chip--upcoming { background: rgba(255, 232, 110, .3); color: #E4B819; }
.vv-chip--expired { background: rgba(255, 211, 211, .4); color: #E93353; }
.vv-chip--cancelled { background: rgba(255, 189, 168, .3); color: #FA6140; }

/* FAB (190:17772) */
.vv-fab { position: absolute; right: 22px; bottom: 32px; width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 16px; z-index: 5; cursor: pointer;
  background: linear-gradient(116.5deg, #00D6C9 8.77%, #37BD69 101.99%); box-shadow: 0 4px 4px rgba(0, 0, 0, .15); }

/* ---------- the record (Pass Details 310:15716; the visitor page reuses it) ---------- */
.vv-rec { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 8px; background: var(--f-osc); overflow: hidden; }
.vv-mrec { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.vv-mrec .vv-rec { border-radius: 0; }
.vv-rec__scroll { flex: 1; min-height: 0; overflow-y: auto; }
.vv-rec__top { background: var(--f-osc); color: #fff; }
.vv-rec__bar { display: flex; align-items: center; gap: 8px; padding: 32px 16px 12px; }
.vv-split .vv-rec__bar { padding-top: 16px; }
.vv-rec__id { flex: 1; text-align: center; font: 500 20px/normal var(--t-family); color: #fff; }
.vv-rec__icb, .vv-rec__sp { width: 24px; height: 24px; flex: none; display: grid; place-items: center; cursor: pointer; }
.vv-rec__user { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 12px 24px 16px; }
.vv-rec__user--big { justify-content: flex-start; }
.vv-rec__qr { flex: none; cursor: pointer; }
.vv-rec__body { display: flex; flex-direction: column; gap: 24px; padding: 24px 16px 24px; background: #fff; border-radius: 24px 24px 0 0; min-height: calc(100% - 140px); }
.vv-rule { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid var(--c-surface-variant); }
.vv-fact { display: flex; flex-direction: column; gap: 16px; }
.vv-fact--dates { flex-direction: row; align-items: flex-start; gap: 12px; }
.vv-fact__c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.vv-fact__dt { display: flex; align-items: center; gap: 4px; font: 500 16px/normal var(--t-family); color: var(--f-osv); }
.vv-fact__sub { font: 400 14px/normal var(--t-family); color: var(--f-ns); }
.vv-fact__sub--expired, .vv-fact__sub--cancelled { color: #E93353; }
.vv-fact__h { font: 500 16px/normal var(--t-family); color: var(--f-osv); }
.vv-fact + .vv-note, .vv-fact + .vv-inside { margin-top: -12px; }
.vv-note { padding: 8px 12px; border-radius: 8px; background: rgba(250, 97, 64, .08); font: 400 14px/20px var(--t-family); color: var(--f-osv); }
.vv-inside { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; background: rgba(250, 97, 64, .1); color: #C2401F; font: 500 14px/normal var(--t-family); }
.vv-inside svg { fill: currentColor; }
.vv-site1 { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; border-radius: 8px; cursor: pointer; text-align: left; }
.vv-site1 img { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; flex: none; }
.vv-site1__n { flex: 1; min-width: 0; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: var(--f-osv); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-site1__m { flex: none; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: var(--f-osv); }
.vv-grows { display: flex; flex-direction: column; gap: 8px; }
.vv-grow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; cursor: pointer; text-align: left; }
.vv-grow__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-grow__n { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: var(--f-osv); }
.vv-grow__s { font: 400 14px/normal var(--t-family); color: var(--f-ns); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-grow__s--none { font-style: italic; }
.vv-chev { transform: rotate(-90deg); }
.vv-kv { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vv-kv > span:first-child { font: 400 14px/normal var(--t-family); color: var(--f-ns); }
.vv-kv p { margin: 0; font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: var(--f-osv); white-space: pre-line; }
.vv-person { display: flex; align-items: center; gap: 12px; text-align: left; }
button.vv-person { cursor: pointer; }
.vv-person > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.vv-person b { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: var(--f-osv); }
.vv-person small { font: 400 12px/normal var(--t-family); color: var(--f-ns); }

/* Pass Activity (310:16007) */
.vv-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vv-tl__i { display: flex; gap: 12px; }
.vv-tl__rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.vv-tl__rail i { flex: 1; width: 2px; min-height: 8px; background: rgba(31, 81, 91, .05); }
.vv-tl__i:last-child .vv-tl__rail i { display: none; }
.vv-tl__ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 999px; }
.vv-tl__ic--green { background: var(--f-ob); }
.vv-tl__ic--red { background: rgba(250, 97, 64, .1); }
.vv-tl__ic--yellow { background: rgba(255, 232, 110, .4); }
.vv-tl__ic--teal { background: rgba(0, 214, 201, .12); color: #1F515B; }
.vv-tl__ic--grey { background: var(--f-n05); color: var(--f-osv); }
.vv-tl__ic svg { fill: currentColor; }
.vv-tl__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 10px 0 16px; }
.vv-tl__t { display: flex; align-items: center; gap: 4px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: var(--f-osv); }
.vv-tl__s { font: 400 12px/normal var(--t-family); color: var(--f-ns); }
.vv-auto { padding: 2px 4px; border-radius: 4px; background: var(--f-n05); font: 600 12px/normal var(--t-family); color: var(--f-osv); }

/* vendor filter (22:8064): left category rail, right checkboxes, Clear / Apply */
#layer .layer__box:has(> .vv-filter) { inset: 0; max-height: none; border-radius: 0; }
.vv-filter { height: 100%; display: flex; flex-direction: column; background: #fff; }
.vv-filter__h { display: flex; align-items: center; justify-content: space-between; padding: 24px 16px 16px; border-bottom: 1px solid var(--f-n05); font: 500 20px/normal var(--t-family); color: var(--f-osv); }
.vv-filter__b { flex: 1; min-height: 0; display: grid; grid-template-columns: 40% 60%; }
.vv-filter__nav { background: var(--c-background); }
.vv-filter__nav span { display: block; padding: 16px; font: 500 14px/normal var(--t-family); color: var(--f-opc); background: #fff; }
.vv-filter__opts { overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.vv-fopt { display: flex; align-items: center; gap: 10px; padding: 8px 0; font: 400 14px/normal var(--t-family); color: var(--f-osv); cursor: pointer; }
.vv-fopt input { width: 18px; height: 18px; accent-color: var(--f-pri); }
.vv-filter__f { display: flex; justify-content: space-between; gap: 16px; padding: 16px; border-top: 1px solid var(--f-n05); }
.vv-btn { height: 48px; padding: 0 16px; border-radius: 8px; font: 500 16px/normal var(--t-family); cursor: pointer; }
.vv-btn--outline { border: 1px solid var(--f-opc); background: #fff; color: var(--f-opc); }
.vv-btn--green { border: 0; background: var(--f-pri); color: #fff; }

/* shared rows still used by sheets, pickers, the visitor page and the gate (restyled to the Figma spec below as each frame is matched) */
.vv-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; background: var(--c-background); }
.vv-search input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: var(--t-body-regular); color: var(--c-on-surface-variant); }
.vv-search--flat { background: var(--c-white); border: 1px solid var(--vv-line); }
.vv-sec { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-bottom: 1px solid var(--vv-line); }
.vv-sec:last-child { border-bottom: 0; }
.vv-sec__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 16px/normal var(--t-family); color: #44544A; text-align: left; }
.vv-sec__h svg { fill: #44544A; }
.vv-sec__h--pad { padding: 16px var(--ui-pad) 8px; }
.vv-sec__h--sub { font: var(--t-body-medium); color: var(--c-neutral-secondary); }
.vv-srow, .vv-prow, .vv-sopt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.vv-prow { cursor: pointer; padding: 8px 0; border-top: 1px solid var(--vv-line); }
.vv-prow:first-of-type { border-top: 0; }
.vv-prow svg { fill: #44544A; flex: none; }
.vv-srow img, .vv-sopt img { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; flex: none; }
.vv-srow span, .vv-prow span, .vv-sopt > span:not(.vv-sopt__ic) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-srow b, .vv-prow b, .vv-sopt b { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-srow small, .vv-prow small, .vv-sopt small { font: 400 14px/normal var(--t-family); color: #7A8684; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-srow em { font: 500 14px/normal var(--t-family); font-style: normal; color: #1F515B; flex: none; }
.vv-sec--rows { gap: 14px; }
.vv-irow { display: flex; align-items: center; gap: 14px; font: 500 14px/normal var(--t-family); color: #44544A; }
.vv-irow > span { display: flex; flex-direction: column; gap: 2px; }
.vv-irow small { font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-irow svg { fill: #44544A; flex: none; }
.vv-muted { font: 400 14px/normal var(--t-family); color: #7A8684; font-style: italic; }
.vv-err { color: #E93353 !important; }

/* ---------- Figma Components (8:5377) ---------- */
/* Gadget Card 8:5381 */
.vv-gcard { display: flex; align-items: center; gap: 4px; width: 100%; padding: 9px 17px 9px 9px; border: 1px solid #C3CEC7; border-radius: 8px; background: #fff; }
.vv-gcard--selected, .vv-gcard--filled { background: #F2FFF8; border-color: #37BD69; }
.vv-gcard__c { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; text-align: left; cursor: pointer; }
.vv-gcard__cb { padding: 8px; flex: none; }
.vv-gcard__n { font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-gcard__n--fill { flex: 1; }
.vv-gcard__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-gcard__s { font: 400 14px/normal var(--t-family); color: #7A8684; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-gcard__a { flex: none; display: inline-flex; align-items: center; gap: 4px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #00572A; cursor: pointer; }
/* a missing required field is reported on Create, the link keeps the Figma colour */
.vv-gopts { display: flex; flex-direction: column; gap: 12px; }
/* Site Card 22:10638 + Site Dp 22:10689 */
.vv-scard { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid transparent; text-align: left; cursor: pointer; }
.vv-scard--on { background: #F2FFF8; border-color: #37BD69; }
.vv-scard--listed { border-radius: 0; border: 0; border-bottom: .5px solid #C3CEC7; padding: 12px 16px; }
.vv-sdp { width: 48px; height: 48px; flex: none; border-radius: 4px; overflow: hidden; background: rgba(0, 0, 0, .05); display: grid; place-items: center; }
.vv-sdp > img:not(.vv-fig) { width: 100%; height: 100%; object-fit: cover; }
.vv-sdp--cl { background: #EFF5F2; } .vv-sdp--cl.is-on { background: #E1F9ED; }
.vv-scard__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: #44544A; }
.vv-scard__n { font: 500 16px/normal var(--t-family); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-scard__s { font: 400 14px/normal var(--t-family); }
/* Visitor Card 19:7286 */
.vv-vcard { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid transparent; text-align: left; cursor: pointer; overflow: hidden; }
.vv-vcard.is-on { border-color: #37BD69; }
.vv-vcard.is-chosen { background: #DDEBE9; gap: 12px; cursor: default; }
.vv-vcard .vv-ph { align-self: flex-start; }
.vv-vcard__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: #44544A; margin-left: -4px; }
.vv-vcard__n { font: 500 16px/normal var(--t-family); }
.vv-vcard__s { font: 400 14px/normal var(--t-family); }
.vv-vcard__x { flex: none; cursor: pointer; }
/* Search Visitor 8:5686 / 22:8130 */
.vv-vsh { flex: none; display: flex; align-items: center; gap: 8px; height: 72px; padding: 12px 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); position: relative; z-index: 1; }
.vv-vsh__in { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px/normal var(--t-family); color: #44544A; }
.vv-vsh__in::placeholder { color: #7A8684; }
.vv-vsh__f { position: relative; width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid #C3CEC7; border-radius: 8px; cursor: pointer; }
.vv-vsh__f.is-on { border-color: #37BD69; }
.vv-vsh__f i { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: #FA6140; color: #fff; font: 600 12px/20px var(--t-family); font-style: normal; text-align: center; }
.vv-vpick { min-height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #DDEBE9; }
.vv-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vv-fchip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid #C3CEC7; border-radius: 6px; background: #fff; font: 500 12px/normal var(--t-family); color: #006D35; cursor: pointer; }


/* ---------- Figma form, sheet and button parts (views-fig.js; docs/figma-spec.md) ---------- */
.vv-form2 { display: flex; flex-direction: column; gap: 16px; min-height: 100%; padding: 16px; background: #DDEBE9; }
.vv-card { display: flex; flex-direction: column; gap: 16px; padding: 12px; border-radius: 8px; background: #fff; }
.vv-card--flush { padding: 0; gap: 0; }
.vv-card--g20 { gap: 20px; }
.vv-card__in { display: flex; flex-direction: column; gap: 16px; padding: 16px 12px; }
.vv-card__h { display: flex; align-items: center; gap: 8px; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-card__h > span { flex: 1; }
.vv-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.vv-row2 > * { min-width: 0; }
.vv-hint { margin: -8px 0 0; font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-warn { margin: 0; padding: 8px 12px; border-radius: 8px; background: rgba(250, 97, 64, .1); font: 400 14px/20px var(--t-family); color: #44544A; }
/* segmented Existing | New Visitor (tabs row pt12 pb13 px12, neutral05 rule; track neutral05 r12 p4; active white r10 h48) */
.vv-segrow { padding: 12px 12px 13px; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.vv-seg2 { display: flex; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .05); }
.vv-seg2__b { flex: 1; text-align: center; justify-content: center; height: 48px; border-radius: 10px; font: 500 16px/normal var(--t-family); color: rgba(0, 0, 0, .4); cursor: pointer; }
.vv-seg2__b.is-on { background: #fff; color: #44544A; box-shadow: 2px 2px 6px rgba(0, 0, 0, .05); }
/* input big: empty = Surface + Outline placeholder; filled = white + floating 12 px label on the top border */
.vv-in { position: relative; display: flex; align-items: center; height: 56px; padding: 0 16px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; }
.vv-in__f { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: none; outline: 0; font: 400 16px/normal var(--t-family); color: #44544A; appearance: none; }
.vv-in__f::placeholder { color: #839D8D; }
.vv-in__l { position: absolute; left: 12px; top: -7px; padding: 0 4px; background: #fff; font: 400 12px/14px var(--t-family); color: #839D8D; opacity: 0; pointer-events: none; }
.vv-in:has(.vv-in__f:not(:placeholder-shown)), .vv-in.is-filled { background: #fff; }
.vv-in:has(.vv-in__f:not(:placeholder-shown)) .vv-in__l, .vv-in.is-filled .vv-in__l { opacity: 1; }
.vv-in:focus-within { border-color: #37BD69; }
.vv-in--sel select.vv-in__f { cursor: pointer; }
.vv-in--sel:not(.is-filled) select.vv-in__f { color: #839D8D; }
.vv-in--sel .vv-fig { pointer-events: none; }
/* date field (label Body Medium above; h56 Surface; value Regular 16; calendar 24) */
.vv-dfield { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vv-flabel { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-date { position: relative; display: flex; align-items: center; gap: 8px; height: 56px; padding: 12px 16px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; cursor: pointer; }
.vv-date > span { flex: 1; min-width: 0; font: 400 16px/normal var(--t-family); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-date__v { color: #44544A; } .vv-date__p { color: #839D8D; }
.vv-date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.vv-date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.vv-date.is-locked { opacity: .6; cursor: default; }
.vv-date:focus-within { border-color: #37BD69; }
/* textarea h112 */
.vv-area { display: block; }
.vv-area textarea { display: block; width: 100%; height: 112px; padding: 12px 16px 32px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; resize: none; outline: 0;
  font: 400 16px/normal var(--t-family); color: #44544A; box-sizing: border-box; }
.vv-area textarea::placeholder { color: #839D8D; }
.vv-area textarea:not(:placeholder-shown) { background: #fff; }
.vv-area textarea:focus { border-color: #37BD69; }
/* phone */
.vv-phonein { display: flex; align-items: center; height: 56px; padding-right: 12px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; overflow: hidden; }
.vv-phonein__cc { display: flex; align-items: center; gap: 2px; height: 100%; padding: 0 8px 0 12px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-phonein input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: none; outline: 0; font: 400 16px/normal var(--t-family); color: #44544A; }
.vv-phonein input::placeholder { color: #839D8D; }
.vv-phonein:has(input:not(:placeholder-shown)) { background: #fff; }
.vv-phonein:focus-within { border-color: #37BD69; }
/* select (Vendor) */
.vv-select { position: relative; display: flex; align-items: center; gap: 24px; width: 100%; height: 56px; padding: 13px 16px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; text-align: left; cursor: pointer; }
.vv-select.is-filled { background: #fff; }
.vv-select__v { flex: 1; min-width: 0; font: 400 16px/normal var(--t-family); color: #1F515B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-select__l { position: absolute; left: 11px; top: -8px; padding: 0 4px; background: #fff; font: 400 12px/16px var(--t-family); letter-spacing: .4px; color: #44544A; }
/* picker field ("Choose Sites" / "Choose Visitor") */
.vv-pickin { display: flex; align-items: center; gap: 8px; width: 100%; height: 56px; padding: 12px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; text-align: left; cursor: pointer; }
.vv-pickin span { flex: 1; font: 400 16px/normal var(--t-family); color: #839D8D; }
/* person chip (host) = Visitor Card chosen shell */
.vv-pchip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #DDEBE9; cursor: pointer; }
.vv-pchip__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-pchip__n { display: flex; gap: 2px; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-pchip__s { font: 400 14px/normal var(--t-family); color: #44544A; }
.vv-pchip__x { flex: none; cursor: pointer; }
/* in-form Sites list (22:12023 Card 3) */
.vv-sitebox { border-radius: 8px; overflow: hidden; background: #E8F4F2; }
.vv-sitebox__h { display: flex; align-items: center; gap: 4px; width: 100%; height: 56px; padding: 10px 12px; background: #DDEBE9; text-align: left; cursor: pointer; }
.vv-sitebox__h span { flex: 1; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-sitebox__r { display: flex; align-items: center; gap: 12px; padding: 12px; background: #E8F4F2; border: 1px solid #fff; border-top: 0; }
.vv-sitebox__more { width: 100%; padding: 12px 16px; border-top: 1px solid #fff; background: rgba(0, 175, 214, .1); border-radius: 0 0 10px 10px; font: 400 16px/normal var(--t-family); color: #006D35; text-align: center; cursor: pointer; }
.vv-scard__s { color: #44544A; }
/* bottom button bar (h96, CREATE Button Large) */
.vv-bbar { flex: none; display: flex; height: 96px; padding: 20px 16px; background: #fff; box-shadow: 0 4px 10.5px rgba(0, 0, 0, .25); position: relative; z-index: 2; }
.vv-bbtn { flex: 1; height: 56px; padding: 8px 26px; border: 0; border-radius: 8px; background: #37BD69; color: #fff; font: 500 15px/26px var(--t-family); letter-spacing: .46px; text-transform: uppercase;
  box-shadow: 0 4px 8px -4px rgba(76, 78, 100, .42); cursor: pointer; }
.vv-bbtn.is-navy { background: #1F515B; }
.vv-bbtn.is-off { background: rgba(76, 78, 100, .12); box-shadow: none; }
/* actions bar (scan, masters): sentence case Medium 16 */
.vv-actions { flex: none; display: flex; flex-direction: column; gap: 16px; padding: 16px; background: #fff; }
.vv-actions__row { display: flex; gap: 12px; }
.vv-abtn { flex: 1; height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 26px; border: 0; border-radius: 8px; font: 500 16px/normal var(--t-family); color: #fff; cursor: pointer; }
.vv-abtn--navy { background: #1F515B; } .vv-abtn--tertiary { background: #FA6140; } .vv-abtn--outline { background: #fff; border: 1px solid #C3CEC7; color: #44544A; }
/* sheet */
#layer .layer__box:has(> .vv-sheet), #layer .layer__box:has(> .vv-vsheet), #layer .layer__box:has(> .vv-contact2) { border-radius: 16px 16px 0 0; overflow: hidden; display: flex; flex-direction: column; }
.vv-sheet { display: flex; flex-direction: column; min-height: 0; background: #fff; border-radius: 16px 16px 0 0; }
.vv-sheet__h { flex: none; display: flex; align-items: center; gap: 16px; padding: 20px 16px; background: #fff; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); position: relative; z-index: 1; }
.vv-sheet__h.is-compact { height: 64px; padding: 12px 16px; }
.vv-sheet__h > span { flex: 1; font: 500 20px/normal var(--t-family); color: #44544A; }
.vv-sheet__b { flex: 0 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.vv-sheet__b--grey { gap: 16px; padding: 16px 16px 24px; background: #EFF5F2; border-bottom: 1px solid #DAE7DF; }
.vv-sheet__f { flex: none; padding: 16px; border-top: 1px solid #E8F4F2; background: #fff; }
.vv-sheet__f .ui-dlg__err { margin: 0 0 8px; }
.vv-sbtn { width: 100%; height: 56px; padding: 8px 26px; border: 0; border-radius: 8px; background: #37BD69; color: #fff; font: 600 16px/normal var(--t-family); text-transform: uppercase; cursor: pointer; }
.vv-sbtn.is-off { background: rgba(76, 78, 100, .12); }
/* Sites Selected 22:10521: sheet pt 16 + header pt 8 pb 12 (24 above the title), cards shadow under it */
.vv-sheet--tray .vv-sheet__h { padding: 24px 16px 12px; box-shadow: 0 2px 1px rgba(0, 0, 0, .1); }
.vv-ssrow { display: flex; align-items: center; gap: 16px; padding: 16px; border-top: 1px solid rgba(0, 0, 0, .05); }
.vv-ssrow__n { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-gbox2 { display: flex; flex-direction: column; gap: 16px; padding: 12px; border-radius: 8px; background: #fff; }
.vv-gkv { display: flex; flex-direction: column; gap: 8px; }
.vv-gkv span { font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-gkv b { font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-none { font: italic 400 14px/normal var(--t-family); color: #7A8684; }
/* contact sheet 220:24843 */
.vv-contact2 { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 15px 15px 28px; background: #fff; }
.vv-contact2 > .vv-fig { margin-bottom: 5px; }
.vv-contact2__ph { width: 90px; height: 90px; display: grid; place-items: center; border-radius: 20px; background: #1F515B; color: #fff; font: 500 32px/1 var(--t-family); }
.vv-contact2__n { margin-top: 0; font: 600 24px/normal var(--t-family); color: #44544A; }
.vv-contact2__t { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-contact2__a { display: flex; gap: 16px; margin-top: 8px; }
.vv-cbtn { display: inline-flex; align-items: center; gap: 4.74px; padding: 6.5px 11.86px; border-radius: 5.8px; font: 500 16.24px/normal var(--t-family); cursor: pointer; }
.vv-cbtn--call { background: #E1F9ED; border: .812px solid rgba(55, 189, 105, .4); color: #006D35; }
.vv-cbtn--msg { background: rgba(0, 175, 214, .2); border: .812px solid rgba(0, 175, 214, .25); color: #1F415B; }
/* Select Vendor sheet 302:4535 */
.vv-vsheet { display: flex; flex-direction: column; background: #EFF5F2; max-height: 601px; }
.vv-vsheet__top { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px 12px; background: #fff; border-radius: 16px 16px 0 0; }
.vv-vsheet__handle { width: 48px; height: 4px; margin: 12px 0 0; border-radius: 10px; background: #999; }
.vv-vsheet__t { font: 500 24px/normal var(--t-family); color: #1F515B; }
.vv-vsheet__s { align-self: stretch; display: flex; align-items: center; gap: 8px; height: 40px; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .05); }
.vv-vsheet__s input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #1F515B; }
.vv-vsheet__s input::placeholder { color: #1F515B; }
.vv-vsheet__l { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.vv-vopt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #C3CEC7; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.vv-vopt.is-on { background: #F2FFF8; border-color: #37BD69; }
.vv-vopt__d { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.vv-vopt__n { font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-vopt__s { font: 400 14px/normal var(--t-family); color: #7A8684; }
/* menu 220:24314 */
.vv-menu { min-width: 156px; display: flex; flex-direction: column; gap: 1px; border-radius: 8px; overflow: hidden; background: #EFF5F2; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.vv-menu__i { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fff; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #1F515B; white-space: nowrap; cursor: pointer; text-align: left; }
.vv-menu__i--cancel { color: #FA6140; } .vv-menu__i--reject { color: #E93353; }
.vv-menu__ic { display: grid; place-items: center; color: #1F515B; } .vv-menu__ic svg { fill: currentColor; }
/* popup 220:24315 */
#layer .layer__box--center:has(> .vv-popup), #layer .layer__box--center:has(> .vv-printwrap) { background: transparent; width: 358px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); overflow-y: auto; border-radius: 16px; }
.vv-popup { display: flex; flex-direction: column; border-radius: 16px; background: #fff; overflow: hidden; }
.vv-popup__c { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 16px 0; text-align: center; }
.vv-popup__t { padding: 0 16px; margin-top: 0; font: 600 16px/normal var(--t-family); color: #1F515B; }
.vv-popup__s { margin: -8px 0 0; padding: 0 8px; font: 400 14px/normal var(--t-family); color: #44544A; }
.vv-popup__f { align-self: stretch; text-align: left; }
.vv-popup__err { margin: -4px 0 0; }
.vv-popup__a { display: flex; gap: 12px; padding: 24px 16px 16px; }
.vv-pbtn { flex: 1; height: 42px; padding: 8px 16px; border-radius: 8px; border: 0; font: 500 16px/normal var(--t-family); color: #fff; cursor: pointer; }
.vv-pbtn--outline { background: #fff; border: 1px solid #C3CEC7; color: #44544A; }
.vv-pbtn--tertiary { background: #FA6140; } .vv-pbtn--error { background: #E93353; } .vv-pbtn--green { background: #37BD69; } .vv-pbtn--navy { background: #1F515B; }
/* switch 39 x 24 */
.vv-sw { position: relative; width: 39px; height: 24px; flex: none; border-radius: 75px; background: #C3CEC7; cursor: pointer; }
.vv-sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.vv-sw.is-on { background: #37BD69; } .vv-sw.is-on i { left: 18px; }
/* Choose Sites 22:9863 */
.vv-tabs--48 .vv-tab { height: 48px; padding: 15px 16px; }
.vv-spick { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-height: 100%; background: #DDEBE9; }
.vv-spick__s { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: rgba(255, 255, 255, .75); }
.vv-spick__s input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: 400 14px/normal var(--t-family); color: #44544A; }
.vv-spick__s input::placeholder { color: #44544A; }
.vv-spick__h { display: flex; align-items: center; height: 24px; }
.vv-spick__h > span { flex: 1; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-spick__all { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/normal var(--t-family); color: #00572A; cursor: pointer; }
.vv-spick__l { display: flex; flex-direction: column; gap: 8px; }
.vv-pbar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 16px; background: #fff; box-shadow: 4px 0 6px rgba(0, 0, 0, .16); }
.vv-pbar__n { display: inline-flex; align-items: center; padding: 12px 0; font: 400 16px/24px var(--t-family); letter-spacing: .5px; color: #1F515B; cursor: pointer; }
.vv-pbar__n:disabled { opacity: .5; cursor: default; }
.vv-pbar__add { height: 40px; padding: 6px 16px; border: 0; border-radius: 8px; background: #37BD69; color: #fff; font: 600 16px/normal var(--t-family); cursor: pointer; }
.vv-pbar__add:disabled { background: rgba(76, 78, 100, .12); cursor: default; }
/* filter drawer search (22:8064) */
.vv-fsearch { display: flex; align-items: center; gap: 4px; padding: 11px 12px; border: 1px solid #C3CEC7; border-radius: 4px; margin-bottom: 8px; }
.vv-fsearch input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 12px/normal var(--t-family); color: #44544A; }
.vv-fopt { font-size: 12px; } .vv-fopt input { width: 18px; height: 18px; }
.vv-filter__h { padding: 44px 16px 16px; color: #000; }
.vv-filter__nav span { font-weight: 600; }
.vv-btn--outline { height: 40px; border-color: #C3CEC7; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #1F515B; }
.vv-btn--green { height: 40px; font: 600 16px/normal var(--t-family); }
.vv-filter__f { height: 80px; align-items: center; padding: 0 16px; box-shadow: 0 -1px 0 rgba(0, 0, 0, .1); border-top: 0; }
/* photo row (ours) in the visitor fields */
.vv-photo { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed #C3CEC7; border-radius: 8px; background: #F2FFF8; }
.vv-photo__ph { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #839D8D; } .vv-photo__ph svg { fill: currentColor; }
.vv-photo__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-photo__t { font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-photo__s { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-photo__a { display: flex; gap: 16px; margin-top: 4px; }
.vv-photo__a button { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #00572A; cursor: pointer; }
/* QR expanded head (220:24112) */
.vv-qrh { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 32px 32px 40px; }
.vv-qrh__chip { width: 240px; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.vv-qrh__chip .vv-uchip__n, .vv-qrh__chip .vv-uchip__s { color: #fff; }
.vv-qrh__call { flex: none; display: grid; place-items: center; padding: 4px; border-radius: 50px; background: #fff; cursor: pointer; }
.vv-qrh__qr { width: 240px; height: 240px; display: grid; place-items: center; padding: 10px; border-radius: 12px; background: #fff; cursor: pointer; }
.vv-qrh__at { margin: -16px 0 0; font: 400 12px/normal var(--t-family); color: #fff; text-align: center; }
.vv-qrh__acts { align-self: stretch; display: flex; gap: 12px; margin-top: -8px; }
.vv-qrh__b { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #fff; border-radius: 4px; background: none; font: 400 14px/normal var(--t-family); color: #fff; cursor: pointer; }
/* visitor details 274:4931 */
.vv-rec__bar--72 { height: 72px; padding: 26px 16px 22px; }
.vv-vhero { display: flex; align-items: center; gap: 12px; padding: 0 20px 16px; font: 500 20px/normal var(--t-family); color: #fff; }
.vv-rec--visitor .vv-rec__scroll { background: #E8F4F2; }
.vv-rec--visitor .vv-rec__top { background: #1F415B; }
.vv-vbody { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #E8F4F2; }
.vv-vcard2 { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: 8px; background: #fff; }
.vv-vcard2__h { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; font: 500 16px/normal var(--t-family); color: #44544A; cursor: pointer; }
.vv-vcard2__h:disabled { cursor: default; } .vv-vcard2__h:disabled .vv-fig { display: none; }
.vv-vcard2__h--sb { align-self: stretch; justify-content: space-between; cursor: default; }
.vv-vcard2__f { display: inline-flex; align-items: center; gap: 4px; font: 600 14px/normal var(--t-family); color: #1F515B; }
.vv-irow2 { display: flex; align-items: center; gap: 12px; }
.vv-irow2__ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50px; color: #44544A; } .vv-irow2__ic svg { fill: currentColor; }
.vv-irow2__d { display: flex; flex-direction: column; gap: 4px; }
.vv-irow2__l { font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-irow2__v { font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-lrows { display: flex; flex-direction: column; gap: 12px; }
.vv-lrow { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer; }
.vv-lrow + .vv-lrow::before { content: ''; position: absolute; left: 44px; right: 0; top: -6px; height: 1px; background: rgba(0, 0, 0, .05); }
.vv-lrow--site { gap: 8px; cursor: default; } .vv-lrow--site + .vv-lrow--site::before { left: 44px; }
.vv-lrow--site img { width: 36px; height: 36px; flex: none; border-radius: 4px; object-fit: cover; }
.vv-lrow__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vv-lrow__t { display: flex; align-items: center; gap: 4px; font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-lrow__t i { font-style: normal; color: #7A8684; } .vv-lrow__t b { font: 600 12px/normal var(--t-family); }
.vv-lrow__s { font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-lrow em { flex: none; font: 500 14px/normal var(--t-family); font-style: normal; letter-spacing: .1px; color: #1F515B; }
.vv-lrow--sheet { padding: 12px 16px; } .vv-lrow--sheet + .vv-lrow--sheet::before { left: 60px; top: 0; }
.vv-rec--visitor .vv-bbar { box-shadow: 0 -2px 8px rgba(0, 0, 0, .08); }
/* printed pass 321:3788 */
.vv-printwrap { display: flex; flex-direction: column; border-radius: 16px; background: #fff; overflow: hidden; }
.vv-print { background: #F9F4F0; font-family: var(--t-family); }
.vv-print__hd { position: relative; height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; background: #FBF7F4; }
.vv-print__bg { position: absolute; left: 50%; top: -16px; width: 507px; height: 169px; transform: translateX(-50%); object-fit: cover; }
.vv-print__logo, .vv-print__kind { position: relative; }
.vv-print__kind { font: 400 12px/normal var(--t-family); letter-spacing: 3.96px; text-transform: uppercase; color: rgba(0, 0, 0, .8); }
.vv-print__b { display: flex; flex-direction: column; gap: 16px; padding: 24px 32px 16px; }
.vv-print__who { display: flex; flex-direction: column; gap: 8px; }
.vv-print small { font: 400 8px/normal var(--t-family); color: #44544A; }
.vv-print__who b { margin-top: -4px; font: 600 20px/normal var(--t-family); color: #000; }
.vv-print__ct { display: flex; align-items: center; gap: 8px; font: 500 12px/normal var(--t-family); letter-spacing: .1px; color: rgba(0, 0, 0, .6); }
.vv-print__ct > span { display: inline-flex; align-items: center; gap: 5px; } .vv-print__ct img { opacity: .6; }
.vv-print__ct i { width: 0; height: 17px; border-left: .5px solid rgba(0, 0, 0, .2); }
.vv-print__qr { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 0; }
.vv-print__br { position: relative; padding: 10px; background: linear-gradient(#C5A66A, #C5A66A) top left / 19px 1px no-repeat, linear-gradient(#C5A66A, #C5A66A) top left / 1px 19px no-repeat,
  linear-gradient(#C5A66A, #C5A66A) top right / 19px 1px no-repeat, linear-gradient(#C5A66A, #C5A66A) top right / 1px 19px no-repeat,
  linear-gradient(#C5A66A, #C5A66A) bottom left / 19px 1px no-repeat, linear-gradient(#C5A66A, #C5A66A) bottom left / 1px 19px no-repeat,
  linear-gradient(#C5A66A, #C5A66A) bottom right / 19px 1px no-repeat, linear-gradient(#C5A66A, #C5A66A) bottom right / 1px 19px no-repeat; }
.vv-print__br .vv-qr rect[fill="#fff"] { fill: #F9F4F0; }
.vv-print__qr b { font: 500 14px/12px var(--t-family); color: #000; }
.vv-print__meta { display: flex; align-items: center; gap: 12px; }
.vv-print__meta > span { flex: 1; display: flex; align-items: center; gap: 8px; }
.vv-print__meta > span > span { display: flex; flex-direction: column; gap: 4px; font: 500 10px/12px var(--t-family); color: #000; }
.vv-print__meta i { width: 0; height: 24px; border-left: .5px solid rgba(0, 0, 0, .2); }
.vv-print hr { margin: 0; border: 0; border-top: .5px solid rgba(0, 0, 0, .2); }
.vv-print__ty { margin: 0; font: 500 8px/normal var(--t-family); letter-spacing: .56px; color: #CD962C; }
.vv-print__note { margin: -12px 0 0; font: 500 8px/normal var(--t-family); letter-spacing: .56px; color: rgba(0, 0, 0, .8); }
.vv-print__ft { display: flex; align-items: center; justify-content: center; gap: 14px; height: 47px; background: #1A362C; font: 500 7px/normal var(--t-family); letter-spacing: 2.87px; color: #C5A66A; }
.vv-print__ft i { width: 101px; border-top: .5px solid #C5A66A; }
.vv-printwrap .vv-popup__a { padding: 16px; }
@media print { body * { visibility: hidden !important; } #vv-print, #vv-print * { visibility: visible !important; } #vv-print { position: fixed; left: 0; top: 0; width: 100mm; } }

/* ---------- Security (190:18581, 190:18843, 306:5282, 281:5763, 274:4205, 281:5359, 310:15607) ---------- */
.vv-gate2 { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.vv-gate2__scroll { flex: 1; min-height: 0; overflow-y: auto; }
.vv-gh { background: rgba(0, 175, 214, .3); border-radius: 0 0 16px 16px; }
.vv-gh__bar { display: flex; align-items: center; gap: 4px; height: 72px; padding: 26px 16px 22px; }
.vv-gh__t { flex: 1; font: 500 20px/normal var(--t-family); color: #1F415B; }
.vv-gh__site { display: inline-flex; align-items: center; gap: 4px; font: 500 16px/normal var(--t-family); color: #1F515B; }
.vv-gh__low { display: flex; flex-direction: column; gap: 16px; padding: 8px 16px 16px; }
.vv-gsrch { display: flex; align-items: center; gap: 8px; height: 56px; padding: 8px 16px; border-radius: 8px; background: #fff; box-shadow: 0 2px 1px rgba(0, 0, 0, .1); }
.vv-gsrch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 14px/20px var(--t-family); letter-spacing: -.15px; color: #1F515B; }
.vv-gsrch input::placeholder { color: #7A8684; }
.vv-gsrch button { display: grid; place-items: center; cursor: pointer; }
.vv-gtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vv-gtile { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 4px 7px rgba(0, 0, 0, .05); text-align: left; }
button.vv-gtile { cursor: pointer; }
.vv-gtile__d { display: flex; flex-direction: column; gap: 2px; }
.vv-gtile__n { font: 600 24px/normal var(--t-family); color: #000; }
.vv-gtile__l { font: 400 12px/normal var(--t-family); color: #44544A; }
.vv-gtile__ic { width: 40.8px; height: 40.8px; flex: none; display: grid; place-items: center; border-radius: 4.8px; }
.vv-gtile__ic--entry { background: #E1F9ED; } .vv-gtile__ic--exit { background: rgba(0, 0, 0, .05); } .vv-gtile__ic--unique { background: rgba(0, 175, 214, .1); } .vv-gtile__ic--onsite { background: rgba(250, 97, 64, .1); }
.vv-rscans { display: flex; flex-direction: column; padding: 16px 16px 24px; }
.vv-rscans__h { display: flex; align-items: center; justify-content: space-between; height: 24px; margin-bottom: 0; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-rscans__h button { display: inline-flex; align-items: center; gap: 4px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #1F515B; cursor: pointer; }
.vv-up { transform: rotate(180deg); }
.vv-srow2 { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 0; border-bottom: 1px solid #DAE7DF; text-align: left; cursor: pointer; }
.vv-srow2 .vv-uchip { flex: 1; min-width: 0; gap: 12px; }
.vv-srow2__r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.vv-srow2__r small { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-stag { padding: 4px 8px; border-radius: 4px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; }
.vv-stag--entry { background: #E1F9ED; color: #00572A; } .vv-stag--exit { background: rgba(0, 0, 0, .05); color: #44544A; } .vv-stag--denied { background: rgba(233, 51, 83, .1); color: #E93353; }
/* search dropdown 190:18843 */
.vv-gdrop { position: absolute; inset: 0; z-index: 20; }
.vv-gdrop__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.vv-gdrop__box { position: absolute; left: 16px; right: 16px; top: 81px; display: flex; flex-direction: column; gap: 4px; }
.vv-gres2 { padding: 8px 16px; border-radius: 8px; background: #fff; box-shadow: 0 2px 1px rgba(0, 0, 0, .1); }
.vv-gres2__r { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 0; text-align: left; cursor: pointer; }
.vv-gres2__r .vv-uchip { flex: 1; min-width: 0; gap: 12px; }
.vv-gres2__none { padding: 12px 0; font: 400 14px/normal var(--t-family); color: #7A8684; }
/* onsite list 306:5282 */
.vv-count2 { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-orow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
div.vv-orow { cursor: default; }
.vv-orow .vv-uchip { flex: 1; min-width: 0; gap: 12px; }
/* scan result */
.vv-scan { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.vv-scan--ok { background: #E1F9ED; } .vv-scan--bad { background: #FDEBEE; } .vv-scan--warn { background: #FFF8D4; }
.vv-scan > .vv-shero { flex: none; }
.vv-shero { padding: 24px 16px 32px; }
.vv-shero__bar { display: flex; align-items: center; justify-content: space-between; }
.vv-shero__bar span { display: inline-flex; align-items: center; gap: 4px; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-shero__st { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 32px; }
.vv-shero__t { margin-bottom: -8px; font: 600 28px/normal var(--t-family); color: #006D35; }
.vv-scan--bad .vv-shero__t, .vv-scan--bad .vv-shero__id { color: #4A0415; } .vv-scan--warn .vv-shero__t { color: #44544A; }
.vv-shero__id { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-ssheet { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 20px; padding: 20px 16px 16px; border-radius: 24px 24px 0 0; background: #fff; }
.vv-ssheet > * { flex: none; }
.vv-svcard { display: flex; flex-direction: column; gap: 20px; padding: 16px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.vv-svcard__who { display: flex; align-items: center; gap: 12px; }
.vv-svcard__who > span { display: flex; flex-direction: column; gap: 4px; }
.vv-svcard__who b { font: 500 20px/normal var(--t-family); color: #44544A; }
.vv-svcard__who small { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; opacity: .8; }
.vv-svcard__who small.vv-svcard__id { font-weight: 400; color: #7A8684; opacity: 1; }
.vv-svcard__kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vv-svcard__kv > span { display: flex; flex-direction: column; gap: 4px; }
.vv-svcard__kv small { display: inline-flex; align-items: center; gap: 4px; font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-scan--bad .vv-svcard__kv > span:last-child small { color: #4A0415; }
.vv-svcard__kv b { font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-svcard__v--bad { color: #E93353 !important; } .vv-svcard__v--ok { color: #006D35 !important; }
.vv-snote { margin: 0; padding: 12px; border-radius: 8px; font: 400 14px/20px var(--t-family); }
.vv-snote--bad { background: rgba(233, 51, 83, .08); color: #4A0415; }
.vv-sgad { display: flex; flex-direction: column; gap: 8px; }
.vv-sgad__h { display: flex; align-items: center; height: 32px; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-sgcard { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 8px; background: #EFF5F2; }
.vv-skv { display: flex; align-items: center; gap: 8px; }
.vv-skv span { flex: 1; font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-skv b { font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-onsite2 { display: flex; flex-direction: column; gap: 4px; }
.vv-onsite2__l { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-onsite2__r { display: flex; align-items: center; justify-content: space-between; }
.vv-onsite2__r > span { display: inline-flex; align-items: center; gap: 4px; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-onsite2__r small { font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-flip { transform: scaleX(-1); }
/* scan sheet (prototype camera) */
.vv-cam { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 16px 4px; }
.vv-cam__vf { width: 100%; max-width: 280px; aspect-ratio: 1.4; border-radius: 12px; background: #1d2b24; display: grid; place-items: center; }
.vv-cam__vf span { width: 120px; height: 120px; border: 3px solid #00D6C9; border-radius: 12px; }
.vv-cam p { margin: 0; font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-manual { display: flex; gap: 8px; align-items: center; padding: 12px 16px 0; }
.vv-manual .vv-in { flex: 1; } .vv-manual .vv-pbtn { flex: none; height: 56px; }
.vv-manual__err { margin: 4px 16px 0; }
.vv-scanpicks { display: flex; flex-direction: column; padding: 8px 16px 20px; }
.vv-scanpicks__h { padding: 12px 0 4px; font: 500 14px/normal var(--t-family); color: #44544A; }
.vv-scanpick { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(0, 0, 0, .05); text-align: left; cursor: pointer; }
.vv-scanpick > span { display: flex; flex-direction: column; gap: 2px; }
.vv-scanpick b { font: 500 14px/normal var(--t-family); color: #44544A; }
.vv-scanpick small { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-qrbad { width: 32px; height: 32px; display: grid !important; place-items: center; border: 2px dashed #839D8D; border-radius: 4px; font: 600 16px/1 var(--t-family); color: #839D8D; }

/* ---------- VVMS Masters (306:5562, 310:17987, 309:10016, 309:9693, 306:5886, 306:5875) ---------- */
.vv-mpage { display: flex; flex-direction: column; gap: 12px; min-height: 100%; padding: 20px 16px 16px; background: #DAE7DF; }
.vv-mpage--g { padding: 20px 16px; } .vv-mpage--gap { gap: 24px; }
.vv-msec { font: 500 16px/normal var(--t-family); color: #1F415B; }
.vv-msec + .vv-mlist2 { margin-top: 0; } .vv-mlist2 + .vv-msec { margin-top: 12px; }
.vv-mlist2 { display: flex; flex-direction: column; gap: 1px; border-radius: 8px; overflow: hidden; }
.vv-mrow2 { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; background: #fff; text-align: left; cursor: pointer; }
.vv-mrow2 .vv-uchip { flex: 1; min-width: 0; gap: 12px; }
.vv-mrow2__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer; }
.vv-mrow2__d b { font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-mrow2__d small { font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-mrow2__d small.is-none { color: #E93353; }
.vv-mnote { margin: 0; font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-card__h--rule { padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.vv-fsum { display: flex; align-items: flex-start; gap: 12px; }
.vv-fsum.is-off { opacity: .5; }
.vv-fsum__n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 100px; background: rgba(0, 0, 0, .05); font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-fsum__d { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.vv-fsum__l { font: 400 14px/normal var(--t-family); color: #44544A; } .vv-fsum__l i { font-style: normal; color: #E93353; }
.vv-fsum__t { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: rgba(0, 0, 0, .4); }
.vv-muted-ic { opacity: .4; }
.vv-bbar--flat { box-shadow: none; }
.vv-mfields { display: flex; flex-direction: column; gap: 16px; }
.vv-mempty { height: 120px; display: grid; place-items: center; border-radius: 8px; background: rgba(0, 0, 0, .05); font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-addf { height: 42px; padding: 8px 26px; border: 0; border-radius: 8px; background: #00D6C9; color: #fff; font: 600 16px/normal var(--t-family); cursor: pointer; }
.vv-fed { display: flex; flex-direction: column; gap: 16px; padding: 12px 12px 8px; border-radius: 8px; background: #fff; }
.vv-fed.is-off { opacity: .75; }
.vv-fed__h { display: flex; align-items: center; justify-content: space-between; }
.vv-fed__l { display: inline-flex; align-items: center; gap: 12px; font: 500 16px/normal var(--t-family); color: #44544A; }
.vv-pill { display: grid; place-items: center; padding: 6px; border-radius: 100px; background: rgba(0, 0, 0, .05); }
.vv-fed__r { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-fed .vv-dfield { gap: 12px; }
.vv-rtype { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px; border: 1px solid #C3CEC7; border-radius: 8px; background: #F2FFF8; cursor: pointer; }
.vv-rtype > span { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-fed__f { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, .05); }
.vv-fed__f > span { display: flex; gap: 4px; }
.vv-cb2 { display: inline-flex; align-items: center; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; cursor: pointer; }
.vv-cb2 > span { padding: 8px; display: grid; }
.vv-fed__ib { padding: 8px; display: grid; cursor: pointer; }
.vv-rover { display: flex; flex-direction: column; gap: 12px; padding: 16px 12px; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.vv-rover__t { font: 600 12px/normal var(--t-family); color: #44544A; }
.vv-ropt { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 12px 16px; border-radius: 4px; background: rgba(0, 0, 0, .05); cursor: pointer; }
.vv-ropt > span { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-guard__rm { margin-top: 4px; }

/* in-form Site Card row (22:12023 Card 3): Site Dp 48 r4, text, remove 24 */
.vv-sdp { width: 48px; height: 48px; flex: none !important; }
.vv-sitebox__r .vv-scard__d { flex: 1; min-width: 0; }
.vv-sitebox__r button { flex: none; display: grid; place-items: center; }

/* every Figma icon keeps the size it was exported at; no row or tile rule may stretch it */
.tab-frame img.vv-fig { flex: none; max-width: none; object-fit: contain; }
.vv-dash__tiles { padding: 16px; }
.vv-dash__h { display: block; padding: 8px 16px 12px; }
.vv-dash .vv-cards--flat { padding-top: 0; }
/* Gadget Card Default label is Regular 16 (22:10975); "(if any)" Regular 14 neutralSecondary */
.vv-gcard--default .vv-gcard__n { font-weight: 400; }
.vv-gcard__n small { margin-left: 4px; font: 400 14px/normal var(--t-family); color: #7A8684; }
.vv-gkv__t, .vv-skv__t { font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }

/* Duplicate visitor (Sourav, 17 Nov; no Figma frame): Tertiary 10 % panel under the visitor fields, the matching field gets a Tertiary border */
.vv-dup { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 8px; background: rgba(250, 97, 64, .08); }
.vv-dup[hidden] { display: none; }
.vv-dup__h { display: flex; align-items: center; gap: 8px; font: 500 14px/20px var(--t-family); letter-spacing: .1px; color: #44544A; }
.vv-dup__h small { margin-left: auto; font: 400 12px/normal var(--t-family); color: #FA6140; }
.vv-dup .vv-vcard.is-chosen { background: #fff; }
.vv-dup .vv-pbtn { flex: none; width: 100%; }
.vv-in.is-dup, .vv-phonein.is-dup { border-color: #FA6140; }

/* ---------------------------------------------------------------- Motion: the Antz web pattern catalogue's motion tokens
   (antz-web-pattern-catalogue/STYLE_GUIDE.md §1.5: duration fast 120 · med 260 · slow 420; ease standard · exit · spring.precise).
   Enter = med on spring.precise, exit = fast on exit, state changes = fast on standard. Reduced motion turns all of it off. */
:root {
  --motion-fast: 120ms; --motion-med: 260ms; --motion-slow: 420ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); --ease-exit: cubic-bezier(0.4, 0, 1, 1); --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes vvFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vvSheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes vvSheetOut { from { transform: none; } to { transform: translateY(100%); } }
@keyframes vvPopIn { from { opacity: 0; transform: translate(-50%, -48%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes vvPopOut { from { opacity: 1; transform: translate(-50%, -50%); } to { opacity: 0; transform: translate(-50%, -49%) scale(.98); } }
@keyframes vvRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes vvStamp { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* drawer-enter / modal-fade: sheets slide up, centred dialogs scale in, the scrim fades; a sheet redrawn in place does not replay */
#layer .layer__scrim { animation: vvFade var(--motion-med) var(--ease-standard); }
#layer .layer__box { animation: vvSheetIn var(--motion-med) var(--ease-spring); }
#layer .layer__box--center { animation: vvPopIn var(--motion-med) var(--ease-spring); }
#layer.is-redraw .layer__scrim, #layer.is-redraw .layer__box { animation: none; }
#layer.is-closing .layer__scrim { animation: vvFade var(--motion-fast) var(--ease-exit) reverse forwards; }
#layer.is-closing .layer__box { animation: vvSheetOut var(--motion-fast) var(--ease-exit) forwards; }
#layer.is-closing .layer__box--center { animation: vvPopOut var(--motion-fast) var(--ease-exit) forwards; }

/* page change: the scrolling content rises in (headers and bottom bars stay put) */
#app.is-enter .app-main, #app.is-enter > .vv-mrec, #app.is-enter .vv-gate2__scroll, #app.is-enter .vv-ssheet { animation: vvRise var(--motion-med) var(--ease-spring); }
/* scan result: the status icon stamps in */
#app.is-enter .vv-shero__st > .vv-fig { animation: vvStamp var(--motion-slow) var(--ease-spring); }

/* toast-slide */
#toast { transform: translate(-50%, 8px); transition: opacity var(--motion-med) var(--ease-standard), transform var(--motion-med) var(--ease-spring); }
#toast.show { transform: translateX(-50%); }

/* row-hover / card state: colour, border and shadow ease; cards and tiles press in */
.vv-gtile, .vv-gcard, .vv-scard, .vv-vcard, .vv-orow, .vv-srow2, .vv-seg2__b, .vv-tab, .vv-pbtn, .vv-bbtn, .vv-btn, .vv-pickin, .vv-select, .vv-in, .vv-phonein, .vv-date, .vv-area, .vv-fopt, .vv-vopt {
  transition: background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}
.vv-gtile:active, .vv-scard:active, .vv-vcard:not(.is-chosen):active, button.vv-orow:active, .vv-srow2:active, .vv-pbtn:active, .vv-bbtn:not(.is-off):active { transform: scale(.98); }
.vv-sw i { transition: left var(--motion-fast) var(--ease-standard); }

/* the duplicate-visitor panel rises in when a match appears */
.vv-dup:not([hidden]) { animation: vvRise var(--motion-med) var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
  #layer .layer__scrim, #layer .layer__box, #layer.is-closing .layer__scrim, #layer.is-closing .layer__box, #app.is-enter *, .vv-dup { animation: none !important; }
  #toast, .vv-gtile, .vv-gcard, .vv-scard, .vv-vcard, .vv-orow, .vv-srow2, .vv-seg2__b, .vv-tab, .vv-pbtn, .vv-bbtn, .vv-btn, .vv-pickin, .vv-select, .vv-in, .vv-phonein, .vv-date, .vv-area, .vv-fopt, .vv-vopt, .vv-sw i { transition: none !important; }
  .vv-gtile:active, .vv-scard:active, .vv-vcard:active, .vv-orow:active, .vv-srow2:active, .vv-pbtn:active, .vv-bbtn:active { transform: none; }
}

/* Filter drawer checkboxes (Figma 22:8064): the Figma check box, not the browser's: check-box-off-18 outline (#839D8D) unticked,
   the Primary filled box with the white tick (cb-on, as on the gadget cards) ticked; the header sits on the 1px Shadow, not a rule */
.vv-fopt input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; background: url(fig/check-box-off-18.svg) center / 18px 18px no-repeat; cursor: pointer; }
.vv-fopt input:checked { background-image: url(fig/cb-on-24.svg); background-size: 20px 20px; }
.vv-fopt input:focus-visible { outline: 2px solid #37BD69; outline-offset: 2px; border-radius: 2px; }
.vv-filter__h { border-bottom: 0; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); position: relative; z-index: 1; }

/* Pass Details body to Figma 220:23497 (Sourav, 17 Nov): container pt 24 px 16 pb 16, column gap 12, every section after the dates pt 20
   (no rules); date + headings Medium 16/20 neutralPrimary #000; heading + arrow_forward_ios 20 (#7A8684) gap 4 opens the list */
.vv-rec:not(.vv-rec--visitor) .vv-rec__body { gap: 12px; padding: 24px 16px 16px; }
.vv-rec:not(.vv-rec--visitor) .vv-fact + .vv-fact { padding-top: 20px; }
.vv-rec:not(.vv-rec--visitor) .vv-fact__dt { font: 500 16px/20px var(--t-family); color: #000; }
.vv-rec:not(.vv-rec--visitor) .vv-fact__h { font: 500 16px/20px var(--t-family); color: #000; }
.vv-fact__h--go { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.vv-rec:not(.vv-rec--visitor) .vv-fact:last-child { gap: 20px; }
/* Entity row: py 8 gap 12, thumb 36 r4, name Medium 14/20 ls .1 #44544A one line, "Site" Regular 14 #7A8684, +n Medium 14 */
.vv-site1__d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-site1__d .vv-site1__n { flex: none; height: 17px; line-height: 20px; }
.vv-site1__s { font: 400 14px/normal var(--t-family); color: #7A8684; }
/* gadget rows: icon 20 in a 32 box (p 6) top-aligned, title Medium 14/20 ls .1, line Regular 14 #7A8684 gap 4; rows gap 12 with a
   1px rgba(0,0,0,.05) rule inset 44 between them; no chevrons */
.vv-rec:not(.vv-rec--visitor) .vv-grows { gap: 12px; }
.vv-rec:not(.vv-rec--visitor) .vv-grow { align-items: flex-start; padding: 0; }
.vv-rec:not(.vv-rec--visitor) .vv-grow > .vv-fig:first-child { box-sizing: content-box; padding: 6px; }
.vv-rec:not(.vv-rec--visitor) .vv-grow__d { gap: 4px; }
.vv-rec:not(.vv-rec--visitor) .vv-grow__n { line-height: 20px; }
.vv-grule { width: calc(100% - 44px); height: 0; margin: 0 0 0 44px; border: 0; border-top: 1px solid rgba(0, 0, 0, .05); }
/* Visit Details: fields gap 16; Host / Issued By label + gap 4 + a 24 row; names Medium 14/20 #00572A, no avatars;
   Issued By on one line: name • date • time (Regular 14 #7A8684, bullets ExtraLight 12, gap 2) */
.vv-kv--p { gap: 4px; }
.vv-pname { font: 500 14px/20px var(--t-family); color: #00572A; cursor: pointer; }
.vv-pline { display: flex; align-items: center; gap: 2px; height: 24px; font: 400 14px/20px var(--t-family); color: #7A8684; white-space: nowrap; }
.vv-pline b.vv-pname { cursor: default; }
.vv-pline i { width: 7px; font: 200 12px/20px var(--t-family); font-style: normal; text-align: center; }

/* Dashboard site dropdown (the Training dashboard's "All Sites ▾", Sourav 17 Nov): location 20 Primary + name Minor Medium OnPrimaryContainer + arrow */
.vv-sitedrop { flex: none; max-width: 55%; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0 4px 8px; font: 500 16px/normal var(--t-family); color: #1F515B; cursor: pointer; }
.vv-sitedrop span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-sitedrop .vv-fig { flex: none; }
.vv-vopt > .vv-fig:first-child { flex: none; }
.vv-dash .vv-rscans__h.vv-dash__h { display: flex; padding: 8px 16px 12px; }
/* Visitor Details: Currently On Site card */
.vv-vnow { gap: 4px; text-align: left; cursor: pointer; width: 100%; }

/* inside a site now (option D): footer row under a neutral05 rule */
.vv-infoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px -12px 0; padding: 10px 12px; border-top: 1px solid rgba(0, 0, 0, .05); }
.vv-vrow:has(.vv-infoot) { padding-bottom: 0; }
.vv-pcard .vv-infoot { margin: 0; }

/* QR scanner (#/qr; Sourav 17 Nov, no Figma frame): a dark camera feed, site + close on top, a 240 viewfinder with white corner
   brackets and a Primary scan line sweeping (--motion tokens), the hint under it; the prototype's pass list in a white panel below */
@keyframes vvScanSweep { 0% { top: 8%; } 50% { top: 88%; } 100% { top: 8%; } }
.vv-qrcam { flex: 1; min-height: 0; display: flex; flex-direction: column; background: radial-gradient(120% 70% at 50% 35%, #2B3A3F 0%, #121B1E 70%); color: #fff; }
.vv-qrcam__bar { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 24px 16px 8px; }
.vv-qrcam__bar > span { display: inline-flex; align-items: center; gap: 4px; font: 500 16px/normal var(--t-family); }
.vv-qrcam__x { width: 40px; height: 40px; margin-right: -8px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); cursor: pointer; }
.vv-qrcam__view { flex: 1; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.vv-qrcam__view p { margin: 0; font: 400 14px/20px var(--t-family); color: rgba(255, 255, 255, .85); }
.vv-qrcam__vf { position: relative; width: 240px; height: 240px; border-radius: 16px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .25); }
.vv-qrcam__vf > i { position: absolute; width: 36px; height: 36px; border: 4px solid #fff; }
.vv-qrcam__vf > .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; }
.vv-qrcam__vf > .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; }
.vv-qrcam__vf > .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 16px; }
.vv-qrcam__vf > .br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }
.vv-qrcam__line { position: absolute; left: 16px; right: 16px; top: 8%; height: 2px; border-radius: 2px; background: #37BD69; box-shadow: 0 0 12px 2px rgba(55, 189, 105, .6); animation: vvScanSweep 2.4s var(--ease-standard) infinite; }
.vv-qrcam__panel { flex: none; max-height: 42%; display: flex; flex-direction: column; padding: 0 16px; background: #fff; border-radius: 16px 16px 0 0; color: #44544A; }
.vv-qrcam__handle { align-self: center; width: 48px; height: 4px; margin: 12px 0 4px; border-radius: 10px; background: #C3CEC7; }
.vv-qrcam__list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding-bottom: 16px; }
.vv-qrcam .vv-scanpicks__h { flex: none; }
@media (prefers-reduced-motion: reduce) { .vv-qrcam__line { animation: none; top: 50%; } }
.vv-qrcam__view { position: relative; overflow: hidden; }
.vv-qrcam__vf { overflow: visible; }
.vv-qrcam__panel { position: relative; z-index: 1; }
.vv-qrcam__vf { box-shadow: none; background: rgba(255, 255, 255, .04); }
/* footer worded as the Figma Currently On Site block */
.vv-infoot { flex-direction: column; align-items: stretch; gap: 4px; }
.vv-infoot__l { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-infoot__r { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vv-infoot__r > span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font: 500 14px/normal var(--t-family); letter-spacing: .1px; color: #44544A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-infoot__r small { flex: none; font: 400 12px/normal var(--t-family); color: #7A8684; }

/* ---------------------------------------------------------------- printed pass: page 2 (sites, gadgets) and the stage's side panel */
.stage .stage__pass.is-on { background: var(--c-on-primary-container, #1F515B); color: #fff; border-color: transparent; }
.stage-row { display: flex; align-items: flex-start; gap: 32px; }
.vv-side { flex: none; display: flex; flex-direction: column; gap: 12px; max-height: 844px; overflow-y: auto; font-family: var(--t-family); }
.vv-side[hidden] { display: none; }
.vv-side__h { display: flex; flex-direction: column; gap: 2px; }
.vv-side__h b { font: 600 14px/normal var(--t-family); color: #1d2b24; }
.vv-side__h span { font: 500 14px/normal var(--t-family); color: #44544A; }
.vv-side__h small { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-side__pages { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.vv-side figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.vv-side figcaption { font: 500 12px/normal var(--t-family); color: #7A8684; }
.vv-side .vv-print { width: 390px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
@media (max-width: 1260px) { .stage-row { flex-direction: column; align-items: center; } .vv-side { max-height: none; } }
/* the pass column in the Print dialog: both pages, scrolling */
.vv-printwrap__s { overflow-y: auto; max-height: 70vh; }
.vv-printpages { display: flex; flex-direction: column; gap: 12px; background: #E8E2DC; }
/* page 2: the visitor / pass reference row, sections with 8 px labels, gold-icon lists */
.vv-print--p2 .vv-print__b { gap: 16px; }
.vv-print__ref { display: flex; justify-content: space-between; gap: 12px; }
.vv-print__ref > span { display: flex; flex-direction: column; gap: 4px; font: 500 12px/normal var(--t-family); letter-spacing: .1px; color: #000; }
.vv-print__ref > span:last-child { align-items: flex-end; }
.vv-print__sec { display: flex; flex-direction: column; gap: 12px; }
.vv-print__sec > small { letter-spacing: .56px; }
.vv-print__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vv-print__list--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.vv-print__list li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.vv-print__list li .vv-fig { margin-top: 1px; }
.vv-print__list li > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vv-print__list b { font: 500 12px/normal var(--t-family); letter-spacing: .1px; color: #000; overflow-wrap: anywhere; }
.vv-print__list small { font: 400 10px/14px var(--t-family); color: rgba(0, 0, 0, .6); }
.vv-print__list small.is-none { font-style: italic; }
.vv-print__empty { margin: 0; font: italic 400 10px/normal var(--t-family); color: rgba(0, 0, 0, .6); }
@media print {
  #vv-print { position: absolute !important; width: 100mm !important; background: none !important; display: block !important; }
  #vv-print .vv-print + .vv-print { break-before: page; page-break-before: always; }
}
/* both pages keep the Figma page height (321:3788 is 390 × 715), footer at the bottom */
.vv-print { display: flex; flex-direction: column; min-height: 715px; }
.vv-print > .vv-print__b { flex: 1; }

/* menus (Menu 306:5875) open from their ⋮: fade + scale from the top-right corner, no sheet slide, no scrim fade */
@keyframes vvMenuIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes vvMenuOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.96); } }
#layer .layer__box:has(> .vv-menuwrap) { animation: none; }
#layer:has(.vv-menuwrap) .layer__scrim { animation: none; }
#layer .vv-menuwrap .vv-menu { transform-origin: top right; animation: vvMenuIn var(--motion-fast) var(--ease-standard); }
#layer.is-closing .layer__box:has(> .vv-menuwrap) { animation: none; }
#layer.is-closing .vv-menuwrap .vv-menu { animation: vvMenuOut var(--motion-fast) var(--ease-exit) forwards; }
@media (prefers-reduced-motion: reduce) { #layer .vv-menuwrap .vv-menu { animation: none !important; } }

/* ---------------------------------------------------------------- printed pass to Figma 321:3788's coordinates (390 × 715) */
.vv-print { position: relative; display: block; width: 390px; min-height: 715px; overflow: hidden; background: #F9F4F0; }
.vv-print--p1 { height: 715px; }
/* header band 148: flex column, gap 10, py 32, centred; the art 506.77 × 169 at top -16 */
.vv-print .vv-print__hd { height: 148px; padding: 32px 0; justify-content: flex-start; gap: 10px; }
.vv-print__logo { width: 155.764px; height: 21px; }
/* visitor block: x 32, y 172; gap 12; name block gap 8 (VISITOR Regular 8 #44544A, name SemiBold 20 #000) */
.vv-print--p1 .vv-print__who { position: absolute; left: 32px; top: 172px; display: flex; flex-direction: column; gap: 12px; }
.vv-print__nm { display: flex; flex-direction: column; gap: 8px; white-space: nowrap; }
.vv-print__nm b { margin: 0; font: 600 20px/normal var(--t-family); color: #000; }
.vv-print .vv-print__ct { align-items: flex-start; gap: 8px; }
.vv-print .vv-print__ct > span { gap: 5.244px; }
.vv-print .vv-print__ct img { width: 15.731px; height: 15.731px; opacity: .6; }
.vv-print .vv-print__ct i { height: 17px; }
/* gold QR brackets: a 182 square (1 px #C5A66A) at 104 / 298 with only its 19 px corners showing */
.vv-print--p1 .vv-print__br { position: absolute; left: 104px; top: 298px; width: 182px; height: 182px; padding: 0; background: none; }
.vv-print--p1 .vv-print__br i { position: absolute; width: 19px; height: 19px; border: 0 solid #C5A66A; }
.vv-print--p1 .vv-print__br i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.vv-print--p1 .vv-print__br i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.vv-print--p1 .vv-print__br i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.vv-print--p1 .vv-print__br i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
/* the QR 163.17 × 164 centred (left 50% − 0.41) at y 307 */
.vv-print--p1 .vv-print__qr { position: absolute; left: calc(50% - .41px); top: 307px; width: 163.172px; height: 164px; padding: 0; transform: translateX(-50%); display: grid; place-items: center; }
.vv-print--p1 .vv-print__qr svg { width: 163.172px; height: 164px; }
.vv-print--p1 .vv-print__qr .vv-qr rect[fill="#fff"] { fill: #F9F4F0; }
/* pass ID: Medium 14 / lh 12 #000, y 499, centred */
.vv-print--p1 .vv-print__id { position: absolute; left: 50%; top: 499px; transform: translateX(-50%); font: 500 14px/12px var(--t-family); color: #000; white-space: nowrap; }
/* dates / host row: x 0, y 549, w 390, px 32, gap 12; icon 18 + text gap 8, label 8 #44544A, value Medium 10 / 12 #000, gap 4 */
.vv-print--p1 .vv-print__meta { position: absolute; left: 0; top: 549px; width: 390px; padding: 0 32px; gap: 12px; }
.vv-print__meta > span { align-items: flex-start; }
.vv-print__meta > span > span { white-space: nowrap; }
/* the 339 rule at y 606 (x 25.5), then the two lines at x 29: y 623 (#CD962C) and 637 (#000 80 %), Medium 8 ls .56 */
.vv-print .vv-print__rule { position: absolute; left: 25.5px; top: 606px; width: 339px; margin: 0; border: 0; border-top: .5px solid rgba(0, 0, 0, .2); }
.vv-print .vv-print__ty { position: absolute; left: 29px; top: 623px; margin: 0; font: 500 8px/normal var(--t-family); letter-spacing: .56px; color: #CD962C; white-space: nowrap; }
.vv-print .vv-print__note { position: absolute; left: 29px; top: 637px; margin: 0; font: 500 8px/normal var(--t-family); letter-spacing: .56px; color: rgba(0, 0, 0, .8); white-space: nowrap; }
/* footer band at y 668: rules 101 wide at x 26 and 260 on y 690, the words (7 px, ls 2.87, #C5A66A) at y 687 from x 134 */
.vv-print .vv-print__ft { position: absolute; left: 0; top: 668px; width: 390px; height: 47px; display: block; padding: 0; background: #1A362C; }
.vv-print .vv-print__ft i { position: absolute; top: 22px; width: 101px; height: 0; border-top: .5px solid #C5A66A; }
.vv-print .vv-print__ft i.l { left: 26px; } .vv-print .vv-print__ft i.r { left: 260px; }
.vv-print .vv-print__ft span { position: absolute; left: calc(50% - 61px); top: 19px; font: 500 7px/normal var(--t-family); letter-spacing: 2.87px; color: #C5A66A; white-space: nowrap; }
/* page 2 keeps page 1's frame: body from y 172 (px 32), the rule / lines / footer at the same places from the bottom when it grows */
.vv-print--p2 .vv-print__b { padding: 24px 32px 128px; gap: 16px; }
.vv-print--p2 .vv-print__rule { top: auto; bottom: 108.5px; }
.vv-print--p2 .vv-print__ty { top: auto; bottom: 82px; }
.vv-print--p2 .vv-print__note { top: auto; bottom: 68px; }
.vv-print--p2 .vv-print__ft { top: auto; bottom: 0; }
.vv-print--p2 .vv-print__b hr { margin: 0; border: 0; border-top: .5px solid rgba(0, 0, 0, .2); }
/* the Print dialog is 358 wide: the 390 pages are shown at 358 / 390, printed at full size */
.vv-printwrap .vv-print { zoom: .918; }
@media print { .vv-printwrap .vv-print { zoom: 1; } }

/* Printed pass: straight edges, no rounded corners (Sourav, 17 Nov) */
.vv-print, .vv-side .vv-print, .vv-printwrap { border-radius: 0; }
#layer .layer__box--center:has(> .vv-printwrap) { border-radius: 0; }

/* Edit Gadget field drag handle (309:9693): a true circle, 20 icon + 6 padding = 32, not the 40 tall call pill (Sourav, 17 Nov) */
.vv-fed__l .vv-pill { width: 32px; height: 32px; padding: 0; flex: none; box-sizing: border-box; }

/* Screens panel (Sourav, 17 Nov): key screens beside the phone, for reviewers and developers; prototype chrome, not app UI */
.vv-scr { flex: none; width: 260px; max-height: 844px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding: 16px; box-sizing: border-box;
  background: #fff; border: 1px solid #E1E6E4; border-radius: 12px; font-family: var(--t-family); }
.vv-scr[hidden] { display: none; }
.vv-scr__h { display: flex; flex-direction: column; gap: 2px; }
.vv-scr__h b { font: 600 14px/normal var(--t-family); color: #1d2b24; }
.vv-scr__h small { font: 400 12px/normal var(--t-family); color: #7A8684; }
.vv-scr__g { display: flex; flex-direction: column; gap: 2px; }
.vv-scr__gh { font: 600 11px/normal var(--t-family); letter-spacing: .04em; text-transform: uppercase; color: #7A8684; padding: 0 8px 4px; }
.vv-scr__r { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 6px 8px; border-radius: 8px; text-align: left; cursor: pointer;
  font: 500 13px/normal var(--t-family); color: #1d2b24; transition: background var(--motion-fast, 120ms) var(--ease-standard, ease); }
.vv-scr__r code { font: 400 11px/normal ui-monospace, SFMono-Regular, Menlo, monospace; color: #7A8684; }
.vv-scr__r:hover { background: #F1F5F3; }
.vv-scr__r.is-on { background: #E3F0EC; color: #1F515B; }
.vv-scr__r.is-none { cursor: default; color: #A3ADAA; }
@media (max-width: 1260px) { .vv-scr { width: 390px; max-height: 420px; } }
/* a row wider than the window (Screens + phone + printed pass) starts at the left margin instead of being centred off-screen */
.stage-row { align-self: safe center; max-width: none; padding: 0 16px; box-sizing: border-box; }

/* ?shot=1: the Design hub's screenshot page, only the app screen (Sourav, 17 Nov: the hub mockup showed the Screens panel) */
[data-shot] #stage, [data-shot] #screens, [data-shot] #passside { display: none !important; }
/* at phone width the page is the phone (shared phone.css, ≤ 860): the row steps aside so the screen fills the window as before,
   and the reviewer panels (Screens, Printed pass) stay on wider screens only */
@media (max-width: 860px) {
  .stage-row { display: contents; }
  #screens, #passside { display: none !important; }
}
