/* Ortuzar: Gallery Offers. Design direction "Fact sheet" (REVIEW_2026-11-19.md, Part 4).
   This file is in two parts. PART A is the style sheet of the design mockups of Nov 19, 2026, kept as it was drawn
   (design_mockups_2026-11-19/ortuzar.css); only the typeface rules at its head were extended. PART B, further down,
   holds what the app needs and the mockups do not draw. Five type sizes, two weights, five colours, one spacing
   scale. Nothing is in a box, nothing has a shadow, and the only round thing is the red dot.

   THE TYPEFACE. One family, as in the gallery's own fact sheets and website: Helvetica Neue LT Std Condensed
   (47 Light, 67 Medium, with their obliques) for cataloguing, lists, labels and navigation; plain Helvetica Neue for
   long reading text and for what is typed.
   The web licence for the condensed faces is NOT settled, so no font file is in the project. Until it is:
     - a Mac that has the gallery's condensed faces installed shows them (the local() rules below);
     - everything else, the iPhone included, falls back to Helvetica Neue Light and Medium, with the system's
       Helvetica Neue Condensed Bold for names (artists and shows). */
@font-face{font-family:"Ortuzar Condensed";font-weight:300;font-style:normal;src:local("HelveticaNeueLTStd-LtCn")}
@font-face{font-family:"Ortuzar Condensed";font-weight:300;font-style:italic;src:local("HelveticaNeueLTStd-LtCnO")}
@font-face{font-family:"Ortuzar Condensed";font-weight:500;font-style:normal;src:local("HelveticaNeueLTStd-MdCn")}
@font-face{font-family:"Ortuzar Condensed";font-weight:500;font-style:italic;src:local("HelveticaNeueLTStd-MdCnO")}
/* Names when the condensed family is missing: the system's own Condensed Bold (on every iPhone and Mac). */
@font-face{font-family:"Ortuzar Names";font-weight:500;font-style:normal;src:local("HelveticaNeueLTStd-MdCn"),local("HelveticaNeue-CondensedBold"),local("Helvetica Neue Condensed Bold")}

/* ==== THE LICENSED WEB FILES GO HERE =============================================================================
   When the web licence covers the app's address, put the four WOFF2 files in app/src/fonts/ (see fonts/README.md),
   remove this comment's markers around the four rules below, and delete the five local() rules above.
   The security policy already allows fonts from the app itself and from nowhere else.

@font-face{font-family:"Ortuzar Condensed";font-weight:300;font-style:normal;font-display:swap;src:url("fonts/HelveticaNeueLTStd-LtCn.woff2") format("woff2")}
@font-face{font-family:"Ortuzar Condensed";font-weight:300;font-style:italic;font-display:swap;src:url("fonts/HelveticaNeueLTStd-LtCnO.woff2") format("woff2")}
@font-face{font-family:"Ortuzar Condensed";font-weight:500;font-style:normal;font-display:swap;src:url("fonts/HelveticaNeueLTStd-MdCn.woff2") format("woff2")}
@font-face{font-family:"Ortuzar Condensed";font-weight:500;font-style:italic;font-display:swap;src:url("fonts/HelveticaNeueLTStd-MdCnO.woff2") format("woff2")}
   ================================================================================================================ */

/* ============================== PART A: the mockups' style sheet ============================== */
:root{
  /* colour: five values, each with one job */
  --paper:#ffffff;      /* the page: white, as the fact sheets and ortuzar.com */
  --ink:#231f20;        /* text: the rich black of the fact sheets' type */
  --grey:#6b6768;       /* second voice: dates, numbers of things, hints (5.5:1 on white) */
  --rule:#d9d7d5;       /* hairlines between rows of a list or table; nothing else is ruled */
  --red:#c4161c;        /* the gallery's red dot: sold, reserved, and the warning before something that cannot be undone */
  /* type */
  --cond:"Ortuzar Condensed","Helvetica Neue",Helvetica,Arial,sans-serif;
  --names:"Ortuzar Condensed","Ortuzar Names","Helvetica Neue",Helvetica,Arial,sans-serif;
  --text:"Helvetica Neue",Helvetica,Arial,sans-serif;
  /* space: one scale, in steps of 4 */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:72px;
  --gutter:20px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:300 17px/1.35 var(--cond);font-variant-numeric:tabular-nums lining-nums;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ul,ol,dl,dt,dd,figure,table{margin:0;padding:0}
ul,ol{list-style:none}
a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a.plain{text-decoration:none}
img{display:block;max-width:100%}
i,em{font-style:italic}
button,input,select,textarea{font:inherit;color:inherit}

/* ---- the type scale: five sizes ---- */
.t-small{font-size:14px;line-height:18px}
.t-body{font-size:17px;line-height:23px}
.t-lead{font-size:20px;line-height:25px}
.t-title{font-size:27px;line-height:30px}
.t-display{font-size:30px;line-height:32px}
.md{font-weight:500}
.grey{color:var(--grey)}
.prose{font:400 16px/25px var(--text);max-width:34em}
.prose p+p{margin-top:var(--s3)}
.nowrap{white-space:nowrap}

/* ---- frame: phone ---- */
.app{min-height:100vh;padding-bottom:calc(64px + env(safe-area-inset-bottom))}
.rail{display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 var(--gutter)}
.rail .mark img{height:14px;width:auto}
.rail .links{display:flex;gap:var(--s5)}
.rail .links a{text-decoration:none}
.rail .shows,.rail .railnav,.rail .foot{display:none}
main{padding:0 var(--gutter)}
.tabbar{position:fixed;left:0;right:0;bottom:0;display:flex;background:var(--paper);border-top:1px solid var(--rule);padding-bottom:env(safe-area-inset-bottom)}
.tabbar a{flex:1 1 0;text-align:center;text-decoration:none;padding:17px 0 19px;font-size:17px;line-height:20px}
.tabbar a[aria-current]{font-weight:500;box-shadow:inset 0 2px 0 var(--ink)}
.d-only{display:none}

/* ---- head of a page ---- */
.head{padding:var(--s4) 0 var(--s4)}
.head h1{font-weight:500}
.head .where{margin-top:var(--s1)}
.searchrow{display:flex;align-items:flex-end;gap:var(--s4)}
.searchrow .search{flex:1 1 auto}
.searchrow .view{flex:0 0 auto;padding-bottom:10px;white-space:nowrap}
.searchrow .view a{text-decoration:none;margin-left:var(--s3)}
.searchrow .view a[aria-current]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.crumb{display:flex;justify-content:space-between;padding:var(--s1) 0 var(--s4)}
.search{display:block;width:100%;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:none;padding:10px 0 9px;font:400 17px/24px var(--text);outline:0;-webkit-appearance:none;appearance:none}
.search::placeholder{color:var(--grey);text-overflow:ellipsis}
.words{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s4);padding:var(--s4) 0}
.words a{text-decoration:none}
.words a[aria-current]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.words .n{color:var(--grey);margin-left:5px}
.words .right{margin-left:auto;display:flex;gap:var(--s4)}
.line{padding:var(--s3) 0;border-top:1px solid var(--rule)}
.line:last-of-type{border-bottom:1px solid var(--rule)}
.line{display:flex;flex-wrap:wrap;gap:0 var(--s4)}
.line .k{color:var(--grey)}
.line .end{margin-left:auto}
.line .dot{align-self:center;margin-right:calc(-1 * var(--s2));top:0}

/* ---- status: the gallery's dot, and words ---- */
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--red);margin-right:6px;position:relative;top:-1px}
.dot.ring{background:none;box-shadow:inset 0 0 0 1.5px var(--red)}

/* ---- works: pictures ---- */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:0;padding:var(--s2) 0 var(--s5)}
.cell{display:grid;grid-template-rows:subgrid;grid-row:span 2;margin-bottom:var(--s6)}
.cell a{display:contents;text-decoration:none}
.well{align-self:end;margin-bottom:var(--s3)}
.well img{max-height:184px;max-width:100%;width:auto;height:auto}
.cell .price{margin-top:var(--s1)}
/* (the mockups drew both views in one page and hid one with a class on the body; the app builds only the view in use) */

/* ---- works: the price list, and every other table ---- */
table{width:100%;border-collapse:collapse}
th{font-weight:300;color:var(--grey);font-size:14px;line-height:18px;text-align:left;padding:0 var(--s4) var(--s2) 0;border-bottom:1px solid var(--ink);vertical-align:bottom}
td{padding:var(--s3) var(--s4) var(--s3) 0;border-bottom:1px solid var(--rule);vertical-align:top}
th:last-child,td:last-child{padding-right:0}
td.num,th.num{text-align:right;white-space:nowrap}
td.pic{width:56px;padding-right:var(--s3)}
td.pic img{width:44px;height:44px;object-fit:contain;object-position:left top}
tr.link{cursor:pointer}

/* ---- a work ---- */
.plate{margin:0 calc(-1 * var(--gutter));display:flex;justify-content:center}
.plate img{max-height:46vh;width:auto}
.count{display:flex;justify-content:space-between;padding:var(--s3) 0 var(--s5)}
.caption .artist{font-weight:500}
.caption .title{margin:2px 0 var(--s2)}
.caption .price{margin-top:var(--s4);font-weight:500}
.caption .status{margin-top:2px}
.sec{padding-top:var(--s6)}
.sec>h2{font-size:17px;line-height:23px;font-weight:500;margin-bottom:var(--s2)}
.sec .lines li{padding:1px 0}
.act{position:fixed;left:0;right:0;bottom:0;display:flex;background:var(--paper);border-top:1px solid var(--ink);padding-bottom:env(safe-area-inset-bottom)}
.act a{flex:1 1 0;text-align:center;text-decoration:none;padding:17px 4px 19px;font-weight:500;border-left:1px solid var(--rule)}
.act a:first-child{border-left:0;background:var(--ink);color:var(--paper)}
.comps td.pic{width:64px}
.comps td.pic img{width:52px;height:52px}

/* ---- journal ---- */
.day{padding-top:var(--s6)}
.day>h2{font-size:17px;line-height:23px;font-weight:500;padding-bottom:var(--s2);border-bottom:1px solid var(--ink)}
.entry{padding:var(--s3) 0 var(--s3);border-bottom:1px solid var(--rule)}
.entry .who .org{color:var(--grey)}
.entry .meta{margin-top:2px}
.jt .c-by,.jt .c-how{white-space:nowrap}

/* ---- a record (contact) ---- */
dl.facts{display:grid;grid-template-columns:104px 1fr;row-gap:var(--s1);padding:var(--s2) 0 var(--s5)}
dl.facts dt{color:var(--grey)}
.actions{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s5);padding-bottom:var(--s2)}

/* ---- forms ---- */
.form{padding-bottom:var(--s7)}
.field{padding-top:var(--s5)}
.field>label,.field>.label{display:block;color:var(--grey);font-size:14px;line-height:18px;margin-bottom:2px}
.field input[type=text]{display:block;width:100%;border:0;border-bottom:1px solid var(--rule);border-radius:0;background:none;padding:9px 0 8px;font:400 17px/24px var(--text);outline:0;-webkit-appearance:none;appearance:none}
.field input.on{border-bottom-color:var(--ink)}
.choice{display:flex;flex-wrap:wrap;gap:var(--s1) var(--s5);padding:9px 0 4px}
.choice a{text-decoration:none;padding:4px 0}
.choice a[aria-current]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.sugg li{padding:11px 0;border-bottom:1px solid var(--rule)}
.sugg li .org{color:var(--grey)}
.primary{display:block;width:100%;border:0;border-radius:0;background:var(--ink);color:var(--paper);font:500 17px/23px var(--cond);padding:16px 0 17px;margin-top:var(--s6);text-align:center;text-decoration:none}
.warn{color:var(--red)}
.after{padding-top:var(--s4);text-align:center}
.savebar{position:fixed;left:0;right:0;bottom:0;background:var(--paper);padding:0 0 env(safe-area-inset-bottom)}
.savebar .primary{margin:0}

/* ---- the same pages on a Mac ---- */
@media(min-width:900px){
  :root{--gutter:48px}
  .d-only{display:revert}
  .p-only{display:none !important}
  .app{display:grid;grid-template-columns:264px minmax(0,1fr);padding-bottom:0}
  .rail{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:44px 0 36px 48px}
  .rail .mark img{height:19px}
  .t-display{font-size:36px;line-height:37px}
  .savebar{position:static;padding:0;margin-top:var(--s6)}
  .words{gap:var(--s2) var(--s5)}
  .searchrow{max-width:560px;margin-bottom:var(--s6)}
  .rail .links{display:none}
  .rail .railnav{display:block;margin-top:var(--s7)}
  .rail .railnav a,.rail .shows a,.rail .foot a{display:block;text-decoration:none;padding:3px 0}
  .rail .railnav a[aria-current],.rail .shows a[aria-current]{font-weight:500}
  .rail .shows{display:block;margin-top:var(--s6)}
  .rail .shows h3{font-size:14px;line-height:18px;font-weight:300;color:var(--grey);margin:var(--s5) 0 var(--s1)}
  .rail .foot{display:block;margin-top:auto;color:var(--grey)}
  .tabbar{display:none}
  main{padding:44px 48px 96px 24px;max-width:1240px}
  .head{padding-top:0;padding-bottom:var(--s5)}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--s6);padding-top:var(--s4)}
  .cell{margin-bottom:var(--s7)}
  .well img{max-height:280px}
  .spread{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);column-gap:var(--s8);align-items:start}
  .spread .left{position:sticky;top:44px}
  .plate{margin:0;justify-content:flex-start}
  .plate img{max-height:calc(100vh - 150px)}
  .act{position:static;border-top:0;margin-top:var(--s5);gap:var(--s5);padding:0}
  .act a{flex:0 0 auto;border:0;padding:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  .act a:first-child{background:var(--ink);color:var(--paper);text-decoration:none;padding:11px 28px 12px}
  .act a:not(:first-child){align-self:center}
  .wide{max-width:920px}
  .formcol{max-width:440px}
  dl.facts{grid-template-columns:120px 1fr}
}

/* ============================== PART B: what the app adds ==============================
   Everything below follows the same rules: the five sizes, two weights, five colours and the spacing scale above. */

[hidden]{display:none !important}
h1,h2,h3{font-weight:500}
.caption .title{font-weight:300}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body{overflow-wrap:break-word}

/* Part one has no row of sections at the foot of the phone, so the page needs no room for it. */
.app{padding-bottom:env(safe-area-inset-bottom)}

/* Names: the artist above a title and the name of a show. With the condensed family present this changes nothing;
   without it, names are set in the system's Condensed Bold. */
.t-display,.name{font-family:var(--names)}

/* A control that is a word. Buttons look exactly like links; the difference is only in what they do. */
button{border-radius:0;-webkit-appearance:none;appearance:none}
button.link{display:inline;background:none;border:0;margin:0;padding:0;font:inherit;color:inherit;text-align:inherit;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
button.link.plain{text-decoration:none}
button.link[aria-pressed="true"]{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
a[href],button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
h1:focus{outline:0}
/* the name of a screen is given the keyboard's place when the screen is come to; it is never drawn in a frame, also
   not after the keyboard was used (the rule for [tabindex] further down would otherwise win) */
h1:focus-visible{outline:0}
.search:focus-visible{outline:0;border-bottom-width:2px;padding-bottom:8px}

/* Touch targets. A word is small; the area that takes the tap is at least 44 points tall and 44 wide. The padding
   that makes it so is taken back by the margin, so nothing moves on the page.
   NO TWO AREAS MAY SHARE ANY GROUND: a tap must never land on the neighbour. So an area reaches to each side by
   half the gap to the next word and no further, a row of words that may wrap keeps its lines 44 points apart, and
   where a line of words sits close under another thing that takes a tap, the area is cut to fit (see below). A
   browser test taps the top, middle, bottom and both edges of every word, button and field on every screen. */
.tap,button.link.tap{display:inline-block;min-width:44px;padding:11px 6px;margin:-11px -6px}
.t-small .tap,.t-small button.link.tap{padding:13px 6px;margin:-13px -6px}
.prose .tap,.prose button.link.tap{padding:10px 6px;margin:-10px -6px}
/* the word that turns Discreet off is pressed and held: no selecting it, no menu of the browser's own */
.hold{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}

/* ---- the rail ---- */
/* phone: the wordmark and Discreet take taps in the top 44 points; what sits under them starts at 44 */
.rail{align-items:flex-start;padding:0 max(var(--gutter),env(safe-area-inset-right)) 0 max(var(--gutter),env(safe-area-inset-left))}
.rail .mark{display:block;height:44px;padding-top:18px}
.rail .links{align-self:flex-start}
.rail .links .tap,.rail .links button.link.tap{line-height:23px;padding:13.5px var(--gutter) 7.5px 11px;margin:0 calc(-1 * var(--gutter)) 0 -11px}
main{padding:0 max(var(--gutter),env(safe-area-inset-right)) var(--s7) max(var(--gutter),env(safe-area-inset-left))}
@media(min-width:900px){
  .rail{padding:44px 0 36px 48px}
  .rail .mark{height:auto;padding-top:0}
  main{padding:44px 48px 96px 24px}
  .rail .railnav a,.rail .shows a{min-height:29px}
  /* A show's name and its subtitle: the subtitle is dropped, whole, when the two do not fit on one line. */
  .rail .shows a.show{display:flex;flex-wrap:wrap;height:29px;overflow:hidden;column-gap:0;row-gap:var(--s3)}
  .rail .shows a.show span{white-space:nowrap}
  .rail .shows a[aria-current]{font-family:var(--names)}
  .rail .foot button{display:block;padding:3px 0;text-decoration:none}
  .rail .foot button[aria-pressed="true"]{color:var(--ink)}
  .rail .foot span{display:block;padding:3px 0}
}

/* ---- one plain grey line when the statuses could not be refreshed ---- */
/* ONE line high whatever it says, with or without "Try again": the sentence does not wrap (on a screen too narrow
   for it, its end is cut with three dots), and the room under it is the same in every case, so that nothing below
   moves when the words change. */
.notice{color:var(--grey);padding:var(--s2) 0 var(--s5);display:flex;align-items:baseline;gap:0 var(--s2);white-space:nowrap}
.notice .say{min-width:0;overflow:hidden;text-overflow:ellipsis}
.notice .tap,.notice button.link.tap{flex:none}
/* the line's place, kept after it has nothing more to say: the words stay where they were, unseen (see frame.js) */
.notice.spent{visibility:hidden}
/* the counts beside the filter words: every figure the same width, and an unseen figure where a count got shorter
   (see works.js), so that the words keep their places when the statuses arrive */
.words .n{font-variant-numeric:tabular-nums}
.words .n .room{visibility:hidden}

/* ---- the works ---- */
.head .where{display:flex;flex-wrap:wrap;gap:0 var(--s3)}
.head .where span{white-space:nowrap}
.head .where .links{display:flex;flex-wrap:wrap;gap:26px var(--s3)}
.searchrow .search{min-width:0}
.searchrow .view{display:flex;gap:var(--s3);margin-left:var(--s3)}
.searchrow .view .tap:last-child{padding-right:17px;margin-right:-17px}
.words{row-gap:22px}
.words .tap,.words button.link.tap{padding:11px 8px;margin:-11px -8px}
.line .v{white-space:nowrap}
.line .v .tap{padding:11px 8px;margin:-11px -8px}
/* the browser's own little cross in a search field is an icon; the app uses the word Clear instead */
.search::-webkit-search-cancel-button,.search::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.searchrow .clear{flex:0 0 auto;padding-bottom:10px;color:var(--grey)}
/* the line at the top of a work: one line always, so the picture always starts 88 points down */
.crumb{gap:var(--s3)}
.crumb>span{display:flex;gap:var(--s3);flex:0 0 auto}
.crumb .tap{padding:10px 6px 16px;margin:-10px -6px -16px}
/* a word that is a button in that line takes the same area as a link there (it must not reach into the wordmark's) */
.crumb button.link.tap{padding:10px 6px 16px;margin:-10px -6px -16px}
.crumb>span .tap:last-child{padding-right:16px;margin-right:-16px}
.crumb .back{flex:0 1 auto;min-width:44px;overflow:hidden}
/* (the five points below the line of type are room for the underline, which the cut would otherwise take off) */
.crumb .fitline{display:flex;flex-wrap:wrap;height:23px;padding-bottom:5px;margin-bottom:-5px;overflow:hidden;row-gap:var(--s5)}
.crumb .fitline span{white-space:nowrap}
/* A picture that holds its place, in its true proportions, before it has arrived (see sizedPicture in core/dom.js).
   The empty drawing takes the size; the picture is laid over it. The largest size a picture may take in each
   place is set on the drawing, below. Width and height are both left to the browser, which is what keeps the
   proportions whatever the shape of the picture. */
.sized{position:relative;display:inline-block;vertical-align:top;max-width:100%;line-height:0}
.sized svg{display:block;width:auto;height:auto;max-width:100%}
.sized img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.well .sized svg{max-height:184px}
.plate .sized svg{max-height:46vh;max-height:46svh}
/* a cell is one link: the picture and its caption */
a.cell{text-decoration:none}
.well img{background:none}
.cell .st{margin-top:2px}
.cell .holder,.plist .holder{color:var(--grey)}
/* in Discreet the status word hangs under the caption and takes no room of its own, so that nothing moves when a
   status arrives; the room it hangs in is the space the design leaves under every row */
.cell .cap{position:relative}
.cell .st.free{position:absolute;left:0;top:100%;margin-top:2px;white-space:nowrap}
/* the heading of a group inside a show */
.grp{grid-column:1 / -1;font-size:17px;line-height:23px;font-weight:500;padding:var(--s4) 0 var(--s4)}
.grp .n{font-weight:300;color:var(--grey);margin-left:5px}
.plist .grp th{font-size:17px;line-height:23px;font-weight:500;color:var(--ink);padding:var(--s6) 0 var(--s2);border-bottom:1px solid var(--ink)}
.plist tbody:first-of-type .grp th{padding-top:var(--s4)}
.plist .grp .n{font-weight:300;color:var(--grey);margin-left:5px}
.plist td a{display:block;text-decoration:none}
.plist td.num p{margin-top:2px}
.plist td.num .holder,.plist td.num .note{white-space:normal;max-width:24ch;margin-left:auto}
.plist td .holder{padding:1px 0}
.plist td.pic{min-width:56px}
.none{padding:var(--s5) 0 var(--s7)}
.foot-lines{padding:var(--s5) 0 var(--s2);color:var(--grey)}
.foot-lines p{padding:3px 0}
.foot-lines p.tapline{padding:13px 0}
.foot-lines p.tapline .after{margin-left:var(--s2)}
.foot-lines .field{padding-top:var(--s3)}
.foot-lines .choice{color:var(--ink);padding-bottom:var(--s3)}
.foot-lines .choice .tap,.foot-lines .choice button.link.tap{padding:11px;margin:-11px}

/* ---- a list of shows, of documents, of anything ruled ---- */
.ruled{padding-top:var(--s2)}
.sec div.ruled{padding-top:0;margin-top:calc(-1 * var(--s2))}
.ruled>h2{font-size:17px;line-height:23px;font-weight:500;padding:var(--s6) 0 var(--s2);border-bottom:1px solid var(--ink)}
.ruled>h2:first-child{padding-top:var(--s2)}
.ruled .row{display:flex;flex-wrap:wrap;gap:0 var(--s4);padding:var(--s3) 0;border-bottom:1px solid var(--rule)}
.ruled .row .k{flex:1 1 220px}
.ruled .row .v{display:flex;flex-wrap:wrap;gap:0 var(--s4)}
.ruled .row .sub{display:block;color:var(--grey)}
a.row{text-decoration:none}

/* ---- documents: a name, then the words that open it and the words that copy its link ---- */
ul.ruled{padding-top:0}
/* a document: its name at the left, and at the right ONE line of words, on the name's first line. Every row is laid
   out alike, as a price list is: a long name wraps in its own column and the words stay where they are. The words
   never wrap among themselves and never sit under other words, so no tap area can reach another. */
.docs .row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--s5);align-items:start}
.docs .row .v{display:flex;gap:0 var(--s5);white-space:nowrap;justify-content:flex-end}
.docs .row .v .tap,.docs .row .v button.link.tap{padding:11px;margin:-11px}
.docmode{padding:0 0 var(--s3)}
.docmode .tap,.docmode button.link.tap{padding:11px;margin:-11px}
ul.docs{border-top:1px solid var(--rule)}
.line .v{display:flex;gap:0 var(--s4)}

/* ---- a work ---- */
.plate{position:relative}
.plate button{display:block;background:none;border:0;padding:0;margin:0;cursor:pointer}
/* steps down, used only when the price would otherwise fall below the foot of a phone's screen (see screens/work.js) */
.plate.fit-1 .sized svg{max-height:42svh}
.plate.fit-2 .sized svg{max-height:38svh}
.plate.fit-3 .sized svg{max-height:34svh}
.plate.fit-4 .sized svg{max-height:30svh}
.plate.fit-5 .sized svg{max-height:26svh}
.plate.fit-6 .sized svg{max-height:22svh}
.count .ctl{display:flex;gap:22px}
.count .tap,.count button.link.tap{padding:12px 11px 14px;margin:-12px -11px -14px}
.caption .notes{margin-top:var(--s2);color:var(--grey)}
.caption .notes p{padding:1px 0}
.sec .lines li a{text-decoration:none}
.sec .prose button.link{font:inherit}
.fnotes{margin-top:var(--s3);color:var(--grey)}
.fnotes p+p{margin-top:var(--s1)}
.sec .more{padding-top:var(--s3)}
.sec .tnote{color:var(--grey);padding-bottom:var(--s3);max-width:60em}
.comps td.pic button{display:block;background:none;border:0;padding:0;margin:0}
.comps td.num{white-space:normal;min-width:5.5em}
.comps td .t-small{margin-top:2px}
/* pictures with words under them: archival pictures, museum holdings, installation views, all pictures of a work */
.figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:0;padding:var(--s2) 0 0}
.fig{display:grid;grid-template-rows:subgrid;grid-row:span 2;margin-bottom:var(--s5)}
.fig button{display:block;background:none;border:0;padding:0;margin:0;align-self:end;justify-self:start;margin-bottom:var(--s2)}
.fig .sized svg{max-height:184px}
.fig .cap{color:var(--grey)}
.fig .cap .first{color:var(--ink)}
@media(min-width:900px){
  .plate button{cursor:zoom-in}
  .plate .sized svg{max-height:calc(100vh - 150px)}
  .well .sized svg{max-height:280px}
  .figs{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--s6)}
  .fig{margin-bottom:var(--s6)}
  .fig .sized svg{max-height:200px}
}

/* ---- a picture alone, on ink ---- */
/* The viewer is a column: the count and Close above, the picture taking what is left, the words below. Nothing is
   placed on top of anything, so at no height can a word lie on the picture. A long caption scrolls in its own place. */
dialog.viewer{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--ink);color:var(--paper);overflow:hidden}
dialog.viewer:not([open]){display:none}
dialog.viewer[open]{display:flex;flex-direction:column}
dialog.viewer::backdrop{background:var(--ink)}
dialog.viewer:focus{outline:0}
.viewer .vbar{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:env(safe-area-inset-top) max(var(--gutter),env(safe-area-inset-right)) 0 max(var(--gutter),env(safe-area-inset-left))}
.viewer .stage{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left)}
.viewer .stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.viewer .vfoot{flex:0 0 auto;padding:var(--s3) max(var(--gutter),env(safe-area-inset-right)) calc(var(--s4) + env(safe-area-inset-bottom)) max(var(--gutter),env(safe-area-inset-left))}
.viewer .vnav{display:flex;justify-content:space-between}
.viewer .vcap{padding-top:var(--s3);max-width:60em;max-height:34vh;overflow-y:auto}
.viewer button.link{text-decoration:none}
.viewer a:focus-visible,.viewer button:focus-visible{outline-color:var(--paper)}

/* ---- the passphrase ---- */
.gate{max-width:440px}
.gate .head{padding-top:var(--s6)}
.field input[type=password]{display:block;width:100%;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:none;padding:10px 0 9px;font:400 17px/24px var(--text);outline:0;-webkit-appearance:none;appearance:none}
.field input[type=password]:focus-visible{outline:0;border-bottom-width:2px;padding-bottom:8px}
/* a choice among a few: a row of words, the chosen one in Medium and underlined (real radio buttons underneath) */
.choice label{min-width:44px;padding:11px 0;margin:-7px 0;cursor:pointer}
.gate .choice{padding-bottom:var(--s2)}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice input:checked+span{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.choice input:focus-visible+span{outline:2px solid var(--ink);outline-offset:3px}
button.primary{cursor:pointer}
button.primary[disabled]{background:var(--grey);cursor:default}
.gate .msg{padding-top:var(--s4);min-height:calc(23px + var(--s4))}
.gate .hint{padding-top:var(--s5);color:var(--grey)}
.plainpage{padding-top:var(--s6);max-width:34em}
.plainpage p+p{margin-top:var(--s3)}

/* ---- a narrow screen (an iPhone with enlarged text): let long lines wrap ---- */
@media(max-width:340px){
  .head .where span{white-space:normal}
  .line .v{white-space:normal;flex-wrap:wrap;row-gap:22px}
  .count{flex-wrap:wrap}
  .count .ctl{flex-wrap:wrap;row-gap:26px}
  .plist td.num{white-space:normal}
  .plist td.num .price:not(.note){white-space:nowrap}
}

/* ============================== THE STAFF'S VIEW (part two) ==============================
   Nothing below is used while Discreet is on: none of these pieces is built then. The same rules hold: the five
   sizes, two weights, five colours and the spacing scale at the head of this file. Each part-two screen has a style
   sheet of its own in css/; what several screens share is here. */

/* ---- the frame: the row of sections at the foot of the phone, the three actions on a work's page ---- */
.app.staff{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
/* the section one is in: a line of ink above the word (a line, not the mockup's shadow: the app has no shadows) */
.tabbar a{min-height:44px;border-top:2px solid var(--paper)}
.tabbar a[aria-current]{box-shadow:none;border-top-color:var(--ink)}
.act button{flex:1 1 0;min-height:44px;text-align:center;background:none;border:0;border-left:1px solid var(--rule);margin:0;padding:17px 4px 19px;font:inherit;font-weight:500;color:var(--ink);cursor:pointer}
.act button:first-child{border-left:0;background:var(--ink);color:var(--paper)}
/* the line at the top of the Works screen while someone is being talked to */
.talkbar{padding:13px 0;min-height:49px}
/* the list of what was added while talking to someone: it stays in view above the row at the foot. The row of
   sections is 59 points tall and the three actions on a work's page 60; the list stands exactly on top of each.
   While there is nothing to show (its one child says "empty") the wrapper is not drawn at all. */
.talkfoot{position:sticky;bottom:calc(59px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--rule);margin:var(--s5) calc(-1 * var(--gutter)) 0;padding:var(--s2) var(--gutter)}
.talkfoot.onwork{bottom:calc(60px + env(safe-area-inset-bottom))}
.talkfoot:has(> .empty){display:none}
/* "I am": a little more room under the row of initials, so that with the type an iPhone has the area that takes a
   tap on them does not reach the line "Refresh" beneath */
.foot-lines [data-iam] .choice,.foot-lines [data-screens-more] .choice{padding-bottom:var(--s4)}
/* the words that lead to the screens with no word in the row of sections: when they wrap onto two lines on a narrow
   phone, the lines stand 44 points apart, so that no two words share any ground */
.foot-lines [data-screens-more] .choice{row-gap:22px}
/* room at the foot of the phone under a form's black bar that is taller than 64 points (main.js measures the bar) */
.app.staff.foot-1{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.app.staff.foot-2{padding-bottom:calc(128px + env(safe-area-inset-bottom))}
.app.staff.foot-3{padding-bottom:calc(160px + env(safe-area-inset-bottom))}
.app.staff.foot-4{padding-bottom:calc(192px + env(safe-area-inset-bottom))}
.app.staff.foot-5{padding-bottom:calc(224px + env(safe-area-inset-bottom))}
.app.staff.foot-6{padding-bottom:calc(256px + env(safe-area-inset-bottom))}
.app.staff.foot-7{padding-bottom:calc(288px + env(safe-area-inset-bottom))}
.app.staff.foot-8{padding-bottom:calc(320px + env(safe-area-inset-bottom))}
/* the one word beside a work while someone is being talked to: it has a line of its own, 44 points tall, so that a
   tap on it can never land on the work */
.cell.adds{grid-row:span 3}
.cell .add,.plist td .add{padding:11px 0}
.docs .row .v .tap[data-add],.line .v .tap[data-add]{color:var(--grey)}
@media(min-width:900px){
  .app.staff{padding-bottom:0}
  .act button{flex:0 0 auto;border:0;padding:0;font-weight:300;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  .act button:first-child{font-weight:500;text-decoration:none;padding:11px 28px 12px}
  .act button:not(:first-child){align-self:center}
  .talkfoot{bottom:0;margin:var(--s5) 0 0;padding:var(--s2) 0}
}

/* ---- the shared pieces of a form (all of them on one page at #/pieces) ----
   A grey label above; the typed value in Helvetica Neue on a single ruled line, 44 points tall; a choice among a
   few as a row of words, the chosen one in Medium and underlined; one black bar per screen, which says exactly
   what will happen; everything else an underlined word. */
.field input[type=text],.field input[type=email],.field input[type=tel],.field input[type=date],.field textarea{display:block;width:100%;min-height:44px;border:0;border-bottom:1px solid var(--rule);border-radius:0;background:none;padding:9px 0 8px;font:400 17px/24px var(--text);color:var(--ink);outline:0;-webkit-appearance:none;appearance:none}
.field textarea{resize:vertical}
.field input:not([type=password]):focus-visible,.field textarea:focus-visible{outline:0;border-bottom:2px solid var(--ink);padding-bottom:7px}
.field input::placeholder,.field textarea::placeholder{color:var(--grey)}
.field>label span,.field>.label span{color:var(--grey)}
.person-field .hint{padding-top:var(--s1)}
/* a row of words that may wrap keeps its lines 44 points apart, and each word's area reaches half way to the next */
.form:not(.gate) .choice{row-gap:22px;padding-bottom:var(--s3)}
.form:not(.gate) .choice .tap,.form:not(.gate) .choice button.link.tap{padding:11px;margin:-11px}
/* the people a typed name could be: ruled rows under the field, each one a whole line to tap */
.sugg{margin-top:var(--s1)}
.sugg li{padding:0}
.sugg button.pick{display:block;width:100%;min-height:44px;text-align:left;background:none;border:0;margin:0;padding:11px 0;font:inherit;color:var(--ink);cursor:pointer}
.sugg button.pick.grey{color:var(--grey)}
.sugg li[aria-selected="true"] button.pick{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
/* the one black bar. On the phone it sits at the foot of the screen, where the row of sections otherwise is. A
   sentence long enough to wrap keeps clear of both edges of the phone. */
.savebar{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.primary{padding-left:var(--gutter);padding-right:var(--gutter)}
button.primary{min-height:44px}
/* a date: the browser's own small calendar picture is not drawn (words, not icons), a tap anywhere on the line opens
   the calendar, and the date stands at the left edge of its line as typed text does */
.field input[type=date]{position:relative}
.field input[type=date]::-webkit-calendar-picker-indicator{position:absolute;left:0;top:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.field input[type=date]::-webkit-date-and-time-value{text-align:left}
.field input[type=date]::-webkit-datetime-edit,.field input[type=date]::-webkit-datetime-edit-fields-wrapper{padding:0}
.form:not(.gate) .warn{padding-top:var(--s4)}

/* THE BARS AT THE FOOT ARE ABOVE EVERYTHING OF THE PAGE, on every screen: the three words (Works, Contacts, Journal),
   the three actions of a work, a form's black bar, and the list in progress. A link of the page that has a layer of
   its own (a name or a title in the journal, a word on a person's page) would otherwise be painted over a bar
   wherever the page is scrolled under it, and would take the tap meant for the bar. */
.tabbar,.act,.savebar,.talkfoot{z-index:10}
/* the list in progress above a row of three actions that is taller than 60 points (see fitFoot in main.js) */
.app.staff.acts-1 .talkfoot.onwork{bottom:calc(68px + env(safe-area-inset-bottom))}
.app.staff.acts-2 .talkfoot.onwork{bottom:calc(76px + env(safe-area-inset-bottom))}
.app.staff.acts-3 .talkfoot.onwork{bottom:calc(84px + env(safe-area-inset-bottom))}
.app.staff.acts-4 .talkfoot.onwork{bottom:calc(92px + env(safe-area-inset-bottom))}
.app.staff.acts-5 .talkfoot.onwork{bottom:calc(100px + env(safe-area-inset-bottom))}
.app.staff.acts-6 .talkfoot.onwork{bottom:calc(108px + env(safe-area-inset-bottom))}

/* The preview of the redesign (BUILD_PLAN.md, Stage 2): a black band reading "Preview" above every screen, on the
   preview's own address only (main.js adds the class there). Stage 5 moves the word into the new band. */
html.preview body::before{content:"Preview";display:block;background:var(--ink);color:var(--paper);font:500 14px/18px var(--text);padding:var(--s2) var(--s4)}
