/*
 * Voyager Support - what the help centre adds to voyager_pro's sheet (theme.css, screens.css).
 *
 * Every component reads the section's tokens (--s-bg, --s-ink, --s-card, --s-line, --s-accent...)
 * so it works on the dark, light and white grounds, like the rest of the theme. The drawn support
 * screens (vss-*) are sized in em against their frame, as screens.css explains: 1em is 1/39 of a
 * phone's width, and 1/100 of a browser's.
 *
 * Breakpoints (theme.json): 1280, 991, 767, 479.
 */

/* ================================================================== shared bits */
.vs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-chip {
    display: inline-flex; align-items: center; gap: 7px;
    min-height: 38px; padding: 0 16px; border-radius: 19px;
    border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-ink);
    font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: border-color .2s, background .2s, color .2s, transform .2s var(--vx-ease);
}
.vs-chip .vx-ico { width: 16px; height: 16px; color: var(--s-accent); }
.vs-chip:hover { border-color: var(--s-accent); }
.vs-chip:active { transform: scale(.97); }
.vs-chip.is-on { background: var(--s-ink); color: var(--s-bg); border-color: var(--s-ink); }
.vs-chip.is-on .vx-ico { color: inherit; }

.vs-pill {
    display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 11px; border-radius: 14px;
    font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
    background: color-mix(in srgb, var(--s-ink) 6%, transparent); color: var(--s-ink);
}
.vs-pill .vx-ico { width: 14px; height: 14px; }
.vs-pill-guide { background: color-mix(in srgb, var(--vx-info) 16%, transparent); color: color-mix(in srgb, var(--vx-info) 70%, var(--s-ink)); }
.vs-pill-faq   { background: color-mix(in srgb, var(--vx-accent) 22%, transparent); color: color-mix(in srgb, var(--vx-deep) 60%, var(--s-ink)); }
.vs-pill-fix   { background: color-mix(in srgb, var(--vx-warn) 20%, transparent); color: color-mix(in srgb, #b26a00 75%, var(--s-ink)); }
.vs-pill-error { background: color-mix(in srgb, var(--vx-err) 16%, transparent); color: color-mix(in srgb, var(--vx-err) 80%, var(--s-ink)); }
.vx-tone-dark .vs-pill-faq, .vs-phead .vs-pill-faq { color: var(--vx-accent-2); }
.vs-pill.is-line { background: transparent; border: 1px solid var(--s-line); color: var(--s-muted); }
a.vs-pill:hover { color: var(--s-accent); }

.vs-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--s-accent); }
.vs-more .vx-ico { width: 16px; height: 16px; transition: transform .25s var(--vx-ease); }
.vs-more:hover .vx-ico { transform: translateX(3px); }
.vs-empty { color: var(--s-muted); padding: 18px 4px; }
.vs-mini-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.vs-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.vs-head-row .vx-head { margin-bottom: 0; }

/* ------------------------------------------------------------------ the search box */
.vs-search { position: relative; width: 100%; max-width: 600px; z-index: 5; }
.vs-search-box {
    display: flex; align-items: center; gap: 12px;
    height: 66px; padding: 0 8px 0 22px; border-radius: 33px;
    background: var(--s-card); border: 1.5px solid var(--s-line); color: var(--s-muted);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
    transition: border-color .2s, box-shadow .2s;
}
.vs-search-box:focus-within { border-color: var(--s-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--s-accent) 18%, transparent), 0 18px 50px rgba(0, 0, 0, .18); }
.vs-search-box > .vx-ico { width: 22px; height: 22px; flex: none; }
.vs-search-box input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
    color: var(--s-ink); font: inherit; font-size: 16px;
}
.vs-search-box input::placeholder { color: var(--s-muted); }
.vs-search-box kbd {
    font: 600 12px var(--vx-font); padding: 4px 9px; border-radius: 8px; flex: none;
    border: 1px solid var(--s-line); color: var(--s-muted);
}
.vs-search-box .vx-btn { min-height: 50px; flex: none; }
.vs-search-box.is-small { height: 54px; padding: 0 18px; box-shadow: none; max-width: 440px; width: 100%; }
.vs-search-box.is-small input { font-size: 15px; }

.vs-search-results {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    max-height: min(62vh, 520px); overflow: auto; padding: 8px;
    border-radius: 24px; background: var(--vx-card); border: 1px solid var(--vx-line);
    box-shadow: var(--vx-shadow-lg); color: var(--vx-ink);
    -webkit-overflow-scrolling: touch;
}
.vs-sr {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start;
    padding: 12px 14px; border-radius: 16px;
}
.vs-sr:hover, .vs-sr.is-active { background: rgba(255, 255, 255, .06); }
.vs-sr i { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--vx-accent); }
.vs-sr i .vx-ico { width: 18px; height: 18px; }
.vs-sr b { font-size: 15px; font-weight: 600; line-height: 1.35; }
.vs-sr b mark { background: color-mix(in srgb, var(--vx-accent) 35%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; }
.vs-sr small { color: var(--vx-muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vs-sr-all { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; margin-top: 4px; border-top: 1px solid var(--vx-line); font-weight: 600; font-size: 14px; color: var(--vx-accent); }
.vs-sr-none { padding: 18px; color: var(--vx-muted); font-size: 14px; }

.vs-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 600px; }
.vs-popular small { color: var(--s-muted); font-size: 13px; margin-right: 4px; }
.vs-popular .vs-chip { min-height: 34px; font-size: 13px; background: color-mix(in srgb, var(--s-card) 70%, transparent); }

/* the hero: the floating answers are links */
.vs-hero .vx-hero-copy { gap: 24px; }
.vs-hero .vx-toast.vs-answer { white-space: normal; max-width: 290px; pointer-events: auto; cursor: pointer; }
.vs-hero .vx-toast.vs-answer:hover { border-color: var(--vx-accent); }
.vs-hero .vx-toast.vs-answer b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================================================================== the app chooser */
.vs-paths { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.vs-paths-tabs { display: grid; gap: 10px; position: sticky; top: calc(var(--vx-header) + 24px); }
.vs-paths-tab {
    display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
    padding: 16px 18px; border-radius: 22px; cursor: pointer;
    background: var(--s-card); border: 1px solid var(--s-line); color: var(--s-ink);
    transition: border-color .25s, background .25s, transform .25s var(--vx-ease);
}
.vs-paths-tab:hover { transform: translateX(3px); }
.vs-paths-tab i { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--s-ink) 6%, transparent); color: var(--s-accent); }
.vs-paths-tab span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vs-paths-tab b { font-size: 16px; font-weight: 600; }
.vs-paths-tab small { font-size: 13px; color: var(--s-muted); line-height: 1.4; }
.vs-paths-tab > .vx-ico { width: 18px; height: 18px; opacity: .35; transition: opacity .2s; }
.vs-paths-tab.is-on { border-color: var(--s-accent); background: color-mix(in srgb, var(--s-accent) 10%, var(--s-card)); }
.vs-paths-tab.is-on > .vx-ico { opacity: 1; color: var(--s-accent); }
.vs-paths-panel {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; align-items: center;
    padding: 40px; border-radius: var(--vx-r-lg); background: var(--s-card); border: 1px solid var(--s-line);
    animation: vs-in .45s var(--vx-ease);
}
.vs-paths-copy { display: grid; gap: 18px; justify-items: start; }
.vs-paths-copy .vx-h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.vs-paths-copy .vx-lead { font-size: 16px; }
.vs-paths-screen { justify-self: center; width: 100%; }
.vs-paths-screen.is-phone { max-width: 250px; }
.vs-stores .vx-store { height: 48px; padding: 0 14px 0 12px; border-radius: 14px; font-size: 14px; }
@keyframes vs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ================================================================== downloads */
.vs-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.vs-dl {
    display: grid; gap: 18px; align-content: start; padding: 30px;
    border-radius: var(--vx-r); background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--vx-shadow);
}
.vs-dl-head { display: flex; align-items: center; gap: 16px; }
.vs-dl-mark { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; flex: none; background: var(--vx-grad-d); color: #fff; }
.vs-dl-mark .vx-ico { width: 28px; height: 28px; }
.vs-dl h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.vs-dl small { color: var(--s-muted); font-size: 13px; }
.vs-dl > p { color: var(--s-muted); font-size: 15px; }
.vs-dl-platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-dl-platforms span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--s-ink) 6%, transparent); }
.vs-dl-platforms .vx-brand, .vs-dl-platforms .vx-ico { width: 15px; height: 15px; }
.vs-dl .vx-stores { gap: 8px; }
.vs-dl .vx-store { height: 44px; padding: 0 12px 0 10px; border-radius: 12px; font-size: 13px; gap: 8px; }
.vs-dl .vx-store small { font-size: 9px; }
.vs-dl .vx-store .vx-brand { width: 20px; height: 20px; }
.vs-dl-extra { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--s-accent); }
.vs-dl-extra .vx-ico { width: 18px; height: 18px; }

/* ================================================================== topics */
.vs-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.vs-topic {
    position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start;
    padding: 28px; border-radius: var(--vx-r); background: var(--s-card); border: 1px solid var(--s-line);
    box-shadow: var(--vx-shadow); transition: transform .3s var(--vx-ease), border-color .3s;
}
.vs-topic:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--s-accent) 45%, transparent); }
.vs-topic-head { display: flex; justify-content: space-between; align-items: center; }
.vs-topic-head i { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--s-accent) 12%, transparent); color: var(--s-accent); }
.vs-topic-head i .vx-ico { width: 24px; height: 24px; }
.vs-count { font-size: 12px; font-weight: 600; color: var(--s-muted); letter-spacing: .04em; }
.vs-topic h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.vs-topic h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.vs-topic p { color: var(--s-muted); font-size: 14px; }
.vs-topic ul { display: grid; gap: 6px; margin-top: 4px; position: relative; z-index: 1; }
.vs-topic li a, .vs-topic li > span { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.vs-topic li .vx-ico { width: 14px; height: 14px; margin-top: 4px; color: var(--s-accent); flex: none; }
.vs-topic li a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ================================================================== guided diagnosis */
.vs-dx { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.vs-dx-pick { display: grid; gap: 20px; }
.vs-dx-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--s-muted); }
.vs-dx-group { display: grid; gap: 10px; }
.vs-dx-topic { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--s-accent); }
.vs-dx-topic .vx-ico { width: 16px; height: 16px; }
.vs-dx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-dx-chips .vs-chip { white-space: normal; text-align: left; min-height: 40px; line-height: 1.3; padding: 8px 14px; }
.vs-dx-cases { position: sticky; top: calc(var(--vx-header) + 24px); }
.vs-dx-case {
    display: none; gap: 22px; padding: 34px; border-radius: var(--vx-r-lg);
    background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--vx-shadow-lg);
}
.vs-dx-case.is-on { display: grid; animation: vs-in .4s var(--vx-ease); }
.vs-dx-head { display: flex; gap: 16px; align-items: center; }
.vs-dx-ico { width: 56px; height: 56px; border-radius: 20px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--vx-warn) 18%, transparent); color: var(--vx-warn); }
.vs-dx-ico .vx-ico { width: 26px; height: 26px; }
.vs-dx-head small { color: var(--s-muted); font-size: 13px; }
.vs-dx-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.vs-dx-why { padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, var(--s-ink) 5%, transparent); }
.vs-dx-why b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--s-accent); }
.vs-dx-why p { margin-top: 4px; color: var(--s-muted); font-size: 15px; }
.vs-dx-steps { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: dx; }
.vs-dx-step { display: flex; gap: 14px; align-items: flex-start; opacity: .38; transition: opacity .3s; }
.vs-dx-step.is-current, .vs-dx-step.is-done { opacity: 1; }
.vs-dx-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 14px; border: 1.5px solid var(--s-line); }
.vs-dx-step.is-current .vs-dx-n { background: var(--s-accent); border-color: var(--s-accent); color: var(--s-bg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--s-accent) 18%, transparent); }
.vs-dx-step.is-done .vs-dx-n { background: color-mix(in srgb, var(--vx-ok) 20%, transparent); border-color: transparent; color: var(--vx-ok); }
.vs-dx-step p { padding-top: 5px; font-size: 15px; }
.vs-dx-ask { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.vs-dx-step.is-current .vs-dx-ask { display: flex; }
.vs-dx-ask small { color: var(--s-muted); font-size: 13px; margin-right: 4px; }
.vs-dx-ask .vx-btn { min-height: 40px; padding: 0 16px; font-size: 13px; gap: 6px; }
.vs-dx-end { display: grid; gap: 14px; padding-top: 6px; border-top: 1px solid var(--s-line); }
.vs-dx-msg { font-weight: 600; padding-top: 14px; }
.vs-dx-end.is-ok .vs-dx-msg { color: var(--vx-ok); }
/* no script: every case is shown open, one after the other */
html:not(.vx-js) .vs-dx { grid-template-columns: 1fr; }
html:not(.vx-js) .vs-dx-case { display: grid; margin-bottom: 18px; }
html:not(.vx-js) .vs-dx-step { opacity: 1; }
html:not(.vx-js) .vs-dx-ask { display: none !important; }

/* ================================================================== error lookup */
.vs-err { display: grid; gap: 22px; max-width: 920px; margin: 0 auto; }
.vs-err-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.vs-err-list { display: grid; gap: 10px; }
.vs-err-item { border-radius: 20px; background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--vx-shadow); transition: border-color .3s; }
.vs-err-item[open] { border-color: color-mix(in srgb, var(--vx-err) 45%, transparent); }
.vs-err-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.vs-err-item summary::-webkit-details-marker { display: none; }
.vs-err-msg { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.vs-err-msg .vx-ico { width: 18px; height: 18px; color: var(--vx-err); flex: none; }
.vs-err-msg code {
    font: 500 14px/1.4 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    padding: 6px 12px; border-radius: 10px; background: #111513; color: #f3f6f4;
    white-space: normal; word-break: break-word;
}
.vs-err-app { font-size: 12px; color: var(--s-muted); white-space: nowrap; }
.vs-err-item summary i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--s-ink) 6%, transparent); transition: transform .35s var(--vx-ease); }
.vs-err-item[open] summary i { transform: rotate(45deg); }
.vs-err-a { padding: 0 20px 20px 48px; color: var(--s-muted); font-size: 15px; display: grid; gap: 8px; }
.vs-err-a b { color: var(--s-ink); }
.vs-err-a ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ================================================================== guides */
.vs-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.vs-guide {
    display: grid; grid-template-rows: auto 1fr; border-radius: var(--vx-r); overflow: hidden;
    background: var(--s-card); border: 1px solid var(--s-line);
    transition: transform .35s var(--vx-ease), border-color .3s, box-shadow .3s;
}
.vs-guide:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--s-accent) 45%, transparent); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.vs-guide-art {
    height: 240px; overflow: hidden; position: relative; display: grid; place-items: start center;
    padding: 26px 26px 0; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--vx-accent) 26%, transparent), transparent 70%), color-mix(in srgb, var(--s-ink) 4%, transparent);
}
.vs-guide-art .vx-browser { width: 140%; max-width: none; transform-origin: top center; transform: scale(.72); }
.vs-guide-art.is-phone .vx-phone { width: 170px; transform: translateY(6px); transition: transform .5s var(--vx-ease); }
.vs-guide:hover .vs-guide-art.is-phone .vx-phone { transform: translateY(-6px); }
.vs-guide-art.is-device .vss-lockface { width: 120px; }
.vs-guide-ico { align-self: center; width: 80px; height: 80px; border-radius: 26px; display: grid; place-items: center; background: var(--vx-grad-d); color: #fff; }
.vs-guide-ico .vx-ico { width: 36px; height: 36px; }
.vs-guide-body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 24px; }
.vs-guide-body small { display: inline-flex; align-items: center; gap: 6px; color: var(--s-accent); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.vs-guide-body small .vx-ico { width: 14px; height: 14px; }
.vs-guide-body h3 { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.vs-guide-body p { color: var(--s-muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vs-guide-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; }
.vs-guide-foot em { font-style: normal; color: var(--s-muted); }
.vs-guide-foot b { display: inline-flex; align-items: center; gap: 6px; color: var(--s-accent); }
.vs-guide-foot b .vx-ico { width: 15px; height: 15px; }

/* ================================================================== contact */
.vs-contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.vs-contact.is-wide { grid-template-columns: 1fr; }
.vs-contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs-ccard {
    position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start;
    padding: 26px; min-height: 170px; border-radius: var(--vx-r); background: var(--s-card); border: 1px solid var(--s-line);
    box-shadow: var(--vx-shadow); transition: transform .3s var(--vx-ease), border-color .3s;
}
.vs-ccard:hover { transform: translateY(-4px); border-color: var(--s-accent); }
.vs-ccard i { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--s-accent) 12%, transparent); color: var(--s-accent); margin-bottom: 8px; }
.vs-ccard b { font-size: 17px; font-weight: 600; word-break: break-word; }
.vs-ccard small { color: var(--s-muted); font-size: 13px; }
.vs-ccard-go { position: absolute; top: 24px; right: 24px; color: var(--s-muted); }
.vs-checklist { display: grid; gap: 10px; padding: 26px; border-radius: var(--vx-r); background: var(--vx-bg); color: var(--vx-ink); }
.vs-checklist label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.vs-checklist input { position: absolute; opacity: 0; pointer-events: none; }
.vs-check-box { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; flex: none; margin-top: 1px; transition: background .2s, border-color .2s; }
.vs-check-box .vx-ico { width: 15px; height: 15px; opacity: 0; transition: opacity .2s; }
.vs-checklist input:checked + .vs-check-box { background: var(--vx-accent); border-color: var(--vx-accent); color: #0b0e0d; }
.vs-checklist input:checked + .vs-check-box .vx-ico { opacity: 1; }
.vs-checklist input:checked ~ span:last-child { color: var(--vx-muted); text-decoration: line-through; }
.vs-checklist input:focus-visible + .vs-check-box { outline: 2px solid var(--vx-accent); outline-offset: 3px; }

/* ================================================================== cta band */
.vs-cta-sec { padding-top: 40px; }
.vs-cta {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
    padding: 56px; border-radius: var(--vx-r-lg); background: var(--vx-grad-d); color: #fff;
}
.vs-cta .vx-h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); }
.vs-cta .vx-lead { color: rgba(255, 255, 255, .78); max-width: 560px; margin-top: 10px; }
.vs-cta .vx-btn-primary { background: #fff; color: #0b0e0d; }
.vs-cta .vx-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ================================================================== page head */
.vs-phead { padding: calc(var(--vx-header) + 56px) 0 64px; }
.vs-phead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.vs-phead.has-art .vs-phead-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.vs-phead-copy, .vs-phead .vx-wrap { display: grid; gap: 18px; justify-items: start; }
.vs-phead .vx-h1 { font-size: clamp(36px, 5vw, 64px); }
.vs-phead-art { justify-self: center; width: 100%; max-width: 560px; }
.vs-phead-art.is-phone { max-width: 260px; }
.vs-phead-art.is-device { max-width: 220px; }
.vs-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--s-muted); }
.vs-crumbs a:hover { color: var(--s-ink); }
.vs-crumbs .vx-ico { width: 12px; height: 12px; opacity: .5; }
.vs-crumbs span { color: var(--s-ink); }
.vs-search.is-page { max-width: 720px; margin-top: 8px; }

/* the breadcrumbs component (widgets/breadcrumbs.php): a compact band under the fixed header */
.vs-bc { padding: calc(var(--vx-header) + 18px) 0 18px; }
.vs-bc + .vx-sec { padding-top: 64px; }

/* ================================================================== help centre: listing */
.vs-kb { padding-top: 56px; }
.vs-kb-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.vs-kb-side { position: sticky; top: calc(var(--vx-header) + 20px); display: grid; gap: 12px; }
.vs-kb-topics { display: grid; gap: 4px; }
.vs-kb-topic {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px;
    background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--s-ink); font-size: 14px; font-weight: 500;
    transition: background .2s;
}
.vs-kb-topic .vx-ico { width: 18px; height: 18px; color: var(--s-accent); flex: none; }
.vs-kb-topic span { flex: 1; }
.vs-kb-topic em { font-style: normal; font-size: 12px; color: var(--s-muted); padding: 2px 8px; border-radius: 10px; background: color-mix(in srgb, var(--s-ink) 6%, transparent); }
.vs-kb-topic:hover { background: color-mix(in srgb, var(--s-ink) 5%, transparent); }
.vs-kb-topic.is-on { background: var(--s-card); box-shadow: var(--vx-shadow); font-weight: 600; }
.vs-kb-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.vs-select { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--s-muted); }
.vs-select select {
    height: 40px; padding: 0 36px 0 14px; border-radius: 20px; border: 1px solid var(--s-line);
    background: var(--s-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
    -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; color: var(--s-ink); cursor: pointer;
}
.vs-kb-count { color: var(--s-muted); font-size: 13px; margin: 6px 0 16px; min-height: 20px; }
.vs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.vs-card {
    display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 22px;
    background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--vx-shadow);
    transition: transform .3s var(--vx-ease), border-color .3s, box-shadow .3s;
}
.vs-card[hidden] { display: none; }
.vs-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--s-accent) 45%, transparent); box-shadow: 0 24px 50px rgba(0, 0, 0, .1); }
.vs-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.vs-card p { color: var(--s-muted); font-size: 14px; }
.vs-card-go { display: flex; justify-content: space-between; align-items: center; color: var(--s-accent); font-size: 13px; margin-top: auto; }
.vs-card-go em { font-style: normal; color: var(--s-muted); }
.vs-card-go .vx-ico { width: 18px; height: 18px; transition: transform .25s var(--vx-ease); }
.vs-card:hover .vs-card-go .vx-ico { transform: translateX(4px); }
.vs-empty-box { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 64px 20px; border-radius: var(--vx-r); border: 1.5px dashed var(--s-line); color: var(--s-muted); }
.vs-empty-box > .vx-ico { width: 36px; height: 36px; }

/* ================================================================== help centre: article */
.vs-art-head .vx-wrap { gap: 16px; }
.vs-art-title { font-size: clamp(32px, 4.2vw, 54px); max-width: 900px; }
.vs-art-head .vx-lead { max-width: 780px; }
.vs-art-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--s-muted); font-size: 13px; }
.vs-art-facts span { display: inline-flex; align-items: center; gap: 7px; }
.vs-art-facts .vx-ico { width: 16px; height: 16px; color: var(--s-accent); }
.vs-copy { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); font-size: 13px; cursor: pointer; }
.vs-copy .vx-ico { width: 15px; height: 15px; }
.vs-copy.is-done { border-color: var(--vx-ok); color: var(--vx-ok); }

.vs-art { padding-top: 64px; }
.vs-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 64px; align-items: start; }
.vs-art-grid.no-art { grid-template-columns: minmax(0, 820px); }
.vs-art-body { display: grid; gap: 28px; justify-items: start; }
.vs-art-body > * { width: 100%; }
.vs-art-body > .vx-btn { width: auto; }
.vs-art-body .vx-h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.vs-art-side { position: sticky; top: calc(var(--vx-header) + 24px); }
.vs-art-screen { margin: 0 auto; }
.vs-art-screen.is-phone { max-width: 300px; }
.vs-art-screen.is-device { max-width: 220px; }

.vs-path { list-style: none; padding: 0; margin: 0; display: grid; position: relative; }
.vs-path::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: var(--s-line); }
.vs-path li { display: flex; gap: 18px; align-items: flex-start; padding: 10px 0; position: relative; }
.vs-path-n {
    position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; flex: none; cursor: pointer;
    display: grid; place-items: center; border: 2px solid var(--s-line); background: var(--s-bg); color: var(--s-ink);
    font: 700 15px var(--vx-font); transition: background .25s, border-color .25s, color .25s, transform .25s var(--vx-ease);
}
.vs-path-n .vx-ico { display: none; width: 20px; height: 20px; }
.vs-path-n:hover { border-color: var(--s-accent); transform: scale(1.05); }
.vs-path-n[aria-pressed="true"] { background: var(--vx-ok); border-color: var(--vx-ok); color: #fff; }
.vs-path-n[aria-pressed="true"] span { display: none; }
.vs-path-n[aria-pressed="true"] .vx-ico { display: block; }
.vs-path li p { padding-top: 9px; font-size: 16px; line-height: 1.65; }
.vs-path li p b { font-weight: 600; }
.vs-path li:has(.vs-path-n[aria-pressed="true"]) p { color: var(--s-muted); }

.vs-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; font-size: 15px; }
.vs-note > .vx-ico { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.vs-note b { display: block; margin-bottom: 2px; }
.vs-note.is-tip { background: color-mix(in srgb, var(--vx-accent) 16%, transparent); }
.vs-note.is-tip > .vx-ico { color: var(--vx-deep); }
.vs-note.is-warn { background: color-mix(in srgb, var(--vx-warn) 18%, transparent); }
.vs-note.is-warn > .vx-ico { color: #b26a00; }
.vs-art-products { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }

.vs-helpful {
    display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: 22px;
    background: var(--s-card); border: 1px solid var(--s-line);
}
.vs-helpful-btns { display: flex; gap: 8px; }
.vs-helpful .vx-btn { min-height: 42px; }
.vs-helpful.is-voted .vs-helpful-btns { display: none; }
.vs-helpful-msg { color: var(--s-muted); }

/* ================================================================== products */
.vs-cat { padding-top: 56px; }
.vs-fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 40px; }
.vs-fam {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px;
    border-radius: 20px; background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--vx-shadow);
    transition: transform .3s var(--vx-ease), border-color .3s;
}
.vs-fam:hover { transform: translateY(-3px); border-color: var(--s-accent); }
.vs-fam-pic { width: 58px; height: 58px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; flex: none; background: #fff; color: var(--s-accent); }
.vs-fam-pic img { width: 100%; height: 100%; object-fit: contain; }
.vs-fam b { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.3; }
.vs-fam > .vx-ico { width: 18px; height: 18px; color: var(--s-muted); }
.vs-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.vs-prod {
    display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; position: relative;
    background: var(--s-card); border: 1px solid var(--s-line); transition: transform .3s var(--vx-ease), box-shadow .3s;
}
.vs-prod:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .1); }
.vs-prod-pic { aspect-ratio: 1; display: grid; place-items: center; background: #fff; padding: 16px; color: var(--s-muted); }
.vs-prod-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--vx-ease); }
.vs-prod:hover .vs-prod-pic img { transform: scale(1.04); }
.vs-prod-pic .vx-ico { width: 40px; height: 40px; }
.vs-prod-body { display: grid; gap: 4px; padding: 14px 16px 18px; }
.vs-prod-body small { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--s-accent); }
.vs-prod-body b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.vs-prod-go { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--s-ink); color: var(--s-bg); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--vx-ease); }
.vs-prod:hover .vs-prod-go { opacity: 1; transform: none; }
.vs-prod-go .vx-ico { width: 16px; height: 16px; }
.vs-pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; color: var(--s-muted); }

.vs-pp-head { padding-bottom: 24px; }
.vs-pp { padding-top: 48px; }
.vs-pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.vs-pp-gallery { position: sticky; top: calc(var(--vx-header) + 24px); display: grid; gap: 12px; }
.vs-pp-main { aspect-ratio: 1; border-radius: var(--vx-r-lg); background: #fff; border: 1px solid var(--s-line); display: grid; place-items: center; padding: 28px; overflow: hidden; color: var(--s-muted); }
.vs-pp-main img { width: 100%; height: 100%; object-fit: contain; }
.vs-pp-main .vx-ico { width: 64px; height: 64px; }
.vs-pp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.vs-pp-thumbs button { width: 76px; height: 76px; flex: none; padding: 6px; border-radius: 16px; background: #fff; border: 2px solid var(--s-line); cursor: pointer; }
.vs-pp-thumbs button.is-on { border-color: var(--s-accent); }
.vs-pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.vs-pp-info { display: grid; gap: 20px; justify-items: start; }
.vs-pp-info .vx-h2 { font-size: clamp(30px, 3.4vw, 46px); }
.vs-pp-long { color: var(--s-muted); font-size: 15px; margin-top: -10px; }
.vs-pp-desc { color: var(--s-muted); font-size: 16px; line-height: 1.7; }
.vs-pp-works { display: grid; gap: 8px; }
.vs-pp-works small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }
.vs-pp-works div { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-pp-docs { width: 100%; display: grid; gap: 8px; }
.vs-pp-docs > b { font-size: 14px; }
.vs-pp-docs a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--s-card); border: 1px solid var(--s-line); transition: border-color .2s; }
.vs-pp-docs a:hover { border-color: var(--s-accent); }
.vs-pp-docs a i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; font: 700 11px var(--vx-font); font-style: normal; background: color-mix(in srgb, var(--vx-err) 14%, transparent); color: var(--vx-err); }
.vs-pp-docs a span { flex: 1; font-weight: 500; }
.vs-pp-docs a .vx-ico { width: 18px; height: 18px; color: var(--s-muted); }
.vs-pp-tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.vs-pp-tech.is-one { grid-template-columns: minmax(0, 860px); }
.vs-pp-tech .vx-h3 { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.vs-specs { display: grid; gap: 0; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--s-line); background: var(--s-card); }
.vs-specs div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--s-line); font-size: 14px; }
.vs-specs div:first-child { border-top: 0; }
.vs-specs dt { color: var(--s-muted); }
.vs-specs dd { margin: 0; font-weight: 500; }
.vs-drawings { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.vs-drawings a { aspect-ratio: 1; border-radius: 16px; background: #fff; border: 1px solid var(--s-line); padding: 10px; display: grid; place-items: center; }
.vs-drawings img { max-height: 100%; object-fit: contain; }

/* ================================================================== drawn support screens (vss-*) */
.vss-note { display: flex; align-items: center; gap: .8em; padding: 1.2em 1.4em; border-radius: 2em; background: rgba(255, 255, 255, .05); color: var(--m-muted); font-size: 1.15em; }
.vss-note svg.vx-ico { width: 1.4em; height: 1.4em; color: var(--m-acc); }

/* wallet */
.vss-wkey { padding: 1.4em; border-radius: 2.6em; background: var(--m-card); box-shadow: 0 .8em 2.6em rgba(0, 0, 0, .45); display: grid; gap: 1.4em; }
.vss-wkey-h { display: flex; align-items: center; gap: 1.2em; }
.vss-wkey-h > div { flex: 1; min-width: 0; display: grid; gap: .2em; }
.vss-wkey-h b { font-size: 1.5em; }
.vss-wkey-h small { font-size: 1.1em; color: var(--m-muted); }
.vss-wkey.is-big { background: linear-gradient(145deg, #26453d, #173f34); }
.vss-wopen { display: flex; align-items: center; gap: 1.6em; }
.vss-wopen .vxs-pulse { width: 7.6em; height: 7.6em; }
/* the two icons swap in the same cell, both in the middle of the circle */
.vss-wopen .vxs-pulse > span { grid-area: 1 / 1; display: grid; place-items: center; line-height: 0; }
.vss-wopen div { display: grid; gap: .3em; }
.vss-wopen b { font-size: 1.8em; }
.vss-wopen small { font-size: 1.1em; color: rgba(255, 255, 255, .6); }

/* pairing radar */
.vss-radar { position: relative; width: 22em; height: 22em; margin: .4em auto; border-radius: 50%; overflow: hidden; }
.vss-radar i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: .12em solid rgba(143, 179, 162, .25); }
.vss-radar i:nth-child(2) { width: 66%; height: 66%; }
.vss-radar i:nth-child(3) { width: 33%; height: 33%; }
.vss-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(143, 179, 162, .45), transparent 28%); animation: vx-spin 3.2s linear infinite; }
.vss-blip { position: absolute; top: 24%; right: 26%; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--m-acc); box-shadow: 0 0 1.2em var(--m-acc); animation: vss-blip 3.2s ease-out infinite; }
@keyframes vss-blip { 0%, 20% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.2); } 60%, 100% { opacity: .5; transform: scale(1); } }
.vss-me { position: absolute; inset: 0; margin: auto; width: 5em; height: 5em; border-radius: 50%; display: grid; place-items: center; background: var(--m-card); color: #fff; }
.vss-me svg.vx-ico { width: 2.2em; height: 2.2em; }
.vss-sig { display: flex; align-items: flex-end; gap: .25em; height: 2em; }
.vss-sig i { width: .5em; border-radius: .2em; background: rgba(255, 255, 255, .15); }
.vss-sig i:nth-child(1) { height: 30%; } .vss-sig i:nth-child(2) { height: 55%; } .vss-sig i:nth-child(3) { height: 78%; } .vss-sig i:nth-child(4) { height: 100%; }
.vss-sig i.is-on { background: var(--m-acc); }
.vss-add { height: 3.4em; padding: 0 1.3em; border-radius: 1.7em; background: #fff; color: #111; display: grid; place-items: center; font-size: 1.2em; font-weight: 600; flex: none; }
.vss-found { box-shadow: 0 0 0 .2em var(--m-acc), 0 .8em 2.6em rgba(0, 0, 0, .45); }

/* gateway */
.vss-chip24 { display: inline-flex; align-items: center; gap: .6em; align-self: flex-start; height: 3.2em; padding: 0 1.2em; border-radius: 1.6em; background: rgba(255, 183, 77, .14); color: #ffb74d; font-size: 1.15em; font-weight: 600; margin-top: -.4em; }
.vss-chip24 svg.vx-ico { width: 1.3em; height: 1.3em; }
.vss-led { display: flex; align-items: center; gap: 1.4em; padding: 1.4em; border-radius: 2.2em; background: var(--m-card); }
.vss-led-dot { width: 2.4em; height: 2.4em; border-radius: 50%; background: #ef5350; box-shadow: 0 0 1.4em #ef5350; animation: vss-led-rb 1.2s steps(1, end) infinite; flex: none; }
/* the gateway is ready to set up while it alternates red and blue */
@keyframes vss-led-rb { 0% { background: #ef5350; box-shadow: 0 0 1.4em #ef5350; } 50% { background: #42a5f5; box-shadow: 0 0 1.4em #42a5f5; } }
@keyframes vss-led { 50% { opacity: .35; box-shadow: 0 0 .2em #66bb6a; } }
.vss-led div { display: grid; gap: .2em; }
.vss-led b { font-size: 1.35em; }
.vss-led small { font-size: 1.1em; color: var(--m-muted); }

/* toggles, PIN code */
.vss-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.2em 1.4em; border-radius: 2em; background: var(--m-card); }
.vss-toggle span { display: flex; align-items: center; gap: .8em; font-size: 1.3em; font-weight: 500; }
.vss-toggle span svg.vx-ico { width: 1.3em; height: 1.3em; color: var(--m-acc); }
.vss-toggle i, .vss-switch { width: 4.6em; height: 2.6em; border-radius: 1.3em; background: rgba(255, 255, 255, .14); position: relative; flex: none; display: inline-block; }
.vss-toggle i::after, .vss-switch::after { content: ""; position: absolute; top: .3em; left: .3em; width: 2em; height: 2em; border-radius: 50%; background: #fff; transition: transform .3s; }
.vss-toggle.is-on i, .vss-switch.is-on { background: var(--m-acc, #8fb3a2); }
.vss-toggle.is-on i::after, .vss-switch.is-on::after { transform: translateX(2em); }
.vss-code { letter-spacing: .5em; font-variant-numeric: tabular-nums; }

/* permissions */
.vss-perms { display: grid; gap: .9em; }
.vss-perm { display: flex; align-items: center; gap: 1.2em; padding: 1.3em; border-radius: 2.2em; background: var(--m-card); }
.vss-perm i { width: 4.4em; height: 4.4em; border-radius: 1.6em; display: grid; place-items: center; background: rgba(143, 179, 162, .12); color: var(--m-acc); flex: none; }
.vss-perm i svg.vx-ico { width: 2em; height: 2em; }
.vss-perm div { flex: 1; min-width: 0; display: grid; gap: .2em; }
.vss-perm b { font-size: 1.45em; }
.vss-perm small { font-size: 1.1em; color: var(--m-muted); }

/* the lock's own keypad (a device, not a phone) */
.vss-lockface { display: grid; justify-items: center; gap: 12px; width: 100%; container-type: inline-size; }
.vss-lockface-in {
    width: 100%; aspect-ratio: 1 / 2.35; border-radius: 22cqw / 10cqw; padding: 10cqw 9cqw;
    background: linear-gradient(160deg, #2a2f2d, #0d0f0e 70%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .5);
    display: grid; grid-template-rows: auto auto auto 1fr; gap: 6cqw; font-size: 1cqw; color: #fff;
}
.vss-lf-top { display: grid; justify-items: center; gap: 4cqw; }
.vss-lf-dots { display: flex; gap: 3cqw; }
.vss-lf-dots i { width: 4.5cqw; height: 4.5cqw; border-radius: 50%; background: rgba(255, 255, 255, .2); animation: vss-dot 6s infinite; }
.vss-lf-dots i:nth-child(2) { animation-delay: .4s; } .vss-lf-dots i:nth-child(3) { animation-delay: .8s; } .vss-lf-dots i:nth-child(4) { animation-delay: 1.2s; } .vss-lf-dots i:nth-child(5) { animation-delay: 1.6s; } .vss-lf-dots i:nth-child(6) { animation-delay: 2s; }
@keyframes vss-dot { 0%, 5% { background: rgba(255, 255, 255, .2); } 10%, 60% { background: #9fd4bd; } 70%, 100% { background: rgba(255, 255, 255, .2); } }
.vss-lf-ok { display: inline-flex; align-items: center; gap: 2cqw; font-size: 8cqw; font-weight: 600; color: #66bb6a; opacity: 0; animation: vss-ok 6s infinite; }
.vss-lf-ok svg.vx-ico { width: 9cqw; height: 9cqw; }
@keyframes vss-ok { 0%, 45% { opacity: 0; } 50%, 64% { opacity: 1; } 70%, 100% { opacity: 0; } }
.vss-lf-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5cqw 7cqw; justify-items: center; }
.vss-lf-keys span { width: 17cqw; height: 17cqw; border-radius: 50%; display: grid; place-items: center; font-size: 9cqw; font-weight: 500; color: #cfe3d8; text-shadow: 0 0 3cqw rgba(159, 212, 189, .8); }
.vss-lf-keys span.is-hash { background: rgba(159, 212, 189, .16); animation: vss-hash 6s infinite; }
@keyframes vss-hash { 0%, 38% { box-shadow: none; } 42%, 48% { box-shadow: 0 0 0 1.5cqw #9fd4bd, 0 0 6cqw #9fd4bd; } 52%, 100% { box-shadow: none; } }
.vss-lf-reader { justify-self: center; width: 26cqw; height: 26cqw; border-radius: 50%; display: grid; place-items: center; border: .8cqw solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .55); }
.vss-lf-reader svg.vx-ico { width: 12cqw; height: 12cqw; }
.vss-lf-handle { align-self: end; justify-self: center; width: 70%; height: 9cqw; border-radius: 5cqw; background: linear-gradient(90deg, #6b716f, #b9bfbd 50%, #6b716f); }
.vss-lf-cap { color: var(--s-muted); font-size: 13px; text-align: center; }

/* web: new key */
.vss-wlabel { font-size: 1.05em; font-weight: 700; color: #6b7280; letter-spacing: .06em; text-transform: uppercase; }
.vss-ktypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.vss-ktype { display: grid; justify-items: center; gap: .6em; padding: 1.4em .8em; border-radius: 1em; background: #fff; border: .15em solid transparent; box-shadow: 0 .1em .3em rgba(0, 0, 0, .06); font-size: 1em; }
.vss-ktype i { width: 3.4em; height: 3.4em; border-radius: 50%; display: grid; place-items: center; background: #eef2f5; color: #374151; }
.vss-ktype i svg.vx-ico { width: 1.6em; height: 1.6em; }
.vss-ktype b { font-size: 1.05em; }
.vss-ktype.is-on { border-color: #111827; }
.vss-ktype.is-on i { background: #111827; color: #fff; }
.vss-wform { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.vss-wf { display: grid; gap: .3em; padding: .9em 1.1em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .3em rgba(0, 0, 0, .05); }
.vss-wf small { font-size: .85em; color: #6b7280; }
.vss-wf span { font-size: 1.05em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vss-wf.is-toggle { display: flex; align-items: center; justify-content: space-between; }
.vss-wf .vss-switch { font-size: .55em; --m-acc: #578577; }
.vss-door { display: flex; align-items: center; gap: .8em; padding: .8em 1em; border-radius: .8em; background: #f6f8fa; font-size: 1em; }
.vss-door b { flex: 1; font-size: 1.05em; }
.vss-door > svg.vx-ico { width: 1.4em; height: 1.4em; color: #4b5563; }
.vss-box { width: 1.6em; height: 1.6em; border-radius: .4em; border: .15em solid #cbd5e1; display: grid; place-items: center; flex: none; }
.vss-box svg.vx-ico { width: 1.1em; height: 1.1em; }
.vss-door.is-on .vss-box { background: #111827; border-color: #111827; color: #fff; }
.vss-week { display: flex; gap: .4em; }
.vss-week i { flex: 1; height: 2.4em; border-radius: .6em; background: #eef2f5; }
.vss-week i.is-on { background: #578577; }
.vss-wbtn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 3em; padding: 0 1.4em; border-radius: 1.5em; background: #111827; color: #fff; font-weight: 600; font-size: 1.05em; margin-top: auto; }
.vss-wbtn svg.vx-ico { width: 1.2em; height: 1.2em; }
.vss-wbtn.is-ghost { background: transparent; color: #111827; box-shadow: inset 0 0 0 .12em #111827; }

/* web: encoder */
.vss-enc { display: flex; align-items: center; gap: 2.4em; padding: 2em; border-radius: 1.2em; background: #fff; box-shadow: 0 .1em .3em rgba(0, 0, 0, .06); }
.vss-enc-dev { position: relative; width: 14em; height: 9em; border-radius: 1.2em; background: linear-gradient(160deg, #2b2f2d, #0f1110); flex: none; }
.vss-enc-led { position: absolute; right: 1.2em; bottom: 1.2em; width: 1em; height: 1em; border-radius: 50%; background: #66bb6a; box-shadow: 0 0 .8em #66bb6a; animation: vss-led 1.2s infinite; }
.vss-enc-card { position: absolute; left: 50%; top: -3em; width: 10em; height: 6.4em; margin-left: -5em; border-radius: .7em; background: linear-gradient(135deg, #e8f1ec, #8fb3a2); box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .25); animation: vss-card 4s var(--vx-ease) infinite; }
@keyframes vss-card { 0%, 15% { transform: translateY(-1.5em) rotate(-6deg); opacity: 0; } 35%, 85% { transform: translateY(1.2em) rotate(0); opacity: 1; } 100% { transform: translateY(1.2em); opacity: 0; } }
.vss-enc-copy { display: grid; gap: .7em; justify-items: start; }
.vss-enc-copy b { font-size: 1.6em; }
.vss-enc-copy small { color: #6b7280; font-size: .95em; }
.vss-enc-progress { width: 20em; height: .6em; border-radius: .3em; background: #eef2f5; overflow: hidden; }
.vss-enc-progress i { display: block; height: 100%; width: 0; background: #578577; border-radius: inherit; animation: vss-progress 4s var(--vx-ease) infinite; }
@keyframes vss-progress { 0%, 30% { width: 0; } 85%, 100% { width: 100%; } }
.vss-enc-btns { display: flex; flex-wrap: wrap; gap: .6em; }
.vss-enc-btns span { height: 2.8em; padding: 0 1.3em; border-radius: 1.4em; display: grid; place-items: center; background: #fff; font-weight: 600; box-shadow: 0 .1em .3em rgba(0, 0, 0, .06); }
.vss-enc-btns span.is-dark { background: #111827; color: #fff; }

/* web: subscription */
.vss-plan { display: flex; align-items: center; justify-content: space-between; gap: 2em; padding: 1.8em 2em; border-radius: 1.2em; background: linear-gradient(135deg, #26453d, #173f34); color: #fff; }
.vss-plan > div:first-child { display: grid; gap: .3em; justify-items: start; }
.vss-plan small { opacity: .7; font-size: .95em; }
.vss-plan b { font-size: 3em; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.vss-plan-btns { display: flex; gap: .6em; }
.vss-plan .vss-wbtn { background: #fff; color: #111827; margin: 0; }
.vss-plan .vss-wbtn.is-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .5); }
.vss-uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.vss-use { display: grid; gap: .5em; padding: 1.2em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(0, 0, 0, .06); }
.vss-use span { color: #6b7280; font-size: .95em; }
.vss-use b { font-size: 1.6em; }
.vss-use i { height: .6em; border-radius: .3em; background: #eef2f5; overflow: hidden; }
.vss-use i em { display: block; height: 100%; width: var(--w); background: #578577; border-radius: inherit; }

/* mail */
.vss-mail { height: 100%; display: grid; grid-template-columns: 22em minmax(0, 1fr); font-size: 1cqw; background: #f6f8fa; color: #111827; }
.vss-mail-side { display: grid; align-content: start; gap: .6em; padding: 2em 1.4em; background: #eef2f5; }
.vss-mail-side b { font-size: 1.3em; margin-bottom: .6em; }
.vss-mail-side span { display: flex; align-items: center; gap: .7em; height: 3em; padding: 0 1em; border-radius: .8em; color: #6b7280; font-size: 1.1em; }
.vss-mail-side span i { width: 1.6em; height: 1.6em; border-radius: 50%; background: #cbd5e1; }
.vss-mail-side span.is-on { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 .1em .3em rgba(0, 0, 0, .06); }
.vss-mail-side span.is-on i { background: #578577; }
.vss-mail-main { padding: 2.4em 3em; display: grid; align-content: start; gap: 1.8em; }
.vss-mail-head { display: flex; align-items: center; gap: 1em; }
.vss-mail-head .vxs-avatar { width: 4em; height: 4em; font-size: 1.4em; }
.vss-mail-head div { display: grid; gap: .2em; }
.vss-mail-head b { font-size: 1.5em; }
.vss-mail-head small { font-size: 1.15em; color: #6b7280; }
.vss-mail-card { display: grid; gap: 1.2em; justify-items: start; padding: 2.4em; border-radius: 1.4em; background: #fff; box-shadow: 0 .4em 1.6em rgba(15, 30, 25, .08); }
.vss-mail-card small { font-size: 1.2em; color: #6b7280; }
.vss-mail-card b { font-size: 2.2em; letter-spacing: -.02em; }
.vss-mail-card .vxs-chip { font-size: 1.05em; }
.vss-mail-btns { display: flex; gap: .8em; margin-top: .6em; }
.vss-mail-btns .vss-wbtn { font-size: 1.15em; height: 3.4em; margin: 0; }

/* ================================================================== responsive */
@media (max-width: 1280px) {
    .vs-paths { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
    .vs-paths-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 240px); padding: 32px; }
    .vs-art-grid { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
}

@media (max-width: 991px) {
    .vs-paths, .vs-dx, .vs-kb-grid, .vs-contact, .vs-pp-grid, .vs-pp-tech, .vs-phead.has-art .vs-phead-grid { grid-template-columns: minmax(0, 1fr); }
    .vs-paths-tabs { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
    .vs-paths-tab { flex: 0 0 auto; width: auto; max-width: 280px; scroll-snap-align: start; }
    .vs-paths-tab small, .vs-paths-tab > .vx-ico { display: none; }
    .vs-dx-cases, .vs-kb-side, .vs-pp-gallery, .vs-art-side { position: static; }
    .vs-kb-topics { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
    .vs-kb-topic { flex: 0 0 auto; width: auto; background: var(--s-card); border: 1px solid var(--s-line); }
    .vs-kb-topic em { display: none; }
    .vs-art-grid, .vs-art-grid.no-art { grid-template-columns: minmax(0, 1fr); }
    .vs-art-side { order: -1; }
    .vs-art-screen.is-phone { max-width: 240px; }
    .vs-art-screen:not(.is-phone):not(.is-device) { max-width: 560px; }
    .vs-phead-art { max-width: 460px; justify-self: start; }
    /* a drawn phone or device under the heading sits in the middle; a wide screen keeps the copy's edge */
    .vs-phead-art.is-phone, .vs-phead-art.is-device { justify-self: center; }
}

@media (max-width: 767px) {
    .vs-search-box { height: 58px; padding-left: 16px; }
    .vs-search-box kbd { display: none; }
    .vs-search-box .vx-btn { min-height: 44px; padding: 0 16px; }
    .vs-paths-panel { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; }
    .vs-paths-screen.is-phone { max-width: 220px; }
    .vs-contact-cards { grid-template-columns: minmax(0, 1fr); }
    .vs-ccard { min-height: 0; }
    .vs-cta { padding: 36px 28px; }
    .vs-dx-case { padding: 24px; }
    .vs-guides { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
    .vs-guide { scroll-snap-align: start; }
    .vs-err-a { padding-left: 20px; }
    .vs-err-app { display: none; }
    .vs-specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .vs-head-row { margin-bottom: 32px; }
    .vs-hero .vx-toast.vs-answer { max-width: 220px; }
}

@media (max-width: 479px) {
    /* the keyboard's own search key submits; the button only takes room on a phone */
    .vs-search-box .vx-btn { display: none; }
    .vs-search-box { padding-right: 16px; }
    .vs-cards, .vs-topics, .vs-dl-grid { grid-template-columns: minmax(0, 1fr); }
    .vs-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .vs-prod-body { padding: 10px 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .vss-sweep, .vss-blip, .vss-led-dot, .vss-enc-card, .vss-enc-progress i, .vss-lf-dots i, .vss-lf-ok, .vss-lf-keys span.is-hash { animation: none; }
    .vss-lf-ok { opacity: 1; }
}
