/* The archive module's own styling. It travels with the module - the package the core fetches
   from it consists of its frontend assembly and this file. What only its views need belongs
   here and not in the toolkit's paula.css, where it stood until 2026-09-27: the toolkit delivers
   tools, never meaning. */

/* THE RECOGNISED TEXT OF A FILE (2026-09-20), in a dialog of the archive: one file at a time with
   the viewer's arrows in the head row, the text of its pages under each other in the ONE scroll
   of the dialog - the blocks have no height of their own -, and from four pages on a row to jump
   by. Monospace, because the engine keeps the lines of the sheet. */
.reading-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }

.reading-file { font-weight: 600; overflow-wrap: anywhere; }

.reading-modes { margin-left: auto; display: flex; gap: var(--s1); }

.reading-index { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }

.reading-page
{
    margin: var(--s4) 0 var(--s2);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
}

.reading-text
{
    margin: 0;
    padding: var(--s3);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
