/* more.css: the styles of the screens added after the switch (November 2026): screens/wants.js, screens/settings.js,
   screens/exports.js and screens/offers.js. OWNER: lane 2. One sheet for the four, so that index.html links one.
   The rules of ortuzar.css hold here too, and a unit test reads this file for them (tests/unit/more.test.mjs): the
   five colours (as the variables --paper, --ink, --grey, --rule, --red; no colour value is written here), the type
   sizes of the scale, the weights 300, 400 and 500, the spacing scale (--s1 to --s8), no shadow, no rounded corner,
   no motion. The shared pieces of a form (the label above, the ruled line, the row of words, the black bar, the list
   under a name field) are in ortuzar.css: they are used here, not restyled.
   Every selector begins with a screen's own name (.wants…, .settings…, .exports…, .offers…), so that nothing here
   can change another screen. */

/* ============================== WANTS ============================== */

/* one word that takes a tap, on a line of its own: 44 points tall */
.wants .tapline,.wants-of .tapline,.offers .tapline{padding:11px 0}
/* what was just done ("The want is closed."), said once above the list or the want */
.wants .wants-said,.offers .offers-said{padding:var(--s2) 0 var(--s3);font-weight:500}
/* "is looking for <artist> for <whom>.": the sentence under the person's name */
.wants .head{padding-bottom:var(--s1)}
.wants .wants-what{padding-bottom:var(--s2)}
.wants .wants-what+p{padding-bottom:var(--s2)}
/* a row of the list is one link: the sentence, then the grey line under it */
.wants a.row .k{flex:1 1 100%}
/* the person's name is the heading and a link to their page: its tap area is 44 points tall and no wider than the name */
.wants .head h1 a{display:inline-block;position:relative;z-index:1;padding:7px 0;margin:-7px 0;text-decoration:none}
/* the works by the artist, and the other people interested in them: each row one link, as tall as a thumb */
.wants .wants-works,.wants .wants-others{border-top:1px solid var(--rule)}
.wants .wants-works .row,.wants .wants-others .row{padding:0}
.wants .wants-works .row a,.wants .wants-others .row a{display:block;flex:1 1 100%;margin:0;padding:var(--s3) 0;text-decoration:none}
.wants .wants-more{padding-top:var(--s3)}
/* what can be done with the want: the row of words under the head, as on a person's page (each word 44 points tall,
   no two sharing ground); before a delete, the one red sentence and its two words in the same place */
.wants .wants-acts,.offers .offers-acts{padding:var(--s3) 0 0}
.wants .wants-acts .actions,.offers .offers-acts .actions{row-gap:22px}
.wants .wants-acts .actions .tap,.wants .wants-acts .actions button.link.tap,.offers .offers-acts .actions .tap,.offers .offers-acts .actions button.link.tap{padding:5px 6px 17px;margin:-5px -6px -17px}
.wants .wants-acts .choice,.offers .offers-acts .choice{gap:22px var(--s6)}
.wants .wants-acts .choice .tap,.wants .wants-acts .choice button.link.tap,.offers .offers-acts .choice .tap,.offers .offers-acts .choice button.link.tap{padding:11px;margin:-11px}
.wants .wants-acts .warn,.offers .offers-acts .warn{padding-bottom:var(--s2)}
.wants .problem,.offers .problem{font-weight:500;padding-top:var(--s5)}
/* under the artist field: the names it could be, and what will happen to a name that is not on the list */
.wants .artist-hint p,.offers .artist-hint p,.wants .field>p.t-small,.offers .field>p.t-small{padding-top:var(--s2)}
/* the word that adds a typed name to the artists list stands on a line of its own, 44 points tall, clear of the names above it */
.wants .artist-hint p.tapline,.offers .artist-hint p.tapline{padding:11px 0}
.wants .wants-pick,.offers .offers-pick{flex-direction:column;gap:22px}
.wants .wants-pick button[aria-pressed=true],.offers .offers-pick button[aria-pressed=true]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
/* on a person's page: "Looking for"; on a work's page: "Looking for <the artist>" */
.wants-of .ruled{padding-top:0}
.wants-of .row{padding:0}
.wants-of .row a{display:block;flex:1 1 100%;margin:0;padding:var(--s3) 0;text-decoration:none}

/* ============================== SETTINGS ============================== */

.settings .settings-lead{padding-bottom:var(--s2)}
/* what each setting is for, under its field */
.settings .field>p.t-small{padding-top:var(--s2)}
/* what was saved, or what went wrong, above the bar */
.settings .settings-said{padding-top:var(--s5)}
.settings .settings-said.stopped{font-weight:500}
/* the signature the app holds, as plain text between two ruled lines */
.settings .settings-sig-text{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:var(--s3) 0;margin-top:var(--s3)}
.settings .settings-sig .settings-said{padding-top:var(--s4)}
.settings .settings-sig .tapline,.settings .settings-share .tapline{padding:var(--s4) 0 11px}
/* who sees the offers: the red sentence and its two words, each 44 points tall */
.settings .settings-share .warn{padding-top:var(--s3)}
.settings .settings-share .choice{gap:22px var(--s6);padding-top:var(--s4)}
.settings .settings-share .choice .tap,.settings .settings-share .choice button.link.tap{padding:11px;margin:-11px}
.settings .settings-note{max-width:34em}

/* ============================== EXPORTS ============================== */

.exports .exports-lead{padding-bottom:var(--s2);max-width:34em}
.exports .exports-part>p{max-width:34em}
/* the word that makes a file: 44 points tall, on a line of its own */
.exports .tapline{padding:var(--s4) 0 11px}
.exports .exports-which{padding-top:var(--s3)}
.exports .exports-which .choice{gap:22px var(--s6)}
.exports .exports-which .choice .tap,.exports .exports-which .choice button.link.tap{padding:11px;margin:-11px}
.exports .exports-which button[aria-pressed=true]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
/* what the last making came to */
.exports .exports-said{font-weight:500;max-width:34em;overflow-wrap:anywhere}
.exports .exports-note{padding-top:var(--s3);max-width:34em}

/* ============================== OFFERS ============================== */

.offers .offers-lead{padding-bottom:var(--s3);max-width:34em}
/* the choice of status: a row of words that wraps, each word with room for a thumb */
.offers .offers-which{gap:22px var(--s5);padding:var(--s3) 0 var(--s4)}
.offers .offers-which .tap,.offers .offers-which button.link.tap{padding:11px;margin:-11px}
.offers .offers-which button[aria-pressed=true]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
/* a row is one link: the work and its grey line at the left, the status at the right */
.offers a.row,.offers-of a.row{flex-wrap:nowrap;justify-content:space-between;align-items:baseline}
.offers a.row .k,.offers-of a.row .k{flex:1 1 auto;min-width:0}
.offers a.row .v,.offers-of a.row .v{flex:0 0 auto;white-space:nowrap}
/* one offer */
.offers .head{padding-bottom:var(--s1)}
.offers .offers-what{padding-top:var(--s1)}
.offers dl.facts dd{overflow-wrap:anywhere}
.offers .offers-lines{white-space:pre-line}
/* a link of the offer: a line of its own, 44 points tall; a link inside a sentence: its tap area as tall, no wider than its words */
.offers dd .offers-link{display:block;position:relative;z-index:1;padding:11px 0;margin:0;overflow-wrap:anywhere}
.offers dd .offers-link:first-child{margin-top:-11px}
/* who offered it is a link to their page: its tap area lies over the line beneath, which takes no tap */
.offers dl.facts .tap{position:relative;z-index:1}
.offers .offers-inline{padding-left:0;padding-right:0;margin-left:0;margin-right:0}
.offers .offers-files .row,.offers .offers-history .row{flex-wrap:nowrap;justify-content:space-between}
.offers .offers-files .k{overflow-wrap:anywhere}
.offers .offers-notyet{padding-top:var(--s6);max-width:34em}
.offers-of .ruled{padding-top:0}
/* the forms of an offer: the choices inside them stand one under the other, each 44 points tall; the dl of an offer
   begins a little under the row of words */
.offers .offers-pick{padding:11px 0}
.offers .offers-pick .tap,.offers .offers-pick button.link.tap{padding:11px 0;margin:-11px 0;text-align:left}
.offers .offers-acts+dl.facts{padding-top:var(--s4)}
/* the files of an offer (screens/offer_files.js): each a row with its name and what it is, then the words that act on
   it, each 44 points tall; under the list, what was just done or what went wrong */
.offers .offers-filesbox .offers-file{display:block;padding:var(--s3) 0}
.offers .offers-filewords{gap:22px var(--s6);padding:var(--s4) 0 var(--s2)}
.offers .offers-filewords .tap,.offers .offers-filewords button.link.tap{padding:11px;margin:-11px}
.offers .offers-filesbox .warn{padding-bottom:var(--s2)}
.offers .offers-filesaid{padding-top:var(--s3)}
/* a file that is open in the page: its name, then the file itself at the width of the page, then "Close" */
.offers .offers-open{padding:var(--s4) 0 var(--s2)}
.offers .offers-openname{padding-bottom:var(--s3);overflow-wrap:anywhere}
.offers .offers-openpicture{display:block;max-width:100%;height:auto}
.offers .offers-openpdf{display:block;width:100%;height:80vh;border:0}
.offers .offers-opentext{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.offers .offers-noopen{padding-top:var(--s2)}
/* the app's reader for a PDF (screens/pdf_reader.js): each page a row of a ruled list, the page at the list's width, its number under it */
.offers .offers-pdfpages{padding-top:0}
.offers .offers-pdfpages .row{display:block}
.offers .offers-pdfpage{display:block;width:100%;height:auto}
.offers .offers-pdfcaption{padding-top:var(--s2)}
.offers .offers-filesaid.stopped{font-weight:500}
/* at the head of a form the reader filled in: what to check */
.offers .offers-reading{padding-bottom:var(--s3);max-width:34em}
/* a word that is switched off while a file is on its way looks switched off */
.offers button.link[disabled]{color:var(--grey);cursor:default;text-decoration:none}
