/* ==========================================================
   Roadmap prototype styles (Project Map + system guides).
   Builds on style.css. Phone first, then wider screens.
   ========================================================== */

.proto-banner {
  background: #2a3d26; color: #efe2bb; text-align: center;
  font-family: var(--sans); font-size: .75rem; padding: .45rem 1rem; letter-spacing: .02em;
}
.proto-banner strong { color: #fff; }

main.wide { max-width: var(--wide); }
.intro { max-width: var(--max); }

/* "To verify" marker: every fact must be checked before going live */
.verify {
  font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--adobe); background: #fbeee8;
  border-radius: 3px; padding: .05rem .35rem; vertical-align: .12em; white-space: nowrap;
}

/* "Source" link after every checked fact */
a.src {
  font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--oak); background: #e6eedf; border-radius: 3px;
  padding: .08rem .35rem; margin-left: .3rem; vertical-align: .12em; white-space: nowrap;
}
a.src:hover { background: var(--oak); color: #fff; }
.callout.dig-first { margin: 1.5rem 0; }
.callout.dig-first > p:last-child { font-weight: 600; margin-top: .5rem; }
a[href^="tel:"] { white-space: nowrap; }

/* Question-and-answer accordion */
.faq { margin: 1rem 0 1.5rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin: 0 0 .5rem; padding: 0 1rem; }
.faq summary { cursor: pointer; padding: .8rem 0; font-family: var(--serif-display); font-weight: 600; color: var(--oak-dark); font-size: 1.02rem; }
.faq details[open] summary { border-bottom: 1px solid #efece3; margin-bottom: .5rem; }
.faq details p { font-size: .95rem; margin: .5rem 0 .8rem; }
.table-wrap { overflow-x: auto; margin: .75rem 0 1.25rem; }
.numbers.compare { min-width: 34rem; }
.numbers.permits td:first-child { font-weight: 600; }
/* Permit tables: wider than the reading column on big screens, cards below that */
@media (min-width: 960px) {
  .table-wrap.breakout { width: min(64rem, calc(100vw - 4rem)); position: relative; left: 50%; transform: translateX(-50%); overflow: visible; }
}
@media (max-width: 959px) {
  .numbers.permits thead { display: none; }
  .numbers.permits tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .numbers.permits td { display: block; border: 0; padding: .15rem .9rem; }
  .numbers.permits td:first-child { font-size: .95rem; color: var(--ink, #26251f); }
  .numbers.permits td:not(:first-child)::before { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: .35rem; }
  .numbers.permits td:nth-child(2)::before { content: "When you need it"; }
  .numbers.permits td:nth-child(3)::before { content: "Who decides"; }
  .numbers.permits td:nth-child(4)::before { content: "Public hearing?"; }
  .numbers.permits td:nth-child(5)::before { content: "2026 planning fee*"; }
  .numbers.permits.expiry td:nth-child(2)::before { content: "How long it lasts"; }
  .numbers.permits.expiry td:nth-child(3)::before { content: "How to extend it"; }
  .numbers.permits.expiry td:nth-child(4)::before { content: "2026 fee"; }
  .numbers.permits.stack td:nth-child(2)::before { content: "What's in it"; }
  .numbers.permits.stack td:nth-child(3)::before { content: "What we know"; }
  .numbers.permits.stack td:nth-child(4)::before { content: "Where the number comes from"; }
  .numbers.permits.team td:nth-child(2)::before { content: "What they do"; }
  .numbers.permits.team td:nth-child(3)::before { content: "When"; }
  .numbers.permits.team td:nth-child(4)::before { content: "License to check"; }
}
.numbers.compare td:first-child { font-weight: 600; white-space: nowrap; }

/* Step-by-step sign-off list */
ol.signoff { list-style: none; counter-reset: so; padding: 0; margin: 1rem 0; }
ol.signoff > li {
  counter-increment: so; position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem 1rem .8rem 3.1rem; margin: 0 0 .6rem; font-size: .95rem; line-height: 1.55;
}
ol.signoff > li::before {
  content: counter(so); position: absolute; left: .9rem; top: .8rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--oak); color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 700; display: grid; place-items: center;
}

/* Who to call */
.contacts { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); margin: 1rem 0; }
.contact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; min-width: 0; }
.contact h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.contact p { margin: 0 0 .5rem; font-size: .9rem; line-height: 1.5; }
.contact .contact-line { font-family: var(--sans); font-size: .82rem; font-weight: 600; }
.contact .contact-line a { white-space: nowrap; }
.contact .more { font-family: var(--sans); font-size: .78rem; font-weight: 600; }
.contact ol { margin: .2rem 0 0; padding-left: 1.1rem; font-size: .9rem; line-height: 1.5; }
.contact ol li { margin: .35rem 0; }
.fire-finder { grid-column: 1 / -1; }
details.district-list { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1.1rem .8rem; margin: 0 0 1.5rem; }
details.district-list summary { cursor: pointer; padding: .7rem 0 .4rem; font-family: var(--serif-display); font-weight: 600; color: var(--oak-dark); }
details.district-list summary span { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--muted); }
details.district-list ul { font-family: var(--sans); font-size: .85rem; padding-left: 1.1rem; margin: .5rem 0; columns: 2 15rem; column-gap: 2rem; }
details.district-list li { margin: .3rem 0; break-inside: avoid; }
.source-list { font-family: var(--sans); font-size: .82rem; padding-left: 1.1rem; }
.source-list li { margin: .3rem 0; }

/* ---------- "Tell us about your land" ---------- */
.your-land { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin: 1.75rem 0; }
.your-land summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--serif-display); font-size: 1.1rem; font-weight: 600; color: var(--oak-dark);
}
.your-land summary::-webkit-details-marker { display: none; }
.your-land summary::after { content: "+"; font-family: var(--sans); font-size: 1.3rem; color: var(--oak); }
.your-land[open] summary::after { content: "\2212"; }
.your-land summary small { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--muted); }
.your-land .q-wrap { padding: 0 1.25rem 1.1rem; display: grid; gap: .4rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }

fieldset.q { border: 0; padding: 0; margin: .4rem 0; min-width: 0; }
fieldset.q legend { font-family: var(--sans); font-size: .8rem; font-weight: 600; margin-bottom: .45rem; padding: 0; }
.q-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--sans); font-size: .8rem; font-weight: 500; line-height: 1.3;
  padding: .5rem .8rem; min-height: 2.5rem; border: 1px solid #d3cfc2; border-radius: 999px;
  background: #fff; cursor: pointer; margin: 0; transition: background .15s, border-color .15s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--oak); border-color: var(--oak); color: #fff; }
.chip:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- View toggle ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin: 2rem 0 1rem; }
.view-toggle { display: inline-flex; background: #e9e6db; border-radius: 999px; padding: .2rem; }
.view-toggle button {
  margin: 0; background: transparent; border: 0; color: var(--ink); border-radius: 999px;
  padding: .45rem .95rem; font-size: .8rem; font-weight: 600;
}
.view-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--oak-dark); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.view-toggle button:hover { background: var(--paper); color: var(--oak-dark); }
.print-btn { margin: 0; padding: .45rem .95rem; font-size: .8rem; }

/* ---------- Save my progress ---------- */
.save-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 1.25rem; }
.save-panel summary {
  cursor: pointer; list-style: none; padding: .7rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem;
  justify-content: space-between; align-items: center; font-family: var(--sans); font-size: .8rem; color: var(--muted);
}
.save-panel summary::-webkit-details-marker { display: none; }
#save-status::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #7a9a5e; margin-right: .5rem; vertical-align: .08em; }
.save-open { font-weight: 600; color: var(--oak); white-space: nowrap; }
.save-open::after { content: " \25BE"; }
.save-panel[open] .save-open::after { content: " \25B4"; }
.save-body { padding: 0 1rem 1rem; border-top: 1px solid #efece3; }
.save-body > p { font-size: .93rem; margin: .8rem 0; }
.save-options { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.save-options > div { background: #faf7ee; border-radius: 10px; padding: .9rem 1rem; min-width: 0; }
.save-options h3 { margin: 0 0 .25rem; font-size: 1rem; }
.save-options p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.row button, .row .button { margin: 0; padding: .55rem 1rem; font-size: .8rem; }
#link-out { margin-top: .6rem; font-family: var(--sans); font-size: .75rem; }
.file-btn { position: relative; overflow: hidden; font-weight: 600 !important; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.load-prompt { background: #fff6d6; border: 1px solid var(--gold); border-radius: 10px; padding: .9rem 1.1rem; margin: 0 0 1.5rem; font-size: .93rem; }
.load-prompt p { margin: 0; }
.load-prompt .secondary { background: transparent; color: var(--oak-dark); border-color: var(--oak-dark); }

/* ---------- Accounts waitlist ---------- */
.waitlist {
  display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  background: #eef3e8; border: 1px solid #d9e2cf; border-radius: 14px; padding: 1.6rem clamp(1rem, 4vw, 1.5rem); margin: 3.5rem 0 0;
}
.waitlist h2 { margin: 0 0 .5rem; }
.waitlist-text ul { padding-left: 1.1rem; margin: .5rem 0; }
.waitlist-text li { margin: .35rem 0; }
.waitlist-text > p:last-child { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.waitlist-form { background: var(--paper); border-radius: 10px; padding: .4rem 1.2rem 1.2rem; min-width: 0; }
.waitlist-form .opt { font-weight: 400; color: var(--muted); }
.waitlist-form button { width: 100%; }
.waitlist-form .form-help { margin-top: .6rem; }

/* ---------- Phase stepper ---------- */
.stepper {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(8.5rem, 1fr); gap: .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem .1rem .6rem; margin: 0 -.1rem;
}
.stepper button {
  scroll-snap-align: start; margin: 0; text-align: left;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "num name" "num count" "bar bar";
  column-gap: .55rem; row-gap: .1rem; align-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: .7rem .75rem .65rem; font-weight: 500;
}
.stepper button:hover { border-color: var(--gold); background: var(--paper); color: var(--ink); }
.stepper button[aria-selected="true"] { border-color: var(--oak); box-shadow: inset 0 0 0 1px var(--oak); background: #f7f9f2; }
.stepper .num {
  grid-area: num; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--oak-dark); font-size: .78rem; font-weight: 700;
}
.stepper button[aria-selected="true"] .num { background: var(--oak); color: #fff; }
.stepper .pname { grid-area: name; font-size: .82rem; font-weight: 600; line-height: 1.25; }
.stepper .pcount { grid-area: count; font-size: .7rem; color: var(--muted); }
.stepper .pbar { grid-area: bar; height: 3px; background: var(--line); border-radius: 2px; margin-top: .45rem; overflow: hidden; }
.stepper .pbar i { display: block; height: 100%; background: var(--gold); }

.phase-blurb { font-size: 1.05rem; color: var(--muted); max-width: var(--max); margin: 1.25rem 0 1.25rem; }

/* ---------- System cards (phase view) ---------- */
#phase-panel { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); align-items: start; }
#phase-panel .phase-blurb { grid-column: 1 / -1; margin-bottom: 0; }
.sys-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem 1.1rem; scroll-margin-top: 5rem; }
.sys-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; flex-wrap: wrap; }
.sys-card h3 { margin: 0; font-size: 1.12rem; }
.sys-card .more { display: inline-block; margin-top: .5rem; font-family: var(--sans); font-size: .8rem; font-weight: 600; }
.tags { display: flex; gap: .3rem; flex-wrap: wrap; }
.tag { font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 4px; padding: .15rem .4rem; }
.tag.deal { background: #fbeee8; color: var(--adobe); }
.tag.ready { background: #e6eedf; color: var(--oak-dark); }
.tag.soon { background: #eeece4; color: var(--muted); }

/* ---------- Checklists ---------- */
.task-list { list-style: none; padding: 0; margin: .7rem 0 0; }
.task-list li { border-top: 1px solid #efece3; }
.task-list li:first-child { border-top: 0; }
.task {
  display: flex; gap: .65rem; align-items: flex-start; cursor: pointer;
  font-family: var(--serif); font-size: .95rem; font-weight: 400; line-height: 1.5; margin: 0; padding: .55rem 0;
}
.task input {
  appearance: none; -webkit-appearance: none; flex: none; margin: .12rem 0 0;
  width: 1.3rem; height: 1.3rem; border: 1.5px solid #b9b3a2; border-radius: 5px; background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.task input::after { content: ""; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.task input:checked { background: var(--oak); border-color: var(--oak); }
.task input:checked::after { opacity: 1; }
.task input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.task input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: #c9c3b3; }
.cond {
  font-family: var(--sans); font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--oak); background: #e6eedf; border-radius: 3px; padding: .05rem .35rem; margin-right: .15rem; vertical-align: .1em;
}

/* ---------- Whole-project grid ---------- */
#grid-wrap { display: none; overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
body.view-grid #grid-wrap { display: block; }
body.view-grid #stepper, body.view-grid #phase-panel { display: none; }
.grid { border-collapse: collapse; width: 100%; min-width: 44rem; font-family: var(--sans); font-size: .8rem; }
.grid th, .grid td { border-bottom: 1px solid #efece3; padding: .55rem .5rem; text-align: center; vertical-align: middle; }
.grid thead th { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #faf7ee; }
.grid tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; background: var(--paper); min-width: 11rem; box-shadow: 1px 0 0 #efece3; }
.grid tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .7rem; }
.grid tbody th a { color: var(--oak-dark); }
.grid .cell {
  margin: 0; background: transparent; border: 1px solid transparent; border-radius: 6px; padding: .4rem .45rem;
  display: inline-flex; flex-wrap: wrap; gap: 3px; justify-content: center; max-width: 4.6rem;
}
.grid .cell:hover { border-color: var(--gold); background: #fffaf0; }
.grid .cell.deal { background: #fbeee8; }
.grid .cell i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--oak); display: block; }
.grid .cell i.done { background: var(--oak); }
.grid-legend { font-family: var(--sans); font-size: .75rem; color: var(--muted); padding: .7rem 1rem; display: flex; flex-wrap: wrap; gap: 1.25rem; border-top: 1px solid #efece3; }
.grid-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--oak); margin-right: .35rem; vertical-align: -.05em; }
.grid-legend .l-done::before { background: var(--oak); }
.grid-legend .l-tip::before { display: none; }
.grid-legend .l-deal::before { border: 0; border-radius: 2px; background: #fbeee8; width: 12px; }

/* ==========================================================
   System guide page (Water)
   ========================================================== */
.crumbs { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { text-decoration: none; }

.glance { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); margin: 1.75rem 0; }
.glance div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; }
.glance dt { font-family: var(--sans); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--adobe); margin-bottom: .25rem; }
.glance dd { margin: 0; font-size: .92rem; line-height: 1.5; }

.path-box { background: #f7f9f2; border: 1px solid #d9e2cf; border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.path-box p { margin: .35rem 0 0; font-family: var(--sans); font-size: .75rem; color: var(--muted); }

/* Jump links to each phase */
.phase-jump { display: flex; gap: .4rem; overflow-x: auto; padding: .2rem 0 .6rem; margin: 1.5rem 0 .5rem; position: sticky; top: 3.4rem; background: var(--fog); z-index: 5; }
.phase-jump a {
  flex: none; font-family: var(--sans); font-size: .78rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .4rem .8rem; color: var(--oak-dark);
}
.phase-jump a:hover { border-color: var(--gold); }
.phase-jump a span { color: var(--muted); font-weight: 500; margin-left: .3rem; }
@media (max-width: 600px) { .phase-jump { top: 0; } }

/* Phase sections as a vertical timeline */
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; }
.timeline > li { position: relative; padding: 0 0 2.25rem 2.6rem; border-left: 2px solid var(--line); margin-left: .9rem; scroll-margin-top: 7rem; }
.timeline > li:last-child { border-left-color: transparent; }
.timeline > li > .dot {
  position: absolute; left: -.95rem; top: .1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--oak); color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 0 0 4px var(--fog);
}
.timeline h2 { margin: 0 0 .5rem; font-size: 1.4rem; }
.timeline .task-list { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .2rem 1rem; margin: .75rem 0 1rem; }

.callout { border-radius: 8px; padding: .8rem 1rem; margin: .9rem 0; font-size: .93rem; }
.callout > strong:first-child { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.callout.watch { background: #fbeee8; border-left: 3px solid var(--adobe); }
.callout.watch > strong:first-child { color: var(--adobe); }
.callout.ask { background: #f4efe0; border-left: 3px solid var(--gold); }
.callout.ask > strong:first-child { color: #8a6c22; }
.callout.ours { background: #eef3e8; border-left: 3px solid var(--oak); }
.callout.ours > strong:first-child { color: var(--oak); }
.callout ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.callout li { margin: .2rem 0; }
.callout p { margin: .2rem 0; }

/* Connections to other systems */
.links-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); margin: 1rem 0; }
.links-grid div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; }
.links-grid strong { display: block; font-family: var(--serif-display); color: var(--oak-dark); font-size: 1rem; }
.links-grid p { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* Elevation diagram */
figure.diagram { margin: 1.25rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
figure.diagram svg { width: 100%; height: auto; display: block; }
figure.diagram figcaption { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: .5rem; }
figure.diagram .diagram-key { font-size: .85rem; color: var(--ink, #26251f); margin: .25rem 0 .6rem; padding-left: 1.4rem; }
figure.diagram .diagram-key li { margin: .3rem 0; }
figure.diagram .diagram-key li::marker { color: #2f5d8a; font-weight: 700; }

/* Real numbers table */
.numbers { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .82rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.numbers th, .numbers td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid #efece3; vertical-align: top; }
.numbers thead th { background: #faf7ee; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.numbers td.waiting { color: var(--muted); font-style: italic; }
@media (max-width: 600px) {
  .numbers thead { display: none; }
  .numbers tr { display: block; border-bottom: 1px solid var(--line); padding: .4rem 0; }
  .numbers td { display: block; border: 0; padding: .15rem .8rem; }
  .numbers td:first-child { font-weight: 600; }
}

.journal-card { display: flex; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.25rem 0; }
.journal-card blockquote { margin: 0; font-style: italic; font-size: 1rem; }
.journal-card a { font-family: var(--sans); font-size: .8rem; font-weight: 600; display: inline-block; margin-top: .4rem; }

.reviewed { font-family: var(--sans); font-size: .75rem; color: var(--muted); }

/* ---------- Print: a clean checklist, nothing else ---------- */
#print-list { display: none; }
@media print {
  html { font-size: 11pt; }
  body { background: #fff; }
  .site-header, .site-footer, .proto-banner, .toolbar, .your-land, .stepper, #phase-panel, #grid-wrap,
  .phase-jump, .path-box, .print-btn, .no-print { display: none !important; }
  main { padding: 0; max-width: none; }
  #print-list { display: block; }
  #print-list section { break-inside: avoid-page; margin-bottom: 1rem; }
  #print-list h3 { font-size: 13pt; border-bottom: 1px solid #999; padding-bottom: .2rem; }
  #print-list h4 { font-family: var(--sans); font-size: 9pt; margin: .6rem 0 .2rem; text-transform: uppercase; letter-spacing: .05em; }
  #print-list ul { list-style: none; padding: 0; margin: 0; }
  #print-list li { margin: .15rem 0; }
  .timeline > li { break-inside: avoid; }
  .task input { border-color: #555; }
  a { color: inherit; }
  a.src { background: none; padding: 0; }
}

/* Option lists (land guide: when plans slip) */
ul.options{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.6rem}
ul.options li{background:#fff;border:1px solid #e2dccb;border-left:4px solid #a65a3a;border-radius:6px;padding:.7rem .9rem;line-height:1.55}

/* Side-by-side callouts (fuel guide: heat pump pros and cons) */
.two-col{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));align-items:start;margin:1rem 0}
.two-col > .callout{margin:0}
.callout figure.hp-diagram{margin:1rem 0 0;padding:.6rem}

/* Wide comparison tables scroll sideways on phones (house guide) */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1rem 0}
.table-scroll table{min-width:38rem;margin:0}


/* Clickable permit names inside diagrams */
figure.diagram svg a { fill: #2f5d8a; text-decoration: underline; cursor: pointer; }
figure.diagram svg a:hover, figure.diagram svg a:focus { fill: #1d3f60; }
.numbers tr[id], h3[id], h2[id] { scroll-margin-top: 4.5rem; }
.numbers tr:target td { background: #fff4cf; transition: background .4s; }
html { scroll-behavior: smooth; }
