/* Portfolio — editor. Todo sale de los tokens; nada de colores sueltos salvo transparencias de superposición. */
body { margin: 0; font-family: var(--font-sans); background: var(--bg-editor); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* ===== Marco ===== */
.vs { --side-cur: var(--side-w); --panel-cur: var(--panel-h); position: relative; display: grid; grid-template-rows: var(--titlebar-h) minmax(0, 1fr) var(--status-h); grid-template-columns: minmax(0, 1fr); width: 100%; height: 100%; overflow: hidden; background: var(--bg-editor); color: var(--ink); font-family: var(--font-sans); font-size: 13px; line-height: 22px; user-select: none; }
.vs.vs-solo { display: block; height: auto; overflow: visible; user-select: auto; }
.vs *, .vs *::before, .vs *::after { box-sizing: border-box; }
.vs button { margin: 0; padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.vs :focus-visible { outline: 1px solid var(--focus); outline-offset: -1px; }
.vs-ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vs kbd { display: inline-block; padding: 0 5px; font: 11px/16px var(--font-mono); color: var(--ink); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }

/* Barra de título */
.vs-title { position: relative; display: flex; align-items: center; gap: var(--space-1); padding-left: 10px; background: var(--bg-title); border-bottom: 1px solid var(--line); }
.vs-mark { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); font: 600 10px/1 var(--font-mono); letter-spacing: .02em; }
.vs-menubar { display: flex; margin-left: 6px; }
.vs-menubar button { height: 24px; padding: 0 8px; border-radius: var(--radius-sm); }
.vs-menubar button:hover, .vs-menubar button.on { background: var(--bg-hover); }
.vs .vs-cc { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 6px; width: min(36%, 420px); height: 24px; font-size: 12px; color: var(--ink-muted); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-md); }
.vs .vs-cc:hover { color: var(--ink); }
.vs-win { display: flex; height: 100%; margin-left: auto; }
.vs-win button { display: grid; place-items: center; width: 46px; height: 100%; color: var(--ink-muted); }
.vs-win button:hover { background: var(--bg-hover); color: var(--ink); }
.vs-win button.x:hover { background: var(--term-err); color: var(--on-accent); }

/* Cuerpo */
.vs-body { position: relative; display: flex; min-height: 0; }
.vs-activity { flex: none; display: flex; flex-direction: column; width: var(--activity-w); background: var(--bg-activity); border-right: 1px solid var(--line); }
.vs-activity button { position: relative; display: grid; place-items: center; width: var(--activity-w); height: 48px; color: var(--ink-muted); }
.vs-activity button:hover, .vs-activity button.on { color: var(--ink); }
.vs-activity button.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.vs-act-spacer { flex: 1; }
.vs-badge { position: absolute; right: 7px; bottom: 9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font: 600 10px/16px var(--font-sans); text-align: center; }

/* Barra lateral */
.vs-side { flex: none; display: flex; flex-direction: column; width: var(--side-cur); min-width: 0; overflow: hidden; background: var(--bg-side); border-right: 1px solid var(--line); }
.side-closed .vs-side { border-right: 0; }
.vs-side-head { flex: none; display: flex; align-items: center; height: 35px; padding: 0 8px 0 20px; }
.vs-side-title, .vs-sect { font: 600 11px/16px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.vs-side-title { color: var(--ink-muted); }
.vs-side-actions { display: flex; gap: 2px; margin-left: auto; }
.vs-side-actions button, .vs-tab-actions button, .vs-panel-actions button { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--radius-sm); color: var(--ink-muted); }
.vs-side-actions button:hover, .vs-tab-actions button:hover, .vs-panel-actions button:hover { background: var(--bg-hover); color: var(--ink); }
.vs-side-body { flex: 1; min-height: 0; overflow: auto; }
.vs-sect { display: flex; align-items: center; height: 22px; padding: 0 12px 0 20px; color: var(--ink); }

/* Explorador */
.vs-tree { padding-bottom: var(--space-3); }
.vs-row { display: flex; align-items: center; gap: var(--space-1); height: var(--row-h); padding-right: var(--space-2); white-space: nowrap; color: var(--ink); cursor: pointer; }
.vs-row:hover { background: var(--bg-hover); }
.vs-row.on { background: var(--bg-select); }
.vs-row.hidden-file .vs-name { font-style: italic; color: var(--ink-muted); }
.vs-name { overflow: hidden; text-overflow: ellipsis; }
.vs-chev { position: relative; flex: none; width: 16px; height: 16px; color: var(--ink-muted); }
.vs-chev::before { content: ""; position: absolute; left: 4px; top: 5px; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.vs-chev.open::before { left: 5px; top: 4px; transform: rotate(45deg); }
.vs-group { position: relative; }
.vs-group::before { content: ""; position: absolute; left: var(--guide); top: 0; bottom: 0; border-left: 1px solid var(--line); }
.vs-ficon { flex: none; width: 16px; font: 600 10px/1 var(--font-mono); text-align: center; }

/* Arrastre */
.vs-sash { position: absolute; z-index: 15; touch-action: none; }
.vs-sash::after { content: ""; position: absolute; background: var(--accent); opacity: 0; transition: opacity .1s .2s; }
.vs-sash:hover::after, .drag-h .vs-sash-h::after, .drag-v .vs-sash-v::after { opacity: 1; transition-delay: 0s; }
.vs-sash-v { top: 0; bottom: 0; left: calc(var(--activity-w) + var(--side-cur) - 3px); width: 6px; cursor: col-resize; }
.vs-sash-v::after { left: 2px; top: 0; bottom: 0; width: 2px; }
.vs-sash-h { left: 0; right: 0; bottom: calc(var(--panel-cur) - 4px); height: 8px; cursor: row-resize; }
.vs-sash-h::after { left: 0; right: 0; top: 3px; height: 2px; }
.drag-h, .drag-h * { cursor: row-resize !important; user-select: none !important; }
.drag-v, .drag-v * { cursor: col-resize !important; user-select: none !important; }

/* Editor */
.vs-main { position: relative; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vs-tabbar { flex: none; display: flex; height: var(--tabs-h); background: var(--bg-side); border-bottom: 1px solid var(--line); }
.vs-tabs { flex: 1; display: flex; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.vs-tab { position: relative; flex: none; display: flex; align-items: center; gap: 6px; height: var(--tabs-h); padding: 0 6px 0 var(--space-3); white-space: nowrap; color: var(--ink-muted); border-right: 1px solid var(--line); cursor: pointer; }
.vs-tab:hover { background: var(--bg-hover); }
.vs-tab.on { background: var(--bg-editor); color: var(--ink); }
.vs-tab.on::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
.vs-tab-desc { font-size: 12px; color: var(--ink-muted); }
.vs-tab-x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: var(--radius-sm); color: var(--ink-muted); opacity: 0; }
.vs-tab:hover .vs-tab-x, .vs-tab.on .vs-tab-x, .vs-tab-x:focus-visible { opacity: 1; }
.vs-tab-x:hover { background: var(--bg-hover); color: var(--ink); }
.vs-tab-actions { display: flex; align-items: center; padding: 0 var(--space-2); }
.vs-crumbs { flex: none; display: flex; align-items: center; gap: 2px; height: 22px; padding: 0 var(--space-4); overflow: hidden; white-space: nowrap; font-size: 12px; color: var(--ink-muted); background: var(--bg-editor); }
.vs-crumbs button { padding: 0 2px; border-radius: var(--radius-sm); color: var(--ink-muted); }
.vs-crumbs button:hover { color: var(--ink); }
.vs-crumbs .sep { padding: 0 2px; }
.vs-crumbs .cur { margin-left: var(--space-1); color: var(--ink); }
.vs-editor { flex: 1; min-height: 0; overflow: auto; background: var(--bg-editor); outline: none; user-select: text; }
.vs .vs-editor:focus-visible { outline: none; }

/* Vista previa de markdown */
.vs-md { max-width: 820px; padding: var(--space-6) var(--space-12) 64px; font-size: 15px; line-height: 26px; }
.vs-md h1 { margin: 8px 0 12px; font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.vs-md h2 { margin: 32px 0 12px; padding-bottom: 6px; font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.vs-md h3 { margin: 24px 0 8px; font-size: 17px; line-height: 26px; font-weight: 600; }
.vs-md p { margin: 0 0 14px; }
.vs-md ul, .vs-md ol { margin: 0 0 14px; padding-left: 22px; }
.vs-md li { margin: 4px 0; }
.vs-md li::marker { color: var(--ink-muted); }
.vs-md strong { font-weight: 600; }
.vs-md code { padding: 1px 5px; font: 13px/20px var(--font-mono); background: var(--bg-input); border-radius: var(--radius-sm); }
.vs-md blockquote { margin: 0 0 14px; padding: 2px 0 2px 14px; color: var(--ink-muted); border-left: 2px solid var(--line-strong); }
.vs-md hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.vs-md table { margin: 0 0 16px; border-collapse: collapse; font-size: 14px; line-height: 22px; }
.vs-md th, .vs-md td { padding: 6px 12px; text-align: left; border: 1px solid var(--line); }
.vs-md th { font-weight: 600; background: var(--bg-side); }
.vs-md-pre { margin: 0 0 16px; padding: 12px 16px; overflow: auto; font: 13px/20px var(--font-mono); background: var(--bg-side); border-radius: var(--radius-sm); }
.vs-md-level { margin: -4px 0 16px; }
.vs-link { color: var(--accent); text-decoration: none; }
.vs-link:hover { text-decoration: underline; }
.vs-link:focus-visible { outline: none; border-radius: 2px; box-shadow: var(--focus-ring); }

/* Código */
.vs-code { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 6px 0 40px; font: 13px/20px var(--font-mono); }
.vs-gutter, .vs-src { margin: 0; font: inherit; }
.vs-gutter { padding-right: 20px; text-align: right; color: var(--ink-muted); user-select: none; }
.vs-src { padding-right: var(--space-6); overflow-x: auto; white-space: pre; color: var(--ink); }
.vs-lens { display: flex; align-items: center; gap: 10px; height: 22px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 12px/18px var(--font-sans); color: var(--ink-muted); }
.vs-lens .vs-level-word { display: none; }
.t-kw { color: var(--syn-keyword); } .t-str { color: var(--syn-string); } .t-num { color: var(--syn-number); }
.t-com { color: var(--syn-comment); font-style: italic; } .t-type { color: var(--syn-type); } .t-fn { color: var(--syn-func); } .t-key { color: var(--syn-key); }
.vs-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-6); height: 100%; color: var(--ink-muted); }
.vs-mark.big { width: 88px; height: 88px; font-size: 36px; border-radius: var(--radius-md); }
.vs-empty dl { display: grid; grid-template-columns: auto auto; gap: 8px 16px; margin: 0; }
.vs-empty dt { text-align: right; }
.vs-empty dd { margin: 0; }

/* Panel inferior */
.vs-panel { flex: none; display: flex; flex-direction: column; height: var(--panel-cur); min-height: 0; overflow: hidden; background: var(--bg-panel); border-top: 1px solid var(--line); }
.panel-closed .vs-panel { border-top: 0; }
.vs-panel-head { flex: none; display: flex; align-items: center; height: 35px; padding: 0 var(--space-2) 0 var(--space-3); }
.vs-ptabs { display: flex; gap: var(--space-1); }
.vs-ptabs button { position: relative; height: 35px; padding: 0 var(--space-2); font: 500 11px/35px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.vs-ptabs button:hover, .vs-ptabs button.on { color: var(--ink); }
.vs-ptabs button.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 1px; background: var(--accent); }
.vs-count { display: inline-block; min-width: 18px; margin-left: var(--space-1); padding: 0 5px; font: 500 11px/18px var(--font-sans); letter-spacing: 0; text-align: center; color: var(--ink); background: var(--bg-input); border-radius: var(--radius-full); }
.vs-panel-actions { display: flex; gap: 2px; margin-left: auto; }
.vs-panel-actions:not(.is-term) [data-act="term-new"], .vs-panel-actions:not(.is-term) [data-act="term-clear"] { display: none; }
.vs-panel-body { position: relative; flex: 1; min-height: 0; }
.vs-pview { position: absolute; inset: 0; overflow: auto; }
.vs-pview[hidden] { display: none; }
.vs-plist { padding: var(--space-1) 20px; }
.vs-prow { display: flex; align-items: center; gap: var(--space-2); height: 22px; }
.vs-prow .vs-ico { color: var(--term-warn); }
.vs-prow.muted .vs-ico { color: var(--ink-muted); }

/* Terminal */
.vs-term { height: 100%; overflow: auto; padding: 6px 20px 12px; font: 13px/20px var(--font-mono); color: var(--ink); cursor: text; user-select: text; }
.vs-term-out > div { white-space: pre-wrap; overflow-wrap: anywhere; }
.vs-term-line { display: flex; white-space: pre; }
.vs-term-in { flex: 1; min-width: 40px; padding: 0; font: inherit; color: var(--ink); background: transparent; border: 0; outline: 0; caret-color: var(--accent); }
.vs-term-in::placeholder { color: var(--ink-muted); }
.vs-term.is-busy .vs-term-line { visibility: hidden; }
.c-ok { color: var(--term-ok); } .c-path { color: var(--term-path); } .c-err { color: var(--term-err); } .c-warn { color: var(--term-warn); } .c-dim { color: var(--ink-muted); }
.c-hit { color: var(--term-warn); text-decoration: underline; }
.c-file { color: var(--term-path); text-decoration: none; }
.c-file:hover { text-decoration: underline; }
.c-inv { padding: 0 4px; color: var(--bg-panel); background: var(--ink); }
.c-train-wrap { overflow: hidden; }
.c-train { display: block; width: max-content; margin: 0; font: inherit; color: var(--term-ok); animation: vs-train 2.6s linear forwards; }
@keyframes vs-train { from { margin-left: 100%; } to { margin-left: -70%; } }

/* Barra de estado */
.vs-status { display: flex; align-items: stretch; padding: 0 6px; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: var(--status-h); color: var(--on-status); background: var(--status-bg); touch-action: none; }
.vs-status > button, .vs-status > span { display: flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-2); color: inherit; }
.vs-status > button:hover { box-shadow: inset 0 0 0 100px rgba(255, 255, 255, .16); }
.vs-status :focus-visible { outline: 1px solid var(--on-status); outline-offset: -3px; }
.vs-status-fill { flex: 1; cursor: row-resize; }

/* Lo que flota */
.vs-overlay { position: absolute; inset: 0; z-index: 45; display: none; }
.has-palette .vs-overlay, .has-dialog .vs-overlay { display: block; }
.has-dialog .vs-overlay { background: rgba(0, 0, 0, .35); }
.vs-palette { position: absolute; z-index: 50; top: 6px; left: 50%; display: none; flex-direction: column; width: min(560px, 90%); padding: 6px; transform: translateX(-50%); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); }
.has-palette .vs-palette, .vs-solo .vs-palette { display: flex; }
.vs-solo .vs-palette { position: static; transform: none; }
.vs-pal-in { height: 28px; padding: 0 8px; font: 13px var(--font-sans); color: var(--ink); background: var(--bg-editor); border: 1px solid var(--focus); border-radius: var(--radius-sm); outline: none; }
.vs-pal-in::placeholder { color: var(--ink-muted); }
.vs-pal-list { max-height: 320px; margin-top: 6px; overflow: auto; }
.vs-pal-item { display: flex; align-items: center; gap: var(--space-2); height: 24px; padding: 0 var(--space-2); white-space: nowrap; border-radius: var(--radius-sm); cursor: pointer; }
.vs-pal-item.on { background: var(--bg-select); }
.vs-pal-item:hover:not(.on) { background: var(--bg-hover); }
.vs-pal-label b { font-weight: 600; color: var(--accent); }
.vs-pal-desc { overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--ink-muted); }
.vs-pal-item kbd { margin-left: auto; }
.vs-pal-empty { padding: 2px 8px; color: var(--ink-muted); }
.vs-menu { position: absolute; z-index: 55; display: none; min-width: 250px; padding: var(--space-1); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); }
.has-menu .vs-menu { display: block; }
.vs-menu button { display: flex; justify-content: space-between; gap: var(--space-6); width: 100%; height: 26px; padding: 0 10px; text-align: left; border-radius: var(--radius-sm); }
.vs-menu button:hover, .vs-menu button:focus-visible { background: var(--bg-select); outline: none; }
.vs-menu kbd { padding: 0; color: var(--ink-muted); background: none; border: 0; }
.vs-menu hr { margin: 4px 6px; border: 0; border-top: 1px solid var(--line); }
.vs-dialog { position: absolute; z-index: 60; left: 50%; top: 28%; display: none; width: min(440px, 90%); padding: 18px 20px 16px; transform: translateX(-50%); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); }
.has-dialog .vs-dialog { display: block; }
.vs-dialog-title { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.vs-dialog p { margin: 0 0 var(--space-4); }
.vs-dialog-acts, .vs-toast-acts { display: flex; justify-content: flex-end; gap: var(--space-2); }
.vs .vs-dialog button, .vs .vs-toast-acts button, .vs .vs-btn { height: 26px; padding: 0 var(--space-3); color: var(--ink); background: var(--bg-side); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.vs .vs-dialog button.primary, .vs .vs-toast-acts button.primary, .vs .vs-btn.primary { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.vs-dialog button:focus-visible, .vs-toast-acts button:focus-visible, .vs-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.vs-toasts { position: absolute; z-index: 58; right: var(--space-3); bottom: calc(var(--status-h) + var(--space-3)); display: flex; flex-direction: column; gap: var(--space-2); width: min(380px, 80%); }
.vs-toast { display: grid; grid-template-columns: 16px 1fr 20px; align-items: start; gap: 6px 10px; padding: 12px 12px 12px 14px; font-size: 13px; line-height: 20px; background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); user-select: text; }
.vs-toast > .vs-ico { margin-top: 2px; color: var(--term-path); }
.vs-toast-x { display: grid; place-items: center; width: 20px; height: 20px; color: var(--ink-muted); border-radius: var(--radius-sm); }
.vs-toast-acts { grid-column: 2 / 4; }
.vs-toast code { padding: 0 4px; font: 12px/18px var(--font-mono); background: var(--bg-side); border-radius: var(--radius-sm); }

/* Ficha (hover) */
.vs-hover { position: absolute; z-index: 40; width: 300px; pointer-events: none; opacity: 0; transition: opacity .12s; }
.vs-hover.open { opacity: 1; }
.vs-card { padding: 12px 14px; font-size: 13px; line-height: 20px; color: var(--ink); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); white-space: normal; user-select: none; }
.vs-card-kind { display: flex; justify-content: space-between; gap: var(--space-2); font: 600 11px/16px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.vs-card-kind span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 11px/16px var(--font-mono); letter-spacing: 0; text-transform: none; }
.vs-card-title { margin-top: var(--space-1); font-size: 16px; line-height: 22px; font-weight: 600; }
.vs-card-sub { font: 12px/18px var(--font-mono); color: var(--ink-muted); }
.vs-card-level { margin-top: 6px; }
.vs-card-text { margin: 6px 0 0; }

/* Nivel */
.vs-level { display: inline-flex; align-items: center; gap: var(--space-2); }
.vs-pips { display: inline-flex; gap: 3px; }
.vs-pip { width: 7px; height: 7px; border: 1px solid var(--line-strong); border-radius: var(--radius-full); }
.vs-pip.on { background: var(--accent); border-color: var(--accent); }
.vs-level-word { font-size: 12px; color: var(--ink-muted); }

/* Vistas laterales: buscar, trayectoria, conocimiento */
.vs-sidebox { display: flex; flex-direction: column; gap: var(--space-2); padding: 4px 12px 10px 20px; }
.vs-field { width: 100%; padding: 4px 8px; font: 13px/20px var(--font-sans); color: var(--ink); background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); outline: none; resize: vertical; user-select: text; }
.vs-field:focus { border-color: var(--focus); }
.vs-field::placeholder { color: var(--ink-muted); }
.vs-hint { margin: 4px 20px 8px; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.vs-sr-file, .vs-sr-line { display: flex; align-items: center; gap: 6px; height: 22px; white-space: nowrap; cursor: pointer; }
.vs-sr-file { padding: 0 12px 0 20px; }
.vs-sr-dir { overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--ink-muted); }
.vs-sr-file .vs-count { margin-left: auto; }
.vs-sr-line { display: block; padding: 0 12px 0 42px; overflow: hidden; text-overflow: ellipsis; color: var(--ink-muted); }
.vs-sr-line mark { color: var(--accent); background: var(--accent-soft); border-radius: 2px; }
.vs-sr-file:hover, .vs-sr-line:hover, .vs-commit:hover, .vs-ext:hover { background: var(--bg-hover); }
.vs-commit { position: relative; display: flex; gap: 10px; padding: 6px 12px 6px 20px; cursor: pointer; }
.vs-commit::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; border-left: 1px solid var(--line-strong); }
.vs-sect + .vs-commit::before { top: 14px; }
.vs-commit:last-child::before { bottom: calc(100% - 14px); }
.vs-commit-dot { position: relative; flex: none; width: 9px; height: 9px; margin-top: 6px; background: var(--bg-side); border: 2px solid var(--accent); border-radius: var(--radius-full); }
.vs-commit-msg { line-height: 20px; }
.vs-commit-meta { font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.vs-commit-meta .h { font-family: var(--font-mono); }
.vs-commit-meta .r { color: var(--accent); }
.vs-ext { display: flex; gap: 10px; padding: 8px 12px 8px 20px; cursor: pointer; }
.vs-ext-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; font: 600 15px/1 var(--font-mono); background: var(--bg-input); border-radius: var(--radius-sm); }
.vs-ext-body { min-width: 0; }
.vs-ext-name { font-weight: 600; line-height: 20px; }
.vs-ext-desc { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.vs-ext-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.vs-ext-meta .vs-level-word { display: none; }

/* Pantallas estrechas: la barra lateral flota y se ocultan menús y botones de ventana */
@media (max-width: 720px) {
  .vs-menubar, .vs-win { display: none; }
  .vs .vs-cc { width: 56%; }
  .vs-side { position: absolute; z-index: 20; left: var(--activity-w); top: 0; bottom: 0; box-shadow: var(--shadow-pop); }
  .vs-sash-v { display: none; }
  .vs-md { padding: var(--space-4) var(--space-4) 48px; }
  .vs-status > span:not(.vs-status-fill) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vs-hover, .vs-sash::after { transition: none; } .c-train { animation: none; } }
.vs .vs-term-in:focus-visible, .vs .vs-pal-in:focus-visible, .vs .vs-field:focus-visible { outline: none; }
