/* css/manual-help-sheet.css — one point of the manual in a sheet, on top
   of a full-screen window (js/views/manual-help-sheet.js). The point's text
   reuses the viewer's classes (.man-punto-t, .man-texto, .man-blq…). */

/* Above every full-screen window it may be opened from: «Gestionar
   inscripciones» (99999), the card chooser and the form over it (100000).
   The app has no z-index scale yet (#128), so the number is spelled out. */
.modal-overlay.man-hoja-ov { z-index: var(--z-modal); }

.man-hoja {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  max-width: 720px; margin: 0 auto;
}
.man-hoja-barra {
  flex: 0 0 auto; display: flex; justify-content: flex-end;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.man-hoja-barra .btn-secondary { width: auto; min-height: 44px; padding: 0 16px; }
.man-hoja-cuerpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 16px 24px; }

/* The «?» a window puts in its bar when it has no button class of its own. */
.man-ayuda-btn {
  flex: 0 0 auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer;
}
.man-ayuda-btn svg, [data-man-ayuda] svg { width: 22px; height: 22px; }
.man-ayuda-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* In the windows' bars, the «?» goes to the far right. */
.cd-bar > .man-ayuda-btn, .prf-bar > .man-ayuda-btn, .dip-barra > .man-ayuda-btn,
.tfi-elegir-cab > .man-ayuda-btn { margin-left: auto; }
/* The chooser's bar gives every button padding and auto width: the «?» stays square. */
.tfi-elegir-cab > .man-ayuda-btn { width: 44px; padding: 0; }
