/*
 * Voyager 2 - the drawn app screens (partials/screens.php).
 *
 * Every screen is sized in em against the width of its frame: the frame body is an inline-size
 * container and the screen's font-size is 1cqw (web) or 100cqw/39 (phone). So a web screen is laid
 * out on a 100em-wide canvas (1em = 12px at 1200px) and a phone screen on a 39em-wide one (1em =
 * 10px of the real 390pt phone): the numbers below are the apps' own px divided by 12 or by 10.
 *
 * The lines are the apps':
 *   web   (jnf-accesscontrol-pro)            the 120px black rail of square tiles, the #f1f5f9
 *         canvas, extra-bold titles with "(Results: N)", white rows of radius 8, the 450px detail
 *         drawer of radius 16 with the status ring and the shortcut tiles, pill buttons.
 *   phone (jnf-accesscontrol-corporate-mobile) dark first (#222 page, #1a1a1c cards), sage
 *         #8fb3a2, cards of radius 26, the round lock button, the pulsing status circle, the
 *         floating pill tab bar, the kicker + big title hero, the slow rings.
 */

/* ------------------------------------------------------------------ frames */
.vx-browser {
    border-radius: 18px;
    overflow: hidden;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 50px 120px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .2);
}
.vx-tone-light .vx-browser, .vx-tone-white .vx-browser { border-color: rgba(0, 0, 0, .08); box-shadow: 0 40px 100px rgba(15, 30, 25, .18); }
.vx-browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #171a19; }
.vx-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f3d; }
.vx-browser-bar i:nth-child(1) { background: #ff5f57; }
.vx-browser-bar i:nth-child(2) { background: #febc2e; }
.vx-browser-bar i:nth-child(3) { background: #28c840; }
.vx-browser-bar span {
    margin: 0 auto; transform: translateX(-20px);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 14px; border-radius: 8px; background: #0f1110;
    color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: .02em;
}
.vx-browser-bar span::before { content: ""; width: 7px; height: 9px; border: 1.5px solid currentColor; border-radius: 2px; border-top-width: 3px; }
.vx-browser-body { container-type: inline-size; aspect-ratio: 16 / 10.2; overflow: hidden; background: #f1f5f9; }

.vx-phone {
    position: relative;
    aspect-ratio: 9 / 19.2;
    padding: 2.6%;
    border-radius: 15% / 7%;
    background: linear-gradient(145deg, #2b302e, #121513);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 40px 90px rgba(0, 0, 0, .55);
}
.vx-phone-in { container-type: inline-size; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #222; position: relative; }
.vx-phone-in::before {
    content: ""; position: absolute; z-index: 9; top: 2.2%; left: 50%; translate: -50% 0;
    width: 30%; height: 3.4%; border-radius: 99px; background: #000;
}

/* ------------------------------------------------------------------ shared */
.vxs { height: 100%; position: relative; font-family: var(--vx-font); line-height: 1.35; overflow: hidden; text-align: left; }
.vxs svg.vx-ico { width: 1.6em; height: 1.6em; }
.vxs b { font-weight: 600; }
.vxs-dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: #44b700; box-shadow: 0 0 .5em rgba(68, 183, 0, .7); flex: none; }
.vxs-dot.is-off { background: #d32f2f; box-shadow: none; }
.vxs-dot.is-warn { background: #ed6c02; box-shadow: none; }

/* ================================================================== WEB (Pro back-office) */
.vxs-web {
    font-size: 1cqw;
    display: grid;
    grid-template-columns: 8.4em minmax(0, 1fr);
    background: #f1f5f9;
    color: #111827;
}

/* the rail */
.vxs-rail { background: #0f0f0f; color: rgba(255, 255, 255, .7); display: flex; flex-direction: column; align-items: center; gap: .5em; padding: 1.2em .7em; }
.vxs-rail-logo { width: 3.4em; height: 3.2em; margin-bottom: .9em; }
.vxs-rail-logo svg { width: 100%; height: 100%; }
.vxs-rail-item { width: 6.6em; height: 6em; border-radius: 1em; display: grid; place-items: center; align-content: center; gap: .35em; font-size: 1em; text-align: center; }
.vxs-rail-item svg.vx-ico { width: 2.1em; height: 2.1em; }
.vxs-rail-item span { font-size: .82em; font-weight: 500; line-height: 1.1; }
.vxs-rail-item.is-on { background: rgba(255, 255, 255, .1); color: #fff; }
.vxs-rail hr { width: 70%; border: 0; border-top: .15em solid rgba(255, 255, 255, .12); margin: .3em 0; }

/* the main column */
.vxs-main { display: flex; flex-direction: column; min-width: 0; }
.vxs-top { height: 4.8em; display: flex; align-items: center; gap: .9em; padding: 0 1.8em; flex: none; }
.vxs-top-search { display: flex; align-items: center; gap: .6em; height: 2.9em; padding: 0 1em; border-radius: 1.45em; background: #fff; color: #9ca3af; font-size: 1em; width: 18em; box-shadow: 0 .1em .3em rgba(0, 0, 0, .05); }
.vxs-top-search svg.vx-ico { width: 1.3em; height: 1.3em; }
.vxs-top-space { flex: 1; }
.vxs-top-ico { width: 2.9em; height: 2.9em; border-radius: 50%; display: grid; place-items: center; color: #374151; position: relative; }
.vxs-top-ico svg.vx-ico { width: 1.5em; height: 1.5em; }
.vxs-top-ico em { position: absolute; top: .2em; right: .1em; min-width: 1.35em; height: 1.35em; padding: 0 .3em; border-radius: .7em; background: #ef4444; color: #fff; font-size: .8em; font-style: normal; font-weight: 600; display: grid; place-items: center; }
.vxs-sub { display: flex; align-items: center; gap: .5em; height: 2.6em; padding: 0 .9em 0 .4em; border-radius: 1.3em; background: #fff; font-size: .95em; font-weight: 600; color: #374151; box-shadow: 0 .1em .3em rgba(0, 0, 0, .05); }
.vxs-sub i { width: 1.9em; height: 1.9em; border-radius: 50%; background: conic-gradient(#578577 0 72%, #e5e7eb 0); display: grid; place-items: center; }
.vxs-sub i::after { content: ""; width: 1.3em; height: 1.3em; border-radius: 50%; background: #fff; }
.vxs-avatar { width: 3em; height: 3em; border-radius: 50%; background: linear-gradient(135deg, #8fb3a2, #26453d); color: #fff; display: grid; place-items: center; font-size: 1em; font-weight: 600; position: relative; flex: none; }
.vxs-avatar::after { content: ""; position: absolute; right: -.05em; bottom: -.05em; width: .85em; height: .85em; border-radius: 50%; background: #44b700; border: .18em solid #f1f5f9; }

.vxs-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 31em; gap: 1.6em; padding: .4em 1.8em 1.8em; }
.vxs-body.no-drawer { grid-template-columns: minmax(0, 1fr); }
.vxs-col { min-width: 0; display: flex; flex-direction: column; gap: .9em; }
.vxs-title { display: flex; align-items: baseline; gap: .6em; }
.vxs-title h4 { font-size: 2.7em; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.vxs-title span { font-size: 1.1em; color: #6b7280; font-weight: 500; }
.vxs-title-tools { margin-left: auto; display: flex; gap: .4em; color: #374151; }
.vxs-title-tools i { width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.vxs-title-tools svg.vx-ico { width: 1.4em; height: 1.4em; }
.vxs-search { display: flex; align-items: center; gap: .6em; height: 3.2em; padding: 0 1.2em; border-radius: .8em; background: #fff; color: #9ca3af; font-size: 1.05em; box-shadow: 0 .1em .3em rgba(0, 0, 0, .04); }
.vxs-search svg.vx-ico { width: 1.3em; height: 1.3em; }

/* list rows */
.vxs-rows { display: grid; gap: .45em; }
.vxs-row { display: flex; align-items: center; gap: 1em; padding: .8em 1em; border-radius: .7em; background: #fff; box-shadow: 0 .08em .3em rgba(0, 0, 0, .06); font-size: 1em; }
.vxs-row.is-sel { box-shadow: 0 0 0 .14em #111827; }
.vxs-thumb { width: 3.4em; height: 3.4em; border-radius: 50%; background: #eef2f5; display: grid; place-items: center; color: #4b5563; position: relative; flex: none; }
.vxs-thumb svg.vx-ico { width: 1.6em; height: 1.6em; }
.vxs-thumb .vxs-dot { position: absolute; right: 0; bottom: 0; border: .15em solid #fff; width: .9em; height: .9em; }
.vxs-row-main { min-width: 0; flex: 1; display: grid; gap: .1em; }
.vxs-row-main b { font-size: 1.12em; display: flex; align-items: center; gap: .4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-row-main small { font-size: .92em; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-batt { display: inline-flex; align-items: center; gap: .2em; font-size: .85em; font-weight: 500; color: #4b5563; }
.vxs-batt svg.vx-ico { width: 1.5em; height: 1.5em; }
.vxs-batt.is-low { color: #f44336; }
.vxs-badges { display: flex; gap: .35em; }
.vxs-badge { position: relative; width: 2.5em; height: 2.5em; border-radius: 50%; display: grid; place-items: center; color: #374151; }
.vxs-badge svg.vx-ico { width: 1.35em; height: 1.35em; }
.vxs-badge em { position: absolute; top: -.1em; right: -.2em; min-width: 1.4em; height: 1.4em; padding: 0 .3em; border-radius: .7em; background: #0f0f0f; color: #fff; font-size: .75em; font-style: normal; font-weight: 600; display: grid; place-items: center; }
.vxs-badge.is-red em { background: #f44336; }
.vxs-badge.is-green em { background: #2e7d32; }
.vxs-fab { width: 2.9em; height: 2.9em; border-radius: 50%; background: #0f0f0f; color: #fff; display: grid; place-items: center; flex: none; }
.vxs-fab svg.vx-ico { width: 1.35em; height: 1.35em; }
.vxs-chip { display: inline-flex; align-items: center; gap: .35em; height: 2em; padding: 0 .8em; border-radius: 1em; font-size: .85em; font-weight: 600; background: #eef2f5; color: #374151; white-space: nowrap; }
.vxs-chip.is-ok { background: rgba(46, 125, 50, .14); color: #2e7d32; }
.vxs-chip.is-info { background: rgba(2, 136, 209, .14); color: #0277bd; }
.vxs-chip.is-warn { background: rgba(237, 108, 2, .14); color: #c25700; }
.vxs-chip.is-err { background: rgba(244, 67, 54, .12); color: #d32f2f; }
.vxs-chip.is-dark { background: #0f0f0f; color: #fff; }
.vxs-chip.is-amber { background: #f59e0b; color: #fff; }
.vxs-chip svg.vx-ico { width: 1.2em; height: 1.2em; }

/* the detail drawer */
.vxs-drawer { background: #fff; border-radius: 1.3em; padding: 1.5em; display: flex; flex-direction: column; gap: 1.1em; min-height: 0; overflow: hidden; box-shadow: -.1em 0 0 #e2e8f0; }
.vxs-drawer-head { display: flex; align-items: center; gap: .9em; }
.vxs-drawer-head .vxs-thumb { width: 4.4em; height: 4.4em; }
.vxs-drawer-head b { font-size: 1.35em; display: block; }
.vxs-drawer-head small { font-size: .9em; color: #6b7280; display: flex; align-items: center; gap: .3em; }
.vxs-drawer-head small svg.vx-ico { width: 1.1em; height: 1.1em; }
.vxs-drawer-flags { margin-left: auto; display: flex; gap: .35em; color: #374151; align-items: center; }
.vxs-drawer-flags svg.vx-ico { width: 1.3em; height: 1.3em; }
.vxs-tabs { display: flex; gap: .3em; border-bottom: .1em solid #e2e8f0; color: #6b7280; }
.vxs-tabs span { display: inline-flex; align-items: center; gap: .4em; padding: .55em .6em; font-size: .9em; font-weight: 600; }
.vxs-tabs span.is-on { color: #111827; box-shadow: inset 0 -.18em 0 #111827; }
.vxs-tabs svg.vx-ico { width: 1.4em; height: 1.4em; }
.vxs-hero-card { display: flex; align-items: center; gap: 1.2em; padding: 1.2em; border-radius: 1.2em; background: linear-gradient(90deg, rgba(46, 125, 50, .12), rgba(46, 125, 50, 0)); }
.vxs-ring { width: 7.4em; height: 7.4em; border-radius: 50%; display: grid; place-items: center; border: .25em solid rgba(46, 125, 50, .25); position: relative; flex: none; }
.vxs-ring > i { width: 6.2em; height: 6.2em; border-radius: 50%; background: #2e7d32; color: #fff; display: grid; place-items: center; }
.vxs-ring > i svg.vx-ico { width: 2.4em; height: 2.4em; }
.vxs-ring::before, .vxs-ring::after { content: ""; position: absolute; inset: -.25em; border-radius: 50%; border: .2em solid #2e7d32; animation: vx-pulse 2.2s ease-out infinite; }
.vxs-ring::after { animation-delay: 1.1s; }
.vxs-hero-card b { font-size: 1.35em; display: block; margin-bottom: .4em; }
.vxs-states { display: flex; gap: .5em; flex-wrap: wrap; align-items: center; }
.vxs-label { font-size: .85em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.vxs-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55em; }
.vxs-tile { padding: .8em .6em; border-radius: .85em; background: #f1f5f9; display: grid; gap: .25em; justify-items: center; text-align: center; }
.vxs-tile svg.vx-ico { width: 1.8em; height: 1.8em; color: #374151; }
.vxs-tile small { font-size: .78em; color: #6b7280; line-height: 1.15; }
.vxs-tile b { font-size: .98em; }
.vxs-tile b.is-ok { color: #2e7d32; }
.vxs-btn { margin-top: auto; height: 3.4em; border-radius: 1.7em; background: #0f0f0f; color: #fff; display: flex; align-items: center; justify-content: center; gap: .6em; font-size: 1.1em; font-weight: 600; flex: none; }
.vxs-btn svg.vx-ico { width: 1.3em; height: 1.3em; }

/* the filter sidebar */
.vxs-body.has-side { grid-template-columns: 15em minmax(0, 1fr) 29em; }
.vxs-side { display: flex; flex-direction: column; gap: .3em; padding-top: .3em; }
.vxs-side-t { font-size: .85em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; padding: .6em .4em; }
.vxs-side span { display: flex; align-items: center; gap: .55em; padding: .6em .7em; border-radius: .7em; font-size: 1em; font-weight: 500; color: #374151; }
.vxs-side span svg.vx-ico { width: 1.35em; height: 1.35em; }
.vxs-side span em { margin-left: auto; font-style: normal; font-size: .85em; color: #6b7280; }
.vxs-side span.is-on { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 .08em .3em rgba(0, 0, 0, .06); }
.vxs-side span.lv2 { padding-left: 2.2em; }
.vxs-side span.lv3 { padding-left: 3.6em; }

/* dashboard */
.vxs-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.vxs-kpi { background: #fff; border-radius: 1.1em; padding: 1.2em 1.3em; display: grid; gap: .3em; box-shadow: 0 .08em .3em rgba(0, 0, 0, .05); }
.vxs-kpi small { font-size: .82em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b7280; }
.vxs-kpi b { font-size: 2.6em; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.vxs-kpi b span { font-size: .5em; color: #9ca3af; font-weight: 600; }
.vxs-kpi .vxs-bar { height: .45em; border-radius: .3em; background: #eef2f5; overflow: hidden; }
.vxs-kpi .vxs-bar i { display: block; height: 100%; width: var(--w, 50%); background: #26453d; border-radius: inherit; }
.vxs-grid2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1em; flex: 1; min-height: 0; }
.vxs-panel { background: #fff; border-radius: 1.1em; padding: 1.2em 1.3em; display: flex; flex-direction: column; gap: .7em; box-shadow: 0 .08em .3em rgba(0, 0, 0, .05); min-height: 0; overflow: hidden; }
.vxs-panel-h { display: flex; align-items: center; justify-content: space-between; font-size: 1.1em; font-weight: 600; }
.vxs-panel-h small { font-size: .78em; color: #6b7280; font-weight: 500; }
.vxs-chart { flex: 1; display: flex; align-items: flex-end; gap: .55em; padding-top: .6em; min-height: 9em; border-bottom: .1em solid #e2e8f0; }
.vxs-chart i { flex: 1; height: var(--h); border-radius: .4em .4em .1em .1em; background: linear-gradient(180deg, #578577, #26453d); transform-origin: bottom; animation: vxs-grow 1.4s var(--vx-ease) both; animation-delay: calc(var(--k) * 60ms); }
.vxs-chart i:last-child { background: linear-gradient(180deg, #8fb3a2, #578577); }
@keyframes vxs-grow { from { transform: scaleY(0); } }
.vxs-mini { display: grid; gap: .5em; }
.vxs-mini div { display: flex; align-items: center; gap: .6em; font-size: .95em; }
.vxs-mini div span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-mini div small { color: #6b7280; }
.vxs-feed-list { display: grid; gap: .5em; }
.vxs-feed-list .vx-feed-row { display: flex; align-items: center; gap: .7em; padding: .55em .6em; border-radius: .7em; background: #f8fafc; font-size: .95em; transition: background 1.2s, transform .6s var(--vx-ease), opacity .6s; }
.vxs-feed-list .vx-feed-row.is-new { background: rgba(87, 133, 119, .18); transform: translateY(-.6em); opacity: 0; }
.vx-feed-row > i { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #eef2f5; color: #374151; position: relative; flex: none; }
.vx-feed-row > i svg.vx-ico { width: 1.25em; height: 1.25em; }
.vx-feed-row > i .vxs-dot { position: absolute; right: -.1em; bottom: -.1em; width: .75em; height: .75em; border: .14em solid #fff; }
.vx-feed-row div { min-width: 0; flex: 1; display: grid; }
.vx-feed-row div b { font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-feed-row div small { font-size: .85em; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-feed-row > em { font-style: normal; font-size: .8em; color: #9ca3af; white-space: nowrap; }
.vxs-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.vxs-quick span { height: 3em; border-radius: 1.5em; background: #0f0f0f; color: #fff; display: flex; align-items: center; justify-content: center; gap: .5em; font-size: .95em; font-weight: 600; }
.vxs-quick span + span { background: #fff; color: #111827; box-shadow: inset 0 0 0 .1em #d1d5db; }
.vxs-quick svg.vx-ico { width: 1.25em; height: 1.25em; }

/* table (logs) */
.vxs-table { background: #fff; border-radius: 1em; overflow: hidden; box-shadow: 0 .08em .3em rgba(0, 0, 0, .05); font-size: .95em; }
.vxs-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.vxs-table th { text-align: left; font-size: .85em; font-weight: 600; color: #6b7280; padding: .9em .8em; background: #f8fafc; border-bottom: .1em solid #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-table td { padding: .75em .8em; border-bottom: .1em solid #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.vxs-table td .vxs-chip { height: 1.8em; font-size: .8em; }
.vxs-table td svg.vx-ico { width: 1.25em; height: 1.25em; vertical-align: -.25em; margin-right: .3em; }

/* tree (areas) */
.vxs-tree { display: grid; gap: .4em; }
.vxs-node { display: flex; align-items: center; gap: .7em; padding: .7em .9em; border-radius: .7em; background: #fff; box-shadow: 0 .08em .3em rgba(0, 0, 0, .05); position: relative; }
.vxs-node.lv2 { margin-left: 2.6em; }
.vxs-node.lv3 { margin-left: 5.2em; }
.vxs-node.lv2::before, .vxs-node.lv3::before { content: ""; position: absolute; left: -1.5em; top: 50%; width: 1.2em; border-top: .12em solid #cbd5e1; }
.vxs-node > i { width: 2.6em; height: 2.6em; border-radius: .7em; background: #eef2f5; display: grid; place-items: center; color: #374151; flex: none; }
.vxs-node > i svg.vx-ico { width: 1.35em; height: 1.35em; }
.vxs-node div { flex: 1; min-width: 0; display: grid; }
.vxs-node b { font-size: 1.05em; }
.vxs-node small { font-size: .85em; color: #6b7280; }
.vxs-node .vxs-handle { color: #cbd5e1; }

/* hotel calendar */
.vxs-cal { background: #fff; border-radius: 1em; padding: 1em; box-shadow: 0 .08em .3em rgba(0, 0, 0, .05); display: grid; grid-template-columns: 7.5em repeat(10, minmax(0, 1fr)); font-size: .92em; row-gap: .45em; }
.vxs-cal > span { padding: .5em .3em; color: #6b7280; font-size: .85em; font-weight: 600; text-align: center; }
.vxs-cal > span:first-child { text-align: left; }
.vxs-cal > b { padding: .55em .3em; font-weight: 600; display: flex; align-items: center; gap: .4em; white-space: nowrap; }
.vxs-cal > b .vxs-dot { width: .6em; height: .6em; }
.vxs-cal > i { height: 2.3em; border-radius: .6em; display: flex; align-items: center; padding: 0 .7em; font-style: normal; font-size: .85em; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; margin: 0 .1em; }
.vxs-cal > i.c1 { background: #26453d; }
.vxs-cal > i.c2 { background: #578577; }
.vxs-cal > i.c3 { background: #8fb3a2; color: #0f1211; }
.vxs-cal > i.c4 { background: #0288d1; }
.vxs-cal > i.gap { background: transparent; }

/* customers */
.vxs-cust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em; }
.vxs-cust > div { background: #fff; border-radius: 1em; padding: 1.1em; display: grid; gap: .7em; box-shadow: 0 .08em .3em rgba(0, 0, 0, .05); }
.vxs-cust-h { display: flex; align-items: center; gap: .8em; }
.vxs-cust-h i { width: 3.2em; height: 3.2em; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#2e7d32 0 var(--p, 100%), #ed6c02 0); position: relative; flex: none; }
.vxs-cust-h i::after { content: ""; position: absolute; inset: .3em; border-radius: 50%; background: #fff; }
.vxs-cust-h i svg.vx-ico { position: relative; z-index: 1; width: 1.4em; height: 1.4em; color: #374151; }
.vxs-cust-h div { flex: 1; min-width: 0; display: grid; }
.vxs-cust-h b { font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-cust-h small { font-size: .85em; color: #6b7280; }
.vxs-cust-n { display: flex; gap: .4em; flex-wrap: wrap; }

/* ================================================================== PHONE (Corporate app) */
.vxs-m {
    font-size: calc(100cqw / 39);
    background: #222;
    color: #fff;
    padding: 5.4em 2em 0;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    --m-card: #1a1a1c;
    --m-muted: rgba(255, 255, 255, .5);
    --m-line: rgba(255, 255, 255, .08);
    --m-acc: #8fb3a2;
}
.vxs-m::before, .vxs-m::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.vxs-m::before { width: 56em; height: 56em; top: -30em; right: -32em; border: 6em solid rgba(255, 255, 255, .04); }
.vxs-m::after { width: 38em; height: 38em; top: -15em; right: -17em; border: .25em solid transparent; border-top-color: var(--m-acc); border-right-color: var(--m-acc); opacity: .6; animation: vx-spin 30s linear infinite; }
.vxs-m > * { position: relative; z-index: 1; }
.vxs-status { position: absolute; top: 4.6cqw; left: 9cqw; right: 8cqw; display: flex; justify-content: space-between; align-items: center; font-family: var(--vx-font); font-size: calc(100cqw / 39 * 1.3); font-weight: 600; color: #fff; z-index: 10; }
.vxs-status span { display: inline-flex; gap: .3em; align-items: center; }
.vxs-status svg.vx-ico { width: 1.15em; height: 1.15em; }
.vxs-m-top { display: flex; align-items: center; justify-content: space-between; }
.vxs-pill { display: inline-flex; align-items: center; gap: .5em; height: 3.6em; padding: 0 1.4em; border-radius: 1.8em; border: .1em solid rgba(255, 255, 255, .12); font-size: 1.3em; font-weight: 500; }
.vxs-pill svg.vx-ico { width: 1.1em; height: 1.1em; transform: rotate(180deg); }
.vxs-round { width: 4.6em; height: 4.6em; border-radius: 50%; display: grid; place-items: center; border: .1em solid rgba(255, 255, 255, .12); background: var(--m-card); flex: none; }
.vxs-round svg.vx-ico { width: 2em; height: 2em; }
.vxs-kicker { font-size: 1.2em; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--m-acc); }
.vxs-h { font-size: 2.6em; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.vxs-m-sub { font-size: 1.25em; color: var(--m-muted); margin-top: -.6em; }
.vxs-m-search { display: flex; gap: .8em; }
.vxs-m-search > span { flex: 1; display: flex; align-items: center; gap: .7em; height: 5.2em; padding: 0 1.6em; border-radius: 2.6em; background: rgba(255, 255, 255, .03); border: .15em solid rgba(255, 255, 255, .14); color: var(--m-muted); font-size: 1.1em; }
.vxs-m-search > span svg.vx-ico { width: 1.4em; height: 1.4em; }
.vxs-m-search .vxs-round { width: 5.2em; height: 5.2em; }
.vxs-ptabs { display: flex; padding: .5em; border-radius: 2.6em; background: rgba(255, 255, 255, .05); }
.vxs-ptabs span { flex: 1; height: 4.2em; border-radius: 2.1em; display: grid; place-items: center; font-size: 1.25em; font-weight: 500; color: var(--m-muted); white-space: nowrap; }
.vxs-ptabs span.is-on { background: var(--m-card); color: #fff; font-weight: 600; box-shadow: 0 .4em 1.4em rgba(0, 0, 0, .3); }
.vxs-ptabs span svg.vx-ico { width: 1.4em; height: 1.4em; }
.vxs-mcards { display: grid; gap: 1.2em; }
.vxs-mcard { display: flex; align-items: center; gap: 1.2em; padding: 1.4em; border-radius: 2.6em; background: var(--m-card); box-shadow: 0 .8em 2.6em rgba(0, 0, 0, .45); }
.vxs-mtile { width: 5.6em; height: 5.6em; border-radius: 2em; background: rgba(255, 255, 255, .05); display: grid; place-items: center; color: rgba(255, 255, 255, .7); position: relative; flex: none; }
.vxs-mtile svg.vx-ico { width: 2.6em; height: 2.6em; }
.vxs-mtile .vxs-dot { position: absolute; right: -.1em; bottom: -.1em; width: 1.6em; height: 1.6em; border: .3em solid var(--m-card); box-shadow: none; background: #66bb6a; }
.vxs-mtile .vxs-dot.is-off { background: #c81a1a; }
.vxs-mcard-main { flex: 1; min-width: 0; display: grid; gap: .25em; }
.vxs-mcard-main b { font-size: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-mcard-main small { font-size: 1.2em; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: .3em; }
.vxs-mcard-main small svg.vx-ico { width: 1.1em; height: 1.1em; flex: none; }
.vxs-mmeta { display: flex; gap: .9em; font-size: 1.1em; font-weight: 500; color: rgba(255, 255, 255, .7); align-items: center; }
.vxs-mmeta span { display: inline-flex; align-items: center; gap: .3em; }
.vxs-mmeta svg.vx-ico { width: 1.3em; height: 1.3em; }
.vxs-mmeta .is-low { color: #ff5c5c; }
.vxs-lockbtn { width: 5.2em; height: 5.2em; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; flex: none; position: relative; }
.vxs-lockbtn svg.vx-ico { width: 2.2em; height: 2.2em; }
.vxs-lockbtn.is-off { background: rgba(255, 255, 255, .08); color: #fff; }
.vxs-lockbtn .vxs-bt { position: absolute; right: -.3em; bottom: -.3em; width: 2.2em; height: 2.2em; border-radius: 50%; background: #2979ff; color: #fff; display: grid; place-items: center; border: .25em solid var(--m-card); }
.vxs-lockbtn .vxs-bt svg.vx-ico { width: 1.1em; height: 1.1em; }
/* the opening loop on the first card: tap, spin, green */
.vxs-lockbtn.is-anim { animation: vxs-tap 6s var(--vx-ease) infinite; }
.vxs-lockbtn.is-anim .o, .vxs-lockbtn.is-anim .c { grid-area: 1 / 1; transition: opacity .2s; }
.vxs-lockbtn.is-anim .o { animation: vxs-show 6s infinite; opacity: 0; }
.vxs-lockbtn.is-anim .c { animation: vxs-hide 6s infinite; }
.vxs-lockbtn.is-anim::after { content: ""; position: absolute; inset: -.4em; border-radius: 50%; border: .3em solid transparent; border-top-color: var(--m-acc); animation: vxs-busy 6s linear infinite; opacity: 0; }
@keyframes vxs-tap {
    0%, 18% { background: #fff; color: #111; transform: scale(1); }
    20% { transform: scale(.9); }
    24%, 38% { background: #fff; transform: scale(1); }
    42%, 88% { background: #66bb6a; color: #fff; }
    92%, 100% { background: #fff; color: #111; }
}
@keyframes vxs-show { 0%, 40% { opacity: 0; } 42%, 88% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes vxs-hide { 0%, 40% { opacity: 1; } 42%, 88% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes vxs-busy { 0%, 21% { opacity: 0; transform: rotate(0); } 22% { opacity: 1; } 40% { opacity: 1; transform: rotate(540deg); } 41%, 100% { opacity: 0; transform: rotate(540deg); } }

.vxs-tabbar {
    position: absolute; z-index: 5; left: 1.4em; right: 1.4em; bottom: 1.8em;
    height: 7.4em; padding: .7em; border-radius: 3.7em;
    background: var(--m-card); border: .1em solid rgba(255, 255, 255, .06);
    box-shadow: 0 .8em 2.6em rgba(0, 0, 0, .5);
    display: flex; align-items: center; justify-content: space-between;
}
.vxs-tabbar::before { content: ""; position: absolute; left: -1.4em; right: -1.4em; bottom: -1.8em; height: 14em; background: linear-gradient(transparent, #222 55%); z-index: -1; }
.vxs-tabbar span { height: 6em; min-width: 4.6em; border-radius: 3em; display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.vxs-tabbar span svg.vx-ico { width: 2.2em; height: 2.2em; }
.vxs-tabbar span.is-on { display: flex; gap: .5em; padding: 0 1.4em; white-space: nowrap; background: rgba(143, 179, 162, .12); color: var(--m-acc); font-size: 1em; }
.vxs-tabbar span.is-on b { font-size: 1.3em; }

/* device detail */
.vxs-dhead { display: flex; align-items: center; gap: 1.4em; }
.vxs-dhead .vxs-mtile { width: 7.6em; height: 7.6em; border-radius: 2.6em; }
.vxs-dhead .vxs-mtile .vxs-dot { width: 2em; height: 2em; }
.vxs-status-card { display: flex; align-items: center; gap: 1.8em; padding: 2.2em; border-radius: 3em; background: var(--m-card); box-shadow: 0 .8em 2.6em rgba(0, 0, 0, .45); }
.vxs-pulse { width: 8.4em; height: 8.4em; border-radius: 50%; display: grid; place-items: center; position: relative; flex: none; background: #66bb6a; color: #fff; animation: vxs-pulse-bg 6s infinite; }
.vxs-pulse::before, .vxs-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .2em solid #66bb6a; animation: vx-pulse 2s ease-out infinite; }
.vxs-pulse::after { animation-delay: 1s; }
.vxs-pulse svg.vx-ico { width: 3.2em; height: 3.2em; grid-area: 1 / 1; }
.vxs-pulse .o { opacity: 0; animation: vxs-show 6s infinite; }
.vxs-pulse .c { animation: vxs-hide 6s infinite; }
@keyframes vxs-pulse-bg { 0%, 40%, 90%, 100% { background: #26453d; } 42%, 88% { background: #66bb6a; } }
.vxs-status-card b { font-size: 2em; display: block; line-height: 1.2; }
.vxs-mpill { display: inline-flex; align-items: center; gap: .5em; margin-top: .6em; height: 2.6em; padding: 0 1.1em; border-radius: 1.3em; background: rgba(102, 187, 106, .14); color: #66bb6a; font-size: 1.2em; font-weight: 600; }
.vxs-mpill .vxs-dot { width: .7em; height: .7em; background: #66bb6a; box-shadow: none; }
.vxs-mchips { display: flex; gap: .7em; }
.vxs-mchip { display: inline-flex; align-items: center; gap: .5em; height: 3.4em; padding: 0 1.2em; border-radius: 2em; font-size: 1.15em; font-weight: 600; background: rgba(100, 181, 246, .12); color: #64b5f6; white-space: nowrap; }
.vxs-mchip svg.vx-ico { width: 1.3em; height: 1.3em; }
.vxs-mchip.is-ok { background: rgba(102, 187, 106, .12); color: #66bb6a; }
.vxs-mlabel { font-size: 1.2em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.vxs-mtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.vxs-mtiles > div { padding: 1.4em 1.2em; border-radius: 2.2em; background: var(--m-card); display: grid; gap: .5em; }
.vxs-mtiles > div i { width: 3.8em; height: 3.8em; border-radius: 50%; background: rgba(255, 255, 255, .05); display: grid; place-items: center; color: rgba(255, 255, 255, .75); }
.vxs-mtiles > div i svg.vx-ico { width: 1.8em; height: 1.8em; }
.vxs-mtiles small { font-size: 1.1em; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxs-mtiles b { font-size: 1.5em; }
.vxs-mtiles b.is-ok { color: #66bb6a; }
.vxs-cta { height: 5.8em; border-radius: 2.9em; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; gap: .6em; font-size: 1.6em; font-weight: 600; flex: none; }
.vxs-cta svg.vx-ico { width: 1.2em; height: 1.2em; }
.vxs-door-row { display: flex; gap: .9em; align-items: center; }
.vxs-door-row .vxs-cta { flex: 1; font-size: 1.6em; height: 5.8em; }
.vxs-door-row .vxs-round { width: 5.8em; height: 5.8em; }

/* key wizard */
.vxs-field { display: grid; gap: .5em; }
.vxs-field small { font-size: 1.15em; color: var(--m-muted); }
.vxs-field > span { display: flex; align-items: center; gap: .8em; height: 6.2em; padding: 0 1.6em; border-radius: 1.8em; background: rgba(255, 255, 255, .03); border: .15em solid rgba(255, 255, 255, .14); font-size: 1.45em; font-weight: 500; }
.vxs-field > span.is-focus { border-color: var(--m-acc); box-shadow: 0 0 0 .4em rgba(143, 179, 162, .14); }
.vxs-field > span svg.vx-ico { margin-left: auto; color: var(--m-acc); width: 1.5em; height: 1.5em; }
.vxs-field > span.is-focus svg.vx-ico { animation: vxs-nfc 1.6s ease-in-out infinite; }
@keyframes vxs-nfc { 50% { opacity: .35; transform: scale(.85); } }
.vxs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.vxs-row2 .vxs-field > span { font-size: 1.25em; }
.vxs-days { display: flex; gap: .5em; }
.vxs-days span { flex: 1; height: 3.8em; border-radius: 1.9em; display: grid; place-items: center; font-size: 1.1em; font-weight: 600; background: rgba(255, 255, 255, .05); color: var(--m-muted); }
.vxs-days span.is-on { background: rgba(143, 179, 162, .16); color: var(--m-acc); }
.vxs-nfc-wave { display: flex; align-items: center; gap: 1.2em; padding: 1.4em; border-radius: 2.2em; background: rgba(143, 179, 162, .08); border: .1em dashed rgba(143, 179, 162, .4); font-size: 1.2em; color: var(--m-acc); }
.vxs-nfc-wave i { width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; background: rgba(143, 179, 162, .15); position: relative; flex: none; }
.vxs-nfc-wave i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .15em solid var(--m-acc); animation: vx-pulse 1.8s ease-out infinite; }

/* logs (phone) */
.vxs-mlog { display: flex; align-items: center; gap: 1.2em; padding: 1.3em; border-radius: 2.4em; background: var(--m-card); }
.vxs-mlog .vxs-mtile { width: 5em; height: 5em; border-radius: 1.8em; }
.vxs-mlog .vxs-mtile svg.vx-ico { width: 2.2em; height: 2.2em; }
.vxs-mlog .vxs-mtile .vxs-dot { width: 1.4em; height: 1.4em; }
.vxs-mlog .vxs-mcard-main b { font-size: 1.4em; }
.vxs-mlog .vxs-mcard-main small { font-size: 1.1em; }

/* phone home */
.vxs-hello { display: flex; align-items: center; gap: 1.2em; }
.vxs-hello .vxs-av { width: 5.4em; height: 5.4em; border-radius: 50%; background: linear-gradient(135deg, #8fb3a2, #26453d); display: grid; place-items: center; font-size: 1.6em; font-weight: 600; position: relative; flex: none; }
.vxs-hello .vxs-av::after { content: ""; position: absolute; inset: -.35em; border-radius: 50%; border: .12em solid transparent; border-top-color: var(--m-acc); border-left-color: var(--m-acc); animation: vx-spin 6s linear infinite; }
.vxs-hello div { flex: 1; display: grid; }
.vxs-hello small { font-size: 1.3em; color: rgba(255, 255, 255, .55); }
.vxs-hello b { font-size: 2.2em; letter-spacing: -.02em; }
.vxs-wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.vxs-w { padding: 1.6em; border-radius: 2.6em; background: var(--m-card); display: grid; gap: .5em; align-content: start; }
.vxs-w small { font-size: 1.15em; color: var(--m-muted); }
.vxs-w b { font-size: 4.2em; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.vxs-w b span { font-size: .4em; color: var(--m-muted); letter-spacing: 0; }
.vxs-w .vxs-bar { height: .6em; border-radius: .3em; background: rgba(255, 255, 255, .08); overflow: hidden; }
.vxs-w .vxs-bar i { display: block; height: 100%; width: var(--w); background: var(--m-acc); border-radius: inherit; }
.vxs-w.wide { grid-column: 1 / -1; }
.vxs-w .vxs-chart { min-height: 8em; border-color: rgba(255, 255, 255, .08); gap: .6em; }
.vxs-w .vxs-chart i { background: linear-gradient(180deg, #8fb3a2, #578577); }
