/* THE KEYS OF THE RIGHT-HAND BAR (brief KB, 2026-11-01; inc/sidebarblock.php, core/vk/dtop.php, view/js/vk_keep.js).
   His words, 2026-11-01: «colocar el icono de reunion, el icono de streaming y el icono de gabar pantalla en la sidebar de la derecha de la app. y cuando se entra en el detalle que se pueda accedera esas funciuones desde donde te
   muestro en la primera foto» - «el boton de publicar cambios del header quitalo, y ponlo en el sidebar de la derecha. con el mismo comportamiento. Solo con el icono que tiene, sin el label, y con el tooltip "publicar cambios"» -
   «que los botones del sidebar de la derecha se vean que estan activos si sus ventanitas estan activas o en el vievport».
   Three parts: the capture keys and «Publicar cambios» as the rail dresses them (67 px wide, 46 px a row); the second view of the keys in the detail's top band (the classes are the same ones, so one state, one time and one menu
   for every copy: view/js/vk_screenrec.js, view/js/vk_live.js, view/js/vk_meet.js); and what a key of the bar looks like while its window is on (view/js/vk_keep.js). */

/* ================================================================ THE RAIL: NAWTUS LIVE and [REC] under «Reunión»
   An icon each, full row (the other keys' own size). The time shows under the icon while it runs ("1:02:33" fits in the 67 px); the ▾ of the options is a 22 x 24 corner of the row (a target of its own, over the icon's
   dead corner). The words «REC» and «NAWTUS LIVE» stay for a screen reader. The header's rules are scoped to the header: these are the longer ones, for the generic rules of vk_live.css. */
html .sidebarblock .vkBarCap { float: left; position: relative; display: block; width: 100%; height: 46px; margin: 0; padding: 0; line-height: 1; }
html .sidebarblock .vkBarCap .vkRecKey, html .sidebarblock .vkBarCap .vkLiveKey {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; padding: 0; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; border-radius: 0; background: transparent; color: #ffffff; box-shadow: none; outline: 0; cursor: pointer; font-family: 'Montserrat', sans-serif; letter-spacing: 0; transition: background .2s ease-in-out;
}
html .sidebarblock .vkBarCap .vkRecKey:hover, html .sidebarblock .vkBarCap .vkLiveKey:hover { background: rgba(0, 0, 0, .4); box-shadow: none; }
html .sidebarblock .vkBarCap .vkRecKey:focus-visible, html .sidebarblock .vkBarCap .vkLiveKey:focus-visible, html .sidebarblock .vkBarCap .vkRecMenuBtn:focus-visible, html .sidebarblock .vkBarCap .vkLiveMenuBtn:focus-visible { outline: 2px solid #0F52FF !important; outline-offset: -3px; }
html .sidebarblock .vkBarCap .vkRecKey-word, html .sidebarblock .vkBarCap .vkLiveKey-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html .sidebarblock .vkBarCap .vkRecKey-t, html .sidebarblock .vkBarCap .vkLiveKey-t { display: none; font: 700 10px/1 'Montserrat', sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; text-shadow: none; }
html .sidebarblock .vkBarCap .vkRecMenuBtn, html .sidebarblock .vkBarCap .vkLiveMenuBtn {
    position: absolute; right: 0; top: 0; z-index: 2; width: 22px; height: 24px; margin: 0; padding: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: center; float: none;
    border: 0; border-radius: 0 0 0 9px; background: transparent; color: rgba(255, 255, 255, .62); box-shadow: none; outline: 0; cursor: pointer; transition: background .2s ease-in-out, color .2s ease-in-out;
}
html .sidebarblock .vkBarCap .vkRecMenuBtn:hover, html .sidebarblock .vkBarCap .vkRecMenuBtn[aria-expanded="true"], html .sidebarblock .vkBarCap .vkLiveMenuBtn:hover, html .sidebarblock .vkBarCap .vkLiveMenuBtn[aria-expanded="true"] { background: rgba(0, 0, 0, .4); color: #ffffff; box-shadow: none; }

/* [REC]: the record mark at rest (a red disc in a white ring); recording, the row is red, the dot white and blinking, the time under it */
html .sidebarblock .vkBarCap .vkRecKey-dot { width: 12px; height: 12px; border-radius: 50%; background: #e5304a; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, .92); flex: none; animation: none; }
html .sidebarblock .vkBarCap .vkRecKey[aria-pressed="true"] { background: #e5304a; }
html .sidebarblock .vkBarCap .vkRecKey[aria-pressed="true"]:hover { background: #c9243d; }
html .sidebarblock .vkBarCap .vkRecKey[aria-pressed="true"] .vkRecKey-dot { background: #ffffff; box-shadow: none; animation: vkRecBlink 1.2s ease-in-out infinite; }
html .sidebarblock .vkBarCap .vkRecKey[aria-pressed="true"] .vkRecKey-t { display: block; color: #ffffff; }
html .sidebarblock .vkBarCap .vkRecKey[aria-pressed="true"] ~ .vkRecMenuBtn { color: rgba(255, 255, 255, .85); }
html .sidebarblock .vkBarCap .vkRecKey.is-wait { opacity: .6; cursor: progress; }

/* THE INSTANT SCREENSHOT (brief SN, 2026-11-02; view/js/vk_snap.js): the viewfinder corners under REC, an icon and nothing else; lit (the state is on) it wears the bar's green glow under a white icon, and a dot says it is waiting for the browser */
html .sidebarblock .vkBarCap .vkSnapKey {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; padding: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 0; background: transparent; color: #ffffff; box-shadow: none; outline: 0; cursor: pointer; transition: background .2s ease-in-out;
}
html .sidebarblock .vkBarCap .vkSnapKey:hover { background: rgba(0, 0, 0, .4); box-shadow: none; }
html .sidebarblock .vkBarCap .vkSnapKey:focus-visible { outline: 2px solid #0F52FF !important; outline-offset: -3px; }
html .sidebarblock .vkBarCap .vkSnapKey.is-on { background: rgba(0, 0, 0, .4); }
html .sidebarblock .vkBarCap .vkSnapKey.is-on::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: 2px; width: 46px; height: 16px; margin-left: -23px; pointer-events: none;
    background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(214, 255, 238, .9) 0%, rgba(36, 210, 155, .75) 14%, rgba(36, 210, 155, .28) 48%, rgba(36, 210, 155, 0) 100%); }
html .sidebarblock .vkBarCap .vkSnapKey.is-wait { opacity: .6; cursor: progress; }

/* NAWTUS LIVE: his radar alone, mint, with its still core; LIVE, the waves pulse (vk_live.css) and the row turns to his dark with the time in mint under the radar; amber when the push has broken */
html .sidebarblock .vkBarCap .vkLiveKey { color: #00FFB2; }
html .sidebarblock .vkBarCap .vkLiveKey[aria-pressed="true"] { background: linear-gradient(145deg, #181B20, #111317); box-shadow: inset 0 0 0 1px rgba(0, 255, 178, .5); }
html .sidebarblock .vkBarCap .vkLiveKey[aria-pressed="true"] .vkLiveKey-t { display: block; color: #00FFB2; font: 600 10px/1 monospace, system-ui, sans-serif; letter-spacing: 0; }
html .sidebarblock .vkBarCap .vkLiveKey.is-amber { color: #FFB020; box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .6); }
html .sidebarblock .vkBarCap .vkLiveKey.is-amber .vkLiveKey-t { color: #FFB020; }
html .sidebarblock .vkBarCap .vkLiveKey.is-wait { opacity: .7; cursor: progress; }
html .sidebarblock .vkBarCap .vkLiveMenuBtn { color: rgba(0, 255, 178, .7); }
html .sidebarblock .vkBarCap .vkLiveRadar { margin: 0; }

/* ================================================================ THE RAIL: «Publicar cambios» (the key the header had; view/js/vk_pubbtn.js paints it) - the icon only, dim until there is something to publish, then a tile */
html .sidebarblock a.vkPubBtn { opacity: .55; }
html .sidebarblock a.vkPubBtn:hover, html .sidebarblock a.vkPubBtn[data-state="lit"] { opacity: 1; }
html .sidebarblock a.vkPubBtn > i { display: inline-block; min-width: 38px; padding: 6px 0; margin: -6px 0; border-radius: 9px; font-size: 14px; line-height: 1; }
html .sidebarblock a.vkPubBtn[data-state="lit"] > i { background: #ffffff; color: #0F52FF !important; box-shadow: 0 2px 8px rgba(15, 82, 255, .28); }
html[data-theme="dark"] .sidebarblock > a.vkPubBtn[data-state="lit"] > i { background: #121212; color: #ffffff !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
html .sidebarblock a.vkPubBtn:hover { background: transparent !important; }          /* the tile is the key; the bar's hover wash would grey it */

/* ================================================================ THE DETAIL'S TOP BAND: the same three keys, second view (core/vk/dtop.php writes them, view/js/vk_dtop.js stands them in the empty stretch of the row)
   His words: «ha de colocar los iconos donde te marco» - the stretch right of «Maqueta», on the row's line. A button of the framed layer like «Salir» (view/css/vk_modal_ui.css: 36 px, 8 px radius, the field, the line); the class of
   each holds "-ico", so the layer's generic key rule leaves it to these. The words go first when the room is short (data-lvl 1), then the time (data-lvl 2), then a line of their own under the row (data-lvl 3). */
@media (min-width: 768px) {
    .vkDtTop .vkDtKeys { position: absolute; left: 0; top: 41px; height: 36px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
    .vkDtTop .vkDtKeys[hidden] { display: none; }
    .vkDtTop .vkDtKeys:not(.is-placed) { visibility: hidden; }          /* until view/js/vk_dtop.js has stood it in its place */
    html .vkDtTop .vkDtKeys .vkDtK-ico, html .vkDtTop .vkDtKeys .vkRecKey, html .vkDtTop .vkDtKeys .vkLiveKey, html .vkDtTop .vkDtKeys .vkRecMenuBtn, html .vkDtTop .vkDtKeys .vkLiveMenuBtn {
        box-sizing: border-box; height: 36px; margin: 0; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; float: none;
        border: 1px solid var(--vkb-line); border-radius: var(--vkb-r); background: var(--vkb-field); color: var(--vkb-text); box-shadow: none; outline: 0; cursor: pointer;
        font: 600 13px/1 var(--vkb-font); letter-spacing: .02em; text-shadow: none; transition: background .15s ease, border-color .15s ease, color .15s ease;
    }
    html .vkDtTop .vkDtKeys .vkDtK-ico:hover, html .vkDtTop .vkDtKeys .vkRecKey:hover, html .vkDtTop .vkDtKeys .vkRecMenuBtn:hover { background: var(--vkb-fieldh); box-shadow: none; }
    html .vkDtTop .vkDtKeys .vkDtK-ico:focus-visible, html .vkDtTop .vkDtKeys .vkRecKey:focus-visible, html .vkDtTop .vkDtKeys .vkLiveKey:focus-visible, html .vkDtTop .vkDtKeys .vkRecMenuBtn:focus-visible, html .vkDtTop .vkDtKeys .vkLiveMenuBtn:focus-visible { outline: 2px solid var(--vkb-green); outline-offset: 2px; }
    .vkDtTop .vkDtKeys .vkRecWrap, .vkDtTop .vkDtKeys .vkLiveWrap { display: inline-flex; align-items: stretch; margin: 0; position: static; transform: none; }
    html .vkDtTop .vkDtKeys .vkRecKey, html .vkDtTop .vkDtKeys .vkLiveKey { border-radius: var(--vkb-r) 0 0 var(--vkb-r); }
    html .vkDtTop .vkDtKeys .vkRecMenuBtn, html .vkDtTop .vkDtKeys .vkLiveMenuBtn { width: 26px; padding: 0; border-left-width: 0; border-radius: 0 var(--vkb-r) var(--vkb-r) 0; }
    .vkDtTop .vkDtKeys svg { flex: none; }
    .vkDtTop .vkDtKeys .vkMeet-i { width: 16px; height: 16px; stroke-width: 1.8; }
    .vkDtTop .vkDtKeys .vkMeetOpen { position: relative; }
    .vkDtTop .vkDtKeys .vkMeetOpen .vkMeet-dot { position: static; display: none; width: 8px; height: 8px; border-radius: 50%; background: #ff3e5e; box-shadow: none; flex: none; }
    .vkDtTop .vkDtKeys .vkMeetOpen.is-on .vkMeet-dot { display: block; }
    .vkDtTop .vkDtKeys .vkMeetOpen.is-on:not(.is-here) .vkMeet-dot { background: #f5c542; }
    .vkDtTop .vkDtKeys .vkMeetOpen .vkMeet-n { display: inline-block; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: #0F52FF; color: #fff; font: 700 10px/15px 'Montserrat', system-ui, sans-serif; text-align: center; }
    .vkDtTop .vkDtKeys .vkMeetOpen .vkMeet-n[hidden] { display: none; }
    .vkDtTop .vkDtKeys .vkMeetOpen[aria-expanded="true"] { border-color: var(--vkb-green); color: var(--vkb-green); }
    /* [REC] */
    html .vkDtTop .vkDtKeys .vkRecKey-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5304a; flex: none; }
    html .vkDtTop .vkDtKeys .vkRecKey-t, html .vkDtTop .vkDtKeys .vkLiveKey-t { display: none; font-variant-numeric: tabular-nums; }
    html .vkDtTop .vkDtKeys .vkRecKey[aria-pressed="true"] { background: #e5304a; border-color: #e5304a; color: #ffffff; }
    html .vkDtTop .vkDtKeys .vkRecKey[aria-pressed="true"]:hover { background: #c9243d; border-color: #c9243d; }
    html .vkDtTop .vkDtKeys .vkRecKey[aria-pressed="true"] .vkRecKey-dot { background: #ffffff; animation: vkRecBlink 1.2s ease-in-out infinite; }
    html .vkDtTop .vkDtKeys .vkRecKey[aria-pressed="true"] .vkRecKey-t, html .vkDtTop .vkDtKeys .vkLiveKey[aria-pressed="true"] .vkLiveKey-t { display: inline; }
    html .vkDtTop .vkDtKeys .vkRecKey.is-wait, html .vkDtTop .vkDtKeys .vkLiveKey.is-wait { opacity: .6; cursor: progress; }
    html .vkDtTop .vkDtKeys .vkRecMenuBtn[aria-expanded="true"], html .vkDtTop .vkDtKeys .vkLiveMenuBtn[aria-expanded="true"] { border-color: var(--vkb-green); }
    /* NAWTUS LIVE: his dark key and his mint radar, as the editors' header wears it */
    html .vkDtTop .vkDtKeys .vkLiveKey, html .vkDtTop .vkDtKeys .vkLiveMenuBtn { background: linear-gradient(145deg, #181B20, #111317); color: #00FFB2; border-color: #232730; letter-spacing: .1em; font-family: monospace, system-ui, sans-serif; font-size: 12px; }
    html .vkDtTop .vkDtKeys .vkLiveKey:hover, html .vkDtTop .vkDtKeys .vkLiveMenuBtn:hover, html .vkDtTop .vkDtKeys .vkLiveMenuBtn[aria-expanded="true"] { border-color: #00FFB2; box-shadow: 0 0 10px rgba(0, 255, 178, .2); }
    html .vkDtTop .vkDtKeys .vkLiveKey.is-amber { color: #FFB020; border-color: #FFB020; }
    html .vkDtTop .vkDtKeys .vkLiveKey[aria-pressed="true"] { border-color: rgba(0, 255, 178, .55); }
    /* the instant screenshot: an icon, a square key; lit while the state is on */
    html .vkDtTop .vkDtKeys .vkSnapKey { width: 36px; padding: 0; }
    html .vkDtTop .vkDtKeys .vkSnapKey.is-on { background: var(--vkb-green); border-color: var(--vkb-green); color: #ffffff; }
    html .vkDtTop .vkDtKeys .vkSnapKey.is-wait { opacity: .6; cursor: progress; }
    html .vkDtTop .vkDtKeys[data-lvl="3"] .vkSnapKey { width: 28px; }
    /* the room runs short: the words go (the icon, the dot and the time say it), then the time */
    .vkDtTop .vkDtKeys:is([data-lvl="1"], [data-lvl="2"], [data-lvl="3"]) :is(.vkDtK-word, .vkRecKey-word, .vkLiveKey-word) { display: none; }
    html .vkDtTop .vkDtKeys:is([data-lvl="1"], [data-lvl="2"], [data-lvl="3"]) :is(.vkDtK-ico, .vkRecKey, .vkLiveKey) { padding: 0 10px; }
    html .vkDtTop .vkDtKeys:is([data-lvl="2"], [data-lvl="3"]) :is(.vkRecKey[aria-pressed="true"] .vkRecKey-t, .vkLiveKey[aria-pressed="true"] .vkLiveKey-t) { display: none; }
    html .vkDtTop .vkDtKeys:is([data-lvl="2"], [data-lvl="3"]) :is(.vkDtK-ico, .vkRecKey, .vkLiveKey) { padding: 0 8px; }
    html .vkDtTop .vkDtKeys:is([data-lvl="2"], [data-lvl="3"]) :is(.vkRecMenuBtn, .vkLiveMenuBtn) { width: 22px; }
    html .vkDtTop .vkDtKeys[data-lvl="3"] :is(.vkDtK-ico, .vkRecKey, .vkLiveKey, .vkRecMenuBtn, .vkLiveMenuBtn) { height: 28px; }          /* the line of their own, under the row: 28 px, in the band between the row and the picture */
}

/* ================================================================ A KEY OF THE BAR IS ON WHILE ITS WINDOW IS (view/js/vk_keep.js puts .vkKeep-on on it and takes it off)
   The bar's own `selected` look (view/custom/styles_custom.php: the darker band) is also its HOVER look, so on its own it does not say «on» to a pointer that is not there; the assistant's and the history's keys already add the app's green
   (a glow under the icon, view/css/vk_asst_panel.css, view/css/vk_history.css) while their bar is open. Every key wears both now, the one look: the band and that glow. */
/* BRAIN 16 (2026-11-13), his words with a shot of the IA key on: «El icono que esta activo en la sidebar de la derecha ... tiene que tener un aspecto siguiente: border-radius: 12px 0px 0px 12px; Despues tiene que tener el verde
   nuclear corporativo de nawtus y que tengo un resplandor como el logo de nawtus ... Ha de preservar la misma anchura que ahora tiene en su espacio y pegado a la derecha ... Pon el icono del color del fondo del mapa» - and «La "A»
   of the three proposals (_project/ideas: B16-bar-proposal). The key keeps its box (the bar's 67 px, against the right edge); the NAWTUS green #29ecaf (his sample), the icon in the map's floor colour #0e151e (--vkrb-sea),
   a soft glow. !important because each key's own sheet colours its icon and its open state (vk_bartabs / vk_history / vk_asst_panel / vk_meet / vk_encurso / vk_dark.css): the ONE «on» look wins over all of them. */
html .sidebarblock .vkKeep-on { background: #29ecaf !important; color: #0e151e !important; border-radius: 12px 0 0 12px !important;
    box-shadow: 0 0 10px 1px rgba(41, 236, 175, .55), 0 0 24px 4px rgba(41, 236, 175, .22) !important; }
html .sidebarblock .vkKeep-on .fa, html .sidebarblock .vkKeep-on .vkIa-i, html .sidebarblock .vkKeep-on .vkHis-i, html .sidebarblock .vkKeep-on .vkCh-i, html .sidebarblock .vkKeep-on .vkMeet-i,
html .sidebarblock .vkKeep-on .vkMail-i, html .sidebarblock .vkKeep-on .vkBook-i, html .sidebarblock .vkKeep-on .vkSt-i, html .sidebarblock .vkKeep-on .vkStp-i, html .sidebarblock .vkKeep-on .vkSnap-i,
html .sidebarblock .vkKeep-on .vkFan-i, html .sidebarblock .vkKeep-on .vkMe-i, html .sidebarblock .vkKeep-on .vkMm-i, html .sidebarblock .vkKeep-on .vkAsp-bar-i, html .sidebarblock .vkKeep-on .vkGw-bar-i { color: #0e151e !important; }          /* (each icon by its own class: a selector ending in a tag would be tested on every element of the page at every style recalc - brain 14's rule) */
html .sidebarblock .vkKeep-on::after { content: none !important; }
html .sidebarblock .vkBarCap > button { z-index: 1; }
html .sidebarblock .vkBarCap > .vkRecMenuBtn, html .sidebarblock .vkBarCap > .vkLiveMenuBtn { z-index: 2; }
