/* "Greetings from Mid-City": a 1950s pictorial tourist map. */
:root {
  --paper: #f3e5c4;
  --card: #fbf2dc;
  --cream: #fff8e6;
  --ink: #263b3a;
  --ink-soft: #5d6b64;
  --teal: #2f7f7a;
  --teal-pale: #9fcac2;
  --coral: #e0664a;
  --coral-deep: #b9472f;
  --mustard: #e8b23a;
  --pe: #c8442c;
  --public: #1f6470;
  --chain: #8a8272;
  --shadow: rgba(38, 40, 30, 0.28);
  --script: "Yellowtail", "Brush Script MT", cursive;
  --slab: "Alfa Slab One", "Rockwell", Georgia, serif;
  --cond: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Bitter", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .18 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-underline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

#map { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; }
#map.dragging { cursor: grabbing; }
#map.pointing { cursor: pointer; }
#map:focus-visible { box-shadow: inset 0 0 0 4px var(--coral); }

/* ---------- decorative border, corner flourishes and sun-faded edges */
.frame {
  position: fixed;
  inset: 8px;
  z-index: 1;
  pointer-events: none;
  border: 3px solid var(--ink);
  outline: 8px solid var(--paper);
  box-shadow:
    inset 0 0 0 5px var(--paper),
    inset 0 0 0 6.5px var(--coral),
    inset 0 0 90px rgba(150, 105, 40, 0.28);
  color: var(--ink);
}
.corner { position: absolute; width: 58px; height: 58px; }
.corner.tl { top: -6px; left: -6px; }
.corner.tr { top: -6px; right: -6px; transform: scaleX(-1); }
.corner.bl { bottom: -6px; left: -6px; transform: scaleY(-1); }
.corner.br { bottom: -6px; right: -6px; transform: scale(-1, -1); }

/* ---------- title banner */
.banner {
  position: fixed;
  z-index: 2;
  top: 22px;
  left: calc(400px + (100vw - 400px - 150px) / 2);
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 580px);
}
.greet {
  margin: 0 0 -14px;
  font: 44px/1 var(--script);
  color: var(--coral);
  text-shadow: 2px 2px 0 var(--cream), 3px 3px 0 rgba(38, 59, 58, 0.35);
  transform: rotate(-4deg);
  position: relative;
  z-index: 2;
}
.banner h1 { margin: 0; font-weight: normal; }
.ribbon { position: relative; display: inline-block; padding: 0 30px; }
.ribbon .word {
  position: relative;
  z-index: 1;
  display: block;
  padding: 6px 26px 2px;
  font: 58px/1 var(--slab);
  letter-spacing: 0.02em;
  color: var(--mustard);
  background: linear-gradient(var(--teal), #2a716c);
  border: 3px solid var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 var(--coral-deep), 4px 4px 0 var(--ink);
  box-shadow: 0 5px 0 rgba(38, 40, 30, 0.2);
}
.ribbon .fold {
  position: absolute;
  top: 14px;
  width: 58px;
  height: 100%;
  background: #22605c;
  border: 3px solid var(--ink);
}
.ribbon .fold.l { left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 26% 50%); }
.ribbon .fold.r { right: 0; clip-path: polygon(0 0, 100% 0, 74% 50%, 100% 100%, 0 100%); }
.sub {
  display: inline-block;
  margin: 18px 0 0;
  padding: 2px 14px;
  font: 600 14px/1.4 var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.sub span { color: var(--mustard); }

/* ---------- compass rose and scale bar */
.compass { position: fixed; z-index: 2; top: 30px; right: 34px; width: 112px; height: 112px; pointer-events: none; overflow: visible; filter: drop-shadow(2px 2px 0 rgba(38, 40, 30, 0.2)); }
.c-ring { fill: var(--cream); stroke: var(--ink); stroke-width: 2; }
.c-ring2 { fill: none; stroke: var(--coral); stroke-width: 1; stroke-dasharray: 2 3; }
.c-minor { fill: var(--teal-pale); stroke: var(--ink); stroke-width: 1.2; }
.c-major { stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.c-major.a { fill: var(--coral); }
.c-major.b { fill: var(--mustard); }
.c-shade { fill: rgba(38, 59, 58, 0.35); }
.c-hub { fill: var(--cream); stroke: var(--ink); stroke-width: 1.5; }
.c-n { font: 20px var(--slab); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }

.scale { position: fixed; z-index: 2; left: 404px; bottom: 30px; pointer-events: none; padding: 16px 14px 8px; background: rgba(251, 242, 220, 0.88); border: 1.5px solid var(--ink); }
#scale-bar {
  height: 8px;
  border: 1.5px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 25%, var(--cream) 25% 50%);
  background-size: 50% 100%;
}
#scale-labels { position: absolute; top: 2px; left: 14px; height: 14px; font: 600 10.5px/1 var(--cond); letter-spacing: 0.08em; }
#scale-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
#scale-labels span:last-child:not(:first-child) { transform: translateX(-12px); }

/* ---------- the key */
.guide {
  position: fixed;
  z-index: 3;
  top: 22px;
  left: 22px;
  bottom: 22px;
  width: 366px;
  display: flex;
  flex-direction: column;
  background: var(--grain), var(--card);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--teal), 5px 5px 0 2px var(--ink);
}
.guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--cream);
}
.home { font: 22px/1 var(--script); color: var(--mustard); text-decoration: none; }
.home:hover { color: var(--cream); }
.sheet-toggle { display: none; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px 8px;
  padding: 4px 10px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: inset 2px 2px 0 rgba(38, 59, 58, 0.12);
}
.search span { font-size: 20px; color: var(--teal); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 15px var(--body); color: var(--ink); outline: none; padding: 4px 0; }
.search:focus-within { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral); }

.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; margin: 0 14px 8px; }
.legend button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  padding: 3px 4px;
  text-align: left;
  font: 12.5px/1.2 var(--body);
}
.legend button:hover, .legend button:focus-visible { background: rgba(232, 178, 58, 0.25); outline: none; }
.legend button[aria-pressed="false"] { opacity: 0.4; }
.legend button[aria-pressed="false"] .label { text-decoration: line-through; }
.legend canvas { width: 28px; height: 20px; }
.legend .count { font: 600 13px var(--cond); color: var(--ink-soft); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.tabs button {
  border: 0;
  padding: 8px 6px 7px;
  background: var(--paper);
  font: 600 12.5px/1.2 var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tabs button + button { border-left: 2px solid var(--ink); }
.tabs button[aria-selected="true"] { background: var(--coral); color: var(--cream); }
.tabs button:focus-visible { outline: 3px solid var(--mustard); outline-offset: -3px; }
.tabs span { font-weight: 500; opacity: 0.85; }

.guide-body { flex: 1; overflow: auto; padding: 4px 14px 12px; scrollbar-color: var(--teal-pale) transparent; }
.fine { margin: 8px 0 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-soft); }
.nomatch { margin: 16px 0; font-style: italic; color: var(--ink-soft); }
.street h3, .cat h3 {
  position: sticky;
  top: -4px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px -14px 4px;
  padding: 5px 14px 3px;
  background: var(--card);
  border-bottom: 1.5px solid var(--ink);
  font: 16px/1.2 var(--slab);
  color: var(--teal);
}
.street h3 span, .cat h3 span { font: 600 12px var(--cond); color: var(--ink-soft); letter-spacing: 0.06em; }
.guide ol, .guide ul { list-style: none; margin: 0; padding: 0; }
.street button {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: baseline;
  gap: 6px;
  width: 100%;
  border: 0;
  background: none;
  padding: 3px 4px;
  text-align: left;
  border-bottom: 1px dotted rgba(38, 59, 58, 0.25);
}
.street .num {
  justify-self: center;
  min-width: 30px;
  padding: 0 5px;
  border: 1.3px solid var(--ink);
  border-radius: 999px;
  background: var(--mustard);
  font: 600 12px/17px var(--cond);
  text-align: center;
}
.street small, .brand small { display: block; font-size: 12px; color: var(--ink-soft); }
.guide button[data-id]:hover, .guide button[data-id]:focus-visible { background: rgba(159, 202, 194, 0.45); outline: none; }
.guide button[data-id].active { background: rgba(224, 102, 74, 0.18); box-shadow: inset 3px 0 0 var(--coral); }
.guide button[data-id].active .num { background: var(--coral); color: var(--cream); }

.cat h3 { justify-content: flex-start; gap: 8px; color: var(--ink); }
.cat h3 span:last-child { margin-left: auto; }
.blurb { margin: 2px 0 6px; font-size: 12.5px; color: var(--ink-soft); }
.sym { display: inline-block; width: 11px; height: 11px; flex: none; }
.sym.pe { background: var(--pe); transform: rotate(45deg) scale(0.85); border: 1.5px solid var(--cream); outline: 1px solid var(--pe); }
.sym.public { background: var(--public); border: 1.5px solid var(--cream); outline: 1px solid var(--public); }
.sym.chain { background: var(--chain); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.brand { border-bottom: 1px dotted rgba(38, 59, 58, 0.25); }
.brand summary {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 4px;
  cursor: pointer;
  list-style: none;
}
.brand summary::-webkit-details-marker { display: none; }
.brand summary::before { content: "▸"; color: var(--coral); font-size: 12px; transition: transform 0.15s; }
.brand[open] summary::before { transform: rotate(90deg); }
.brand summary:hover, .brand summary:focus-visible { background: rgba(232, 178, 58, 0.22); outline: none; }
.brand .bn { flex: 1; font-weight: 600; }
.brand .bc { font: 600 12px var(--cond); color: var(--ink-soft); }
.brand ul { padding: 0 0 6px 18px; }
.brand button { display: block; width: 100%; border: 0; background: none; padding: 3px 6px; text-align: left; font-size: 13.5px; }

.credit { margin: 0; padding: 7px 14px 8px; border-top: 2px solid var(--ink); font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); background: var(--paper); }
.credit a { color: var(--ink); }

/* ---------- controls */
.controls { position: fixed; z-index: 2; right: 30px; bottom: 34px; display: grid; gap: 8px; }
.controls button {
  width: 44px;
  height: 44px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  font: 24px/1 var(--slab);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.controls button:hover { background: var(--mustard); }
.controls button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.controls button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
#print { font: 22px/1 system-ui, sans-serif; }

#tip {
  position: fixed;
  z-index: 4;
  pointer-events: none;
  max-width: 250px;
  padding: 4px 10px 5px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--teal);
  font: 600 14px/1.25 var(--body);
}
#tip b { font: 600 13px var(--cond); color: var(--coral-deep); letter-spacing: 0.04em; }
#tip small { display: block; font: 12px var(--body); color: var(--ink-soft); }

/* ---------- postcard */
#card { position: fixed; z-index: 5; top: 26px; right: 26px; width: min(430px, calc(100vw - 32px)); max-height: calc(100vh - 52px); display: flex; transform: rotate(0.6deg); }
.postcard {
  position: relative;
  flex: 1;
  overflow: auto;
  padding: 0 24px 22px;
  background: var(--grain), #fdf6e4;
  border: 1px solid rgba(38, 59, 58, 0.35);
  box-shadow: 0 1px 0 #fff inset, 6px 8px 0 rgba(38, 40, 30, 0.22), 0 14px 30px rgba(38, 40, 30, 0.25);
}
.postcard::before {
  /* Air-mail stripe along the top edge. */
  content: "";
  display: block;
  height: 8px;
  margin: 0 -24px;
  background: repeating-linear-gradient(-45deg, var(--coral) 0 12px, var(--cream) 12px 18px, var(--public) 18px 30px, var(--cream) 30px 36px);
}
.close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--cream);
  font: 22px/1 var(--slab);
  box-shadow: 2px 2px 0 var(--ink);
}
.close:hover { background: var(--mustard); color: var(--ink); }
.close:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.post-head { position: relative; min-height: 104px; padding: 18px 110px 0 0; }
.eyebrow { font: 600 12.5px/1.4 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eyebrow .no { display: inline-block; padding: 1px 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--mustard); color: var(--ink); }
.eyebrow .sym { width: 10px; height: 10px; }
.stamp {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 64px;
  padding: 5px;
  background: #fffdf5;
  transform: rotate(4deg);
  filter: drop-shadow(1px 1px 0 rgba(38, 40, 30, 0.25));
  -webkit-mask: radial-gradient(circle at 3px 3px, transparent 2.2px, #000 2.6px) -3px -3px / 7px 7px;
  mask: radial-gradient(circle at 3px 3px, transparent 2.2px, #000 2.6px) -3px -3px / 7px 7px;
}
.stamp svg { display: block; width: 100%; }
.postmark { position: absolute; top: 34px; right: 34px; width: 132px; opacity: 0.72; transform: rotate(-12deg); pointer-events: auto; }
.postmark svg { display: block; width: 100%; overflow: visible; }
.postmark circle, .postmark path { fill: none; stroke: #3d3a52; stroke-width: 1.6; }
.postmark text { font: 600 7.4px var(--cond); letter-spacing: 0.1em; fill: #3d3a52; }
.postmark .d1 { font-size: 9px; text-anchor: middle; letter-spacing: 0.04em; }
.postmark .d2 { font-size: 8.5px; text-anchor: middle; }

#card-body h2 { font: 30px/1.05 var(--slab); margin: 6px 0 6px; color: var(--coral-deep); letter-spacing: 0.01em; }
#card-body .addr { margin: 0 0 12px; font-style: italic; color: var(--ink-soft); }
#card-body h3 { font: 600 14px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; margin: 18px 0 6px; padding-bottom: 3px; border-bottom: 1.5px solid var(--ink); color: var(--teal); }
#card-body p { margin: 4px 0; }
#card-body .badge {
  display: inline-block;
  padding: 3px 12px;
  border: 2px solid var(--ink);
  background: var(--mustard);
  font: 600 12.5px/1.3 var(--cond);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}
#card-body .badge.pe { background: var(--pe); color: var(--cream); }
#card-body .callout, #card-body .claim, #card-body .estimate {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1.5px solid rgba(38, 59, 58, 0.45);
  background: rgba(255, 252, 240, 0.7);
}
#card-body .callout.pe { border-color: var(--pe); border-left-width: 5px; background: rgba(200, 68, 44, 0.07); }
#card-body .callout.public { border-color: var(--public); border-left-width: 5px; background: rgba(31, 100, 112, 0.07); }
#card-body .estimate { border-style: dashed; }
#card-body small, #card-body .note { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-soft); }
#card-body .traits { display: grid; gap: 5px; }
#card-body .trait { display: grid; grid-template-columns: 116px 1fr; gap: 8px; font-size: 13.5px; padding: 3px 0; border-bottom: 1px dotted rgba(38, 59, 58, 0.25); }
#card-body .trait > span:first-child { font-weight: 700; }
#card-body .trait.yes > span:first-child::before { content: "✓ "; color: var(--teal); }
#card-body .trait.unknown > span:last-child { color: var(--ink-soft); }

#status { position: fixed; z-index: 6; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); font: 34px var(--script); color: var(--coral); }
#status:empty { display: none; }

/* ---------- mid-size screens: tuck the banner in */
@media (max-width: 1180px) and (min-width: 821px) {
  .greet { font-size: 34px; margin-bottom: -10px; }
  .ribbon .word { font-size: 42px; padding: 5px 18px 1px; }
  .ribbon .fold { top: 10px; width: 44px; }
  .sub { font-size: 12px; margin-top: 14px; }
  .compass { width: 88px; height: 88px; }
}

/* ---------- phones: banner up top, key as a bottom sheet, postcard over it */
@media (max-width: 820px) {
  body { font-size: 14px; }
  .frame { inset: 4px; outline-width: 4px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--coral), inset 0 0 50px rgba(150, 105, 40, 0.25); border-width: 2px; }
  .corner { width: 38px; height: 38px; }
  .banner { top: 12px; left: 50%; max-width: calc(100vw - 110px); }
  .greet { font-size: 25px; margin-bottom: -2px; }
  .ribbon { padding: 0 20px; }
  .ribbon .word { font-size: 30px; padding: 4px 14px 1px; border-width: 2px; -webkit-text-stroke: 1px var(--ink); text-shadow: 2px 2px 0 var(--coral-deep), 3px 3px 0 var(--ink); }
  .ribbon .fold { top: 8px; width: 32px; border-width: 2px; }
  .sub { display: none; }
  .compass { top: 16px; right: 14px; width: 54px; height: 54px; }
  .compass .c-n { font-size: 18px; }
  .scale { left: 14px; bottom: calc(var(--sheet, 230px) + 18px); padding: 14px 10px 6px; }
  #scale-labels { left: 10px; }
  .controls { right: 14px; top: 84px; bottom: auto; gap: 6px; }
  .controls button { width: 38px; height: 38px; font-size: 20px; box-shadow: 2px 2px 0 var(--ink); }
  #print { display: none; }

  .guide { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: auto; max-height: calc(100vh - 16px); box-shadow: 0 -2px 0 var(--teal), 0 -8px 20px rgba(38, 40, 30, 0.2); }
  .guide.open { height: min(72vh, calc(100vh - 110px)); }
  .guide-head { padding: 6px 12px; }
  .sheet-toggle { display: block; border: 1.5px solid var(--mustard); background: none; color: var(--mustard); padding: 3px 12px; font: 600 12px var(--cond); letter-spacing: 0.1em; text-transform: uppercase; }
  .search { margin: 8px 10px 6px; }
  .search input { font-size: 16px; padding: 2px 0; }
  .legend { margin: 0 10px 6px; gap: 0 4px; }
  .legend button { font-size: 11.5px; padding: 1px 2px; grid-template-columns: 24px 1fr auto; }
  .legend canvas { width: 24px; height: 17px; }
  .guide:not(.open) .guide-body { display: none; }
  .guide:not(.open) .tabs { border-bottom: 0; }
  .guide:not(.open) .credit { margin-top: auto; }
  .tabs button { font-size: 11px; letter-spacing: 0.04em; padding: 6px 4px; }
  .tabs span { display: none; }
  .credit { font-size: 10.5px; padding: 5px 10px; }

  #card { top: auto; left: 6px; right: 6px; bottom: 6px; width: auto; max-height: 62vh; transform: none; }
  #card .close { right: 10px; }
  body.sheet-open .scale { display: none; }
  .post-head { padding-right: 96px; min-height: 92px; }
  .stamp { width: 54px; right: 10px; }
  .postmark { width: 110px; right: 26px; top: 30px; }
  #card-body h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .guide, .controls button, .brand summary::before { transition: none; }
}

/* ---------- print: a poster with the full index underneath */
@media print {
  @page { size: letter landscape; margin: 10mm; }
  html, body { height: auto; overflow: visible; background: #fff; }
  body { display: flex; flex-direction: column; font-size: 8pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .banner { order: -1; }
  .frame, .controls, #tip, #card, #status, .compass, .scale, .search, .legend, .tabs, .guide-head, .sheet-toggle, .fine, .blurb, .nomatch { display: none !important; }
  .banner { position: static; transform: none; margin: 0 auto 4mm; max-width: none; }
  #map { position: static; width: 100%; height: auto; max-height: 150mm; object-fit: contain; border: 3px double var(--ink); break-after: page; }
  .guide { position: static; width: auto; height: auto !important; border: 0; box-shadow: none; background: none; display: block; }
  .guide-body { overflow: visible; padding: 0; columns: 5; column-gap: 6mm; column-rule: 0.5pt solid rgba(38, 59, 58, 0.3); }
  .guide-body > section { display: contents; }
  #poi[hidden], #chains[hidden] { display: contents !important; }
  .street h3, .cat h3 { position: static; margin: 3mm 0 1mm; padding: 0 0 1px; font-size: 9pt; break-after: avoid; background: none; }
  .street button, .brand button { padding: 0; border: 0; font-size: 7.5pt; }
  .street .num { min-width: 0; font-size: 7pt; line-height: 11px; padding: 0 3px; }
  .street button { grid-template-columns: 24px 1fr; gap: 3px; }
  .brand summary { padding: 1px 0; }
  .brand summary::before { display: none; }
  .brand ul { padding-left: 8px; }
  li { break-inside: avoid; }
  .credit { border: 0; background: none; margin-top: 4mm; font-size: 7pt; }
}
