/* The Night Form and Six Mornings, on the page. The module adds this one stylesheet and
   touches nothing in site.css. The page's head, the measure, the gutters, the band row for
   the address, the buttons, the stamp lines, the notice line and the running text are
   site.css's own rules, inherited as they are. Every rule below is the site's rule for the
   same kind of thing, restated for the module's elements, and the rule it is taken from is
   named beside it. Nothing here has a number of its own. */
.idz-tonight{max-width:var(--measure);margin-inline:auto}

/* The address row under the running text, element to element (--s4). The consent line
   under it: the Letter's line under its field sits --s3 below it (.signup .stamp), in the
   consent panel's type, 15px on 1.6 in the soft ink (.idz-consent p). */
.idz-tonight-start .idz-band-form{margin-top:var(--s4)}
.idz-tonight-consent{margin-top:var(--s3)!important;font-size:15px;line-height:1.6;color:var(--ink-soft)}
/* The three lines under the form: a block below (--s6), stamps on 1.7 (.signup .stamp). */
.idz-tonight-below{margin-top:var(--s6)}
.idz-tonight-below .stamp{line-height:1.7;margin:0 0 var(--s2)}

/* A screen: the stamp above the question stands --s3 over it, as the rubric over a title
   (.p-head .rubric). The question, and the prompt on the write page, are the site's heading
   over a form, the reply form's title: the display face at 400, 1.35rem, --s4 to the box
   (.idz-comments .comment-reply-title). Two classes, because .body h2 outranks one. */
.body .idz-tonight-progress{margin:0 0 var(--s3)}
.body .idz-tonight-q h2,.body .idz-tonight-prompt{font-family:var(--display);font-weight:400;font-size:1.35rem;margin:0 0 var(--s4)}
/* A heading set left fills its line and ties its last two words, on a desktop as on a phone: the site's
   balance rule for headings evened the prompt into two short lines ("...given today that / you have not
   entered in the count.", his picture of 21 October). The screens' and the notebook's headings the same. */
.body .idz-tonight-q h2,.body .idz-tonight-prompt,.body .idz-tonight-done h2,.body .idz-tonight-nb-h{text-wrap:wrap;text-wrap-style:auto}
/* The options are the site's radio list, the worksheet's (.idz-worksheet .acf-radio-list):
   no disc and no indent, --s1 between, each option a row of the text face at 12pt on 1.6
   padded --s2 by --s3, a hairline that shows on hover and holds the tint when chosen. */
.body .idz-tonight-opts{list-style:none;margin:0;padding:0}
.body .idz-tonight-opts li{list-style:none;margin:0 0 var(--s1);padding:0}
.idz-tonight-opt{display:flex;gap:var(--s2);align-items:center;cursor:pointer;font-family:var(--text);font-size:12pt;line-height:1.6;color:var(--ink);
  padding:var(--s2) var(--s3);border:1px solid transparent;transition:border-color .12s,background .12s}
.idz-tonight-opt:hover{background:var(--tint);border-color:var(--rule)}
.idz-tonight-opt:has(input:checked){background:var(--tint2);border-color:var(--rule-ink)}
/* The mark is drawn, as the consent tick is (.idz-r2f-agree input), round, and centred on
   the whole of the option's words, one line or two. Caslon's capitals sit under the centre
   of their line, so the mark's margin box is 3px taller below than above (measured: with 1px the mark read 0.8 low on one line
   and 1.3 on two at 1x; with 3px, 0.2 high and 0.3 low). */
.idz-tonight-opt input[type=radio]{appearance:none;-webkit-appearance:none;display:block;flex:0 0 auto;width:21px;height:21px;margin:0 0 3px;padding:0;border:1px solid var(--ink);border-radius:50%;background:var(--paper);cursor:pointer}
.idz-tonight-opt input[type=radio]:checked{background:var(--ink);box-shadow:inset 0 0 0 3px var(--paper)}
.idz-tonight-opt input[type=radio]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* The buttons under a screen or a box: the journal's row of actions (.idz-journal-actions). */
.idz-tonight-nav{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;margin:var(--s4) 0 0}
.idz-tonight-nav .idz-tonight-back{margin-left:auto}
.idz-tonight-act{margin:var(--s4) 0 0}
/* The two boxes, the last question's and the write page's: the reply box (.idz-comment-field textarea). */
.idz-tonight-q textarea,.idz-tonight-line textarea{width:100%;box-sizing:border-box;font-family:var(--text);font-size:12pt;line-height:1.6;padding:var(--s3);
  background:var(--paper);color:var(--ink);border:1px solid var(--ink);border-radius:0;resize:vertical;min-height:9rem}
.idz-tonight-q textarea:focus,.idz-tonight-line textarea:focus{outline:2px solid var(--accent);outline-offset:-2px}
/* The count under a box: the Letter's line under its field (.signup .stamp). */
.body .idz-tonight-count{line-height:1.7;margin:var(--s3) 0 0}
.idz-tonight-chip{margin:var(--s3) 0 0}
/* The quiet link: the reply link under a comment (.idz-comment-reply a). */
.idz-tonight-skip{font-family:var(--sans);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft)}
.idz-tonight-skip:hover{color:var(--ink)}
/* The finish screen heads its text as any heading in a page does (.body h2), with no space above it. */
.body .idz-tonight-done h2{margin-top:0}
/* The unsubscribe page opens on its first button, --s5 under the title as any page's text is (.p-head + .body).
   Once a choice is taken the two choices go and only the answer stays: the choices are one block, and a hidden
   block stays hidden whatever the site says about its parts (.stamp is display:block, which beat the hidden
   attribute and left the two small lines standing over the answer on 21 October). */
.idz-tonight-choices > .idz-tonight-act:first-child{margin-top:0}
.idz-tonight-unsub [hidden]{display:none!important}
.idz-tonight-unsub > .idz-tonight-saved:not([hidden]){margin-top:0}
/* The notebook is a section in a page, as the replies under a piece are (.idz-comments and
   "sections in a page"): a 2px rule a --flow above and below, its first line trimmed to its
   capitals, a small-capitals heading --s5 over the list (.idz-comments-h), each entry --s5
   deep on a hairline with its date in the comment's date type and its words in the
   comment's (.idz-comment, .idz-comment-when, .idz-comment-body). The date stands a hairline over its line, as a
   card's small line stands over its title (.card .rubric, --s1): the replies' --s3 read too far to him, 21 Oct. */
.idz-tonight-notebook{margin-top:var(--flow);padding-block:var(--flow) 0;border-top:2px solid var(--rule-ink)}
.idz-tonight-notebook > :first-child{text-box:trim-start cap alphabetic;margin-top:0}
.idz-tonight-notebook .idz-tonight-nb-h{font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 var(--s5)}
.idz-tonight-entry{padding-block:var(--s5);border-bottom:1px solid var(--rule)}
.idz-tonight-entry:last-child{border-bottom:0}
.body .idz-tonight-when{font-family:var(--sans);font-size:11px;letter-spacing:.06em;color:var(--ink-faint);margin:0 0 var(--s1)}
.body .idz-tonight-text{font-family:var(--text);font-size:12pt;line-height:1.68;color:var(--ink);margin:0}
/* A closed or empty state: the replies' (.idz-comments-empty, .idz-comments-closed). */
.idz-tonight-hold,.idz-tonight-empty{font-family:var(--text);font-style:italic;color:var(--ink-faint)}
