/* =========================================================
   ABOUT — two text files, opened the way a program of the period would open them.
   Built on the approved primitives (.ie__band, .ie__menubar, .btn98, .scroll98, .ie__grip,
   bevel tokens). Nothing here touches the desktop, the taskbar, SHOP, CREATE, LOOKBOOK
   or ASKR RADIO.
   ========================================================= */
.ab {
  /* The face of a text editor of the period. Kept local so base.css is untouched. */
  --ab-mono: "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;

  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* ---------- the two files ----------
   A short list, not navigation: the pressed button is the file you are reading. */
.ab__files {
  height: 3.9rem;
  padding-left: 1.1rem;
  gap: 0.5rem;
}
.ab-file {
  height: 2.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1rem 0 0.7rem;
  font-size: 1.5rem;
}
.ab-file__icon .ico { width: 1.8rem; height: 1.8rem; }
.ab-file.is-pressed .ab-file__icon,
.ab-file.is-pressed > span:last-child { transform: translate(1px, 1px); }

/* ---------- the page ----------
   White, sunken, with the classic scrollbar always in place so switching files does not
   shift the text sideways. It grows with the window: more room to read, same size of type. */
.ab__reader {
  flex: 1;
  min-height: 0;
  margin-top: 0.3rem;
  overflow-y: scroll;
  overflow-x: hidden;
  background: var(--white);
  box-shadow: var(--sh-field);
  /* A text file is text: it can be selected and copied, as it could then. */
  user-select: text;
  cursor: text;
}
.ab__reader:focus-visible { outline: 1px dotted #000; outline-offset: -0.8rem; }

.ab__doc {
  padding: 1.4rem 1.8rem 2.6rem;
  font-family: var(--ab-mono);
  font-size: 1.7rem;
  line-height: 2.6rem;
  letter-spacing: 0.01em;
  color: #000;
}

/* One line of the file. Long lines wrap, exactly as a text editor with word wrap on. */
.ab-line {
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.ab-line--blank { height: 2.6rem; }

/* The two plain-text devices that mark the head of the file. */
.ab-line--head { font-weight: bold; }
.ab-line--rule { letter-spacing: 0; }

/* The one line that is allowed to read a little heavier, and the closing signature.
   Both are still lines of the file: no headings, no change of size. */
.ab-line--mark {
  margin-top: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.12em;
}
.ab-line--sign { margin-top: 1.4rem; }

/* ---------- status ---------- */
.ab__status {
  height: 2.2rem;
  flex: none;
  display: flex;
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.ab__status-panel {
  box-shadow: var(--sh-thin-in);
  padding: 0 0.6rem;
  font-size: 1.45rem;
  line-height: 2.2rem;
  white-space: nowrap;
  overflow: hidden;
}
.ab__status-panel--name { width: 14rem; flex: none; }
.ab__status-panel--path { flex: 1; }

/* =========================================================
   MOBILE — ABOUT (ver el bloque equivalente en window.css)

   El tamaño de la ventana lo decide su entrada en registry.js: en un teléfono un bloc de
   notas no necesita el 94 % de la pantalla que la foundation da a las apps principales.
   Aquí solo queda el tamaño de dedo de las dos pestañas, que medían 21-29 px de alto.
   En píxeles y no en rem, porque el rem encoge con la escala y el dedo no.
   ========================================================= */
[data-mobile] .ab-file { min-height: 36px; }
