/* selfhost-fonts:start */
/* Self-hosted Google Fonts (SIL OFL / Apache 2.0). Files live in /fonts/. Regenerate with scripts/selfhost_fonts.py. */
/* source: css2?family=Patrick+Hand&family=Work+Sans:wght@400..800&display=swap */
/* latin-ext */
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/patrick-hand-normal-400-latin-ext.84ec4f13.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/patrick-hand-normal-400-latin.29809b90.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;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/work-sans-normal-400-800-latin-ext.cf687812.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/work-sans-normal-400-800-latin.37354b75.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;
}
/* selfhost-fonts:end */

/* localhandyman.directory. Concept: the punch list on a clipboard.
   A brown hardboard clipboard hangs on a white pegboard wall, and the visitor writes the list on its sheet.
   Work Sans for everything printed; Patrick Hand only for what gets written on the list.
   Carpenter-pencil yellow is a fill, never text on a light ground. */

:root {
  --wall: #f2efe8;
  --peg: #ddd6c9;
  --board: #8a5b34;
  --board-dk: #6a4324;
  --board-back: #3f2a19;
  --sheet: #fffdf8;
  --sheet-2: #f6f1e6;
  --rule: #ddd5c6;
  --rule-2: #b9ae9b;
  --graphite: #26221e;
  --graphite-2: #4f4841;
  --brown-ink: #6b4322;
  --pencil: #f4c21f;
  --pencil-dk: #d9a50a;
  --pencil-wash: #fcefc0;
  --on-board: #fffdf8;
  --on-board-2: #f7ecdf;
  --on-back: #e9dccb;
  --on-back-2: #c9b8a3;
  --alert: #a2331d;
  --alert-wash: #f8e4dd;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4.2 4.2L17 3.6' fill='none' stroke='%2326221e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hardboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .09 0 0 0 0 .03 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --hand: 'Patrick Hand', 'Segoe Print', 'Bradley Hand', cursive;
  --sans: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--graphite);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--graphite); text-decoration-color: var(--board); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--brown-ink); }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 2px; }
h1, h2 { font-family: var(--sans); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); font-weight: 750; }
p { margin: 0 0 1em; }
b { font-weight: 650; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hand { font-family: var(--hand); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: .75rem 1rem; background: var(--graphite); color: var(--sheet); font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Top bar: a strip of paper with a graphite rule */
.topbar { background: var(--sheet); border-bottom: 2px solid var(--graphite); position: relative; z-index: 30; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 70px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite); }
.brand:hover { color: var(--graphite); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.015em; }
.brand-word span { font-weight: 600; font-size: .8rem; letter-spacing: .34em; text-transform: uppercase; color: var(--brown-ink); margin-top: 5px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--graphite-2); padding: 10px 0; }
.nav a:hover { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--board); }
.nav .nav-cta { color: var(--graphite); background: var(--pencil); border: 2px solid var(--graphite); padding: 8px 16px; font-weight: 650; }
.nav .nav-cta:hover { background: var(--graphite); color: var(--pencil); text-decoration: none; }
.menu-btn { display: none; }
.head-cta { display: none; }
@media (max-width: 860px) {
  .topbar-row { flex-wrap: wrap; }
  .js .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--sheet); color: var(--graphite); border: 2px solid var(--graphite); font: 650 1rem var(--sans); cursor: pointer; }
  .js .menu-btn[aria-expanded="true"] { background: var(--graphite); color: var(--sheet); }
  .js .nav { display: none; }
  .js .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--sheet); border-bottom: 2px solid var(--graphite); padding: 6px 20px 18px; }
  .js .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; color: var(--graphite); }
  .js .nav.open .nav-cta { display: none; }
  /* on a phone the main button stays in sight, not inside the menu */
  .js .head-cta { display: block; order: 3; flex-basis: 100%; text-align: center; text-decoration: none; color: var(--graphite); background: var(--pencil); border: 2px solid var(--graphite); padding: 11px 16px; font-weight: 650; }
  .js .head-cta:hover { background: var(--graphite); color: var(--pencil); }
}

/* The bench: a white pegboard wall with the clipboard hanging on it */
.bench {
  background-color: var(--wall);
  background-image: radial-gradient(circle, var(--peg) 0 2.6px, transparent 3.2px);
  background-size: 30px 30px;
  background-position: 0 6px;
  padding: 70px 16px 64px;
  overflow: hidden;
}
.clipboard {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background-color: var(--board);
  background-image: var(--hardboard);
  border-radius: 18px;
  padding: 44px 30px 34px;
  box-shadow: inset 0 0 0 1px rgba(38, 34, 30, .25), 0 22px 34px -22px rgba(38, 34, 30, .55);
}
.clip { position: absolute; z-index: 3; top: -42px; left: 50%; width: 250px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 4px 3px rgba(38, 34, 30, .35)); }
.clip-jaw { fill: #2e2a26; }
.clip-edge { stroke: #4b453e; stroke-width: 2; fill: none; }
.clip-rivet { fill: #5d564d; stroke: #1c1916; stroke-width: 2; }
.clip-lever { fill: var(--graphite); }
.clip-bevel { stroke: #4b453e; stroke-width: 3; stroke-linecap: round; fill: none; }
.clip-box { fill: var(--pencil); }
.clip-check { fill: none; stroke: var(--graphite); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.pencil { position: absolute; z-index: 2; top: 14px; left: 50%; width: 440px; height: auto; transform: rotate(-3deg); transform-origin: 0 50%; filter: drop-shadow(0 3px 2px rgba(38, 34, 30, .3)); }

.sheet {
  position: relative;
  z-index: 1;
  background: var(--sheet);
  padding: 74px 44px 40px;
  box-shadow: 4px 5px 0 -1px #efe7d6, 4px 5px 0 0 rgba(38, 34, 30, .18), 0 10px 18px -10px rgba(38, 34, 30, .45);
}
.form-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
  border-bottom: 3px double var(--graphite); padding-bottom: 8px; margin-bottom: 28px;
  font-size: .82rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}
.form-head span + span { font-size: .92rem; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--graphite-2); }
.sheet h1 { font-size: clamp(2.15rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; max-width: 12.5em; margin-bottom: 20px; }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--graphite-2); max-width: 37em; }
.lead-2 { font-size: 1.02rem; color: var(--graphite-2); max-width: 42em; padding-left: 14px; border-left: 6px solid var(--pencil); }
.lead-2 b { color: var(--graphite); }

/* The list itself */
.list-area { margin-top: 34px; border-top: 2px solid var(--graphite); scroll-margin-top: 16px; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 14px 0 8px; }
.list-head h2, .send h2 { font-size: 1rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.list-count { margin: 0; font-size: 1rem; color: var(--graphite-2); }
.list-empty { margin: 0 0 12px; color: var(--graphite-2); }

.punch { list-style: none; margin: 0; padding: 0; }
.punch li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 2px 14px; align-items: start; padding: 12px 0 10px; border-top: 1px solid var(--rule); }
.punch li:first-child { border-top: 0; }
.punch .no { display: flex; align-items: center; gap: 9px; font: 400 1.5rem/1.25 var(--hand); padding-top: 1px; }
.punch .no::before { content: ""; flex: none; width: 21px; height: 21px; border: 2px solid var(--graphite); background: #fff; }
.is-sent .punch .no::before { background: var(--pencil) var(--tick) center / 15px no-repeat; }
.punch .entry { min-width: 0; }
.punch .what { font: 400 1.55rem/1.25 var(--hand); margin: 0; overflow-wrap: anywhere; }
.punch .meta { font-size: .94rem; color: var(--graphite-2); margin: 2px 0 0; }
.punch .note { font: 400 1.25rem/1.3 var(--hand); color: var(--graphite-2); margin: 4px 0 0; overflow-wrap: anywhere; }
.punch .flag { display: inline-block; margin-top: 6px; background: var(--pencil); color: var(--graphite); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; }
.punch .remove { align-self: center; }
.punch li.just-added { animation: fresh 1.6s ease-out; }
@keyframes fresh { from { background: var(--pencil-wash); } to { background: transparent; } }

/* The next blank line, where the visitor writes */
.next-line {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 14px;
  background: var(--pencil-wash);
  border-top: 1px solid var(--rule-2); border-bottom: 2px solid var(--graphite);
  margin: 6px -18px 0; padding: 18px 18px 20px;
}
.next-no { align-self: start; font: 400 1.7rem/1 var(--hand); margin: 30px 0 0; display: flex; align-items: center; gap: 9px; }
.next-no::before { content: ""; flex: none; width: 21px; height: 21px; border: 2px solid var(--graphite); background: #fff; }
.next-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; min-width: 0; }
.field-item, .field-notes, .trade-note, .urgent-note, .when, .add-row { grid-column: 1 / -1; }
.field { min-width: 0; }
.field > label:not(.tick), .when legend {
  display: block; margin: 0 0 6px; padding: 0;
  font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite-2);
}
.opt { font-weight: 500; font-size: .94rem; letter-spacing: .02em; text-transform: none; }
input, select, textarea {
  width: 100%; min-height: 48px; margin: 0;
  font: 400 1.05rem/1.4 var(--sans); color: var(--graphite);
  background: #fff; border: 1.5px solid var(--graphite-2); border-radius: 0; padding: 10px 12px;
}
select { padding-right: 34px; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2326221e' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; }
textarea { resize: vertical; }
input.hand, textarea.hand { font-family: var(--hand); font-size: 1.45rem; line-height: 1.3; padding-top: 7px; padding-bottom: 7px; }
::placeholder { color: #6f675e; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--graphite); outline-offset: 0; border-color: var(--graphite); }
input[aria-invalid="true"] { border-color: var(--alert); box-shadow: inset 0 0 0 1px var(--alert); }

.when { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.when legend { width: 100%; margin-bottom: 2px; }
.tick { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 1.02rem; }
.tick input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 24px; height: 24px; min-height: 0; padding: 0; margin: 0;
  border: 2px solid var(--graphite); background: #fff; cursor: pointer;
}
.tick input:checked { background: var(--pencil) var(--tick) center / 17px no-repeat; }
.tick input:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; }
.tick input:focus:not(:focus-visible) { outline: none; }

.trade-note, .urgent-note { margin: 0; padding: 10px 12px; background: var(--sheet); border-left: 5px solid var(--graphite); font-size: .98rem; }
.trade-note .flag { display: inline-block; margin-right: 6px; background: var(--pencil); color: var(--graphite); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; }
.urgent-note { border-left-color: var(--alert); }
.add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.field-error { margin: 0; color: var(--alert); font-weight: 650; }

.blank-lines span { display: block; height: 46px; border-bottom: 1px solid var(--rule); position: relative; }
.blank-lines span::before { content: ""; position: absolute; left: 0; top: 13px; width: 21px; height: 21px; border: 2px solid var(--rule-2); }

.list-tools { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 24px; font: 700 1.06rem/1.2 var(--sans); letter-spacing: .01em;
  border: 2px solid var(--graphite); border-radius: 0; cursor: pointer; text-decoration: none;
}
.btn-add { background: var(--pencil); color: var(--graphite); box-shadow: 3px 3px 0 var(--graphite); }
.btn-add:hover { background: var(--graphite); color: var(--pencil); }
.btn-add:active { box-shadow: none; transform: translate(3px, 3px); }
.btn-send { background: var(--graphite); color: var(--sheet); }
.btn-send:hover { background: var(--board-dk); border-color: var(--board-dk); color: var(--sheet); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link-btn {
  background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; text-align: left;
  font: 600 .98rem/1.3 var(--sans); color: var(--graphite);
  text-decoration: underline; text-decoration-color: var(--board); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--brown-ink); }
.link-btn:disabled { color: var(--graphite-2); cursor: not-allowed; text-decoration-color: var(--rule-2); }

/* Sending the list: the foot of the sheet */
.send { margin-top: 36px; padding-top: 20px; border-top: 3px double var(--graphite); }
.send-who { color: var(--graphite-2); margin: 8px 0 18px; }
.send-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 18px; }
.f-zip, .f-timing { grid-column: span 3; }
.f-name, .f-email, .f-phone { grid-column: span 2; }
.tick-photos { margin-top: 12px; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; }
.fine { margin: 0; font-size: 1rem; color: var(--graphite-2); }
.talk { margin: 14px 0 0; font-size: 1rem; line-height: 1.7; color: var(--graphite-2); }
.talk-link { color: var(--graphite); font-weight: 600; overflow-wrap: anywhere; }
.nojs-note { margin: 0 0 18px; padding: 14px 16px; background: var(--pencil-wash); border-left: 6px solid var(--graphite); font-size: 1.05rem; }
.nb { white-space: nowrap; }
/* Without JavaScript the list builder cannot work, so hide it and show the phone and email instead. */
html:not(.js) #your-list, html:not(.js) #send-form, html:not(.js) [data-start] { display: none; }
.send-status a { color: var(--graphite); font-weight: 600; overflow-wrap: anywhere; }
.send-status .contact-line { line-height: 1.7; }
.send-status:empty { display: none; }
.send-status { margin-top: 18px; padding: 16px 18px; background: var(--pencil-wash); border-left: 6px solid var(--graphite); }
.send-status p { margin: 0 0 6px; }
.send-status .ok-h { font-size: 1.2rem; font-weight: 750; }
.send-status.is-error { background: var(--alert-wash); border-left-color: var(--alert); }
.send [data-intake-status] { margin: 18px 0 0; padding: 14px 16px; background: var(--alert-wash); border-left: 6px solid var(--alert); font-weight: 550; }

/* Sections below the clipboard */
.section { padding: 80px 0; scroll-margin-top: 8px; }
.section > .wrap > h2, .section-intro h2 { max-width: 20em; }

.after { background: var(--sheet); border-top: 2px solid var(--graphite); }
.after-grid { display: grid; gap: 26px; }
.after-grid > div p { font-size: 1.12rem; color: var(--graphite-2); max-width: 30em; }
.ticks-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--graphite); }
.ticks-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ticks-list p { margin: 0; font-size: 1.12rem; }
.ticks-list .box { width: 30px; height: 30px; border: 2.5px solid var(--graphite); background: #fff; }
.ticks-list li.done .box { background: var(--pencil) var(--tick) center / 21px no-repeat; }

.license { background: var(--board); color: var(--on-board); }
.license h2 { color: var(--sheet); }
.license p { color: var(--on-board-2); }
.license .gas { color: var(--sheet); border-left: 6px solid var(--pencil); padding-left: 14px; }
.license a { color: var(--sheet); text-decoration-color: var(--pencil); }
.license-grid { display: grid; gap: 30px; }
.tags { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sheet); }
.tags li { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(255, 253, 248, .35); }
.tags li p { margin: 0; color: var(--sheet); }
.tags .tags-note p { color: var(--on-board-2); font-size: .98rem; }
.tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 9px;
  background: var(--pencil); color: var(--graphite);
  font-size: .9rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px 5px 16px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--board); flex: none; }

.tips { background: var(--wall); border-top: 1px solid var(--rule-2); }
.tips-grid { display: grid; gap: 34px; }
.tips-grid > div > p { font-size: 1.12rem; color: var(--graphite-2); max-width: 30em; }
.rules { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--graphite); }
.rules li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--rule-2); }
.rules li::before { content: ""; position: absolute; left: 0; top: 16px; width: 18px; height: 18px; border: 2px solid var(--graphite); background: #fff; }
.redo { margin: 0; background: var(--sheet); padding: 6px 26px 16px; border: 1px solid var(--rule-2); box-shadow: 5px 6px 0 var(--peg); align-self: start; }
.redo-list { list-style: none; margin: 0; padding: 0; }
.redo-list li { padding: 14px 0 12px; border-bottom: 1px solid var(--rule); }
.redo-list s { display: block; font-size: 1.3rem; line-height: 1.2; color: var(--graphite-2); text-decoration-thickness: 2px; text-decoration-color: var(--graphite); }
.redo-list .better { display: block; font-size: 1.5rem; line-height: 1.25; }
.redo-list .better::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -1px; border: 2px solid var(--graphite); background: var(--pencil) var(--tick) center / 13px no-repeat; }
.redo figcaption { padding-top: 12px; font-size: 1rem; color: var(--graphite-2); }

.words { background: var(--sheet); border-top: 1px solid var(--rule-2); }
.glossary { margin: 0; display: grid; gap: 0 48px; border-top: 2px solid var(--graphite); }
.glossary div { padding: 15px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 20px; }
.glossary dt { font-weight: 700; font-size: 1.1rem; }
.glossary dd { margin: 3px 0 0; color: var(--graphite-2); }

.faq { background: var(--wall); border-top: 1px solid var(--rule-2); }
.faq details, .faq h2 { max-width: 880px; }
.faq details { border-top: 1px solid var(--rule-2); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule-2); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; font-weight: 650; font-size: 1.14rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--graphite); background: #fff; }
.faq details[open] summary::before { background: var(--pencil) var(--tick) center / 17px no-repeat; }
.faq summary:hover { color: var(--brown-ink); }
.faq details p { margin: 0 0 20px 42px; color: var(--graphite-2); max-width: 42em; }

/* Footer: the back of the board */
.footer { background: var(--board-back); color: var(--on-back); padding: 54px 0 28px; }
.footer a { color: var(--sheet); text-decoration-color: var(--pencil); }
.footer a:hover { color: var(--pencil); }
.footer p { max-width: 34em; }
.footer-grid { display: grid; gap: 28px; }
.brand-foot { color: var(--sheet); margin-bottom: 14px; }
.brand-foot:hover { color: var(--sheet); }
.brand-foot .brand-word span { color: var(--pencil); }
.foot-h { font-size: .9rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pencil); margin: 6px 0 10px; }
.footer address { font-style: normal; }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid #5c4532; font-size: .94rem; color: var(--on-back-2); }
.footer-base p { margin: 0; }
.foot-links a, .foot-legal a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.foot-links { display: flex; flex-direction: column; margin: 0; }

/* Legal and error pages: one plain sheet on the board */
.page-bench { padding-top: 56px; }
.page-sheet { padding-top: 64px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; padding-top: 1rem; border-top: 1px solid var(--rule); letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--graphite-2); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; }
.legal .meta { font-size: .95rem; color: var(--graphite-2); padding-bottom: 12px; border-bottom: 3px double var(--graphite); }
.legal .summary { padding-left: 14px; border-left: 6px solid var(--pencil); color: var(--graphite); }
.legal address { font-style: normal; color: var(--graphite-2); }
.lost .punch { margin: 8px 0 24px; }
.lost .punch li { grid-template-columns: 64px minmax(0, 1fr); }
.lost .punch .what s { text-decoration-thickness: 2px; }

@media (min-width: 700px) {
  .glossary { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .after-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
  .license-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .tips-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
}
@media (max-width: 720px) {
  .bench { padding: 52px 8px 40px; }
  .clipboard { padding: 34px 9px 12px; border-radius: 14px; }
  .clip { width: 176px; top: -30px; }
  .pencil { width: 300px; top: 8px; }
  .sheet { padding: 50px 16px 28px; }
  .lead { font-size: 1.08rem; }
  .punch li { grid-template-columns: 52px minmax(0, 1fr); }
  .punch .remove { grid-column: 2; justify-self: start; padding-top: 2px; }
  .next-line { grid-template-columns: 1fr; margin: 6px -16px 0; padding: 16px 16px 18px; }
  .next-no { margin: 0 0 6px; }
  .next-fields { grid-template-columns: 1fr; }
  .send-grid { grid-template-columns: 1fr; }
  .send-grid > .field { grid-column: auto; }
  .section { padding: 56px 0; }
  .redo { padding: 4px 16px 14px; }
  .faq details p { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn-add:active { transform: none; }
}

@media print {
  body { background: #fff; }
  .topbar, .footer, .section, .clip, .pencil, .next-line, .blank-lines, .list-tools, .send, .sheet h1, .lead, .lead-2, .list-empty, .punch .remove, .skip-link { display: none !important; }
  .bench { padding: 0; background: none; }
  .clipboard { background: none; padding: 0; box-shadow: none; max-width: none; }
  .sheet { box-shadow: none; padding: 0; }
  .punch li { break-inside: avoid; }
}

/* The door: two ways into finalist.cc, at the top of the sheet */
.door-acts { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 4px 0 12px; }
.door-acts .btn { text-align: center; }
.btn-go { background: var(--graphite); color: var(--sheet); box-shadow: 3px 3px 0 var(--board); }
.btn-go:hover { background: var(--board-dk); border-color: var(--board-dk); color: var(--sheet); }
.btn-alt { background: var(--pencil); color: var(--graphite); box-shadow: 3px 3px 0 var(--graphite); }
.btn-alt:hover { background: var(--graphite); color: var(--pencil); }
.sample-line { margin: 0 0 20px; font-weight: 600; }
.sample-line span { color: var(--rule-2); margin: 0 6px; }
.door-what { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0 28px; border-top: 2px solid var(--graphite); }
.door-what li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--graphite-2); font-size: 1rem; }
.door-what b { color: var(--graphite); }
.tool-intro { margin-top: 40px; padding-top: 22px; border-top: 3px double var(--graphite); }
.tool-intro h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .4em; }
.tool-intro p { color: var(--graphite-2); max-width: 40em; margin: 0; }
.tool-intro + .list-area { margin-top: 18px; }
.f-desc { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .door-what { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .door-acts .btn { width: 100%; }
  .sample-line span { display: none; }
  .sample-line a { display: block; padding: 6px 0; }
}
@media print {
  .door-acts, .sample-line, .door-what, .tool-intro, .nojs-note { display: none !important; }
}

/* phone numbers never wrap */
a[href^="tel:"] { white-space: nowrap; }

/* Portable worksheet actions */
[hidden]{display:none!important}.draft-tools{margin:1.25rem 0;max-width:100%;overflow-wrap:anywhere}.draft-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.draft-actions button,.draft-actions a{font:inherit;font-size:1rem;line-height:1.4;color:inherit;background:transparent;border:1px solid currentColor;border-radius:0;padding:.65rem .8rem;min-height:44px;text-decoration:underline;cursor:pointer}.draft-actions button:focus-visible,.draft-actions a:focus-visible{outline:3px solid currentColor;outline-offset:3px}.draft-status{font-size:1rem}.draft-fallback textarea{display:block;width:100%;max-width:100%;font:inherit;line-height:1.5;resize:vertical}.draft-fallback label{display:block}.request-route{font-size:1rem}@media print{.draft-actions,.draft-status,.draft-fallback{display:none!important}}

@media print{body.print-worksheet > :not(#draft-print-sheet){display:none!important}body.print-worksheet #draft-print-sheet{display:block!important;color:#111;background:#fff;padding:1cm}#draft-print-sheet pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12pt/1.5 sans-serif}}
