/* Set types: a picker with a sliding pill over four rows, each a bar as long as its weight.
   Layout: the picker is one row when its labels fit, else a two-by-two grid (.two, set by the script);
   the rows keep one height in every type, so nothing under the picture moves. */
.vk-st{--st-coral:#F0534A;padding:20px;display:grid;gap:16px;max-width:480px;margin:0 auto;font-variant-numeric:tabular-nums}
.vk-st>*{min-width:0}
.vk-st button:focus-visible{outline:2px solid var(--st-coral);outline-offset:2px}
.vk-st svg{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

.vk-st-seg{contain:inline-size;position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:auto;padding:4px;border-radius:22px;background:var(--vk-muted);isolation:isolate}
.vk-st-seg.two{grid-auto-flow:row;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.vk-st-seg button{position:relative;z-index:1;min-height:44px;padding:0 12px;border:0;border-radius:18px;background:none;font:500 14px/18px Inter,system-ui,sans-serif;color:var(--vk-ink2);white-space:nowrap;transition:color .2s ease;-webkit-tap-highlight-color:transparent}
.vk-st-seg.two button{white-space:normal;text-wrap:balance;padding:4px 8px}
.vk-st-seg button[aria-checked="true"]{color:var(--vk-ink)}
.vk-st-pill{position:absolute;z-index:0;top:0;left:0;width:0;height:0;border-radius:18px;background:var(--vk-card);box-shadow:0 2px 8px rgba(0,0,0,.08),0 0 0 1px var(--vk-line)}
/* Before (or without) the script: two columns so no label is cut, and the choice still shows. */
.vk-st-seg:not(.js){grid-auto-flow:row;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.vk-st-seg:not(.js) button{white-space:normal;text-wrap:balance;padding:4px 8px}
.vk-st-seg:not(.js) button[aria-checked="true"]{background:var(--vk-card);box-shadow:0 0 0 1px var(--vk-line)}
.vk-st-pill.live{transition:transform .42s var(--vk-ease),width .42s var(--vk-ease),height .42s var(--vk-ease)}

.vk-st-rows{display:grid;gap:8px}
.vk-st-row{position:relative;display:grid;grid-template-columns:24px auto minmax(0,1fr);align-items:center;gap:8px;height:52px;--pad:24px;padding:0 12px;border-radius:16px;background:var(--vk-muted);overflow:hidden;isolation:isolate;container-type:inline-size}
.vk-st-fill{position:absolute;z-index:-1;inset:0 auto 0 0;width:var(--w);border-radius:16px;background:linear-gradient(100deg,rgba(240,83,74,.20) 0%,rgba(226,85,158,.20) 45%,rgba(140,108,240,.22) 100%) 0 0/calc(100cqw + var(--pad)) 100% no-repeat;transition:width .42s var(--vk-ease)}
.vk-st.armed .vk-st-fill{width:0}
.vk-st-n{display:grid;place-items:center;font-size:16px;font-weight:500;line-height:1}
.vk-st-n svg{width:16px;height:16px;color:var(--vk-ink3)}
.vk-st-w{font-size:14px;color:var(--vk-ink2);white-space:nowrap;transition:opacity .2s ease,transform .32s var(--vk-ease)}
.vk-st-w b{font-weight:500;font-size:18px;color:var(--vk-ink)}
.vk-st-w i{font-style:normal}
.vk-st-row.sub .vk-st-w b{color:var(--vk-ink2)}
.vk-st-tag{display:inline-flex;align-items:center;gap:4px;justify-self:start;height:24px;padding:0 2px;font-size:13px;font-weight:500;font-variant-numeric:normal;color:var(--vk-ink2);white-space:nowrap;transition:opacity .2s ease,transform .32s var(--vk-ease)}
.vk-st-tag:empty{visibility:hidden;padding:0}
.vk-st-tag.heavy{color:var(--vk-ink)}
.vk-st-tag svg{width:14px;height:14px}
.vk-st-row.swap .vk-st-w,.vk-st-row.swap .vk-st-tag,.vk-st-row.swap .vk-st-n{opacity:0;transform:translateY(4px);transition-duration:.12s}
.vk-st-n{transition:opacity .2s ease,transform .32s var(--vk-ease)}
@media (max-width:400px){.vk-st{padding:16px}.vk-st-row{--pad:16px;padding:0 8px;gap:8px}}

:root[data-theme=dark] .vk-st-pill{background:rgba(255,255,255,.13);box-shadow:0 2px 8px rgba(0,0,0,.25)}
.vpic-home>*,.vpic-kit>*{width:100%;max-width:520px}
.vpic-home h3{letter-spacing:-.02em}
/* Dark page: the Appearance picture's own controls sit on the page, not on its light panel, and the
   import picture's foot pill is glass; both read the page's ink there. */
:root[data-theme="dark"] .vpic-themes .th{color:var(--ink)}
:root[data-theme="dark"] .vpic-themes .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .vpic-themes .th-tone[aria-pressed="true"] .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px #16151C,0 0 0 4px currentColor}
:root[data-theme="dark"] .vpic-import .ic-foot{background:rgba(255,255,255,.1);color:var(--ink-2)}
.vwide .vpic>*{max-width:none}