/* THE RIGHT-HAND BAR IN NINE KEYS (brief BR, 2026-11-12; view/js/vk_bartabs.js, inc/sidebarblock.php). His «Sí a todo» to the proposal _project/ideas/2026-11-12-right-bar-fewer-keys.html.
   Four parts: the hidden keys of a group, the group keys' numbers, the strip of tabs at the top of a panel's frame (and what a hosted window looks like inside a tab), the fan of «Grabar y emitir», and the logo's menu with «Salir».
   NOTHING HERE RESTYLES A FRAME OR A PANEL'S PADDING (brief RB part 4 is doing that): the strip is one more row inside the panel's own frame, and a hosted window drops its own veil, card and head to fill the tab. */

/* ================================================================ the keys that joined another: in the page (their panels read them), not on the bar */
html .sidebarblock a.vkGhost { display: none !important; }
/* «Salir» left the bar for the logo's menu (inc/header.php): the bar's × stays in the page (the logo's menu presses its form) and is drawn only where the bar is the person's phone bar (view/css/vk_phonebar.css) */
html .sidebarblock > #trigg_disco { display: none !important; }
@media (max-width: 1125px) { html body.vkPhonePerson .sidebarblock > #trigg_disco { display: flex !important; } }          /* a person's PHONE (1125 px and under, view/css/vk_phonebar.css) keeps its own bar, with «Salir» as its first key; a person on a computer has it in the logo's menu like everyone */

/* ================================================================ the group keys: IA, Historial, Reunión */
.sidebarblock .vkIaOpen { position: relative; }
.sidebarblock .vkIa-i { display: block; margin: 0 auto; }
.sidebarblock .vkIaOpen[aria-expanded="true"] { color: #ffffff; }
.sidebarblock .vkIa-badge { position: absolute; top: 6px; right: 9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #24D29B; color: #0f1a17;
    font: 700 10.5px/17px var(--vk-departure, "Departure Mono", ui-monospace, monospace); text-align: center; pointer-events: none; }
.sidebarblock .vkIa-badge[hidden] { display: none; }
.sidebarblock .vkIa-dot { position: absolute; top: 9px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: #24D29B; box-shadow: 0 0 0 2px #1b1f2a; pointer-events: none; }
.sidebarblock .vkIa-dot[hidden] { display: none; }
.sidebarblock .vkHis-ec, .sidebarblock .vkMeet-bk { position: absolute; bottom: 6px; right: 7px; min-width: 16px; height: 16px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #ffffff;
    font: 700 10px/1 'Montserrat', sans-serif; letter-spacing: 0; pointer-events: none; box-shadow: 0 0 0 2px #1b1f2a; }
.sidebarblock .vkHis-ec { background: #6e1fd1; }
.sidebarblock .vkMeet-bk { background: #c24141; }
.sidebarblock .vkHis-ec[hidden], .sidebarblock .vkMeet-bk[hidden] { display: none; }
.sidebarblock .vkHisOpen, .sidebarblock .vkMeetOpen { position: relative; }

/* ================================================================ THE STRIP: «Asistente · Chat», «Historial · En curso» - one more row at the top of the panel's frame, in the words of the meeting bar's tabs (view/css/vk_meet_bar.css) */
.vkBt { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 16px; min-height: 34px; margin: 0; padding: 8px 14px 0; box-sizing: border-box; font-family: var(--vk-departure, "Departure Mono", ui-monospace, monospace); }
.vkBt-tab { position: relative; border: 0; background: none; padding: 4px 2px 7px; font: 400 13.5px var(--vk-departure, "Departure Mono", ui-monospace, monospace); letter-spacing: .02em; color: #8fa0a8; cursor: pointer; white-space: nowrap; }
.vkBt-tab:hover { color: #e9eef2; }
.vkBt-tab.is-on { color: #f1f4f4; cursor: default; }
.vkBt-tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: #24D29B; }
.vkBt-tab:focus-visible, .vkBt-x:focus-visible { outline: 2px solid #0F52FF; outline-offset: 2px; }
.vkBt-n { margin-left: 6px; display: inline-block; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: #24D29B; color: #0f1a17; font: 700 10px/15px var(--vk-departure, monospace); text-align: center; vertical-align: 1px; font-style: normal; }
.vkBt-n[hidden] { display: none; }
.vkBt-n.is-dot { min-width: 8px; width: 8px; height: 8px; padding: 0; vertical-align: 3px; }
.vkBt-sp { flex: 1 1 auto; }
.vkBt-x { display: none; border: 0; background: none; width: 28px; height: 28px; margin-bottom: 3px; border-radius: 9px; font-size: 20px; line-height: 1; color: #9fb0b7; cursor: pointer; }
.vkBt-x:hover { background: rgba(255, 255, 255, .08); color: #ffffff; }
/* the panels have their own close key in their head: the strip's × is for the one panel that hides its head (the history bar on its «En curso» tab) */
#vkHis.is-tab-ec .vkBt-x { display: inline-block; }
/* the chat is a bar or a big window: the strip belongs to the bar */
.vkCh-win:not(.is-bar) > .vkBt { display: none; }

/* ================================================================ «En curso» inside the history bar: the history's own head, filters and list give way to the window */
#vkHis .vkHb-ec { display: none; flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
#vkHis.is-tab-ec .vkHb-ec { display: block; }
#vkHis.is-tab-ec > :not(.vkBt):not(.vkHb-ec):not(.vkf-svg) { display: none !important; }          /* (the notched frame's outline stays) */
.vkEc-win.is-hosted { position: static; inset: auto; transform: none; width: auto; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; animation: none; }
.vkEc-win.is-hosted .vkEc-x { display: none; }
.vkEc-win.is-hosted > .vkf-svg { display: none !important; }          /* brief CF (his third «quita el borde del frame interior! solo el borde!!»): the frames code outlines the hosted window too, a second notched outline inside the bar's own; only the outline goes - the box keeps its padding and the bar's air */
.vkEc-win.is-hosted { clip-path: none !important; }
.vkEc-win.is-hosted .vkEc-head { display: none; }          /* the tab says «En curso» and carries the number */
.vkEc-win.is-hosted .vkEc-tabs { padding: 0 14px; }
.vkEc-win.is-hosted .vkEc-web, .vkEc-win.is-hosted .vkEc-foot, .vkEc-win.is-hosted .vkEc-empty { padding-left: 14px; padding-right: 14px; }
.vkEc-win.is-hosted .vkEc-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 12px; padding: 12px 14px; }          /* the rows as the window draws them under 560 px */
.vkEc-win.is-hosted .vkEc-pic { width: 52px; height: 52px; }
.vkEc-win.is-hosted .vkEc-act { grid-column: 1 / -1; max-width: none; justify-content: flex-start; }
.vkEc-win.is-hosted .vkEc-row:not(.is-ask) .vkEc-act { --vkb-px: 10px; gap: 5px; flex-wrap: nowrap; }          /* brief EC: «Seguir», «Descartar» and «Ir» stay on ONE line at the bar's 340 px (the keys' own padding comes from --vkb-px, vk_modal_ui.css) */
.vkEc-win.is-hosted .vkEc-act .vkEc-ir { gap: 5px; }
.vkEc-win.is-hosted .vkEc-act .vkEc-ask { text-align: left; }

/* ================================================================ «Citas» inside the meeting bar (view/js/vk_meet_bar.js .vkMb-book) */
.vkMb-frame .vkMb-pane.vkMb-book { overflow-y: auto; padding: 6px 2px 4px 0; scrollbar-width: thin; }
.vkBk-win.is-hosted { position: static; inset: auto; transform: none; width: 100%; max-width: none; max-height: none; height: auto; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; }
.vkBk-win.is-hosted .vkBk-x { display: none; }
.vkBk-win.is-hosted .vkBk-head { flex-wrap: wrap; gap: 6px 10px; padding: 0 0 8px; }
.vkBk-win.is-hosted .vkBk-head h2 { display: none; }
.vkBk-win.is-hosted .vkBk-tabs { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }          /* the four sub-tabs on one row of a 320 px pane */
.vkBk-win.is-hosted .vkBk-tab { padding: 6px 9px; font-size: 13px; }
.vkBk-win.is-hosted .vkBk-head .vkBk-btn { margin-left: auto; padding: 4px 11px; font-size: 12px; }
.vkBk-win.is-hosted .vkBk-msg, .vkBk-win.is-hosted .vkBk-msg:not(:empty) { padding-left: 0; padding-right: 0; }
.vkBk-win.is-hosted .vkBk-body { padding: 10px 2px 14px 0; overflow-x: auto; }
.vkBk-win.is-hosted .vkBk-line { flex-direction: column; gap: 0; margin: 5px 0; }          /* label over value: a request's long link no longer breaks letter by letter */
.vkBk-win.is-hosted .vkBk-line span { min-width: 0; font-size: 12px; }
.vkBk-win.is-hosted .vkBk-line b { overflow-wrap: anywhere; }
.vkBk-win.is-hosted .vkBk-card { padding: 11px 12px; }

/* ================================================================ «Sitios» inside the globe's window (a fourth tab) */
.vkGw-sitesHost { min-height: 0; }
.vkSt-card.is-hosted { position: static; inset: auto; transform: none; width: auto; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.vkSt-card.is-hosted .vkSt-head { display: none; }          /* the tab says «Sitios» */

/* ================================================================ GRABAR Y EMITIR: the key, and the fan of four round keys on an arc LEFT of it */
.sidebarblock .vkFanBox { float: left; position: relative; display: block; width: 100%; height: 46px; margin: 0; padding: 0; }
.sidebarblock .vkFanKey { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; padding: 0 !important; box-sizing: border-box; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 3px; float: none; }
.sidebarblock .vkFan-i { display: block; margin: 0 auto; }
.sidebarblock .vkFan-t { display: none; font: 700 10px/1 'Montserrat', sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sidebarblock .vkFanKey.is-open, .sidebarblock .vkFanKey[aria-expanded="true"] { background: rgba(0, 0, 0, .4); color: #ffffff; }
/* it wears what runs: red with the time while a recording runs, his dark with the mint radar and the time while a live runs, a blinking dot while the step recorder records */
.sidebarblock .vkFanKey.is-rec { background: #e5304a; color: #ffffff; }
.sidebarblock .vkFanKey.is-rec:hover { background: #c9243d; }
.sidebarblock .vkFanKey.is-rec .vkFan-i { animation: vkFanBlink 1.2s ease-in-out infinite; }
.sidebarblock .vkFanKey.is-live { background: linear-gradient(145deg, #181B20, #111317); box-shadow: inset 0 0 0 1px rgba(0, 255, 178, .5); color: #00FFB2; }
.sidebarblock .vkFanKey.is-live .vkFan-i { animation: vkFanPulse 1.6s ease-in-out infinite; }
.sidebarblock .vkFanKey.is-rec .vkFan-t, .sidebarblock .vkFanKey.is-live .vkFan-t { display: block; }
.sidebarblock .vkFanKey.is-stp:not(.is-rec):not(.is-live) .vkFan-i { color: #e5304a; animation: vkFanBlink 1.2s ease-in-out infinite; }
@keyframes vkFanBlink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes vkFanPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* the fan: a point at the key's centre (set from the key's rectangle) and each key standing --fx / --fy away from it */
.sidebarblock .vkFan { position: fixed; z-index: 1004; width: 0; height: 0; margin: 0; padding: 0; pointer-events: none; }
.sidebarblock .vkFan[hidden] { display: none; }
.sidebarblock .vkFan > * { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; margin: 0; padding: 0; float: none; box-sizing: border-box; border-radius: 50%; background: #11151c; border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .55); color: #ffffff; pointer-events: auto; opacity: 0; transform: translate(0, 0) scale(.4); transition: transform .24s cubic-bezier(.2, .9, .3, 1.15), opacity .18s ease; transition-delay: calc(var(--fi, 0) * 22ms); }
.sidebarblock .vkFan.is-on > * { opacity: 1; transform: translate(var(--fx, 0), var(--fy, 0)) scale(1); }
/* (his «las opciones tienen que resaltar mas con un border verde o algo parecido», 2026-11-12) each key of the fan ringed in the app's green, a faint green glow round it; the one running is brighter; the laptop's
   greyed keys keep a grey ring (they cannot be pressed) */
.sidebarblock .vkFan > * { border: 2px solid rgba(0, 255, 178, .7); box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 10px rgba(0, 255, 178, .22); }
.sidebarblock .vkFan > *:hover { border-color: #00FFB2; box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 14px rgba(0, 255, 178, .4); }
.sidebarblock .vkFan > .is-running { border-color: #00FFB2; box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 16px rgba(0, 255, 178, .5); }
.sidebarblock .vkFan > a.vkOffKey, .sidebarblock .vkFan > a.vkOffKey:hover { border-color: rgba(255, 255, 255, .16); box-shadow: 0 6px 18px rgba(0, 0, 0, .55); }
/* each of the four, round: the existing keys' own rules (view/css/vk_keys.css, vk_steps.css) make them fill their cell - here the cell is a 40 px disc */
html .sidebarblock .vkFan .vkBarCap { height: 40px; width: 40px; overflow: visible; }
.sidebarblock .vkFan .vkBarCap > button.vkSnapKey, .sidebarblock .vkFan .vkBarCap > button.vkRecKey, .sidebarblock .vkFan .vkBarCap > button.vkLiveKey, .sidebarblock .vkFan .vkBarCap > button.vkStpKey { border-radius: 50%; }
.sidebarblock .vkFan .vkBarCap > button.vkRecMenuBtn, .sidebarblock .vkFan .vkBarCap > button.vkLiveMenuBtn { top: auto; right: -5px; bottom: -5px; width: 17px; height: 17px; border-radius: 50%; background: #1d2330; border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .85); z-index: 3; }
.sidebarblock .vkFan .vkBarCap > button.vkRecMenuBtn svg, .sidebarblock .vkFan .vkBarCap > button.vkLiveMenuBtn svg { width: 8px; height: 8px; }
.sidebarblock .vkFan .vkBarCap .vkRecKey-t, .sidebarblock .vkFan .vkBarCap .vkLiveKey-t { display: none !important; }          /* the time is on the fan's own key while it runs */
.sidebarblock .vkFan .vkBarCap .vkStp-dot { right: 8px; top: 6px; }
.sidebarblock .vkFan .vkBarCap .vkSnapKey.is-on::after { width: 30px; margin-left: -15px; }
/* the laptop's greyed keys of the fan (brief LM): round, grey, the same */
.sidebarblock .vkFan > a.vkOffKey { display: flex !important; align-items: center; justify-content: center; padding: 0 !important; width: 40px; }
.sidebarblock .vkFan > a.vkOffKey svg { display: block; }
@media (prefers-reduced-motion: reduce) { .sidebarblock .vkFan > * { transition: none; } .sidebarblock .vkFanKey.is-rec .vkFan-i, .sidebarblock .vkFanKey.is-live .vkFan-i, .sidebarblock .vkFanKey.is-stp .vkFan-i { animation: none; } }

/* ================================================================ SALIR: the logo's menu (inc/header.php .vkLg-caret, #vkLgMenu; view/js/vk_bartabs.js). They stand inside header .secondline, whose own `button` rules (style.css: blue, 67 x 80, floated) are undone by the longer selector. */
html header .secondline .vkLg-caret { position: fixed; z-index: 1004; left: 40px; top: 49px; float: none; width: 17px; height: 17px; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
    background: #11151c; color: #e9eef2; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); text-align: center; }
html header .secondline .vkLg-caret:hover, html header .secondline .vkLg-caret[aria-expanded="true"] { background: #1d2330; color: #ffffff; border-color: rgba(255, 255, 255, .55); }
html header .secondline .vkLg-caret:focus-visible { outline: 2px solid #0F52FF; outline-offset: 2px; }
.vkLg-caret svg { display: block; width: 9px; height: 9px; }
html header .secondline .vkLg-menu { position: fixed; z-index: 2147483000; min-width: 150px; padding: 6px; border-radius: 12px; background: #151a23; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); font-family: var(--vk-departure, "Departure Mono", ui-monospace, monospace); float: none; width: auto; height: auto; }
html header .secondline .vkLg-menu[hidden] { display: none; }
html header .secondline .vkLg-out { display: flex; align-items: center; gap: 9px; float: none; width: 100%; height: auto; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: #e9eef2; font: 400 13.5px var(--vk-departure, "Departure Mono", ui-monospace, monospace); letter-spacing: .02em; text-align: left; cursor: pointer; }
html header .secondline .vkLg-out:hover, html header .secondline .vkLg-out:focus-visible { background: rgba(255, 255, 255, .09); color: #ffffff; outline: 0; }
.vkLg-out svg { flex: none; }
@media (max-width: 1125px) { body.vkPhonePerson .vkLg-caret { display: none !important; } }
