:root {
  --web-desktop-top: #3B1F4D;
  --web-desktop-bottom: #0B0B0D;
  --web-face: #d8d8dc;
  --web-paper: #F5F1E8;
  --web-ink: #0B0B0D;
  --web-muted: #4a4a52;
  --web-light: #F5F1E8;
  --web-mid: #9e9e9e;
  --web-shadow: #4a4a52;
  --web-active: #c5a059;
  --web-active-light: #f0ce7a;
  --web-active-dark: #7a5e27;
  --web-inactive: #9e9e9e;
  --web-inactive-light: #d8d8dc;
  --web-inactive-dark: #4a4a52;
  --web-start: #c5a059;
  --web-start-light: #f0ce7a;
  --web-start-dark: #7a5e27;
  --web-task: #3B1F4D;
  --web-task-light: #B89A52;
  --web-task-dark: #0B0B0D;
  --web-tray: #0B0B0D;
  --web-select: #3B1F4D;
  --web-danger: #e2503d;
  --web-live: #16821f;
  --web-mark: #d8d8dc;
  --web-desktop-ink: #F5F1E8;
  --web-on-accent: #F5F1E8;
  --web-on-title: #0B0B0D;
  --web-chrome: Tahoma, "MS Sans Serif", Arial, sans-serif;
  --web-mono: Tahoma, "MS Sans Serif", Arial, sans-serif;
  --web-arte: Fixedsys, "Lucida Console", "Courier New", monospace;
  --taskbar-height: 30px;
  --window-titlebar-height: 30px;
  --menubar-height: 24px;
  --statusbar-height: 23px;
  --window-radius: 8px 8px 0 0;
  --title-radius: 8px 8px 0 0;
  --control-radius: 3px;
  --menu-radius: 6px 6px 0 0;
  --start-radius: 0 9px 9px 0;
  --desktop-fill: var(--ornamento), var(--trama-fondo), linear-gradient(155deg, var(--web-desktop-top) 0%, var(--web-desktop-bottom) 72%, #0B0B0D 100%);
  --title-active-fill: var(--trama-titulo-activo), linear-gradient(180deg, var(--web-active-light) 0%, #B89A52 16%, var(--web-active) 54%, var(--web-active-dark) 100%);
  --title-inactive-fill: var(--trama-titulo-inactivo), linear-gradient(180deg, var(--web-inactive-light) 0%, var(--web-inactive) 56%, var(--web-inactive-dark) 100%);
  --taskbar-fill: var(--trama-tareas), linear-gradient(180deg, var(--web-task-light) 0%, var(--web-task) 48%, var(--web-task-dark) 100%);
  --start-fill: linear-gradient(180deg, var(--web-start-light) 0%, #B89A52 18%, var(--web-start) 62%, var(--web-start-dark) 100%);
  --tray-fill: linear-gradient(180deg, #3B1F4D 0%, var(--web-tray) 68%, #0B0B0D 100%);
  --task-fill: linear-gradient(180deg, #4a4a52 0%, var(--web-task) 45%, #0B0B0D 100%);
  --task-active-fill: linear-gradient(0deg, #0B0B0D 0%, #3B1F4D 100%);
  --menu-head-fill: var(--trama-menu), linear-gradient(180deg, var(--web-active-light) 0%, var(--web-active) 58%, var(--web-active-dark) 100%);
  --menu-foot-fill: linear-gradient(180deg, #3B1F4D 0%, #0B0B0D 100%);
  --stage-fill: repeating-linear-gradient(0deg, var(--web-paper) 0 3px, #d8d8dc 3px 4px);
  --utility-fill: var(--web-face);
  --group-fill: #F5F1E8;
  --sample-fill: #d8d8dc;
  --scroll-track: #F5F1E8;
  --scroll-thumb: #d8d8dc;
  --scroll-arrow: #0B0B0D;
  --scroll-track-fill: repeating-conic-gradient(#F5F1E8 0 25%, #9e9e9e 0 50%) 0 0 / 4px 4px;
  

























  --trama-titulo-activo: url("texturas/titulo-activo.svg") repeat-x left top;
  --trama-titulo-inactivo: url("texturas/titulo-inactivo.svg") repeat-x left top;
  --trama-tareas: url("texturas/barra-tareas.svg") repeat-x left top;
  --trama-menu: url("texturas/menu-cabecera.svg") repeat-x left top;
  --trama-fondo: url("texturas/fondo-trama.svg") repeat left top;
  




  --ornamento: url("texturas/ornamento.svg") repeat left top;

  










  --raised-shadow:
    inset 1px 1px 0 #F5F1E8, inset -1px -1px 0 #0B0B0D,
    inset 2px 2px 0 var(--web-light), inset -2px -2px 0 var(--web-shadow);
  --sunken-shadow:
    inset 1px 1px 0 var(--web-shadow), inset -1px -1px 0 #F5F1E8,
    inset 2px 2px 0 #0B0B0D, inset -2px -2px 0 var(--web-light);
  --status-shadow: inset 0 1px 0 #F5F1E8, inset 0 2px 0 #9e9e9e;
  --window-shadow: 2px 3px 7px rgba(0, 0, 0, .46);
  --window-inactive-shadow: 1px 2px 5px rgba(0, 0, 0, .34);
  --window-drag-shadow: 1px 2px 10px rgba(0, 0, 0, .58);
  --menu-shadow: 2px 4px 9px rgba(0, 0, 0, .42);
  --control-fill: linear-gradient(135deg, var(--web-active-light) 0%, var(--web-active) 56%, var(--web-active-dark) 100%);
  --control-close-fill: linear-gradient(135deg, var(--web-inactive-light) 0%, var(--web-inactive) 58%, var(--web-inactive-dark) 100%);
  --control-shadow: inset 1px 1px 0 rgba(255, 255, 255, .48), inset -1px -1px 0 rgba(0, 0, 0, .25);
  --control-pressed-shadow: inset 1px 1px 1px rgba(0, 0, 0, .4);
  --placeholder-shadow: var(--raised-shadow), 3px 3px 5px rgba(0, 0, 0, .18);
  --taskbar-top-shadow: inset 0 1px 0 rgba(255, 255, 255, .34);
  --task-button-shadow: inset 1px 1px 0 rgba(255, 255, 255, .28);
  --task-pressed-shadow: inset 1px 1px 1px rgba(0, 0, 0, .36);
  --tray-border: #0B0B0D #B89A52 #B89A52 #0B0B0D;
  --tray-shadow: inset 1px 1px 1px rgba(0, 0, 0, .24);
  --tray-text-shadow: 1px 1px 1px #0B0B0D;
  --hover-filter: brightness(1.12);
  --font-smoothing: auto;
  --text-rendering: auto;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  color-scheme: light;

  




  --enoc-papel: #fbf6cf;
  --enoc-tinta: #12100c;
  --enoc-borde: #12100c;
  --enoc-boton: #f6efc0;
  --enoc-boton-alto: #ffffff;
  --enoc-boton-bajo: #e6dfaa;
  --enoc-sombra: rgba(0, 0, 0, .35);
  
  --enoc-radio: 10px;
  --enoc-radio-boton: 4px;
  --enoc-alarma: #a5231c;


  


  --boot-fondo: #04070a;
  --boot-tinta: #7fd39b;
  --boot-titulo: #d8f5e2;
  --boot-apagado: #3f7a56;
  --boot-barrido: #2f6f4a;


  



  --quiz-bien: #4a7f3f;
  --quiz-mal: #a5231c;


  


  --babilonia-fondo: #050806;
  --babilonia-tinta: #48f08a;
  --babilonia-borde: #1d6b3c;
  --babilonia-halo: rgb(72 240 138 / .24);
  --babilonia-sombra: rgb(0 0 0 / .67);
  --babilonia-alarma: #ff5544;
  --babilonia-gana: #b6ff6a;


  

  --notas-hoja: #fffdf4;
  --notas-alarma: #a5231c;


  

  --revision-marca: #c98a1b;

  

  --uac-velo: var(--web-shadow);
  --uac-velo-opacidad: .76;
  --uac-panel: var(--web-face);
  --uac-barra: linear-gradient(90deg, var(--bienvenida-entorno) 0 72%, var(--bienvenida-panel-relleno) 72% 100%);
  --uac-barra-tinta: var(--web-paper);
  --uac-linea: var(--web-active);
  --uac-mutado: var(--web-muted);
  --uac-foco: var(--web-active-light);
  --uac-sombra: var(--window-shadow);
  --uac-radio: var(--control-radius);

  


  --bienvenida-entorno: #0f1923;
  --bienvenida-panel-relleno: #1b2b34;
  --bienvenida-banda-relleno: #0f1923;
  --bienvenida-tinta: var(--web-paper);
  --bienvenida-tinta-suave: var(--web-face);
  --bienvenida-linea: var(--web-mid);
  --bienvenida-linea-clara: var(--web-active);
  --bienvenida-linea-fuerte: var(--web-active-light);
  --bienvenida-pantalla-sombra: 0 0 0 1px #0B0B0D, 0 8px 24px rgba(0, 0, 0, .48);
  --bienvenida-ficha-relleno: #0f1923;
  --bienvenida-ficha-tinta: var(--web-paper);
  --bienvenida-ficha-sombra: var(--raised-shadow);
  --bienvenida-ficha-activa-relleno: var(--web-task);
  --bienvenida-ficha-activa-tinta: var(--web-paper);
  --bienvenida-ficha-activa-sombra: var(--raised-shadow), 0 0 0 2px var(--web-active-light);
  --bienvenida-ficha-suspendida-relleno: #0B0B0D;
  --bienvenida-ficha-suspendida-sombra: var(--sunken-shadow);
  --bienvenida-avatar-relleno: #0B0B0D;
  --bienvenida-avatar-tinta: var(--web-active-light);
  --bienvenida-avatar-sombra: var(--sunken-shadow);
  --bienvenida-accion-relleno: #1b2b34;
  --bienvenida-accion-tinta: var(--web-paper);
  --bienvenida-accion-sombra: var(--raised-shadow);
  --bienvenida-foco: var(--web-active-light);
  --bienvenida-radio: 4px;
  --bienvenida-transicion-relleno: #1b2b34;
  --bienvenida-transicion-tinta: var(--web-paper);
  --bienvenida-texto-sombra: 2px 2px 0 #0B0B0D;

}




.desktop-window.desktop-window--memoria {
  width: min(920px, calc(100% - 110px));
  height: min(620px, calc(100% - 64px));
  min-width: 660px;
  min-height: 440px;
}

.window-body.memoria {
  --memoria-negro: #050407;
  --memoria-rosa: #e86fa4;
  --memoria-violeta: #b14fe0;
  --memoria-verde: #31d67a;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--memoria-negro);
}

.memoria__marco {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  border: 2px solid var(--memoria-violeta);
  border-top-color: var(--memoria-negro);
  border-left-color: var(--memoria-negro);
  background: var(--memoria-negro);
}

.memoria__lienzo {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 760px;
  min-height: 480px;
  background: var(--memoria-negro);
  color: var(--memoria-verde);
  font-family: var(--web-arte);
}

@media (prefers-reduced-motion: reduce) {
  .memoria,
  .memoria__lienzo {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px), (max-height: 500px) and (max-width: 1000px) {
  .desktop-window.desktop-window--memoria {
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,


















html {
  -webkit-user-select: none;
  user-select: none;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

input, textarea, .window-body, .dialogo__texto {
  -webkit-user-select: text;
  user-select: text;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--web-face);
}

html,
body,
button {
  -webkit-font-smoothing: var(--font-smoothing);
  text-rendering: var(--text-rendering);
}

body,
button {
  color: var(--web-ink);
  font: 11px/1.3 var(--web-chrome);
}

button {
  margin: 0;
}

button:not(:disabled) {
  cursor: default;
}

button:focus-visible,
.desktop-window:focus-visible,
.skip-link:focus-visible {
  outline: 1px dotted var(--web-ink);
  outline-offset: -3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 4000;
  padding: 5px 8px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: var(--control-radius) !important;
  background: var(--web-face);
  color: var(--web-ink);
  box-shadow: var(--raised-shadow);
  font: 11px/1 var(--web-chrome);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.escritorio-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-width: 320px;
  overflow: hidden;
  background: var(--web-face);
}

.escritorio {
  position: absolute;
  inset: var(--safe-top) var(--safe-right) calc(var(--taskbar-height) + var(--safe-bottom)) var(--safe-left);
  overflow: hidden;
  background: var(--desktop-fill);
}







.escritorio-marca {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  



  opacity: .34;
}




.escritorio-marca__aro,
.escritorio-marca__palabra {
  grid-area: 1 / 1;
  display: block;
  height: auto;
}

.escritorio-marca__aro { width: min(520px, 54vw); }
.escritorio-marca__palabra { width: min(292px, 30vw); }


@media (max-width: 760px) {
  .escritorio-marca { display: none; }
}

.escritorio-marca img,
.escritorio-marca svg {
  display: block;
  width: min(210px, 26vw);
  max-height: 74px;
  object-fit: contain;
  object-position: right top;
  image-rendering: auto;
}

.escritorio-marca span:last-child {
  color: var(--web-mark);
  font-size: 10px;
  font-weight: 400;
}


















.accesos {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-flow: column wrap;
  align-content: flex-start;
  max-height: calc(100% - 16px);
  gap: 4px;
}

.acceso {
  display: grid;
  width: 104px;
  min-width: 0;
  min-height: 66px;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 4px 3px;
  border: 1px solid transparent;
  border-radius: 2px !important;
  background: transparent;
  color: var(--web-desktop-ink);
  text-align: center;
  text-shadow: 1px 1px 2px var(--web-ink);
}

.acceso:hover,
.acceso:focus-visible {
  border-color: var(--web-desktop-ink);
  background: var(--web-select);
  color: var(--web-desktop-ink);
}

.acceso:active {
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  transform: translate(1px, 1px);
}

.acceso__glifo {
  display: grid;
  min-width: 32px;
  min-height: 32px;
  place-items: center;
  color: var(--web-desktop-ink);
  font: 700 13px/1 var(--web-arte);
  text-shadow: 1px 1px 1px var(--web-ink);
}

.acceso__glifo--luna {
  color: var(--web-live);
}

.acceso img,
.acceso svg,
.acceso__glifo img,
.acceso__glifo svg {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}

.acceso__nombre {
  max-width: 96px;
  font: 11px/1.12 var(--web-chrome);
  text-wrap: balance;
}

.capa-ventanas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.desktop-window {
  --x: 0px;
  --y: 0px;
  --z: 10;
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z);
  display: grid;
  grid-template-rows: var(--window-titlebar-height) minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 2px solid var(--web-active);
  border-top-width: 2px;
  border-radius: var(--window-radius) !important;
  background: var(--web-face);
  box-shadow: var(--window-shadow);
  transform: translate(var(--x), var(--y));
  pointer-events: auto;
}

img.is-image-missing {
  visibility: visible;
  outline: 1px solid var(--web-active);
  background: var(--web-black);
  color: var(--web-paper);
}

.desktop-window--luna {
  width: var(--width, calc(100% - 176px));
  height: var(--height, calc(100% - 54px));
  min-width: min(620px, 100%);
  min-height: min(430px, 100%);
}

.desktop-window--cain {
  width: var(--width, min(620px, calc(100% - 72px)));
  height: var(--height, min(450px, calc(100% - 72px)));
  min-width: min(430px, 100%);
  min-height: min(330px, 100%);
}

.desktop-window--archivo {
  width: var(--width, min(580px, calc(100% - 72px)));
  height: var(--height, min(420px, calc(100% - 72px)));
  min-width: min(410px, 100%);
  min-height: min(310px, 100%);
}

.desktop-window--zarza {
  width: var(--width, min(540px, calc(100% - 72px)));
  height: var(--height, min(390px, calc(100% - 72px)));
  min-width: min(390px, 100%);
  min-height: min(300px, 100%);
}

.desktop-window--pensamiento {
  width: var(--width, min(720px, calc(100% - 120px)));
  height: var(--height, min(560px, calc(100% - 72px)));
  min-width: min(460px, 100%);
  min-height: min(360px, 100%);
}

.desktop-window--charlas {
  width: var(--width, min(660px, calc(100% - 104px)));
  height: var(--height, min(520px, calc(100% - 72px)));
  min-width: min(440px, 100%);
  min-height: min(340px, 100%);
}

.desktop-window--mundo {
  width: var(--width, min(520px, calc(100% - 88px)));
  height: var(--height, min(470px, calc(100% - 72px)));
  min-width: min(380px, 100%);
  min-height: min(330px, 100%);
}

.desktop-window--casa {
  width: var(--width, min(680px, calc(100% - 104px)));
  height: var(--height, min(540px, calc(100% - 72px)));
  min-width: min(440px, 100%);
  min-height: min(360px, 100%);
}

.desktop-window--notas {
  width: var(--width, min(620px, calc(100% - 88px)));
  height: var(--height, min(460px, calc(100% - 72px)));
  min-width: min(420px, 100%);
  min-height: min(300px, 100%);
}

.desktop-window:not(.is-active) {
  border-color: var(--web-inactive);
  box-shadow: var(--window-inactive-shadow);
}

.desktop-window.is-dragging,
.desktop-window.is-resizing {
  box-shadow: var(--window-drag-shadow);
}

.window-resize-handle {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 2;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, transparent 0 48%, var(--web-shadow) 49% 57%, transparent 58% 68%, var(--web-shadow) 69% 77%, transparent 78%);
  cursor: nwse-resize;
  touch-action: none;
}



.desktop-window.is-maximized {
  min-width: 0;
  min-height: 0;
}

.desktop-window.is-maximized .window-resize-handle {
  display: none;
}

.window-titlebar {
  min-width: 0;
  height: var(--window-titlebar-height);
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 -1px;
  padding: 3px 3px 3px 5px;
  overflow: hidden;
  border-radius: var(--title-radius) !important;
  background: var(--title-active-fill);
  color: var(--web-on-title);
  font-family: var(--web-chrome);
  text-shadow: 1px 1px 1px var(--web-active-dark);
  user-select: none;
  touch-action: none;
}

.desktop-window:not(.is-active) .window-titlebar {
  background: var(--title-inactive-fill);
  text-shadow: 1px 1px 1px var(--web-inactive-dark);
}

.window-titlebar__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--web-on-title);
  font: 700 10px/1 var(--web-arte);
  object-fit: contain;
  image-rendering: pixelated;
}

.window-titlebar__icon img,
.window-titlebar__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.window-titlebar__icon--live {
  color: var(--web-on-title);
}

.window-titlebar__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font: 700 11px/1 var(--web-chrome);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-controls {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  margin-left: auto;
}

.window-control {
  width: 22px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid var(--web-active-light);
  border-right-color: var(--web-active-dark);
  border-bottom-color: var(--web-active-dark);
  border-radius: var(--control-radius) !important;
  background: var(--control-fill);
  color: var(--web-on-title);
  box-shadow: var(--control-shadow);
  font: 700 12px/1 var(--web-chrome);
  text-shadow: 1px 1px 0 var(--web-active-dark);
}

.window-control:last-child {
  background: var(--control-close-fill);
}

.window-control:hover,
.window-control:focus-visible {
  filter: var(--hover-filter);
}

.window-control:active {
  border-color: var(--web-active-dark) var(--web-active-light) var(--web-active-light) var(--web-active-dark);
  box-shadow: var(--control-pressed-shadow);
  transform: translate(1px, 1px);
}

.window-body {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--web-face);
  color: var(--web-ink);
}





.program-shell {
  display: grid;
  grid-template-rows: var(--menubar-height) minmax(0, 1fr) var(--statusbar-height);
  overflow: hidden;
}

.window-menubar {
  min-width: 0;
  height: var(--menubar-height);
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 1px 3px;
  overflow: hidden;
  border-bottom: 1px solid var(--web-shadow);
  background: var(--web-face);
  box-shadow: inset 0 -1px 0 var(--web-light);
  white-space: nowrap;
}

.window-menubar button {
  min-width: 0;
  height: 20px;
  padding: 1px 7px 2px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--web-ink);
  font: 11px/1 var(--web-chrome);
}

.window-menubar button:hover,
.window-menubar button:focus-visible {
  border-color: var(--web-active-dark);
  background: var(--web-select);
  color: var(--web-on-accent);
  outline: none;
}

.program-scroll {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 10px;
  background: var(--web-face);
}

.window-statusbar {
  min-width: 0;
  height: var(--statusbar-height);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(72px, .8fr);
  gap: 3px;
  padding: 2px 3px;
  overflow: hidden;
  border-top: 1px solid var(--web-light);
  background: var(--web-face);
  color: var(--web-ink);
  font: 10px/1 var(--web-chrome);
}

.window-statusbar span {
  min-width: 0;
  padding: 4px 6px 2px;
  overflow: hidden;
  box-shadow: var(--status-shadow);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-bottom: 10px;
  padding: 5px 7px;
  border: 1px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--sample-fill);
  box-shadow: var(--sunken-shadow);
  color: var(--web-active-dark);
  font: 700 10px/1.25 var(--web-chrome);
}

.sample-notice img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  image-rendering: pixelated;
}

.program-group {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--web-shadow);
  background: var(--group-fill);
  box-shadow: inset 1px 1px 0 var(--web-light), inset -1px -1px 0 var(--web-mid);
  color: var(--web-ink);
}

.program-group legend {
  padding: 0 5px;
  background: var(--web-face);
  color: var(--web-active-dark);
  font: 700 11px/1 var(--web-chrome);
}



.program-separator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0;
  color: var(--web-muted);
  font: 10px/1 var(--web-chrome);
  white-space: nowrap;
}

.program-separator::before,
.program-separator::after {
  height: 2px;
  flex: 1 1 auto;
  background: linear-gradient(var(--web-shadow) 0 50%, var(--web-light) 50% 100%);
  content: "";
}

.thought-reader__time {
  margin: 0 0 8px;
  color: var(--web-muted);
  font: 10px/1 var(--web-chrome);
}

.thought-reader blockquote {
  margin: 0;
  padding: 12px 14px;
  border: 2px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--web-paper);
  box-shadow: var(--sunken-shadow);
}

.thought-reader blockquote p {
  max-width: 72ch;
  margin: 0 0 11px;
  font: 14px/1.55 var(--web-chrome);
}

.thought-reader blockquote p:last-child {
  margin-bottom: 0;
}

.thought-history ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thought-history li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  border: 1px solid var(--web-mid);
  background: var(--web-face);
  font: 11px/1.4 var(--web-chrome);
}

.thought-history time {
  padding: 6px;
  border-right: 1px solid var(--web-mid);
  color: var(--web-live);
  font-weight: 700;
}

.thought-history li span {
  padding: 6px 8px;
}

.life-file__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}

.life-file__fields span {
  padding: 5px 7px;
  background: var(--web-face);
  box-shadow: var(--status-shadow);
  font: 10px/1.2 var(--web-chrome);
}

.conversation {
  margin-top: 10px;
  border: 2px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--web-paper);
  box-shadow: var(--sunken-shadow);
}

.conversation header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border-bottom: 1px solid var(--web-shadow);
  background: var(--web-face);
  color: var(--web-active-dark);
  font: 10px/1 var(--web-chrome);
}

.conversation dl,
.conversation dl div {
  margin: 0;
}

.conversation dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  border-bottom: 1px dotted var(--web-mid);
}

.conversation dl div:last-child {
  border-bottom: 0;
}

.conversation dt,
.conversation dd {
  margin: 0;
  padding: 7px;
  font: 11px/1.4 var(--web-chrome);
}

.conversation dt {
  border-right: 1px solid var(--web-mid);
  color: var(--web-live);
  font-weight: 700;
}

.world-clock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.world-clock > div {
  display: grid;
  gap: 4px;
  padding: 8px;
  background: var(--web-face);
  box-shadow: var(--status-shadow);
}

.world-clock span,
.meter > span {
  color: var(--web-muted);
  font: 10px/1 var(--web-chrome);
}

.world-clock strong {
  color: var(--web-active-dark);
  font: 700 13px/1.2 var(--web-chrome);
}

.meters {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.meter {
  display: grid;
  grid-template-columns: 90px 88px minmax(132px, 1fr);
  align-items: center;
  min-height: 31px;
  border: 1px solid var(--web-mid);
  background: var(--web-face);
}

.meter > * {
  min-width: 0;
  padding: 6px 7px;
}

.meter b {
  border-left: 1px solid var(--web-mid);
  color: var(--web-active-dark);
  font: 700 10px/1 var(--web-chrome);
}

.meter output {
  border-left: 1px solid var(--web-mid);
  background: var(--web-paper);
  color: var(--web-live);
  font: 700 12px/1 var(--web-arte);
  letter-spacing: 1px;
  white-space: nowrap;
}

.house-map {
  display: grid;
  grid-template-areas: "dormitorio bano escritorio" "living living cocina" "patio patio cocina" "leyenda leyenda leyenda";
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  grid-template-rows: repeat(3, minmax(70px, 1fr)) auto;
  gap: 3px;
  min-height: 300px;
  margin: 0;
  padding: 5px;
  border: 2px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--web-face);
  box-shadow: var(--sunken-shadow);
}

.house-room {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 2px solid var(--web-mid);
  background: var(--web-paper);
  color: var(--web-muted);
  font: 700 10px/1 var(--web-chrome);
}

.house-room.is-luna {
  border-color: var(--web-live);
  color: var(--web-active-dark);
  box-shadow: inset 0 0 0 2px var(--web-light);
}

.house-room strong,
.house-room small {
  color: var(--web-live);
  font: 700 11px/1 var(--web-arte);
}

.house-room--dormitorio { grid-area: dormitorio; }
.house-room--bano { grid-area: bano; }
.house-room--escritorio { grid-area: escritorio; }
.house-room--living { grid-area: living; }
.house-room--cocina { grid-area: cocina; }
.house-room--patio { grid-area: patio; }

.house-map figcaption {
  grid-area: leyenda;
  padding: 5px 7px;
  box-shadow: var(--status-shadow);
  color: var(--web-muted);
  font: 10px/1.2 var(--web-chrome);
}

.house-map figcaption b {
  color: var(--web-live);
}

.location-card {
  margin-top: 10px;
}

.location-card dl,
.location-card dl div {
  margin: 0;
}

.location-card dl {
  display: grid;
  gap: 3px;
}

.location-card dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border: 1px solid var(--web-mid);
}

.location-card dt,
.location-card dd {
  margin: 0;
  padding: 5px 7px;
}

.location-card dt {
  border-right: 1px solid var(--web-mid);
  color: var(--web-active-dark);
  font-weight: 700;
}

.window-body--channel {
  display: grid;
  grid-template-rows: var(--menubar-height) 27px auto minmax(0, 1fr) var(--statusbar-height);
  padding: 4px;
  overflow: hidden;
}

.channel-bar,
.channel-status {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow: hidden;
  background: var(--web-face);
  color: var(--web-ink);
  font: 11px/1 var(--web-chrome);
  white-space: nowrap;
}

.channel-bar {
  padding: 3px 6px;
  border: 1px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  box-shadow: var(--sunken-shadow);
}

.channel-bar span:first-child {
  color: var(--web-active-dark);
  font-weight: 700;
}

.channel-bar__cronologia {
  min-width: 0;
  overflow: hidden;
  color: var(--web-active-dark);
  font: 700 11px/1 var(--web-arte);
  letter-spacing: .03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-vitals {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 3px;
  font: 9px/1.15 var(--web-chrome);
}

.channel-vital {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 5px;
  padding: 3px 5px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
}

.channel-vital__nombre,
.channel-vital__estado {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-vital__nombre { font-weight: 700; }

.channel-vital__barra {
  grid-column: 1 / -1;
  color: var(--web-live);
  font: 700 10px/1 var(--web-arte);
  letter-spacing: -.04em;
  white-space: nowrap;
}

.channel-vital__estado {
  color: var(--web-active-dark);
  font-size: 9px;
}

.channel-vital__umbral {
  min-width: 0;
  color: var(--web-muted);
  font-size: 8px;
  line-height: 1.1;
  text-align: right;
  white-space: normal;
}

.channel-vital[data-vital-status="urgent"] { border-color: var(--web-active-dark); }

.channel-vital[data-vital-status="urgent"] .channel-vital__estado,
.channel-vital[data-vital-status="urgent"] .channel-vital__barra { color: var(--web-active-dark); }

.channel-vital[data-vital-status="terminal"] {
  border-color: var(--web-ink);
  background: var(--web-ink);
  color: var(--web-on-accent);
}

.channel-vital[data-vital-status="terminal"] .channel-vital__estado,
.channel-vital[data-vital-status="terminal"] .channel-vital__barra,
.channel-vital[data-vital-status="terminal"] .channel-vital__umbral { color: var(--web-on-accent); }

.channel-vital[data-vital-status="stale"],
.channel-vital[data-vital-status="stale"] .channel-vital__barra,
.channel-vital[data-vital-status="stale"] .channel-vital__estado { color: var(--web-muted); }





.channel-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--xp-black, #050407);
}

.channel-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 4px 0;
  overflow: hidden;
  border: 2px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--stage-fill);
  box-shadow: var(--sunken-shadow);
}

.channel-stage::before,
.channel-stage::after {
  position: absolute;
  color: var(--web-muted);
  font: 10px/1 var(--web-arte);
  pointer-events: none;
}

.channel-stage::before {
  top: 8px;
  left: 9px;
  content: "[ CASA EN VIVO ]";
}

.channel-stage::after {
  right: 9px;
  bottom: 8px;
  content: "PENSAMIENTO // VOZ // MUNDO // CHARLAS";
}

.channel-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: min(760px, calc(100% - 72px));
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(18px, 3vw, 34px);
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0 !important;
  background: var(--web-paper);
  box-shadow: var(--placeholder-shadow);
}

.channel-placeholder__arte {
  margin: 0;
  color: var(--web-live);
  font: 700 clamp(11px, 1.2vw, 16px)/1.18 var(--web-arte);
  text-shadow: 1px 1px 0 var(--web-mid);
}

.channel-placeholder__copy {
  min-width: 0;
}

.channel-placeholder__copy h3,
.utility-app h3 {
  margin: 6px 0 10px;
  color: var(--web-active-dark);
  font: 700 clamp(17px, 2vw, 27px)/1 var(--web-chrome);
}

.channel-placeholder__copy p,
.utility-app p {
  max-width: 58ch;
  margin: 0 0 9px;
  color: var(--web-ink);
  font: 11px/1.45 var(--web-chrome);
}

.channel-placeholder__kicker,
.utility-app__kicker {
  color: var(--web-live) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}

.channel-placeholder__nota {
  color: var(--web-muted) !important;
  font-size: 10px !important;
}

.channel-status {
  height: var(--statusbar-height);
  min-height: var(--statusbar-height);
  padding: 2px 6px 0;
  box-shadow: var(--status-shadow);
}

.channel-status span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-status span + span {
  padding-left: 8px;
  border-left: 1px solid var(--web-mid);
}

.channel-status__live {
  color: var(--web-live);
  font-weight: 700;
}

.utility-app {
  position: relative;
  display: grid;
  align-content: start;
  padding: 28px;
  border: 5px solid var(--web-face);
  background: var(--utility-fill);
}

.utility-app > * {
  position: relative;
  z-index: 1;
}

.utility-app::before {
  position: absolute;
  inset: 14px;
  border: 2px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--web-paper);
  box-shadow: var(--sunken-shadow);
  content: "";
}

.utility-app__status {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  color: var(--web-ink);
  font: 11px/1.25 var(--web-chrome);
}

.utility-app__status div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border: 1px solid var(--web-mid);
  background: var(--web-face);
}

.utility-app__status dt,
.utility-app__status dd {
  margin: 0;
  padding: 5px 7px;
}

.utility-app__status dt {
  border-right: 1px solid var(--web-mid);
  color: var(--web-active-dark);
  font-weight: 700;
}

.utility-app__status dd:first-letter {
  color: var(--web-live);
}












.utility-app__pedido {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0 !important;
  max-width: none !important;
  flex-wrap: wrap;
}

.utility-app__boton {
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: 700 10px/1.2 var(--web-chrome);
  letter-spacing: .04em;
  cursor: pointer;
}

.utility-app__boton:hover,
.utility-app__boton:focus-visible {
  background: var(--web-paper);
  outline: none;
}



.utility-app__boton:active {
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
}











.utility-app__rechazo {
  flex: 1 1 26ch;
  min-width: 0;
  padding: 4px 7px;
  border: 1px solid var(--web-mid);
  background: var(--web-paper);
  box-shadow: var(--sunken-shadow);
  color: var(--web-ink);
  font: 10px/1.35 var(--web-chrome);
}

.utility-app__rechazo:empty {
  display: none;
}

.utility-app--zarza {
  padding-right: 150px;
}

.zarza-vacia {
  position: absolute;
  right: 34px;
  bottom: 34px;
  color: var(--web-live);
  font: 700 15px/1.1 var(--web-arte);
}

.menu-inicio {
  position: absolute;
  bottom: calc(var(--taskbar-height) + var(--safe-bottom) - 1px);
  left: var(--safe-left);
  z-index: 3000;
  width: min(335px, calc(100% - var(--safe-left) - var(--safe-right) - 6px));
  overflow: hidden;
  border: 2px solid var(--web-active);
  border-radius: var(--menu-radius) !important;
  background: var(--web-paper);
  box-shadow: var(--menu-shadow);
}

.menu-inicio__cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 7px 9px;
  border-radius: var(--menu-radius) !important;
  background: var(--menu-head-fill);
  color: var(--web-on-title);
  font: italic 700 13px/1 var(--web-chrome);
  text-shadow: 1px 1px 1px var(--web-active-dark);
}

.menu-inicio__cabecera img,
.menu-inicio__cabecera svg {
  width: auto;
  max-width: 150px;
  height: 32px;
  object-fit: contain;
}

.menu-inicio__identidad {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.menu-inicio__identidad > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-inicio__lista {
  display: grid;
  gap: 1px;
  padding: 5px;
  background: var(--web-paper);
}

.menu-inicio__lista button {
  min-width: 0;
  min-height: 46px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 2px !important;
  background: var(--web-paper);
  color: var(--web-ink);
  text-align: left;
}

.menu-inicio__lista button:hover,
.menu-inicio__lista button:focus-visible {
  border-color: var(--web-active-dark);
  background: var(--web-select);
  color: var(--web-on-accent);
}

.menu-inicio__lista button > span:first-child {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--web-mid);
  background: var(--web-face);
  color: var(--web-active-dark);
  font: 700 11px/1 var(--web-arte);
}

.menu-inicio__lista button > img:first-child,
.menu-inicio__lista button > svg:first-child,
.menu-inicio__lista button > span:first-child img,
.menu-inicio__lista button > span:first-child svg {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}

.menu-inicio__lista button > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.menu-inicio__lista strong,
.menu-inicio__lista small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-inicio__lista strong {
  font: 700 11px/1 var(--web-chrome);
}

.menu-inicio__lista small {
  color: var(--web-muted);
  font: 10px/1 var(--web-chrome);
}

.menu-inicio__lista button:hover small,
.menu-inicio__lista button:focus-visible small {
  color: var(--web-on-accent);
}

.menu-inicio__cerrar {
  width: 100%;
  min-height: 38px;
  padding: 5px 10px;
  border: 0;
  border-top: 2px solid var(--web-active-light);
  border-radius: 0 !important;
  background: var(--menu-foot-fill);
  color: var(--web-on-accent);
  font: 700 11px/1 var(--web-chrome);
  text-align: right;
  text-shadow: 1px 1px 1px var(--web-active-dark);
}

.menu-inicio__cerrar:hover,
.menu-inicio__cerrar:focus-visible {
  background: var(--web-active-light);
}












.desktop-window.is-pantalla-completa {
  position: fixed;
  inset: 0;
  z-index: 2900;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border-width: 0;
  border-radius: 0 !important;
  box-shadow: none;
  transform: none;
  




















  grid-template-rows: minmax(0, 1fr);
}



.desktop-window.is-pantalla-completa .window-titlebar {
  display: none;
}


.desktop-window.is-pantalla-completa .window-resize-handle {
  display: none;
}

.channel-bar__pantalla {
  padding: 1px 8px;
  border: 1px solid var(--web-mid);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: inherit;
  letter-spacing: .06em;
  cursor: pointer;
}

.channel-bar__pantalla:hover,
.channel-bar__pantalla:focus-visible {
  background: var(--web-select);
  color: var(--web-on-accent);
  outline: none;
}









.menu-inicio {
  display: flex;
  align-items: stretch;
}



.menu-inicio__banda {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--menu-head-fill);
  color: var(--web-on-accent);
  font: 700 13px/1 var(--web-chrome);
  letter-spacing: .22em;
}
.menu-inicio__banda b { font-weight: 400; opacity: .8; }

.menu-inicio__caja {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.menu-inicio__cabecera {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-bottom: 2px solid var(--web-shadow);
  background: var(--menu-head-fill);
  color: var(--web-on-accent);
}
.menu-inicio__retrato { width: 32px; height: 32px; image-rendering: pixelated; }
.menu-inicio__quien { display: grid; min-width: 0; }
.menu-inicio__quien strong {
  font: 700 12px/1.2 var(--web-chrome);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-inicio__quien small { font: 10px/1.3 var(--web-chrome); opacity: .85; }

.menu-inicio__columnas {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  min-height: 0;
}



.menu-inicio__col { padding: 6px 0; min-width: 0; overflow-y: auto; }
.menu-inicio__col--sistema {
  background: var(--web-mid);
  box-shadow: var(--sunken-shadow);
}

.menu-inicio__rotulo {
  margin: 4px 12px 4px;
  font: 700 9px/1.2 var(--web-chrome);
  letter-spacing: .16em;
  color: var(--web-muted);
}

.menu-inicio__separador {
  height: 0;
  margin: 6px 10px;
  border: 0;
  border-top: 1px solid var(--web-shadow);
  border-bottom: 1px solid var(--web-light);
}

.menu-inicio__flecha { float: right; font-style: normal; }




.menu-inicio__col button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 5px 12px;
  border: 0;
  background: none;
  color: var(--web-ink);
  font: 11px/1.3 var(--web-chrome);
  text-align: left;
  cursor: pointer;
}
.menu-inicio__col button:hover,
.menu-inicio__col button:focus-visible {
  background: var(--web-select);
  color: var(--web-on-accent);
  outline: none;
}
.menu-inicio__col button img { flex: 0 0 auto; image-rendering: pixelated; }
.menu-inicio__col button > span { display: grid; min-width: 0; }
.menu-inicio__col button strong { font-weight: 700; }
.menu-inicio__col button small { opacity: .78; font-size: 10px; }



.menu-inicio__col--sistema button { padding: 4px 12px; }
.menu-inicio__col--sistema button > span { display: block; }















.dialogo {
  position: absolute;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.dialogo[hidden] { display: none; }





.dialogo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("texturas/damero-oscuro.svg") repeat;
  opacity: .55;
}

.dialogo__marco {
  position: relative;
  width: min(460px, 100%);
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  background: var(--web-face);
  box-shadow: var(--window-shadow);
}

.dialogo__barra {
  height: var(--window-titlebar-height);
  display: flex;
  align-items: center;
  padding: 0 8px;
  background: var(--title-active-fill);
  color: var(--web-on-accent);
}

.dialogo__marca {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  image-rendering: pixelated;
}

.dialogo__titulo {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 11px/1 var(--web-chrome);
}

.dialogo__cuerpo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px 8px;
}



.dialogo__glifo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.dialogo__texto {
  margin: 0;
  color: var(--web-ink);
  font: 11px/1.5 var(--web-chrome);
}

.dialogo__botones {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 10px 16px 14px;
}

.dialogo__boton {
  min-width: 84px;
  padding: 5px 12px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: 700 10px/1.2 var(--web-chrome);
  letter-spacing: .04em;
  cursor: pointer;
}
.dialogo__boton:hover { background: var(--web-paper); }
.dialogo__boton:focus-visible {
  outline: 1px dotted var(--web-ink);
  outline-offset: -4px;
}
.dialogo__boton:active {
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
}

@media (max-width: 560px) {
  .dialogo__marco { width: 100%; }
  .dialogo__botones { justify-content: stretch; }
  .dialogo__boton { flex: 1; }
}














.window-boot {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--boot-fondo);
  color: var(--boot-tinta);
  font: 12px/1.5 var(--web-arte);
  cursor: pointer;
}
.window-boot[hidden] { display: none; }




.window-boot__barrido {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--boot-barrido);
  animation: boot-barrido 2.4s linear infinite;
}

@keyframes boot-barrido {
  from { transform: translateY(-4px); }
  to   { transform: translateY(100vh); }
}

.window-boot__terminal {
  position: relative;
  width: min(460px, 88%);
  display: grid;
  gap: 3px;
}

.window-boot__terminal p,
.window-boot__checks { margin: 0; }

.window-boot__luna-title {
  margin-bottom: 6px !important;
  color: var(--boot-titulo);
  letter-spacing: .12em;
}

.window-boot__bios { color: var(--boot-apagado); }

.window-boot__memoria,
.window-boot__check {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}




.window-boot__rueda {
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  vertical-align: bottom;
}
.window-boot__rueda i {
  display: block;
  font-style: normal;
  animation: boot-rueda 1.1s steps(1, end) 1 forwards;
}
@keyframes boot-rueda {
  0%   { transform: translateY(0); }
  33%  { transform: translateY(-1.5em); }
  66%  { transform: translateY(-3em); }
  100% { transform: translateY(-4.5em); }
}

.window-boot__detectando {
  margin-top: 8px !important;
  color: var(--boot-apagado);
  letter-spacing: .1em;
}

.window-boot__checks { list-style: none; padding: 0; }



.window-boot__check {
  opacity: 0;
  animation: boot-aparece 1ms steps(1, end) 1 forwards;
}
.window-boot__check--1 { animation-delay: .35s; }
.window-boot__check--2 { animation-delay: .70s; }
.window-boot__check--3 { animation-delay: 1.05s; }
.window-boot__check--4 { animation-delay: 1.40s; }
.window-boot__check--5 { animation-delay: 1.75s; }
.window-boot__check--6 { animation-delay: 2.10s; }
.window-boot__check--7 { animation-delay: 2.45s; }

@keyframes boot-aparece { to { opacity: 1; } }




.window-boot__raro { position: relative; }
.window-boot__duda,
.window-boot__fin {
  font-style: normal;
  animation: boot-aparece 1ms steps(1, end) 1 forwards;
}
.window-boot__fin { opacity: 0; animation-delay: 3.1s; }
.window-boot__duda { animation: boot-duda 3.1s steps(1, end) 1 forwards; }
@keyframes boot-duda {
  0%, 99% { opacity: 1; }
  100%    { opacity: 0; display: none; }
}


.window-boot__cain-caja {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}




.window-boot__cain-logo {
  margin: 0;
  font: 700 16px/1.05 var(--web-arte);
  color: var(--boot-titulo);
  white-space: pre;
}

.window-boot__cain-glosa {
  color: var(--boot-tinta);
  letter-spacing: .14em;
}

.window-boot__marquesina {
  width: min(320px, 80%);
  height: 12px;
  overflow: hidden;
  border: 1px solid var(--boot-apagado);
}
.window-boot__tira {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--boot-barrido);
  animation: boot-tira 1.9s linear infinite;
}
@keyframes boot-tira {
  from { transform: translateX(-110%); }
  to   { transform: translateX(320%); }
}

.window-boot__cain-pie { color: var(--boot-apagado); font-size: 11px; }

.window-boot__saltar {
  margin-top: 4px;
  padding: 3px 12px;
  border: 1px solid var(--boot-apagado);
  border-radius: 0;
  background: none;
  color: var(--boot-tinta);
  font: 11px/1.2 var(--web-arte);
  letter-spacing: .1em;
  cursor: pointer;
}
.window-boot__saltar:hover,
.window-boot__saltar:focus-visible {
  color: var(--boot-titulo);
  border-color: var(--boot-titulo);
  outline: none;
}



@media (prefers-reduced-motion: reduce) {
  .window-boot__barrido,
  .window-boot__rueda i,
  .window-boot__check,
  .window-boot__tira,
  .window-boot__duda,
  .window-boot__fin { animation: none; opacity: 1; }
}







.revision {
  position: absolute;
  left: calc(var(--safe-left) + 12px);
  right: calc(var(--safe-right) + 12px);
  bottom: calc(var(--taskbar-height) + var(--safe-bottom) + 10px);
  z-index: 2800;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  background: var(--web-face);
  color: var(--web-ink);
  font: 11px/1.4 var(--web-chrome);
  box-shadow: var(--window-shadow);
}
.revision[hidden] { display: none; }

.revision__glifo { flex: 0 0 auto; color: var(--revision-marca); font-family: var(--web-arte); }
.revision__texto { flex: 1 1 auto; min-width: 0; }

.revision__boton,
.revision__luego {
  flex: 0 0 auto;
  padding: 3px 12px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: 11px/1 var(--web-chrome);
  cursor: pointer;
}
.revision__boton { font-weight: 700; }
.revision__boton:active,
.revision__luego:active {
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
}
.revision__luego { font-size: 10px; opacity: .8; }

@media (max-width: 760px) {
  .revision { flex-wrap: wrap; }
  .revision__texto { flex: 1 1 100%; }
}






.veto {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: calc(var(--safe-top) + 24px) calc(var(--safe-right) + 24px)
           calc(var(--safe-bottom) + 24px) calc(var(--safe-left) + 24px);
  background: var(--web-desktop-top);
}

.veto__caja {
  width: min(460px, 100%);
  max-width: 460px;
  padding: 28px 30px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  background: var(--web-face);
  color: var(--web-ink);
  text-align: center;
}

.veto__titulo {
  margin: 0 0 4px;
  font: 700 20px/1.2 var(--web-arte);
  letter-spacing: .12em;
  color: var(--quiz-mal);
}
.veto__codigo {
  margin: 0 0 16px;
  font: 11px/1.4 var(--web-arte);
  letter-spacing: .1em;
  opacity: .7;
}
.veto__texto {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  font: 12px/1.7 var(--web-chrome);
  text-wrap: balance;
}
.veto__pie { margin: 0; font: 10px/1.5 var(--web-chrome); opacity: .6; }



.is-vetado body { overflow: hidden; }







.investigacion { display: grid; gap: 7px; margin: 10px 0; }
.investigacion__caso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, 34%); gap: 5px 10px; align-items: center; padding: 7px 8px; border: 1px solid var(--web-mid); background: var(--notas-hoja); font: 11px/1.35 var(--web-arte); }
.investigacion__caso strong { min-width: 0; }
.investigacion__caso select { min-width: 0; width: 100%; padding: 3px; border: 1px solid var(--web-shadow); background: var(--web-face); color: var(--web-ink); font: 10px var(--web-chrome); }
.investigacion__caso small { grid-column: 1 / -1; color: var(--web-muted); font: 9px var(--web-chrome); }
.investigacion__consentimiento { display: block; margin: 9px 0; color: var(--web-muted); font: 10px/1.35 var(--web-chrome); }
.desktop-window--notas .program-shell {
  grid-template-rows: var(--menubar-height) auto auto minmax(0, 1fr) var(--statusbar-height);
}

.informe {
  margin: 6px 8px 2px;
  padding: 6px 8px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  background: var(--notas-hoja);
  color: var(--web-ink);
}
.informe__cabecera, .informe__pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.informe__cabecera { font: 10px/1.3 var(--web-chrome); letter-spacing: .05em; }
.informe__cabecera span { color: var(--web-muted); font-size: 9px; }
.informe__frase { margin: 5px 0; font: 12px/1.55 var(--web-arte); }
.informe select { max-width: 150px; padding: 1px 3px; border: 1px solid var(--web-shadow); background: var(--web-face); color: var(--web-ink); font: inherit; }
.informe__pie small { color: var(--web-muted); font: 9px/1.25 var(--web-chrome); }
.informe__pie button { flex: 0 0 auto; }

.notas__etiqueta {
  padding: 6px 8px 2px;
  color: var(--web-muted);
  font: 10px/1.3 var(--web-chrome);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.notas__hoja {
  min-width: 0;
  min-height: 0;
  margin: 0 8px 8px;
  padding: 8px;
  border: 2px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  border-radius: 0;
  background: var(--notas-hoja);
  color: var(--web-ink);
  

  font: 12px/1.6 var(--web-arte);
  resize: none;
}
.notas__hoja:focus-visible {
  outline: 1px dotted var(--web-ink);
  outline-offset: -3px;
}
.notas__hoja::placeholder { color: var(--web-muted); opacity: .8; }



.window-menubar button.is-armado {
  background: var(--notas-alarma);
  color: var(--web-on-accent);
  font-weight: 700;
}











.babilonia {
  position: absolute;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
}
.babilonia[hidden] { display: none; }
.babilonia > * { pointer-events: auto; }



.is-infectando body { filter: invert(1) saturate(0); }

.babilonia__descarga {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 260px;
  margin-left: -130px;
  padding: 10px 12px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  background: var(--web-face);
  color: var(--web-ink);
  font: 11px/1.5 var(--web-chrome);
  box-shadow: var(--window-shadow);
}
.babilonia__descarga[hidden] { display: none; }
.babilonia__descarga-titulo { margin: 0 0 6px; font-weight: 700; }
.babilonia__descarga-nombre { margin: 0; font-family: var(--web-arte); }
.babilonia__descarga-barra { margin: 4px 0 0; font-family: var(--web-arte); letter-spacing: -.05em; }

.babilonia__log {
  position: absolute;
  left: 128px;
  bottom: calc(var(--taskbar-height) + var(--safe-bottom) + 12px);
  width: min(380px, calc(100% - 144px));
  max-height: 120px;
  overflow: hidden;
  color: var(--babilonia-alarma);
  font: 11px/1.45 var(--web-arte);
  text-shadow: 0 0 6px var(--babilonia-halo);
}

.babilonia__ventana {
  position: absolute;
  right: 6%;
  top: 8%;
  width: min(420px, 88%);
  max-height: 78%;
  overflow: auto;
  border: 1px solid var(--babilonia-borde);
  background: var(--babilonia-fondo);
  color: var(--babilonia-tinta);
  font-family: var(--web-arte);
  box-shadow: 0 0 0 1px var(--babilonia-halo), 0 18px 50px var(--babilonia-sombra);
}
.babilonia__ventana[hidden] { display: none; }



@keyframes babilonia-dibuja {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.babilonia__ventana.is-dibujando { animation: babilonia-dibuja 700ms steps(14) both; }
@media (prefers-reduced-motion: reduce) {
  .babilonia__ventana.is-dibujando { animation: none; }
  .is-infectando body { filter: none; }
}

.babilonia__barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--babilonia-borde);
}
.babilonia__marca { font-size: 11px; letter-spacing: .18em; }
.babilonia__cerrar {
  border: 1px solid var(--babilonia-borde);
  border-radius: 0;
  background: transparent;
  color: var(--babilonia-tinta);
  font: 12px/1 var(--web-arte);
  padding: 1px 7px;
  cursor: pointer;
}
.babilonia__cerrar:hover { background: var(--babilonia-borde); color: var(--babilonia-fondo); }

.babilonia__cabecera,
.babilonia__pie {
  margin: 0;
  padding: 5px 10px;
  font-size: 10px;
  opacity: .62;
}
.babilonia__pie { border-top: 1px solid var(--babilonia-borde); }

.babilonia__cuerpo { padding: 4px 10px 8px; }
.babilonia__sospecha { margin: 6px 0 12px; font-size: 10px; letter-spacing: .06em; }
.babilonia__mercado { margin: 0 0 14px; }
.babilonia__titulo { margin: 0 0 2px; font-size: 11px; letter-spacing: .08em; }
.babilonia__nota { margin: 0 0 6px; font-size: 10px; opacity: .55; }





.babilonia__fila {
  display: block;
  width: 100%;
  padding: 2px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 11px/1.55 var(--web-arte);
  text-align: left;
  white-space: pre;
  cursor: pointer;
}
.babilonia__fila:hover,
.babilonia__fila:focus-visible {
  background: var(--babilonia-tinta);
  color: var(--babilonia-fondo);
  outline: none;
}

.babilonia__linea { margin: 0; font-size: 11px; line-height: 1.5; }
.babilonia__linea.is-gano { color: var(--babilonia-gana); }

.babilonia__aviso {
  margin: 0;
  padding: 6px 10px;
  border-top: 1px solid var(--babilonia-borde);
  font-size: 10px;
  line-height: 1.5;
}
.babilonia__aviso[hidden] { display: none; }









.babilonia__chapa {
  flex: 0 0 auto;
  height: 20px;
  padding: 0 6px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: 10px/1 var(--web-chrome);
  cursor: pointer;
}
.babilonia__chapa[hidden] { display: none; }

@media (max-width: 760px) {
  .babilonia__ventana {
    right: calc(var(--safe-right) + 4px);
    left: calc(var(--safe-left) + 4px);
    top: calc(var(--safe-top) + 4px);
    width: auto;
    max-height: calc(100% - var(--safe-top) - var(--safe-bottom) - var(--taskbar-height) - 12px);
  }
  .babilonia__log {
    right: calc(var(--safe-right) + 4px);
    left: calc(var(--safe-left) + 4px);
    bottom: calc(var(--taskbar-height) + var(--safe-bottom) + 8px);
    width: auto;
  }
  .babilonia__fila { font-size: 10px; }
}









.escritorio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--uac-velo);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms steps(2, end);
}

.escritorio-shell .accesos,
.escritorio-shell .desktop-window:not([data-window-id="luna-channel"]),
.escritorio-shell .menu-inicio,
.escritorio-shell .taskbar,
.escritorio-shell .dialogo,
.escritorio-shell .revision,
.escritorio-shell .babilonia,
.escritorio-shell .quiz,
.escritorio-shell .enoc {
  transition: filter 140ms steps(2, end);
}

.escritorio-shell.is-uac .escritorio::before {
  opacity: var(--uac-velo-opacidad);
}

.escritorio-shell.is-uac .accesos,
.escritorio-shell.is-uac .desktop-window:not([data-window-id="luna-channel"]),
.escritorio-shell.is-uac .menu-inicio,
.escritorio-shell.is-uac .taskbar,
.escritorio-shell.is-uac .dialogo,
.escritorio-shell.is-uac .revision,
.escritorio-shell.is-uac .babilonia,
.escritorio-shell.is-uac .quiz,
.escritorio-shell.is-uac .enoc {
  filter: brightness(.34);
}



.escritorio-shell.is-uac .dialogo { visibility: hidden; }


.escritorio-shell.is-uac .desktop-window[data-window-id="luna-channel"] {
  filter: none !important;
  opacity: 1 !important;
}

.uac {
  position: absolute;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: end center;
  padding: 16px max(16px, var(--safe-right)) max(16px, calc(var(--taskbar-height) + var(--safe-bottom) + 8px)) max(16px, var(--safe-left));
  pointer-events: auto;
}
.uac[hidden] { display: none; }

.uac__marco {
  width: min(560px, 100%);
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 40px);
  overflow: auto;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: var(--uac-radio);
  background: var(--uac-panel);
  box-shadow: var(--uac-sombra);
  animation: uac-irrumpe 140ms steps(2, end) both;
}

.uac__barra {
  display: flex;
  height: var(--window-titlebar-height);
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  background: var(--uac-barra);
  color: var(--uac-barra-tinta);
}

.uac__marca,
.uac__glifo {
  flex: 0 0 auto;
  image-rendering: pixelated;
}
.uac__marca { width: 16px; height: 16px; }
.uac__glifo { width: 32px; height: 32px; }

.uac__titulo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font: 700 11px/1 var(--web-chrome);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uac__cuerpo {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px 16px 10px;
  color: var(--web-ink);
  font: 11px/1.5 var(--web-chrome);
}

.uac__expediente { min-width: 0; }
.uac__asunto {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--uac-linea);
  font-weight: 700;
  letter-spacing: .06em;
}
.uac__accion { margin: 0 0 10px; }
.uac__clausula {
  margin: 0 0 10px;
  padding: 6px 8px;
  border-left: 3px solid var(--uac-linea);
  font-weight: 700;
}
.uac__disposicion {
  margin: 0;
  color: var(--uac-mutado);
  font-size: 10px;
  text-align: right;
}

.uac__botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 10px 16px 14px;
}
.uac__boton {
  min-width: 96px;
  padding: 6px 12px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: var(--uac-radio);
  background: var(--web-face);
  color: var(--web-ink);
  font: 700 10px/1.25 var(--web-chrome);
  letter-spacing: .03em;
  cursor: pointer;
}
.uac__boton--firmar { flex: 1 1 340px; }
.uac__boton:hover { background: var(--web-paper); }
.uac__boton:focus-visible {
  outline: 2px solid var(--uac-foco);
  outline-offset: -5px;
}
.uac__boton:active {
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
}

@keyframes uac-irrumpe {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

@media (max-width: 560px) {
  .uac { padding-right: max(8px, var(--safe-right)); padding-left: max(8px, var(--safe-left)); }
  .uac__cuerpo { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 14px 12px 8px; }
  .uac__glifo { width: 24px; height: 24px; }
  .uac__botones { display: grid; padding: 8px 12px 12px; }
  .uac__boton, .uac__boton--firmar { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .escritorio::before,
  .escritorio-shell .accesos,
  .escritorio-shell .desktop-window:not([data-window-id="luna-channel"]),
  .escritorio-shell .menu-inicio,
  .escritorio-shell .taskbar,
  .escritorio-shell .dialogo,
  .escritorio-shell .revision,
  .escritorio-shell .babilonia,
  .escritorio-shell .quiz,
  .escritorio-shell .enoc,
  .uac__marco {
    animation: none !important;
    transition: none !important;
  }
}












.quiz {
  position: absolute;
  right: calc(var(--safe-right) + 18px);
  top: calc(var(--safe-top) + 18px);
  z-index: 2450;
  width: min(380px, calc(100% - 36px));
}
.quiz[hidden] { display: none; }

.quiz__marco {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  max-height: calc(100dvh - var(--taskbar-height) - var(--safe-top) - var(--safe-bottom) - 36px);
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  background: var(--web-face);
  box-shadow: var(--window-inactive-shadow);
}

.quiz__barra {
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--window-titlebar-height);
  padding: 0 8px;
  background: var(--title-active-fill);
  color: var(--web-on-title, var(--web-on-accent));
}

.quiz__glifo { flex: 0 0 auto; image-rendering: pixelated; }

.quiz__titulo {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 11px/1 var(--web-chrome);
}



.quiz__reloj {
  flex: 0 0 auto;
  min-width: 5ch;
  padding: 2px 4px;
  border: 1px solid currentColor;
  font: 700 11px/1 var(--web-arte);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  text-align: center;
}




.quiz.is-apurando .quiz__marco {
  outline: 2px solid var(--quiz-mal);
  outline-offset: -2px;
}

.quiz.is-apurando .quiz__reloj {
  border-color: var(--quiz-mal);
  background: var(--quiz-mal);
  color: var(--web-on-accent);
  animation: quiz-apuro 640ms steps(1, end) infinite;
}

@keyframes quiz-apuro {
  50% {
    background: transparent;
    color: var(--web-on-title, var(--web-on-accent));
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz.is-apurando .quiz__reloj { animation: none; }
}



.quiz__enunciado {
  margin: 0;
  padding: 12px 14px 8px;
  color: var(--web-ink);
  font: 11px/1.5 var(--web-chrome);
  white-space: pre-line;
}

.quiz__opciones {
  display: grid;
  min-width: 0;
  min-height: 0;
  gap: 4px;
  padding: 0 14px 10px;
  overflow-y: auto;
}

.quiz__opcion {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border: 2px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: 11px/1.35 var(--web-chrome);
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.quiz__opcion:hover:not(:disabled),
.quiz__opcion:focus-visible:not(:disabled) {
  background: var(--web-paper);
}
.quiz__opcion:active:not(:disabled) {
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
}
.quiz__opcion:disabled { opacity: 1; cursor: default; }




.quiz__opcion.is-correcta,
.quiz__opcion.is-fallada { padding: 5px 9px; border-width: 3px; }
.quiz__opcion.is-correcta { border-color: var(--quiz-bien); }
.quiz__opcion.is-fallada { border-color: var(--quiz-mal); }

.quiz__opcion--juicio { text-align: center; font-weight: 700; }

.quiz__resultado {
  margin: 0;
  padding: 0 14px 10px;
  font: 10px/1.45 var(--web-chrome);
}
.quiz__resultado[hidden] { display: none; }
.quiz__resultado.is-bien { color: var(--quiz-bien); }
.quiz__resultado.is-mal { color: var(--quiz-mal); }

.quiz__pie {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 5px 10px;
  border-top: 1px solid var(--web-mid);
  box-shadow: var(--status-shadow);
  font: 10px/1.2 var(--web-chrome);
  color: var(--web-ink);
}
.quiz__pie b { font-family: var(--web-arte); letter-spacing: .04em; }


@media (max-width: 760px), (max-height: 500px) and (max-width: 1000px) {
  .quiz {
    right: var(--safe-right);
    left: var(--safe-left);
    top: auto;
    bottom: calc(var(--taskbar-height) + var(--safe-bottom) + 6px);
    width: auto;
  }

  .quiz__marco {
    max-height: min(60dvh, calc(100dvh - var(--taskbar-height) - var(--safe-top) - var(--safe-bottom) - 12px));
  }
}





















.enoc {
  position: absolute;
  right: calc(var(--safe-right) + 12px);
  bottom: calc(var(--taskbar-height) + var(--safe-bottom) + 6px);
  z-index: 2400;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  max-width: min(460px, calc(100% - 20px));
  pointer-events: none;
}
.enoc[hidden] { display: none; }
.enoc > * { pointer-events: auto; }

.enoc__globo {
  position: relative;
  min-width: 0;
  

  flex: 0 1 auto;
  padding: 11px 13px 9px;
  border: 2px solid var(--enoc-borde);
  border-radius: var(--enoc-radio);
  background: var(--enoc-papel);
  color: var(--enoc-tinta);
  box-shadow: 2px 2px 0 var(--enoc-sombra);
}
.enoc__globo[hidden] { display: none; }




.enoc__globo::before,
.enoc__globo::after {
  position: absolute;
  right: -13px;
  bottom: 12px;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-left-color: var(--enoc-borde);
  content: "";
}
.enoc__globo::after {
  right: -9px;
  border-left-color: var(--enoc-papel);
}




.enoc__texto {
  margin: 0;
  max-width: 36ch;
  min-height: 2.8em;
  font: 12px/1.45 var(--web-chrome);
}




.enoc.is-tecleando .enoc__texto::after {
  content: "▌";
  animation: enoc-cursor 620ms steps(1, end) infinite;
}

@keyframes enoc-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.enoc__acciones {
  display: flex;
  gap: 6px;
  margin: 9px 0 0;
}




.enoc__boton {
  padding: 3px 12px;
  border: 1px solid var(--enoc-borde);
  border-radius: var(--enoc-radio-boton);
  background: var(--enoc-boton);
  color: var(--enoc-tinta);
  font: 11px/1.3 var(--web-chrome);
  cursor: pointer;
}
.enoc__boton:hover,
.enoc__boton:focus-visible { background: var(--enoc-boton-alto); outline: none; }
.enoc__boton:active { background: var(--enoc-boton-bajo); }



.enoc__cuerpo {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.enoc__cuerpo:focus-visible { outline: 1px dotted var(--web-desktop-ink); outline-offset: 2px; }





.enoc__figura {
  display: block;
  height: 64px;
  width: auto;
  image-rendering: pixelated;
}
.enoc__respaldo {
  display: grid;
  width: 47px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--enoc-borde);
  background: var(--enoc-papel);
  color: var(--enoc-tinta);
  font: 700 9px/1 var(--web-arte);
}



@keyframes enoc-entra {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: none; }
}
.enoc.is-entrando { animation: enoc-entra 240ms ease-out 1; }




.enoc.is-alerta .enoc__globo { border-color: var(--enoc-alarma); }
.enoc.is-alerta .enoc__globo::before { border-left-color: var(--enoc-alarma); }

@media (prefers-reduced-motion: reduce) {
  .enoc.is-entrando { animation: none; }
  .enoc.is-tecleando .enoc__texto::after { animation: none; }
}



@media (max-width: 760px) {
  .enoc { right: calc(var(--safe-right) + 5px); bottom: calc(var(--taskbar-height) + var(--safe-bottom) + 3px); }
  .enoc__globo { display: none; }
}

.taskbar {
  position: absolute;
  right: var(--safe-right);
  bottom: var(--safe-bottom);
  left: var(--safe-left);
  z-index: 2500;
  height: var(--taskbar-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  padding: 2px 5px 2px 0;
  border: 0;
  border-top: 1px solid var(--web-active-light);
  background: var(--taskbar-fill);
  box-shadow: var(--taskbar-top-shadow);
}

.taskbar__menu,
.taskbar__window {
  min-width: 0;
  height: 26px;
  border: 1px solid;
  border-color: var(--web-task-light) var(--web-task-dark) var(--web-task-dark) var(--web-task-light);
  border-radius: var(--control-radius) !important;
  background: var(--task-fill);
  color: var(--web-on-accent);
  box-shadow: var(--task-button-shadow);
  font: 11px/1 var(--web-chrome);
  text-shadow: 1px 1px 1px var(--web-task-dark);
}

.taskbar__menu {
  min-width: 104px;
  margin-left: 0;
  padding: 3px 12px 3px 8px;
  border-color: var(--web-start-light) var(--web-start-dark) var(--web-start-dark) var(--web-start-light);
  border-radius: var(--start-radius) !important;
  background: var(--start-fill);
  color: var(--web-on-title);
  font-style: italic;
  font-weight: 700;
  text-align: left;
  text-shadow: 1px 1px 1px var(--web-start-dark);
}

.taskbar__menu img,
.taskbar__menu svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  object-fit: contain;
  vertical-align: middle;
  image-rendering: pixelated;
}

.taskbar__window img,
.taskbar__window svg {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  object-fit: contain;
  vertical-align: middle;
  image-rendering: pixelated;
}

.taskbar__menu[aria-expanded="true"] {
  border-color: var(--web-start-dark) var(--web-start-light) var(--web-start-light) var(--web-start-dark);
  background: var(--web-start-dark);
  color: var(--web-on-accent);
  box-shadow: inset 1px 1px 1px var(--web-ink);
}

.taskbar__windows {
  min-width: 0;
  display: flex;
  gap: 3px;
  overflow: hidden;
}

.taskbar__luna-rescue {
  min-width: 132px;
  height: 26px;
  padding: 3px 8px;
  border: 1px solid;
  border-color: var(--web-task-light) var(--web-task-dark) var(--web-task-dark) var(--web-task-light);
  border-radius: 0;
  background: var(--task-fill);
  color: var(--web-on-accent);
  font: 700 10px/1 var(--web-arte);
  letter-spacing: .03em;
  white-space: nowrap;
  cursor: pointer;
}

.taskbar__luna-rescue:hover,
.taskbar__luna-rescue:focus-visible {
  background: var(--task-active-fill);
  outline: 1px solid var(--web-on-accent);
  outline-offset: -3px;
}

.taskbar__window {
  width: min(210px, 31%);
  padding: 3px 8px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.taskbar__window:hover,
.taskbar__window:focus-visible {
  filter: var(--hover-filter);
}

.taskbar__window[aria-pressed="true"] {
  border-color: var(--web-task-dark) var(--web-task-light) var(--web-task-light) var(--web-task-dark);
  background: var(--task-active-fill);
  box-shadow: var(--task-pressed-shadow);
}

.taskbar__window.is-minimized {
  color: var(--web-mark);
  background: var(--web-task-dark);
}

.taskbar__tray {
  min-width: 88px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: -1px -5px -1px 0;
  padding: 3px 9px 3px 12px;
  border: 1px solid;
  border-color: var(--tray-border);
  border-radius: 0 !important;
  background: var(--tray-fill);
  color: var(--web-on-accent);
  box-shadow: var(--tray-shadow);
  font: 11px/1 var(--web-chrome);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--tray-text-shadow);
}

.taskbar__tray img,
.taskbar__tray svg {
  width: 16px;
  height: 16px;
  object-fit: contain;
  image-rendering: pixelated;
}

.taskbar__signal {
  color: var(--web-on-accent);
}






.taskbar__turno,
.taskbar__creditos {
  display: inline-flex;
  gap: 0.3em;
  align-items: center;
  padding: 0 0.5em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.taskbar__turno b,
.taskbar__creditos b {
  font-weight: 700;
}

.taskbar__audio {
  padding: 2px 4px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.taskbar__audio:hover,
.taskbar__audio:focus-visible {
  border-color: var(--web-on-accent);
  outline: none;
}
.taskbar__audio[aria-pressed="true"] { color: var(--web-mark); }

* {
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: auto;
}

*::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  background: var(--web-face);
}

*::-webkit-scrollbar-track {
  border: 1px solid;
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
  background: var(--scroll-track-fill);
  box-shadow: var(--sunken-shadow);
}

*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-corner,
*::-webkit-scrollbar-button {
  border: 1px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0 !important;
  background-color: var(--scroll-thumb);
  box-shadow: var(--raised-shadow);
}

*::-webkit-scrollbar-button {
  width: 16px;
  height: 16px;
}




*::-webkit-scrollbar-button:vertical:decrement {
  background-image: conic-gradient(from 315deg at 50% 62%, var(--scroll-arrow) 0 25%, transparent 0);
}

*::-webkit-scrollbar-button:vertical:increment {
  background-image: conic-gradient(from 135deg at 50% 38%, var(--scroll-arrow) 0 25%, transparent 0);
}

*::-webkit-scrollbar-button:horizontal:decrement {
  background-image: conic-gradient(from 225deg at 62% 50%, var(--scroll-arrow) 0 25%, transparent 0);
}

*::-webkit-scrollbar-button:horizontal:increment {
  background-image: conic-gradient(from 45deg at 38% 50%, var(--scroll-arrow) 0 25%, transparent 0);
}

@media (max-width: 760px), (max-height: 500px) and (max-width: 1000px) {
  :root {
    --taskbar-height: 44px;
    --window-titlebar-height: 34px;
  }

  .escritorio-marca,
  .accesos,
  .escritorio::after {
    display: none;
  }

  .capa-ventanas {
    inset: 0;
  }

  .desktop-window,
  .desktop-window--luna,
  .desktop-window--cain,
  .desktop-window--archivo,
  .desktop-window--zarza,
  .desktop-window--pensamiento,
  .desktop-window--charlas,
  .desktop-window--mundo,
  .desktop-window--casa,
  .desktop-window--notas {
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border-width: 0;
    border-radius: 0 !important;
    box-shadow: none;
    transform: none;
  }

  .desktop-window.is-open:not(.is-active) {
    display: none;
  }

  .window-titlebar {
    height: 34px;
    border-radius: 0 !important;
  }

  .window-titlebar__title {
    font-size: 11px;
  }

  .window-control {
    width: 30px;
    height: 26px;
  }

  
  .window-control[data-window-action="maximize"],
  .window-resize-handle {
    display: none;
  }

  .program-scroll {
    padding: 8px;
  }

  .window-statusbar {
    grid-template-columns: minmax(0, 1fr) minmax(72px, .7fr);
  }

  .window-statusbar span:nth-child(2) {
    display: none;
  }

  .life-file__fields,
  .world-clock {
    grid-template-columns: 1fr;
  }

  .meter {
    grid-template-columns: 74px 70px minmax(120px, 1fr);
  }

  .house-map {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
  }

  .channel-bar span:nth-child(2),
  .channel-status span:nth-child(2) {
    display: none;
  }

  .channel-stage::before,
  .channel-stage::after {
    max-width: calc(100% - 18px);
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }

  .channel-placeholder {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    max-height: calc(100% - 54px);
    gap: 14px;
    padding: 16px;
    overflow: auto;
  }

  .channel-placeholder__arte {
    font-size: 11px;
  }

  .channel-placeholder__copy h3,
  .utility-app h3 {
    font-size: 17px;
  }

  .utility-app {
    padding: 26px 20px;
  }

  .utility-app::before {
    inset: 10px;
  }

  .utility-app--zarza {
    padding-right: 20px;
  }

  .zarza-vacia {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .menu-inicio {
    right: var(--safe-right);
    left: var(--safe-left);
    width: auto;
    max-height: calc(100dvh - var(--taskbar-height) - var(--safe-bottom));
    overflow-y: auto;
    border-radius: 0 !important;
  }

  .menu-inicio__cabecera {
    min-height: 42px;
    border-radius: 0 !important;
  }

  .menu-inicio__lista button {
    min-height: 42px;
  }

  .taskbar {
    gap: 2px;
    padding: 4px 4px 4px 0;
  }

  .taskbar__menu,
  .taskbar__window,
  .taskbar__luna-rescue {
    height: 34px;
  }

  .taskbar__luna-rescue {
    min-width: 58px;
    max-width: 76px;
    padding: 3px 4px;
    overflow: hidden;
    font-size: 8px;
    text-overflow: clip;
  }

  .taskbar__menu {
    min-width: 72px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .taskbar__windows {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .taskbar__windows::-webkit-scrollbar {
    display: none;
  }

  .taskbar__window {
    width: auto;
    min-width: 44px;
    max-width: 105px;
    flex: 1 0 44px;
    padding: 3px 5px;
    font-size: 9px;
  }

  .taskbar__tray {
    min-width: 61px;
    height: 42px;
    gap: 3px;
    margin: -4px -4px -4px 0;
    padding: 3px 6px;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .channel-status {
    font-size: 9px;
  }

  .channel-status span:last-child {
    display: none;
  }

  .taskbar__window {
    max-width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}

@media (forced-colors: active) {
  .desktop-window,
  .menu-inicio,
  .taskbar,
  .channel-placeholder {
    border: 2px solid CanvasText;
    box-shadow: none;
  }

  .window-titlebar,
  .menu-inicio__cabecera,
  .taskbar__menu,
  .taskbar__window {
    background: Canvas;
    color: CanvasText;
  }

  .desktop-window.is-active,
  .taskbar__window[aria-pressed="true"] {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}





.bitacora__barra {
  display: flex;
  gap: 0.5em;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.35em 0.5em;
}

.bitacora__buscar-rotulo {
  letter-spacing: 0.08em;
}

.bitacora__barra input {
  flex: 1 1 12em;
  min-width: 0;
}

.bitacora__resumen {
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.bitacora__hoja {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.bitacora__tabla {
  width: 100%;
  border-collapse: collapse;
}

.bitacora__tabla th {
  position: sticky;
  top: 0;
  text-align: left;
  padding: 0.25em 0.5em;
  letter-spacing: 0.06em;
}

.bitacora__tabla td {
  padding: 0.25em 0.5em;
  vertical-align: top;
}

.bitacora__corta {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.bitacora__pie {
  margin: 0;
  padding: 0.35em 0.5em;
  opacity: 0.7;
}












.dialogo__texto--fuera-de-ficcion {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  text-shadow: none;
}




































.desktop-window.is-open {
  animation: ventana-abre 120ms steps(4, end);
}
















@keyframes ventana-abre {
  from { opacity: .25; }
  to   { opacity: 1; }
}
















.desktop-window.is-dragging,
.desktop-window.is-resizing {
  transition: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .desktop-window.is-open {
    animation: none;
  }
}




.taskbar__pedir {
  flex: 0 0 auto;
  height: 20px;
  padding: 0 6px;
  border: 1px solid;
  border-color: var(--web-light) var(--web-shadow) var(--web-shadow) var(--web-light);
  border-radius: 0;
  background: var(--web-face);
  color: var(--web-ink);
  font: 10px/1 var(--web-chrome);
  white-space: nowrap;
  cursor: pointer;
}
.taskbar__pedir:active {
  border-color: var(--web-shadow) var(--web-light) var(--web-light) var(--web-shadow);
}




.orden__lista {
  margin: 0 0 10px;
  padding-left: 20px;
  color: var(--web-ink);
  font: 11px/1.5 var(--web-chrome);
}
.orden__lista li { margin-bottom: 6px; }
.orden__pie {
  margin: 0 0 10px;
  color: var(--web-muted);
  font: 10px/1.45 var(--web-chrome);
}





.quiz[data-mover] {
  transform: translate(var(--mx, 0px), var(--my, 0px));
}
.quiz.es-arrastrado {
  
  transition: none;
}
.quiz__barra.es-asa {
  cursor: move;
  touch-action: none;   
}
.quiz__barra.es-asa:focus-visible {
  outline: 2px solid var(--web-active);
  outline-offset: -2px;
}

















.expedientes {
  display: grid;
  grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}
.expedientes__arbol {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  overflow: auto;
  padding: 5px 0;
  border-right: 1px solid var(--web-shadow);
  background: var(--web-paper);
}
.expedientes__carpeta,
.expedientes__archivo {
  display: block;
  width: 100%;
  padding: 2px 6px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--web-ink);
  font: 11px/1.45 var(--web-arte);
  text-align: left;
  white-space: pre;
  cursor: pointer;
}
.expedientes__carpeta { color: var(--web-muted); }
.expedientes__archivo.is-nuevo { color: var(--web-active); }
.expedientes__archivo.is-abierto,
.expedientes__carpeta:hover,
.expedientes__archivo:hover {
  background: var(--web-active);
  color: var(--web-active-contraste, var(--web-paper));
}
.expedientes__carpeta:focus-visible,
.expedientes__archivo:focus-visible { outline: 1px dotted var(--web-ink); outline-offset: -2px; }
.expedientes__vacio { padding: 8px; color: var(--web-muted); font: 10px/1.4 var(--web-chrome); }

.expedientes__visor {
  min-height: 0;
  overflow: auto;
  padding: 10px 12px 16px;
  background: var(--notas-hoja, var(--web-paper));
  color: var(--web-ink);
  font: 12px/1.5 var(--web-arte);
}
.expedientes__visor:focus-visible { outline: 1px dotted var(--web-ink); outline-offset: -3px; }
.expedientes__cabecera { margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--web-mid); }
.expedientes__titulo { margin: 0 0 3px; font: 700 13px/1.25 var(--web-arte); letter-spacing: .04em; }
.expedientes__sello { margin: 0; color: var(--web-muted); font: 9px/1.4 var(--web-chrome); letter-spacing: .06em; }
.expedientes__h1, .expedientes__h2, .expedientes__h3, .expedientes__h4 {
  margin: 12px 0 4px;
  font: 700 12px/1.3 var(--web-arte);
  letter-spacing: .05em;
}
.expedientes__h3, .expedientes__h4 { color: var(--web-muted); }
.expedientes__parrafo { margin: 0 0 7px; }
.expedientes__fila { margin: 0 0 2px; white-space: pre-wrap; color: var(--web-muted); }
.expedientes__regla { margin: 8px 0; color: var(--web-mid); white-space: pre; overflow: hidden; }
.expedientes__cita { margin: 6px 0 8px 10px; padding-left: 8px; border-left: 2px solid var(--web-mid); color: var(--web-muted); }
.expedientes__lista { margin: 0 0 8px; padding-left: 18px; }
.expedientes__lista li { margin-bottom: 3px; }

.desktop-window--expedientes .program-shell {
  grid-template-rows: var(--menubar-height) minmax(0, 1fr) var(--statusbar-height);
}

@media (max-width: 600px) {
  .expedientes { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(64px, 24%) minmax(0, 1fr); }
  .expedientes__arbol { border-right: 0; border-bottom: 1px solid var(--web-shadow); }
}
