/* the three faces, latin only, from the fonts folder beside this stylesheet */
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/saira-condensed-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/saira-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/saira-condensed-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Blinker";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/blinker-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Blinker";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/blinker-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Blinker";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/blinker-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cascadia Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cascadia-code-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cascadia Code";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cascadia-code-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
button, input, textarea, select { font: inherit; }

:root{
  /* v3 */
  color-scheme:dark;
  --pg:#0B1A22;--mast:#0E202A;--paper:#122530;--paper2:#1C323F;--row:#0F212B;--row-hover:#17303C;--field:#0F212B;
  --ink:#E8F0F4;--head:#E8F0F4;--ink2:#A8BBC7;--ink3:#8AA0AE;
  --fill:#2A9D8F;--fill-hover:#3DB3A5;--on-fill:#0B1A22;--fill-tint:rgba(42,157,143,.14);--gent:#56D2C4;--focus:#56D2C4;
  --hl:#1E323F;--hl2:#2B4150;--hl3:#5A7486;--rule:#2A9D8F;--tint:rgba(232,240,244,.07);
  --brand-from:#1F4E6B;--brand-to:#287681;--on-brand:#FAFCFD;
  --disp:"Saira Condensed","Arial Narrow",Arial,sans-serif;--text:"Blinker",Arial,sans-serif;
  --mono:"Cascadia Code",ui-monospace,Menlo,Consolas,monospace;
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--s8:72px;
}
:root[data-theme="light"]{
  color-scheme:light;
  --pg:#E8F0F4;--mast:#FAFCFD;--paper:#FAFCFD;--paper2:#F2F7F9;--row:#F4F8FA;--row-hover:#FAFCFD;--field:#FAFCFD;
  --ink:#1F3442;--head:#1F4E6B;--ink2:#4F6170;--ink3:#566A78;
  --fill:#287681;--fill-hover:#1F4E6B;--on-fill:#FAFCFD;--fill-tint:rgba(40,118,129,.1);--gent:#256E74;--focus:#256E74;
  --hl:#DCE7EC;--hl2:#C9D8E0;--hl3:#6B7F8C;--rule:#1F4E6B;--tint:rgba(31,52,66,.06);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);font:400 17px/1.5 var(--text);overflow-x:hidden;background-color:var(--pg)}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
h1,h2,h3,h4{color:var(--head);font-family:var(--disp);font-weight:700;letter-spacing:.004em;line-height:1.04;margin:0}
p{margin:0 0 var(--s3)}
b{font-weight:700}
.wrap{max-width:1440px;margin:0 auto;padding:0 var(--s6)}
.lab{font:600 11px/1.35 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
/* masthead */
.mast{background:var(--mast);border-bottom:1px solid var(--hl2);position:relative;z-index:5}
.mast .top{display:flex;align-items:center;justify-content:space-between;gap:var(--s5);padding-top:10px;padding-bottom:8px}
.brand{display:flex;align-items:center;gap:var(--s3);text-decoration:none;min-width:0}
.brand b{display:block;font:700 22px/1.02 var(--disp);letter-spacing:.006em}
.brand small{display:block;font:600 10.5px/1.3 var(--mono);letter-spacing:.11em;text-transform:uppercase;color:var(--ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mast .cta{display:flex;gap:var(--s2);flex:none}
nav#nav{display:flex;gap:2px;flex-wrap:wrap;padding-bottom:7px}
nav#nav a{font:600 14.5px/1 var(--text);color:var(--ink2);text-decoration:none;padding:7px 10px;border:1px solid transparent}
nav#nav a:hover{border-color:var(--hl3)}
nav#nav a.on{background:var(--fill);color:var(--on-fill);border-color:var(--fill)}
.crew{border-top:1px solid var(--hl);font:400 11.5px/1.4 var(--mono);color:var(--ink3);padding:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crew i{font-style:normal;color:var(--ink);font-weight:600}
/* buttons: square, hairline */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border:1px solid var(--hl3);color:var(--ink);text-decoration:none;font:700 15px/1.1 var(--text);background:transparent;cursor:pointer;text-align:center}
.btn:hover{background:var(--tint)}
.btn.p{background:var(--fill);color:var(--on-fill);border-color:var(--fill)}
.btn.p:hover{background:var(--fill-hover)}
.btns{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s4)}
.sm{min-height:34px;padding:7px 12px;font-size:14px}
.plate{display:inline-block;font:600 10.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--on-fill);background:var(--fill);padding:5px 7px;margin-bottom:9px}
.count{font:600 12px/1.3 var(--mono);color:var(--ink3);letter-spacing:.04em}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:var(--s3)}
.chip{font:600 14px/1 var(--text);color:var(--ink);background:var(--paper);border:1px solid var(--hl2);padding:8px 11px;min-height:34px;cursor:pointer;display:inline-flex;gap:7px;align-items:center}
.chip small{font:600 11px/1 var(--mono);color:var(--ink3)}
.chip.on{background:var(--fill);color:var(--on-fill);border-color:var(--fill)}
.chip.on small{color:var(--on-fill);opacity:.72}
/* the book: tight two-line rows */
.book{border-top:2px solid var(--hl3)}
.bh,.row{display:grid;grid-template-columns:38px minmax(0,1.5fr) minmax(0,1.35fr) 104px 132px 34px;gap:var(--s4);align-items:center}
.bh{padding:7px 10px;font:600 10.5px/1.2 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink3);border-bottom:1px solid var(--hl2)}
.row{padding:9px 10px;border-bottom:1px solid var(--hl2);text-decoration:none;background:var(--row)}
.row:hover{background:var(--row-hover)}
.row .rk{font:700 21px/1 var(--disp);color:var(--gent);font-variant-numeric:tabular-nums}
.row b{display:block;font:700 16px/1.22 var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row small{display:block;font-size:13.5px;line-height:1.3;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .mn{text-align:right}
.row .mn b{font:700 20px/1.05 var(--disp);font-variant-numeric:tabular-nums}
.row.out{background:transparent}
.gt{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;font:700 19px/1 var(--disp);border:1px solid var(--fill);flex:none}
.gt.A{background:var(--fill);color:var(--on-fill)}
.gt.B{background:var(--fill-tint);color:var(--gent)}
.gt.C{background:transparent;color:var(--ink2);border-color:var(--hl3)}
.gt.big{width:58px;height:58px;font-size:36px}
/* blocks */
.blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s4)}
.blk{border:1px solid var(--hl2);background:var(--paper);padding:16px 18px;min-width:0}
.blk.wide{grid-column:1/-1}
.blk h2,.blk h4{font:700 21px/1.1 var(--disp);margin-bottom:10px}
.blk p{font-size:16px;color:var(--ink2)}
.blk p:last-child{margin-bottom:0}
.kv{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr);gap:6px 14px;font-size:15.5px}
.kv span:nth-child(odd){color:var(--ink3);font:600 11px/1.5 var(--mono);letter-spacing:.07em;text-transform:uppercase;padding-top:3px}
.kv span:nth-child(even){color:var(--ink);overflow-wrap:anywhere}
.lines{list-style:none;margin:0;padding:0}
.lines li{padding:8px 0;border-bottom:1px solid var(--hl);font-size:16px;line-height:1.35}
.lines li:last-child{border-bottom:0}
.lines li small{display:block;color:var(--ink2);font-size:14px;overflow-wrap:anywhere}
.fine{font-size:13.5px!important;color:var(--ink3)!important;line-height:1.45;margin-top:10px}
.quote{font-size:16.5px;line-height:1.5;color:var(--ink);border-left:3px solid var(--gent);padding-left:14px;margin:0 0 6px}
/* pages */
.page{padding-top:var(--s5)}
.crumbs{font:600 11px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3);margin-bottom:var(--s4);display:flex;flex-wrap:wrap;gap:6px}
.crumbs a{text-decoration:none;color:var(--ink2)}
.crumbs i{font-style:normal;color:var(--hl3)}
.dhead{display:flex;justify-content:space-between;gap:var(--s5);align-items:flex-start;border-bottom:3px solid var(--rule);padding-bottom:var(--s4);margin-bottom:var(--s5)}
.dhead h1,.dhead h2{font-size:clamp(30px,3.4vw,50px);overflow-wrap:anywhere}
.dhead .sub{font-size:17px;color:var(--ink2);margin:8px 0 0}
.why{font-size:19px;line-height:1.5;max-width:920px;color:var(--ink)}
.whybox{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:var(--s5);margin-bottom:var(--s5);align-items:stretch}
.whybox .why p{margin:0 0 9px}
.mini{position:relative;min-height:320px;border:1px solid var(--hl2);overflow:hidden;background:radial-gradient(ellipse 70% 80% at 50% 50%,var(--paper2) 0%,var(--paper) 100%)}
.mini .cap2{position:absolute;left:10px;bottom:8px;z-index:3;font:600 10.5px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink2);pointer-events:none}
table.rub{width:100%;border-collapse:collapse;font-size:15.5px}
table.rub td{padding:7px 0;border-bottom:1px solid var(--hl);vertical-align:top}
table.rub td small{color:var(--ink2);font-size:13.5px}
table.rub td.r{text-align:right;font:700 20px/1.1 var(--disp);white-space:nowrap;padding-left:12px}
table.rub tr.tot td{border-bottom:0;border-top:2px solid var(--hl3);font-weight:700}
.touch{border:1px solid var(--hl2);margin-bottom:10px;background:var(--paper)}
.touch .th{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);padding:8px 12px;border-bottom:1px solid var(--hl2)}
.touch .th b{font:700 16px/1.2 var(--text)}
.touch pre{margin:0;padding:12px;font:400 15px/1.5 var(--text);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.copyb{font:600 11px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink);background:transparent;border:1px solid var(--hl3);padding:7px 9px;cursor:pointer}
.srch{width:100%;max-width:440px;font:400 16px/1.2 var(--text);color:var(--ink);background:var(--field);border:1px solid var(--hl3);padding:10px 12px;margin-bottom:var(--s3)}
.srch::placeholder{color:var(--ink3)}
@media (max-width:760px){
  body{font-size:16.5px}
  .wrap{padding:0 12px}
  .mast .top{flex-wrap:wrap;gap:8px}
  .brand b{font-size:19px}.brand small{font-size:9.5px;letter-spacing:.06em;white-space:normal}
  .mast .cta .btn{min-height:36px;padding:7px 11px;font-size:14px}
  nav#nav{gap:0}nav#nav a{padding:7px 7px;font-size:14px}
  .crew{font-size:10.5px}
  .bh{display:none}
  .row{grid-template-columns:28px minmax(0,1fr) auto 32px;gap:10px;padding:9px 6px}
  .row .jb,.row .dt{display:none}
  .row .mn b{font-size:17px}.row .mn small{display:none}
  .blocks,.whybox{grid-template-columns:1fr}
  .dhead{gap:var(--s3)}.gt.big{width:46px;height:46px;font-size:28px}
  .why{font-size:17.5px}
  .kv{grid-template-columns:1fr;gap:1px 0}.kv span:nth-child(even){margin-bottom:8px}
  .mini{min-height:280px}
}

/* ---------------------------------------------------------------- what Brolo's pages add to the reference */
/* the mark: a small square with a B, cut like the reference's filled tile */
.brand .mark{width:30px;height:30px;flex:none;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--brand-from),var(--brand-to));color:var(--on-brand);font:700 20px/1 var(--disp)}
/* the status line is the sample notice, so it wraps instead of cutting words off */
.crew{white-space:normal}
/* tabs and buttons that go nowhere in this sample */
[aria-disabled="true"]{cursor:default}
nav#nav a[aria-disabled="true"]:hover{border-color:transparent}
.btn[aria-disabled="true"]:hover{background:transparent}
.btn:disabled{cursor:default}.btn.p:disabled:hover{background:var(--fill)}
/* the no-number state of the call button, in the reference's quiet tile colors */
.btn.off{border-color:var(--hl2);color:var(--ink3);cursor:default}
.btn.off:hover{background:transparent}
/* a press you can feel */
.btn,.chip,.copyb{transition:transform 160ms cubic-bezier(.23,1,.32,1)}
a.btn[href]:active,button.btn:enabled:active,.chip:active,.copyb:active{transform:scale(.97)}
/* a row opens its lead page, and the number in it dials */
.row{position:relative}
.row[hidden]{display:none}
.row a{text-decoration:none}
.row .go::after{content:"";position:absolute;inset:0}
.row .go:focus-visible{outline:0}
.row .go:focus-visible::after{outline:2px solid var(--focus);outline-offset:-2px}
.row .mn a{position:relative;z-index:1}
@media (hover:hover){.row .mn a:hover{text-decoration:underline}}
.row.out:not([hidden]){display:block}
/* the number column is 144px, not the reference's 132px: the tag under a number ("made-up sample number") is 141px wide and must not be cut */
.bh,.row{grid-template-columns:38px minmax(0,1.5fr) minmax(0,1.35fr) 104px 144px 34px}
/* a row with no number is as tall as a row with one, and its words sit on the second line, where every other small line in the row sits */
.row .mn.none{min-height:calc(20px*1.05 + 13.5px*1.3);display:flex;align-items:flex-end;justify-content:flex-end}
/* the count line also says what the three boxes mean, at the right, over the boxes */
.count.keyed{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px var(--s5)}
/* the made-up tag beside a sample number or email */
.mk{font-style:normal;font-size:13.5px;color:var(--ink2);white-space:nowrap}
/* previous and next, quiet, at the end of the breadcrumb row */
.crumbs .steps{margin-left:auto;display:flex;gap:6px}
/* what to say, in the box where the reference draws its picture */
.mini.say{display:flex;flex-direction:column;min-height:0;padding:16px 18px 8px}
.mini.say .lab{color:var(--ink2);margin-bottom:10px}
.mini.say .say-q{font-size:19px;line-height:1.5;color:var(--ink);margin:0 0 var(--s4)}
.mini.say .fine{color:var(--ink2)!important;margin:auto 0 0}
/* the caption sits in the flow, on the same left edge as the lines above it, so a long one wraps without covering them */
.mini.say .cap2{position:static;margin:10px 0 0}
p .plate{margin:0 8px 0 0;vertical-align:1px}
/* the points: the figure in the reference's big face, "of 30" and "not known" quiet beside it */
table.rub td.r small{font:400 13.5px/1 var(--text)}
table.rub td.r small.nk{display:inline-block;line-height:1.25;text-align:right}
/* a small label that starts a second part inside one card */
.lab.next{margin:var(--s4) 0 6px}
/* the note box, cut like the search box */
.note{display:block;width:100%;font:400 16px/1.4 var(--text);color:var(--ink);background:var(--field);border:1px solid var(--hl3);padding:10px 12px;margin-top:6px;resize:vertical}
.note::placeholder{color:var(--ink3)}
/* no footer band on these pages, so the page keeps the reference's space at the bottom */
.page{padding-bottom:var(--s8)}
@media (max-width:760px){
  .row{grid-template-columns:28px minmax(0,1fr) auto 32px}
  /* the reference hides the small line under the figure on a phone. Here that line holds the made-up tag and the no-number words, so it stays, cut to its first words so the column is only as wide as the number */
  .row .mn small{display:block;font-size:10.5px}
  .row .mn small .w{display:none}
  /* the name to ask for is said out loud, so it is never cut off: the city and the role stay on the lead page */
  .row .nm small .cty,.row .nm small .rl{display:none}
  .row .mn.none{min-height:0}
  .crumbs .steps{margin-left:0;flex-basis:100%}
  /* the reference's phone rule for .wrap wipes the page's top space and the breadcrumb touches the header line. It gets room here */
  .page{padding-top:var(--s4)}
  .mini.say .say-q{font-size:17.5px}
}

/* ---------------------------------------------------------------- the third sample: headings that sort, the theme switch */
/* a keyboard user always sees where they are */
.btn:focus-visible,.chip:focus-visible,.copyb:focus-visible,.sb:focus-visible,nav#nav a:focus-visible,.srch:focus-visible,.note:focus-visible,.sortsel select:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* each column heading is a button that sorts the list: a first press sorts, a second press turns it around */
.sb{display:inline-flex;align-items:center;gap:6px;min-height:28px;margin:-6px 0;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;justify-self:start;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.sb.r{justify-self:end}
.sb.c{justify-self:center;margin-left:-10px;margin-right:-10px}
.sb:active{transform:scale(.97)}
.sb.on{color:var(--ink)}
@media (hover:hover){.sb:hover{color:var(--ink)}}
.sb svg{flex:none;overflow:visible}
.sb svg path{fill:var(--ink3);opacity:.5}
.sb.on.up svg .u,.sb.on.dn svg .d{fill:var(--gent);opacity:1}
/* on a phone the headings are hidden, so the same sorts sit in one box */
.sortsel{display:none}
.sortsel select{font:600 16px/1.2 var(--text);color:var(--ink);background:var(--field);border:1px solid var(--hl3);border-radius:0;padding:9px 10px;min-height:40px;max-width:100%}
@media (max-width:760px){
  .sortsel{display:flex;align-items:center;gap:10px;margin-bottom:var(--s3)}
}

/* what the live pages add */
/* the error color, in the coral family */
:root{--bad:#E78974}
:root[data-theme="light"]{--bad:#9B4431}
/* the diamond ground, from the two pattern files beside this stylesheet */
body{background-image:url("pattern-dark.svg")}
:root[data-theme="light"] body{background-image:url("pattern-light.svg")}
/* the frame: a tab not open yet is words in the tab box, and the two top buttons are forms */
nav#nav span{font:600 14.5px/1 var(--text);color:var(--ink2);padding:7px 10px;border:1px solid transparent}
.cta form{margin:0;display:flex}
/* the skip link, and words only a screen reader says */
.skip{position:absolute;left:-9999px;top:8px}
.skip:focus{left:12px;z-index:10;background:var(--paper);color:var(--ink);border:1px solid var(--hl3);padding:8px 12px}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* every link and field shows the focus ring, not only the ones listed above */
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* the lead's file: no gap under the header label, the label over the why box, the ask line, the steps */
.dhead .lab{margin:0}
.lab.lead-in{margin-bottom:10px}
.dhead .sub.ask{color:var(--ink);font-weight:700}
.crumbs .steps a{padding:5px 0;margin:-5px 0}
.crumbs.end{margin:var(--s5) 0 0}
.crumbs i{color:var(--ink3)}
/* cards: buttons right under a field, the closed note form, the saved and error lines */
.btns.tight{margin-top:8px}
fieldset{border:0;margin:0;padding:0;min-width:0}
.msg{margin:var(--s2) 0 0}
.msg.bad{color:var(--bad);font-weight:600}
.note[aria-invalid="true"],.field[aria-invalid="true"]{border-color:var(--bad)}
/* the sign in card, its field cut like the note box */
.blk.signin{max-width:440px}
.field{display:block;width:100%;font:400 16px/1.4 var(--text);color:var(--ink);background:var(--field);border:1px solid var(--hl3);padding:10px 12px;margin-top:6px}
.field:disabled,.btn.p:disabled{opacity:.6}
/* on a phone the tab row scrolls sideways on its own, never the page, and the focus ring sits inside it */
@media (max-width:760px){
  nav#nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  nav#nav a,nav#nav span{flex:none;white-space:nowrap}
  nav#nav span{padding:7px 7px;font-size:14px}
  nav#nav a:focus-visible{outline-offset:-2px}
}
/* the book pages */
/* chips and headings are links here, not buttons */
a.chip,a.sb,.qc{text-decoration:none}
/* the count inside the chip in use is drawn at full strength (H12) */
.chip.on small{opacity:1}
/* a small label at the start of a chip row */
.chips .lab{align-self:center;margin-right:var(--s1)}
/* the shown line's space, the sample's one inline style */
.count.keyed{margin-bottom:var(--s2)}
/* the headline's count is a link, with a quiet underline (H9) */
.dhead h1 a{text-decoration-color:var(--hl3);text-decoration-thickness:2px;text-underline-offset:.12em}
/* the search box and its button */
.srchf{display:flex;gap:var(--s2);align-items:flex-start;max-width:528px}
.srchf .srch{flex:1;min-width:0}
/* the came in day box */
.dayf{display:inline-flex;gap:var(--s2);align-items:center;margin:0}
.dayf .field{width:auto;margin:0;min-height:34px;padding:4px 8px;font-size:14px}
/* the sort box on Every lead shows at every width */
.sortsel.always{display:flex;align-items:center;gap:10px;margin-bottom:var(--s3)}
.sortsel .btn{flex:none}
/* the work-queue cards */
.queue{list-style:none;margin:0 0 var(--s4);padding:0;display:flex;flex-wrap:wrap;gap:var(--s2)}
.qc{display:flex;align-items:baseline;gap:var(--s2);min-height:44px;padding:8px 12px;border:1px solid var(--hl2);background:var(--paper);color:var(--ink)}
.qc b{font:700 21px/1 var(--disp);font-variant-numeric:tabular-nums}
.qc span{font-size:13.5px;line-height:1.3;color:var(--ink2)}
a.qc:hover{border-color:var(--hl3)}
.qc.miss .msg{margin:0;font-size:13.5px}
/* a count on a quiet button, cut like a chip's */
.btn small{font:600 11px/1 var(--mono);color:var(--ink3);margin-left:var(--s2)}
/* the pages of a list */
.pager{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3);margin-top:var(--s4)}
/* a rank of five digits fits its column (H13) */
.row .rk.d5{font-size:17px}
/* the cap field holds a short amount */
.cap-form .field{max-width:200px}
/* the name to ask for is never cut: the city and the role go first (H14) */
@media (max-width:1024px){.row .nm small .cty,.row .nm small .rl{display:none}}
@media (max-width:760px){
  .queue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .qc{flex-direction:column;align-items:flex-start;gap:var(--s1);height:100%}
  .row .rk.d4{font-size:17px}.row .rk.d5{font-size:13.5px}
  .srchf{max-width:none}
}
/* plan 06.1-08's ledger fixes */
/* the sort box's select shrinks inside its row, so Sort stays on a phone screen */
.sortsel select{flex:0 1 auto;min-width:0}
/* the three queue cards stay one row above 760 px: a card shrinks and wraps its words, one height */
.queue{flex-wrap:nowrap}
.queue>li{display:flex;min-width:0}
.queue>li>.qc{flex:1 1 auto}
/* the owner's line on a row is never cut: a long name wraps (F7, H14) */
.row .nm small{white-space:normal}
/* the phone tab row starts at the tab in use, so it and its focus ring sit inside the row */
@media (max-width:760px){
  nav#nav a[aria-current="page"]{scroll-initial-target:nearest}
}
/* the HubSpot feed and the morning run */
/* the morning's run lines on Today: the queue card's padding and ground, a 1px --hl3 edge (H2, H3) */
.runline{margin:0 0 var(--s4);padding:8px 12px;border:1px solid var(--hl3);background:var(--paper)}
.runline .msg{margin:0}
.runline .msg+.msg{margin-top:var(--s2)}
/* the HubSpot setting's two choices: the whole line is the hit area (H15) */
.hs-form legend{padding:0;margin-bottom:var(--s1)}
.choice{display:flex;gap:var(--s2);align-items:flex-start;padding:8px 0;cursor:pointer}
.choice input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--fill)}
.choice b{display:block;font:700 16px/1.35 var(--text);color:var(--ink)}
.choice small{display:block;font-size:14px;line-height:1.35;color:var(--ink2)}
/* the bar list and the lead arrows */
/* the receipts figure sits in the date column's place, right-aligned, its figures lined up (H3) */
.row .amt{text-align:right}
.row .amt b{font-variant-numeric:tabular-nums}
/* the phone line's figure and short marks show only when the receipts column hides (H4) */
.row .nm small .bm{display:none}
/* the back and forward arrows, centered right above the six outcome buttons, each at least 44px square (H21, H23) */
.arrows{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s2);margin-top:8px}
.arrows .btn{min-width:44px;min-height:44px;gap:var(--s2)}
.arrows svg{flex:none}
@media (max-width:760px){
  .row .nm small .bm{display:inline}
}
/* the saturday route */
/* each leg's Google Maps link: the page's main press, at least 44px tall (48px drawn) (H7) */
.go-leg{min-height:48px;padding:12px var(--s5);margin:var(--s2) 0 var(--s4)}
/* a leg's stops in driving order, a hairline between them (H8) */
.stops{list-style:none;margin:0;padding:0}
.stop{display:grid;grid-template-columns:40px minmax(0,1fr) 32px;gap:var(--s3) var(--s4);align-items:start;padding:var(--s4) 0;border-top:1px solid var(--hl)}
.stop .rk{font:700 21px/1 var(--disp);color:var(--gent);font-variant-numeric:tabular-nums}
.stop-who h3{font:700 17px/1.3 var(--text);color:var(--ink);margin:0;overflow-wrap:anywhere}
.stop-who .ask{font:700 16px/1.35 var(--text);color:var(--ink);margin:var(--s1) 0 0}
.stop-body{grid-column:2/4;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:var(--s5)}
.stop-body p{margin:0 0 var(--s2)}
.stop-call{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2) var(--s3)}
.stop-call small{font-size:13.5px;line-height:1.3;color:var(--ink2)}
.stop-say .lab{margin:0 0 var(--s2)}
.stop-say .quote{margin:0;font-size:16.5px;color:var(--ink)}
/* the call button and the save button, at least 44px tall on his phone at the door (revision 1) */
.stop-call .btn{min-height:44px}
.area-form .btn{min-height:44px}
/* the business and left off row links: a 44px or taller tap area, the line itself unmoved (Phase 6's padding and negative margin) */
.stop-who h3 a,.off .lines li b a{display:inline-block;padding:var(--s3) 0;margin:calc(-1 * var(--s3)) 0}
/* every leg card in one wrapper, the target of the stop and leg counts (DB-05) */
.legs{grid-column:1/-1;display:grid;gap:var(--s4)}
/* the left off folds, each line at least 44px tall (H18) */
.off details{border-top:1px solid var(--hl)}
.off summary{min-height:44px;padding:var(--s3) 0;cursor:pointer;font:700 16px/1.35 var(--text);color:var(--ink)}
.off details .lines{margin-bottom:var(--s3)}
/* the route area's city box, cut like the sort box (H19) */
.area-form select.field{border-radius:0}
@media (max-width:1024px){
  .stop-body{grid-template-columns:minmax(0,1fr);gap:var(--s3)}
}
@media (max-width:760px){
  .go-leg{display:flex;width:100%}
  .stop{grid-template-columns:28px minmax(0,1fr) 32px;gap:var(--s3)}
  .stop-body{grid-column:1/-1}
}
/* the switches page */
/* a switch row: what it is, its state and why on the left, its one press on the right (H6) */
.sw{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--s2) var(--s4);align-items:start}
.sw-name{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2);margin:0}
.sw-name b{font:700 16px/1.35 var(--text);color:var(--ink)}
.sw p{margin:var(--s1) 0 0}
.sw p.sw-name{margin:0}
.sw p b{color:var(--ink)}
.sw .fine{margin-top:var(--s1)}
.sw-form{margin:0}
/* a state's status chip is a tag, not a button: no hand, no press (H8) */
.chip.tag{cursor:default}
.chip.tag:active{transform:none}
/* every press on these pages is at least 44px tall (H23) */
.sw .btn,.outlets-form .btn,.opener-form .btn,.cap-form .btn,.hs-form .btn,#opener .btn{min-height:44px}
/* the shop count sits under its row's words and press, its field cut like the cap field (H17) */
.outlets-form{grid-column:1/-1}
.outlets-form .field{max-width:200px}
/* the other states fold, its line at least 44px tall (H9) */
.states details{border-top:1px solid var(--hl)}
.states summary{min-height:44px;padding:var(--s3) 0;cursor:pointer;font:700 16px/1.35 var(--text);color:var(--ink)}
/* the opener boxes, two to a row above 1024 (H19) */
.ob{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s4) var(--s5)}
.opener-form legend{padding:0}
@media (max-width:1024px){
  .sw{grid-template-columns:minmax(0,1fr)}
  .ob{grid-template-columns:minmax(0,1fr)}
}
/* the email area */
/* two work-queue cards share the phone row, half each (EA-15, H6) */
@media (max-width:760px){.queue.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* a note's subject wraps, and its from and to lines sit under it, inside its box */
.touch .th b{overflow-wrap:anywhere}
.touch .kv{padding:8px 12px;border-bottom:1px solid var(--hl2)}
/* a note's fold under its row, its line at least 44px tall (Phase 9's fold) */
.notes details,.outreach details{margin-top:var(--s2)}
.notes summary,.outreach summary{min-height:44px;padding:var(--s3) 0;cursor:pointer;font:700 16px/1.35 var(--text);color:var(--ink)}
/* the two note words boxes, one to a row at every width */
.ob.one{grid-template-columns:minmax(0,1fr)}
/* every press and button link on the email pages is at least 44px tall (Phase 10 H23, H34) */
.approve-form .btn,#approve-words .btn,#batch .btn,.words-form .btn,.bounce-form .btn,#words .btn,.unsub .btn,#replies .btn{min-height:44px}
/* the email list's chips and pager, at least 44px tall on that page only; the call list's keep the held look (H34) */
.email-list .chip,.email-list .pager .btn{min-height:44px}
/* the unsubscribe card, as wide as the sign in card */
.blk.unsub{max-width:440px}
/* the replies */
/* a reply's kind tag is words, not a press: inside the email list wrapper it keeps the sample chip's 34px (Phase 10 H8) */
.email-list .chip.tag{min-height:34px}
/* the self check */
/* the band's small label sits a step closer to its lines than a paragraph's space (H5) */
.watch .lab{margin:0 0 var(--s2)}
/* a fault that holds now: the box's edge in the error family, never alone, since every line says it in words (H7) */
.watch.open{border-color:var(--bad)}
/* each line keeps a reading length on a wide screen, the why box's cap (H9) */
.watch .msg{max-width:920px}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{transition:none!important}a.btn[href]:active,button.btn:enabled:active,.chip:active,.copyb:active,.sb:active{transform:none}}
