/* Roost: survey plates. Paper for what Terry brings back; one ink per plate; no borders, no washes behind text. */
.rbody[hidden] { display: none; }
.rbody.xit { animation: rbout .22s var(--ease) both; } .rbody.xin { animation: rbin .26s var(--ease) both; }
@keyframes rbout { to { opacity: 0; transform: translateY(4px); } } @keyframes rbin { from { opacity: 0; transform: translateY(6px); } }
.plate { position: relative; background: var(--raised); border-radius: 10px; box-shadow: 0 1px 0 rgba(var(--shadow),.05), 0 10px 30px -22px rgba(var(--shadow),.35); color: var(--ink); }
:root[data-theme="night"] .plate { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px -22px rgba(0,0,0,.8); }
.plate.m::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.tt-empty.plate { padding: 36px 28px; text-align: center; color: var(--ink2); } .tt-empty .disp { display: block; font-size: 22px; color: var(--ink); margin-bottom: 6px; }

/* stamps */
.stamp { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 1.5px solid currentColor; border-radius: 4px; background: transparent; font: 700 11px var(--ui); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-4deg); mix-blend-mode: multiply; white-space: nowrap; }
:root[data-theme="night"] .stamp { mix-blend-mode: normal; opacity: .85; }
.stamp svg.i { width: 14px; height: 14px; stroke-width: 1.75; }
.stamp.c { color: var(--pred); } .stamp.u { color: var(--behind-text); } .stamp.r { color: var(--ink3); } .stamp.ok { color: var(--work); } .stamp.w { color: var(--behind-text); } .stamp.bad { color: var(--short); }
.hrule { display: block; } .pen { display: block; margin-top: 6px; }

/* the failure plate */
.ear { position: absolute; right: 0; top: 0; width: 0; height: 0; border-style: solid; border-width: 0 28px 28px 0; border-color: transparent var(--tint) transparent transparent; pointer-events: none; }
.ear::after { content: ""; position: absolute; right: -28px; top: 0; width: 0; height: 0; border-style: solid; border-width: 28px 0 0 28px; border-color: transparent transparent transparent var(--sunken); }
.xb { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--ink3); background: transparent; cursor: pointer; z-index: 2; }
.xb svg.i { width: 16px; height: 16px; } .xb:hover { color: var(--ink); background: var(--sunken); }
.fail .cfm { grid-column: 1 / -1; display: none; align-items: center; gap: 12px; margin: -4px 0 -6px; font: 500 13.5px var(--ui); color: var(--ink); }
.fail.asking .cfm { display: flex; animation: rise .22s var(--ease) both; } .fail.asking { padding-bottom: 18px; }
.cfm button { height: 30px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; color: var(--ink); font: 600 13px var(--ui); cursor: pointer; } .cfm button.go { background: var(--ink); color: var(--raised); border-color: var(--ink); }
.fail.load .ico svg.i { animation: pulse 1.6s ease-in-out infinite; } .fail.load .xb { display: none; } .fail.load p::after { content: ""; display: inline-block; width: 1.2em; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.tt-top { grid-template-columns: 0fr 1fr; gap: 0; transition: grid-template-columns .36s var(--ease), gap .36s var(--ease); } .tt-top > div { overflow: visible; min-width: 0; }
.tt-top:not(.work) > div:first-child { overflow: hidden; visibility: hidden; min-width: 0; }
.tt-top.work { grid-template-columns: 400px 1fr; gap: 16px; transition: none; } .tt-top.work > div:first-child { overflow: hidden; } .tt-top.work > div:last-child { width: 100%; }
.fail .trace { display: block; margin-top: 8px; font: 400 12.5px/1.3 var(--ui); color: var(--ink3); font-variant-numeric: tabular-nums; }
.tt-top.work .fail { grid-template-columns: 1fr; height: auto; min-height: 214px; align-content: center; } .tt-top.work .fail .big, .tt-top.work .fail .ico, .tt-top.work .fail .xb { display: none; } .tt-top.work .fail p { font-size: 26px; } .tt-top.work .fail p.hl { font-size: 34px; } .tt-top.work .fail p.sub { font-size: 15px; }
#terrytory .prog { border: 0; border-radius: 10px; box-shadow: 0 1px 0 rgba(20,23,28,.05), 0 10px 30px -22px rgba(20,23,28,.35); } .prog { height: 214px; }

/* section header with the verdict stamps */
.stamps { display: flex; gap: 14px; align-items: center; padding: 4px 6px; }
.stamps .stamp { cursor: pointer; font-family: var(--ui); } .stamps .stamp:nth-child(1) { transform: rotate(-4deg); } .stamps .stamp:nth-child(2) { transform: rotate(-2deg); } .stamps .stamp:nth-child(3) { transform: rotate(-5deg); }
.stamps .stamp[aria-pressed="true"] { background: color-mix(in srgb, currentColor 12%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 22%, transparent); }
.stamps .stamp:hover { filter: saturate(1.3); } .stamps .stamp:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.stamps .all { border: 0; background: transparent; color: var(--ink3); font: 500 12.5px var(--ui); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* predator plates */

/* the evidence sheet */
.sheet h4 { font: 700 11px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); margin: 0 0 10px; }
.sheet .cap { grid-column: 1 / -1; font: 400 12.5px var(--ui); color: var(--ink2); margin-top: -2px; }
.sheet .ch { width: 100%; height: auto; display: block; } .sheet .ax { font: 500 10px var(--ui); fill: var(--ink3); } .sheet .bar:focus-visible { outline: none; } .sheet .bar:focus-visible rect:not(.hot) { stroke: var(--focus); stroke-width: 2; }
.sheet .band { fill: var(--pred-wash); } .sheet .bandc { fill: var(--pred-wash); opacity: 1; } .sheet .bandl { fill: var(--pred-wash); opacity: .45; }
:root[data-theme="night"] .sheet .band, :root[data-theme="night"] .sheet .bandc { opacity: .9; }
.sheet .chw { position: relative; } .sheet .tip { position: absolute; z-index: 3; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--raised); font: 500 12.5px var(--ui); white-space: nowrap; pointer-events: none; }
.kv { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; column-gap: 14px; font: 400 13px var(--ui); color: var(--ink2); } .kv b { font-weight: 600; color: var(--ink); text-align: right; }
.stack { height: 18px; display: flex; border-radius: 3px; overflow: hidden; margin: 18px 0 10px; } .stack i { display: block; height: 100%; }
.sn { display: flex; gap: 22px; } .sn div { font: 700 11px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); } .sn div b { display: block; font: 400 22px var(--display); color: var(--ink); letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.sheet .note { font: 400 12.5px/1.45 var(--ui); color: var(--ink2); margin: 12px 0 0; } .sheet .note.ok { color: var(--work); font-weight: 500; }
.vs > div { display: grid; grid-template-columns: 1fr 64px; gap: 4px 12px; align-items: center; margin-bottom: 14px; font: 400 12.5px var(--ui); color: var(--ink2); } .vs .tr { grid-column: 1; height: 4px; border-radius: 2px; background: var(--sunken); overflow: hidden; } .vs .tr i { display: block; height: 100%; } .vs b { grid-column: 2; grid-row: 1 / 3; text-align: right; color: var(--ink); font-size: 13px; }

/* the flyway, cost and verdict plates */



/* the rail of Roosts */
.rail { margin-left: auto; display: flex; align-items: flex-end; min-height: 44px; padding-right: 6px; }
.tab { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 12px; background: var(--sunken); color: var(--ink2); font: 600 13px var(--ui); border: 0; border-radius: 8px 8px 0 0; margin-right: -6px; position: relative; top: 4px; cursor: pointer; max-width: 340px; transition: top .2s var(--ease), background .2s var(--ease), max-width .3s var(--ease), padding .3s var(--ease), opacity .3s; overflow: hidden; }
.tab .g { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab .rn { font: 700 11px var(--ui); letter-spacing: .08em; border: 1px solid currentColor; border-radius: 3px; padding: 1px 5px; } .tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--work); flex: none; } .tab .dot.w { background: var(--behind); } .tab .dot.b { background: var(--short); }
.tab .vw { font: 700 11px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.tab[aria-selected="true"] { background: var(--raised); color: var(--ink); top: 0; box-shadow: 0 1px 0 rgba(20,23,28,.05), 0 10px 30px -22px rgba(20,23,28,.35); z-index: 1; }
:root[data-theme="night"] .tab[aria-selected="true"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.tab:hover:not([aria-selected="true"]) { color: var(--ink); } .tab:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; } .tab.gone { max-width: 0; padding: 0; opacity: 0; }

/* the + that sits where the goal box was */
#addroost { position: absolute; left: 50%; margin-left: -22px; top: 132px; z-index: 7; width: 44px; height: 44px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; color: #fff; border: 1px solid rgba(255,255,255,.7);
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.14)); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 24px -10px rgba(0,0,0,.5);
  transition: transform .25s var(--ease-out), opacity .4s var(--ease); animation: rise .4s var(--ease) both; }
#addroost svg { width: 20px; height: 20px; stroke-width: 2; } #addroost svg { transition: transform .15s var(--ease); } #addroost:hover:not([aria-disabled="true"]) svg { transform: scale(1.06); } #addroost[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
#addroost .tt { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #14171C; color: #fff; font: 500 13px var(--ui); opacity: 0; pointer-events: none; transition: opacity .15s; }
#addroost:hover .tt, #addroost:focus-visible .tt { opacity: 1; } #addroost:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.goal.unfurl { animation: unfurl .36s var(--ease) both; transform-origin: 22px 50%; } @keyframes unfurl { from { transform: scale(.14, .66); opacity: 0; border-radius: 40px; } to { transform: none; opacity: 1; } }

/* chase card on its way into the plate: paper, no tint */
.chasecard.fail { background: var(--raised); color: var(--ink); border-color: transparent; border-radius: 10px; } .chasecard.fail .cc-i { color: var(--short); }

/* the hilltop: the roots of the tree and the city beyond */
#ground { position: relative; z-index: 1; height: clamp(420px, 42.85vw, 821px); margin-top: -15vw; pointer-events: none; overflow: hidden; }
#ground img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px), linear-gradient(to right, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 160px), linear-gradient(to right, transparent 0, #000 14%); mask-composite: intersect; position: absolute; right: 0; left: auto; bottom: 0; width: auto; min-width: 0; max-width: none; height: 100%; object-fit: cover; object-position: right bottom; transition: opacity .8s var(--ease); }
#ground .n { opacity: 0; } :root[data-theme="night"] #ground .n { opacity: 1; filter: sepia(.4) saturate(.7) hue-rotate(-12deg) brightness(.62) contrast(1.05); }
#ground p { position: absolute; left: var(--pad); bottom: 96px; text-shadow: 0 1px 2px rgba(0,0,0,.35); margin: 0; font: 400 12.5px var(--ui); color: var(--ink3); z-index: 1; }
:root[data-theme="night"] #ground p { color: var(--ink2); text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* zoom capsule in the projector bar */
#zoomcap { display: inline-flex; width: 92px; height: 34px; border-radius: 10px; overflow: hidden; background: var(--screen); border: 1px solid var(--screen-edge); }
#zoomcap button { flex: 1; width: 46px; border: 0; background: transparent; color: #14171C; font: 500 20px/1 var(--ui); cursor: pointer; padding: 0; display: grid; place-items: center; }
#zoomcap button + button { border-left: 1px solid var(--screen-edge); } #zoomcap button:hover:not(:disabled) { background: #F1EDE2; } #zoomcap button:disabled { color: #9AA1AD; cursor: default; opacity: .6; }
#zoomcap.off { display: none; }

/* compare: ghost bars, delta strip, tiles and the rail, drawn over the chart */
#cmpov { position: absolute; inset: 0; z-index: 5; pointer-events: none; } #cmpov > * { pointer-events: auto; }
#cmpov svg.gh { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.crail { position: absolute; left: 18px; right: 18px; top: 52px; height: 44px; display: flex; align-items: center; gap: 10px; font: 500 13.5px var(--ui); color: #14171C; }
.crail .ab { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 10px; background: rgba(255,255,255,.7); border: 1px solid var(--screen-edge); }
.crail .ab i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--hire); display: grid; place-items: center; font: 700 12.5px var(--ui); color: var(--hire); font-style: normal; } .crail .ab i.b { border-color: #14171C; color: #14171C; }
.crail button { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.7); border: 1px solid var(--screen-edge); display: grid; place-items: center; color: #444C59; cursor: pointer; padding: 0; } .crail button:hover { background: #fff; } .crail button svg.i { width: 16px; height: 16px; }
.crail .note { margin-left: auto; font: 500 13px var(--ui); color: var(--work); }
.dstrip { position: absolute; display: flex; } .dstrip span { height: 22px; display: grid; place-items: center; font: 500 12.5px var(--ui); color: #626B79; cursor: default; } .dstrip span.up { color: var(--work); } .dstrip span.dn { color: var(--short); } .dstrip span.w { background: var(--pred-wash); border-radius: 3px; }
/* the compare plate */
.diff { padding: 22px 24px 20px 44px; } .diff table { width: 100%; border-collapse: collapse; font: 400 13.5px var(--ui); margin-top: 12px; }
.diff th { font: 700 11px var(--ui); letter-spacing: .08em; text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--ink2); } .diff td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } .diff td:first-child { color: var(--ink2); width: 200px; } .diff tr:last-child td { border: 0; }
.diff .mc { display: inline-flex; gap: 2px; } .diff .mc i { width: 22px; height: 18px; border-radius: 2px; background: var(--sunken); font: 500 11px/18px var(--ui); text-align: center; color: var(--ink3); font-style: normal; } .diff .mc i.on { background: var(--hire-wash); color: var(--hire); font-weight: 700; }
.diff .ab { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--hire); align-items: center; justify-content: center; font: 700 11px var(--ui); color: var(--hire); margin-right: 8px; font-style: normal; vertical-align: -5px; } .diff .ab.b { border-color: var(--ink); color: var(--ink); }
.diff .same { font: 400 12.5px var(--ui); color: var(--ink2); margin: 12px 0 0; }
.verd.cmpoff { display: none; }

@media (prefers-reduced-motion: reduce) { .rbody.xit, .rbody.xin, .sheet, .fail.asking .cfm, #addroost, .goal.unfurl, .pp.in { animation: none; } .flyp .st, .flyp .line i, .tab { transition: none; } }
@media (min-width: 1560px) { .fail .hl { font-size: 48px; } }

/* the nav Ask button is retired: the dock replaces it */
#ask-slot, .navr .ask-btn { display: none !important; }
body.cmp-on #askpulse { display: none; }
#plantlink { border: 0; background: transparent; padding: 0 6px; height: 28px; font: 500 13px var(--ui); color: var(--hire); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; } #plantlink:hover { color: #14171C; }
.tt-top > div:first-child { overflow: hidden; }
#plspeed { display: none !important; }

.sheet .chart, .sheet .chw { padding-left: 0; } .sheet .ch { overflow: visible; }

#ground { margin-top: calc(-15vw - 120px); margin-bottom: -180px;
  /* the evening sky behind the hill: the page tint warms into a low sunset glow at the treeline, the cave's light sits in it */
  /* starts in the page's own colour (no paler band above the hill, owner 00:29); its colours are the theme's registered colours, so a
     Day/Night change fades it with the rest of the page */
  background: radial-gradient(ellipse 34% 30% at 76% 66%, var(--hglow), transparent 70%), linear-gradient(180deg, transparent 0, var(--tint) 26%, var(--hg1) 44%, var(--hg2) 58%, var(--hg3) 78%, var(--hg4) 100%); }
#ground p a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; pointer-events: auto; }
#ground p a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
#ground p { color: var(--ink); text-shadow: none; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
:root[data-theme="night"] #ground p { color: var(--ink); }

.rail .tab { white-space: normal; }
.tab { height: auto; min-height: 40px; padding-top: 4px; padding-bottom: 4px; } .tab .g { max-width: 300px; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
body.cmp-on #scene { visibility: hidden; }

/* how Terry answers each predator (V3_SIMPLIFY 6) */
.t-work { color: var(--work); } .t-short { color: var(--short); } .t-behind { color: var(--behind-text); } .t-ink2 { color: var(--ink2); } .t-ink3 { color: var(--ink3); }
/* owner 7 Nov: the escape plan spans the window under the evidence, Terry-and-owl art on its left, the full answer in two columns */
.sheet .sh4 { grid-column: 1 / -1; display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 26px; align-items: stretch; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.sheet .escart { display: block; width: 100%; height: 100%; min-height: 120px; align-self: stretch; border-radius: 3px; --fill: color-mix(in srgb, var(--work) 13%, transparent); }
.escart { --esc-owl: var(--pred, #B4532A); --esc-ink: #2B2328; --esc-bat: #241C20; --esc-path: var(--work); }
:root[data-theme="night"] .escart { --esc-bat: #F1E9DC; --esc-ink: #1E1A18; }
.sheet .esc-t { min-width: 0; }
.sheet .sh4.long .note.ans { columns: 2 300px; column-gap: 34px; column-rule: 1px solid var(--line); }
.sheet .sh4:not(.long) { grid-template-columns: 140px minmax(0, 1fr); } .sheet .sh4:not(.long) .escart { min-height: 84px; } .sheet .kv > span { white-space: nowrap; }
.sheet .sh4h::before { content: ""; display: inline-block; width: 15px; height: 15px; margin: -4px 6px 0 0; vertical-align: middle; background: var(--work); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M1.5 23.5 2.1 17.6 3.9 19.1h2.4L8.1 17.6 8.7 23.5Z'/><path d='M6.5 15.5C9.5 9 13 13.5 16 8.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-dasharray='2 2.4'/><path d='M13.2 5.6Q15.4 2.4 17.6 4.3L18.5 2.4 19.4 4.3Q21.6 2.4 23.8 5.6 22 5.1 20.9 7Q19.9 6 18.5 8.6 17.1 6 16.1 7 15 5.1 13.2 5.6Z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M1.5 23.5 2.1 17.6 3.9 19.1h2.4L8.1 17.6 8.7 23.5Z'/><path d='M6.5 15.5C9.5 9 13 13.5 16 8.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-dasharray='2 2.4'/><path d='M13.2 5.6Q15.4 2.4 17.6 4.3L18.5 2.4 19.4 4.3Q21.6 2.4 23.8 5.6 22 5.1 20.9 7Q19.9 6 18.5 8.6 17.1 6 16.1 7 15 5.1 13.2 5.6Z'/></svg>") center / contain no-repeat; } .sheet .sh4 h4 { margin-bottom: 8px; } .sheet .sh4 .note { margin: 0; font-size: 13px; }
.sheet .ans-short { margin: 0 0 6px; font: 600 14.5px/1.4 var(--ui); color: var(--ink); } .sheet .ans-short b { font-weight: 700; }   /* owner 7 Nov: the short answer first, in bold */

#plantlink { display: none !important; }
#infopop .pops { display: flex; gap: 14px; margin-top: 10px; } #infopop .pops button { border: 0; background: transparent; padding: 0; font: 500 13px var(--ui); color: var(--hire); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
:root[data-lvl="2"] #plantgl { display: none; }
#crumbs { min-width: 0; } .ctrls { flex-shrink: 0; }

/* ==== V3 polish: one section, five materials ==== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
#terrytory { margin-bottom: 64px; margin-top: calc(var(--rh-6) + var(--dk-clear, 0px)); }   /* --dk-clear: ping.js moves the Roost below the fold when its heading would sit under the resting dock */
#terrytory .tt-head { align-items: flex-end; gap: 8px 24px; margin-bottom: 24px; flex-wrap: wrap; position: relative; z-index: 3; }
#terrytory .tt-head h2 { font: 400 36px/1 var(--display); letter-spacing: -.015em; margin: 0; }
#terrytory .tt-sub { margin: 8px 0 0; font: italic 400 17px/1.3 var(--display); color: var(--ink2); }
.tt-head:has(.rail:not([hidden])) .tt-sub { display: none; }

/* 1. the failure: a flat masthead band */

/* section headings */

/* 2. the predators: a ledger of ruled rows */

/* 3. the evidence sheet: inset, in the page not on it */
.sheet { margin: 0 0 0 56px; padding: 20px 24px 18px; display: grid; grid-template-columns: 4fr 3.6fr 2.4fr; gap: 12px 28px; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--raised) 70%, var(--bg)); color: var(--ink); animation: shopen .24s var(--ease-out) both; margin-top: 8px; margin-bottom: 8px; }
@keyframes shopen { from { opacity: 0; transform: translateY(-6px); } }
.sheet .xb { right: 12px; top: 12px; }
.sheet .cap { max-width: none; }   /* owner 7 Nov: the footer runs the full width */
.sheet, .lf-scroll { scrollbar-color: var(--line2) transparent; }

.verd.cmpoff { display: none; }

/* rail tabs */
.rail { margin-left: auto; align-self: flex-end; }
.tab { font-weight: 600; padding: 8px 14px 8px 10px; max-width: 320px; }
.tab .rn { font-weight: 600; font-size: 11px; } .tab .vw { font-weight: 600; font-size: 11px; }
.tab .dot { width: 8px; height: 8px; } .tab .dot.w { background: var(--behind); }

/* compare plate */
.diff .ptitle { margin: 0; font: 400 22px/1.2 var(--display); letter-spacing: -.01em; }
.diff { padding: 22px 24px 8px 44px; } .diff table { table-layout: fixed; font-variant-numeric: tabular-nums; }
.diff td:first-child, .diff th:first-child { width: 200px; }
.diff td.a { font-weight: 400; color: var(--ink2); } .diff td.b { font-weight: 600; color: var(--ink); }
.diff tr.same td { font: 400 12.5px var(--ui); color: var(--ink2); border: 0; padding-top: 14px; }
.diff th { font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.diff .mc i.on { background: transparent; color: var(--hire); font-weight: 700; }
.diff .mc i { background: transparent; }
@media (prefers-reduced-motion: reduce) { .pp.in, .sheet { animation: none; } .flyp .st, .flyp .ax .pl, .track i, .pp { transition: none; } }
@media (max-width: 1180px) { .sheet { grid-template-columns: 1fr; margin-left: 0; } .sheet .sh4 { grid-column: 1 / -1; grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; } .sheet .sh4:not(.long) { grid-template-columns: 110px minmax(0, 1fr); } .sheet .sh4 .escart, .sheet .sh4:not(.long) .escart { min-height: 72px; } .sheet .sh4 .note.ans { columns: 1; } }

/* the failure card: Terry's line, then the literal facts */
@media (prefers-reduced-motion: reduce) { .fail p.sub.fnd span::after { animation: none; } }
.dot-og { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink3); margin-right: 6px; vertical-align: 1px; }

@media (max-width: 1916px) { #ground img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px); mask-image: linear-gradient(to bottom, transparent 0, #000 160px); } }

/* verdict next steps and Terry's one-time line */
.vnext { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; }
.vnext button { display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; border: 0; background: none; color: var(--hire); font: 500 13px var(--ui); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vnext button svg.i { width: 16px; height: 16px; } .vnext button:hover { text-decoration-thickness: 2px; }
.dstrip span { height: 20px !important; }

/* ==== Roost 2, the flip: a hung note with the evidence pinned beside it ==== */
.flipx { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 48px; align-items: start; }
.tt-top.work .flipx { grid-template-columns: minmax(0, 1fr); } .tt-top.work .ev { display: none; }
.plate.m.fail { position: relative; border-radius: 0; box-shadow: none; background: var(--paper-warm); border-top: 2px solid var(--ink); display: block; padding: 62px 56px 56px 80px; min-height: 340px; overflow: visible;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 97% 100%, 94% calc(100% - 7px), 90% calc(100% - 2px), 86% calc(100% - 9px), 82% calc(100% - 4px), 78% 100%, 73% calc(100% - 6px), 69% calc(100% - 1px), 64% calc(100% - 8px), 60% calc(100% - 3px), 55% 100%, 50% calc(100% - 7px), 46% calc(100% - 2px), 41% calc(100% - 9px), 37% calc(100% - 4px), 33% 100%, 28% calc(100% - 6px), 24% calc(100% - 1px), 19% calc(100% - 8px), 15% calc(100% - 3px), 10% 100%, 6% calc(100% - 6px), 3% calc(100% - 2px), 0 calc(100% - 9px)); }
.plate.m.fail::before { left: 52px; top: 0; bottom: 0; width: 2px; background: var(--maple); opacity: .75; }
.fail .rules { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 35px, color-mix(in srgb, var(--harbour) 16%, transparent) 35px 36px); opacity: .5; }
.fail .tag { position: absolute; top: -2px; left: 80px; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.fail .tag .string { width: 1px; height: 22px; background: var(--ink2); }
.fail .tag .label { transform: rotate(180deg); background: var(--umber); color: var(--paper-warm); padding: 8px 14px 9px; border-radius: 3px 3px 12px 12px; font: italic 500 13px/1.3 var(--display); white-space: nowrap; max-width: min(620px, calc(100vw - 420px)); overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 4px rgba(var(--shadow), .25); }
:root[data-theme="night"] .fail .tag .label { color: #1B1916; background: var(--umber); }
.fail .tag .cap { margin-top: 6px; font: 600 10.5px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); white-space: nowrap; }
.fail .t { position: relative; max-width: 100%; }
.fail .date, .fail.load p.date { display: flex; align-items: center; gap: 10px; margin: 66px 0 16px; font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--short); }
.fail .date::after, .fail.load p.date::after { content: ""; display: block; width: 28px; height: 1px; background: var(--short); animation: none; }
.fail .say, .fail p.sub.tl .tline, .fail p.disp.say { display: block; margin: 0; max-width: 24em; font: 400 29px/1.3 var(--display); letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.fail p.sub { margin: 0; max-width: 100%; }
.fail .say b { font-weight: 600; font-variant-numeric: tabular-nums; } .fail .say b.fs { color: var(--short); } .fail .say em { font-style: italic; }
.fail p.sub.fnd { font: italic 400 16px/1.4 var(--display); color: var(--ink2); } .fail p.sub.fnd span::after { content: ""; display: inline-block; width: 1.2em; animation: dots 1.2s steps(4) infinite; }
.fail .tfacts, .fail .facts { display: block; margin: 22px 0 0; max-width: 46em; font: 400 14px/1.5 var(--ui); color: var(--ink2); font-variant-numeric: tabular-nums; }
.fail .facts b { font-weight: 600; color: var(--ink); } .fail .facts b.w { color: var(--work); }
.fail small { color: var(--ink2); }
.fail .xb { top: 14px; right: 18px; }
.ev { position: relative; margin-top: 34px; background: var(--paper); border-radius: 4px; padding: 26px 26px 22px; transform: rotate(1.4deg); box-shadow: var(--shadow-soft); color: var(--ink); overflow: visible; }   /* visible: the pin head sits above the card's top edge and must show whole */
.ev::before { content: ""; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #E39A74 0, var(--rust) 45%, #7A3416 100%); transform: translateX(-50%); box-shadow: 0 3px 4px rgba(var(--shadow), .35); z-index: 2; }
.grain::after, .ev::after, .bill::after, .pp::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
:root[data-theme="night"] .ev::after, :root[data-theme="night"] .bill::after, :root[data-theme="night"] .pp::after { mix-blend-mode: screen; opacity: .04; }
.ev .k { display: flex; justify-content: space-between; font: 600 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.ev .k .yr { color: var(--short); }
.ev .big { display: flex; align-items: baseline; gap: 3px; margin: 10px 0 0; font: 400 96px/1 var(--display); letter-spacing: -.03em; color: var(--short); } .ev .big small { font-size: 32px; letter-spacing: 0; } .ev .big.ok { color: var(--work); }
.ev .big-sub { margin-top: 2px; max-width: 22em; font: 13.5px/1.35 var(--ui); color: var(--ink2); }
.gauge { position: relative; height: 14px; margin-top: 30px; background: var(--sunken); border-radius: 3px; }
.gauge .got { position: absolute; inset: 0 auto 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--short) 80%, white), var(--short)); border-radius: 3px 0 0 3px; } .big.ok ~ .gauge .got { background: var(--work); }
.gauge .gtick { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); } .gauge .gtick i { position: absolute; right: -2px; top: -17px; white-space: nowrap; font: 600 10.5px/1 var(--ui); letter-spacing: .06em; color: var(--ink); font-style: normal; }
.gauge-l { display: flex; justify-content: space-between; margin-top: 9px; font: 600 10.5px/1 var(--ui); letter-spacing: .08em; color: var(--ink3); }
.ev .foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line2); font: 13.5px/1.45 var(--ui); color: var(--ink2); } .ev .foot b { font: 500 20px/1 var(--display); color: var(--ink); }
@media (max-width: 960px) { .flipx { grid-template-columns: 1fr; } .ev { transform: none; margin: 24px 4px 0; } .plate.m.fail { padding: 56px 20px 40px 44px; min-height: 0; } .plate.m.fail::before { left: 24px; } .fail .tag { left: 44px; } .fail .say, .fail p.sub.tl .tline { font-size: 23px; } .ev .big { font-size: 72px; } }
@media (prefers-reduced-motion: reduce) { .ev { transform: none; } }

/* ==== Roost 2, the predators: a specimen board ==== */
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } @keyframes pulse { 50% { opacity: .35; transform: scale(.94); } }
@keyframes cardin { from { opacity: 0; transform: translateY(12px) rotate(-1.2deg); } }
.pred { margin-top: var(--rh-5); }
.guide { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 28px; align-items: end; margin-bottom: 18px; }
.guide .gh { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .guide h2 { margin: 0; font: 500 24px/1.2 var(--display); letter-spacing: -.005em; color: var(--ink); }
.guide .heard { font: 13px/1.3 var(--ui); color: var(--ink2); font-variant-numeric: tabular-nums; }
.guide .ptally { grid-column: 1 / -1; grid-row: 2; justify-self: start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* the tally reads on one line, in its own row under the heading */
.ptally { margin: 0; border: 0; background: transparent; padding: 2px 0 4px; text-align: left; font: 13px/1.4 var(--ui); color: var(--ink2); } .ptally b { color: var(--ink); font-weight: 600; }
.stamps { display: flex; gap: 10px; align-items: center; padding: 4px 6px; flex-wrap: wrap; }
.stamps .stamp { height: 28px; padding: 0 10px; cursor: pointer; font-family: var(--ui); background: var(--paper); opacity: 1; mix-blend-mode: normal; } .stamps .stamp.c { color: var(--work); }
.stamps .stamp:nth-child(1) { transform: rotate(-3deg); } .stamps .stamp:nth-child(2) { transform: rotate(-1deg); } .stamps .stamp:nth-child(3) { transform: rotate(-4deg); }
/* the verdict counts are filter buttons and look it: a tint in the verdict's colour, a small lift on hover, pressed and selected states */
.stamps .stamp { background: color-mix(in srgb, currentColor 7%, var(--paper)); box-shadow: 0 1px 0 rgba(var(--shadow), .10); transition: translate .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
.stamps .stamp:hover { filter: none; translate: 0 -2px; background: color-mix(in srgb, currentColor 14%, var(--paper)); box-shadow: 0 6px 12px -6px rgba(var(--shadow), .45); }
.stamps .stamp:active { translate: 0 0; background: color-mix(in srgb, currentColor 20%, var(--paper)); box-shadow: inset 0 1px 3px rgba(var(--shadow), .28); }
.stamps .stamp[aria-pressed="true"] { background: color-mix(in srgb, currentColor 18%, var(--paper)); box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 45%, transparent); }
.stamps .stamp:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.stamps .all { height: 28px; padding: 0 4px; }
@media (prefers-reduced-motion: reduce) { .stamps .stamp { transition: background-color .15s linear; } .stamps .stamp:hover, .stamps .stamp:active { translate: none; } }
.board { position: relative; padding: 36px 32px 36px; border-radius: 6px; background: var(--board); background-image: radial-gradient(ellipse 80% 60% at 50% 0, rgba(255,255,255,.07), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), inset 0 2px 8px rgba(0,0,0,.25), 0 18px 32px -24px rgba(var(--shadow), .5); }
.board::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--board-edge); border-radius: 3px; pointer-events: none; }
.pgrid.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 26px; border: 0; position: relative; }
.pp { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; min-height: 312px; padding: 16px 20px 18px; text-align: left; border: 0; border-radius: 3px; background: var(--paper-warm); color: var(--ink); cursor: pointer; font: inherit; transition: transform .22s var(--ease-out), box-shadow .22s; }
.pp.in { animation: cardin .34s var(--ease-out) backwards; }
.pp.ok { transform: translateY(-3px); box-shadow: 0 16px 26px -14px rgba(0,0,0,.55), 0 2px 4px -2px rgba(0,0,0,.3); } .pp.ok:hover { transform: translateY(-6px); }
.pp.ok::before { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #E39A74 0, var(--rust) 50%, #6E2E12 100%); transform: translateX(-50%); box-shadow: 0 3px 3px rgba(0,0,0,.4); z-index: 2; }
.pp.maybe { background: var(--paper-ochre); box-shadow: inset 0 0 0 1.5px var(--behind), 0 8px 14px -10px rgba(0,0,0,.5); } .pp.maybe:hover { transform: translateY(-3px); }
.pp.no { background: var(--paper-cool); transform: scale(.965); box-shadow: none; } .pp.no:hover { transform: scale(.975); }
.pp:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; } .board .pp:focus-visible { outline-color: #fff; }
.pp[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--sun), 0 16px 26px -14px rgba(0,0,0,.55); }
.pp .stw { position: absolute; top: 12px; right: 10px; z-index: 2; } .pp .stw .stamp { transform: rotate(6deg); background: var(--paper); opacity: 1; mix-blend-mode: normal; } .pp.no .stw .stamp { transform: rotate(-5deg); } .pp .stamp.c { color: var(--work); }
.pp .art { display: block; height: 104px; margin: 0 -6px 2px; border-radius: 2px; color: var(--line); background: color-mix(in srgb, var(--fill) 62%, transparent); }
.art.rust { --fill: var(--rust-wash); --line: var(--rust); } .art.ochre { --fill: var(--ochre-wash); --line: var(--ochre); } .art.slate { --fill: var(--slate-wash); --line: var(--slate); }
.pp .art svg { display: block; }
.pp .where { font: 500 11px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.pp .nm { display: block; overflow: visible; font: 500 17px/1.25 var(--display); color: var(--ink); text-wrap: balance; }
.pp.no .nm { text-decoration: line-through; text-decoration-color: var(--ink3); text-decoration-thickness: 1.5px; } .pp.no .where, .pp.no .u, .pp.no .ans .lab { color: var(--ink2); }
.pp .key { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 4px; }
.pp .num .disp { font: 400 40px/1 var(--display); letter-spacing: -.02em; color: var(--short); font-variant-numeric: tabular-nums; white-space: nowrap; } .pp .num .disp.t { font-size: 28px; }
.pp.no .num .disp { color: var(--ink3); } .pp.maybe .num .disp { font-size: 28px; color: var(--behind-text); }
.pp .u { font: 12.5px/1.3 var(--ui); color: var(--ink2); }
.pp .ans { display: flex; gap: 8px; align-items: flex-start; min-height: 74px; margin: 0; padding: 10px 22px 0 0; border-top: 1px solid var(--line); font: 13px/1.45 var(--ui); color: var(--ink2); opacity: 0; transition: opacity .4s; } .pp .ans.on { opacity: 1; }
.pp .ans svg.i { width: 14px; height: 14px; flex: none; margin-top: 2px; } .pp .ans b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pp .ans .lab { display: block; margin-bottom: 3px; font: 600 10.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.pp .chev { position: absolute; right: 10px; bottom: 12px; width: 16px; height: 16px; color: var(--ink3); transition: transform .24s var(--ease-out); } .pp[aria-expanded="true"] .chev { transform: rotate(180deg); }
.t-work { color: var(--work); } .t-short { color: var(--short); } .t-behind { color: var(--behind-text); } .t-ink2 { color: var(--ink2); } .t-ink3 { color: var(--ink3); }
.pgrid[data-f="CONFIRMED"] .pp:not([data-v="CONFIRMED"]), .pgrid[data-f="UNTESTABLE"] .pp:not([data-v="UNTESTABLE"]), .pgrid[data-f="REJECTED"] .pp:not([data-v="REJECTED"]) { opacity: .28; pointer-events: none; }
.pp.skel { cursor: default; pointer-events: none; transform: none; box-shadow: none; } .pp.skel .art { background: var(--sunken); }
.pp.skel .sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--sunken), color-mix(in srgb, var(--sunken) 50%, var(--paper-warm)), var(--sunken)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; } .pp.skel .lis { margin-top: auto; font: 400 12.5px var(--ui); color: var(--ink3); }
.pp-empty { grid-column: 1 / -1; justify-self: center; width: min(460px, 100%); padding: 24px; text-align: center; background: var(--paper-warm); border-radius: 3px; } .pp-empty .art { height: 100px; margin-bottom: 12px; } .pp-empty .disp { margin: 0 0 12px; font: 500 20px/1.3 var(--display); } .pp-empty .ans { opacity: 1; border-top: 1px solid var(--line); text-align: left; min-height: 0; }
.pgrid .sheet { grid-column: 1 / -1; margin: 0; background: var(--paper); border-radius: 3px; box-shadow: 0 14px 26px -16px rgba(0,0,0,.6), inset 0 3px 0 var(--sun); color: var(--ink); animation: shopen .26s var(--ease-out) both; }
@media (max-width: 1040px) { .pgrid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guide { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .pgrid.cards { grid-template-columns: 1fr; } .board { padding: 28px 16px; } .pp { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .pp, .pp.in { transition: none; animation: none; } .pp.skel .sk { animation: none; } }

/* ==== Roost 2, the flyway: a flight across a painted, dated sky ==== */
.flyp { margin-top: var(--rh-5); }
.fw-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 16px; }
.fw-h h2 { margin: 0; font: 500 24px/1.2 var(--display); letter-spacing: -.005em; color: var(--ink); } .fw-h .sub { font: 13px/1.3 var(--ui); color: var(--ink2); }
.flyp .btn { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; min-height: 32px; padding: 0 14px 0 10px; border: 1px solid var(--line2); border-radius: 20px; background: transparent; color: var(--ink); font: 500 13px/1 var(--ui); cursor: pointer; align-self: center; } .flyp .btn:hover { background: var(--sunken); }
.flyp .btn svg.i { width: 14px; height: 14px; }
.fw { position: relative; overflow: hidden; background: var(--paper); border-radius: 6px; box-shadow: 0 0 0 1px var(--paper-edge), 0 18px 36px -24px rgba(var(--shadow), .45); }
.sky { position: relative; height: 180px; overflow: hidden; background-color: var(--sky-night); }
.sky::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14,20,52,.30) 0, rgba(14,20,52,0) 58%, rgba(255,186,110,.14) 100%); pointer-events: none; }
.sunglow { position: absolute; top: 0; bottom: 0; width: 62%; transform: translateX(-50%); background: radial-gradient(ellipse 42% 78% at 50% 100%, rgba(255,226,160,.9) 0, rgba(255,196,110,.42) 42%, rgba(255,170,90,0) 74%); opacity: .85; pointer-events: none; }
:root[data-theme="night"] .sunglow { opacity: .4; }
.stars { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent var(--from), #000 calc(var(--from) + 16%)); mask-image: linear-gradient(90deg, transparent var(--from), #000 calc(var(--from) + 16%));
  background-image: radial-gradient(circle at 8% 22%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 21% 62%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 34% 14%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 47% 44%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 58% 18%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 69% 56%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 78% 26%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 90% 12%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 96% 50%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 64% 8%, #fff 0 1px, transparent 1.8px); opacity: .85; }
.sun { position: absolute; bottom: 30px; width: 58px; height: 29px; margin-left: -29px; border-radius: 58px 58px 0 0; background: radial-gradient(circle at 50% 100%, var(--sun-core) 0, var(--sun) 72%); box-shadow: 0 0 44px 12px rgba(240,190,100,.45); }
.skyl { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; display: block; pointer-events: none; } .skyl.far { height: 46px; fill: var(--sky-hill); opacity: .8; } .skyl.near { height: 36px; fill: var(--sky-sil); }
.lineclip { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease-out); } .lineclip.go { clip-path: inset(0 0 0 0); }
.line { position: absolute; inset: 0; width: 100%; height: 100%; } .line path { fill: none; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(255,255,255,.55)); }
.line .a { stroke: var(--hire); } .line .a.w { stroke: var(--work); } .line .b { stroke: var(--sun-core); }
.mark, .terry, .owl, .step, .lead { opacity: 0; transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); } .mark.on, .terry.on, .owl.on, .step.on, .lead.on { opacity: 1; }
.mark { position: absolute; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 2px 6px rgba(var(--shadow), .3), 0 0 0 2px var(--hire); transform: scale(.6); } .mark.on { transform: none; }
.mark svg.i { width: 20px; height: 20px; }
.mark.dusk { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 2px var(--sun), 0 2px 6px rgba(var(--shadow), .35); }
.mark.fin { background: var(--work); color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 2px 6px rgba(var(--shadow), .35); }
:root[data-theme="night"] .mark.fin { color: #0B0A0C; }
.terry { position: absolute; width: 58px; height: 34px; margin-left: -29px; color: var(--bird); filter: drop-shadow(0 2px 2px rgba(var(--shadow), .35)); }
.owl { position: absolute; width: 17px; height: 20px; color: var(--sun); }
.months { position: relative; height: 28px; border-bottom: 1px solid var(--line); }
.months i { position: absolute; top: 0; width: 1px; height: 7px; background: var(--line2); }
.months span { position: absolute; top: 9px; transform: translateX(-50%); font: 600 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 6px; min-height: 96px; box-sizing: content-box; }
.step { position: absolute; top: 18px; } .step[data-al="c"] { text-align: center; } .step[data-al="l"] { text-align: left; } .step[data-al="r"] { text-align: right; }
.step .d { font: 600 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); } .step.dusk .d { color: var(--behind-text); }
.step .t { margin: 6px 0 4px; font: 500 17px/1.25 var(--display); color: var(--ink); } .step.safe .t { color: var(--work); }
.step .s { font: 12.5px/1.4 var(--ui); color: var(--ink2); }
.lead { position: absolute; top: 0; width: 0; border-left: 1px dotted var(--line2); }
.dot-og { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink3); margin-right: 6px; }
@media (max-width: 820px) { .sky { height: 140px; } .steps { display: grid; gap: 14px; padding: 16px; min-height: 0; } .step { position: static; text-align: left !important; width: auto !important; } .lead { display: none; } }
@media (prefers-reduced-motion: reduce) { .lineclip, .mark, .terry, .owl, .step, .lead { transition: none; } .lineclip { clip-path: none; } }

/* ==== Roost 2, the verdict (a sealed card) and the bill (a receipt) ==== */
.end { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 36px; align-items: start; margin-top: 32px; }
.verd.end.cmpoff { display: none; }
.verdict { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 32px; align-items: start; padding: 36px 40px 30px; background: var(--paper-warm); border-radius: 6px; box-shadow: 0 0 0 1px var(--paper-edge), var(--shadow-soft); }
.sealbox { position: relative; width: 120px; height: 112px; }
.seal { --sc: var(--work); position: relative; z-index: 1; display: grid; place-items: center; align-content: center; gap: 6px; width: 112px; height: 112px; border-radius: 50%; color: var(--paper); transform: rotate(-8deg);
  background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--sc) 62%, white) 0, var(--sc) 42%, color-mix(in srgb, var(--sc) 78%, black) 100%); box-shadow: 0 8px 14px -6px rgba(var(--shadow), .55), inset 0 -3px 6px rgba(0,0,0,.28), inset 0 3px 5px rgba(255,255,255,.32); }
.seal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--paper) 70%, transparent); }
.seal::after { content: ""; position: absolute; left: 20px; top: 14px; width: 30px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.28); filter: blur(3px); transform: rotate(-28deg); }
.seal.maybe { --sc: var(--behind-text); } .seal.bad { --sc: var(--short); }
.seal svg.i { width: 24px; height: 24px; stroke-width: 2.2; } .seal span { max-width: 78px; text-align: center; font: 700 12px/1.15 var(--ui); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.ribbon { position: absolute; left: 56px; top: 84px; width: 26px; height: 64px; background: color-mix(in srgb, var(--work) 80%, var(--ink)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); transform: rotate(-14deg); }
.seal.maybe ~ .ribbon { background: color-mix(in srgb, var(--behind-text) 80%, var(--ink)); } .seal.bad ~ .ribbon { background: color-mix(in srgb, var(--short) 80%, var(--ink)); }
.vtx h2 { margin: 8px 0 0; font: 500 28px/1.2 var(--display); letter-spacing: -.005em; color: var(--ink); }
.verdict .how { margin: 8px 0 0; max-width: 46em; font: 13.5px/1.5 var(--ui); color: var(--ink2); } .verdict .how b { color: var(--ink); font-weight: 600; }
.perches { grid-column: 2; position: relative; margin-top: var(--rh-2); padding-top: var(--rh-3); }
.perch { display: grid; grid-template-columns: 110px minmax(0, 1fr) 64px; gap: 12px; align-items: center; height: 34px; }
.perch .l { font: 13px/1.2 var(--ui); color: var(--ink2); } .perch.fly .l { color: var(--ink); font-weight: 600; }
.perch .bar { position: relative; height: 12px; background: var(--sunken); border-radius: 2px; }
.perch .bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; transition: width 1.1s var(--ease-out); }
.perch.orig .bar::before { content: attr(data-goal); position: absolute; top: -26px; left: var(--g); transform: translateX(-50%); white-space: nowrap; font: 600 10.5px/1 var(--ui); letter-spacing: .06em; color: var(--ink); }
.perch .bar::after { content: ""; position: absolute; top: -11px; bottom: -11px; left: var(--g); border-left: 2px dashed var(--ink); } .perch.fly .bar::after { bottom: -3px; } .perch.orig .bar::after { bottom: -11px; }
.perch .v { text-align: right; font: 500 18px/1 var(--display); color: var(--ink); } .perch.fly .v { font-weight: 600; }
.vnext { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.vnext button { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; padding: 2px 0; border: 0; background: none; color: var(--hire); font: 500 13px/1.2 var(--ui); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; } .vnext button svg.i { width: 16px; height: 16px; } .vnext button:hover { text-decoration-thickness: 2px; }
.bill { position: relative; justify-self: stretch; width: 100%; padding: 28px 26px 26px; background: var(--raised); color: var(--ink); transform: rotate(1.4deg); box-shadow: none; filter: drop-shadow(0 16px 16px rgba(var(--shadow), .28));
  clip-path: polygon(0 6px, 4% 0, 8% 6px, 12% 0, 16% 6px, 20% 0, 24% 6px, 28% 0, 32% 6px, 36% 0, 40% 6px, 44% 0, 48% 6px, 52% 0, 56% 6px, 60% 0, 64% 6px, 68% 0, 72% 6px, 76% 0, 80% 6px, 84% 0, 88% 6px, 92% 0, 96% 6px, 100% 0, 100% calc(100% - 6px), 96% 100%, 92% calc(100% - 6px), 88% 100%, 84% calc(100% - 6px), 80% 100%, 76% calc(100% - 6px), 72% 100%, 68% calc(100% - 6px), 64% 100%, 60% calc(100% - 6px), 56% 100%, 52% calc(100% - 6px), 48% 100%, 44% calc(100% - 6px), 40% 100%, 36% calc(100% - 6px), 32% 100%, 28% calc(100% - 6px), 24% 100%, 20% calc(100% - 6px), 16% 100%, 12% calc(100% - 6px), 8% 100%, 4% calc(100% - 6px), 0 100%); }
.bill .h { padding-bottom: 12px; border-bottom: 1px dashed var(--line2); text-align: center; font: 600 11px/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); } .bill .h b { display: block; margin-bottom: 4px; font: 500 18px/1.2 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); }
.bill .ln { display: flex; align-items: baseline; gap: 8px; padding-top: 12px; font: 13.5px/1.3 var(--ui); color: var(--ink2); } .bill .ln small { display: block; margin-top: 2px; font: 11.5px/1.3 var(--ui); color: var(--ink3); }
.bill .dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line2); transform: translateY(-4px); }
.bill .v { font: 500 20px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; } .bill .v.pay { color: var(--short); } .bill .v.sav { color: var(--work); }
.bill .tot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1.5px solid var(--ink); } .bill .tot .k { font: 600 12px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; } .bill .tot .v { font-size: 34px; letter-spacing: -.02em; }
.bill .for { margin-top: 10px; text-align: center; font: italic 400 13px/1.4 var(--display); color: var(--ink2); } .bill .for b { font-style: normal; font-weight: 600; color: var(--work); }
@media (max-width: 900px) { .end { grid-template-columns: 1fr; } .bill { justify-self: start; transform: none; } .verdict { grid-template-columns: 1fr; padding: 24px 20px; } .perches, .vnext { grid-column: 1; } .ribbon { display: none; } .sealbox { height: 118px; } }
@media (prefers-reduced-motion: reduce) { .perch .bar i { transition: none; } .bill { transform: none; } }

/* Quiet and slow: the equity map (quiet.js). Hex fill = how loudly a place calls (hollow = quieter than the city), tint = how often it runs late for its mix. */
.qs { --q-n: color-mix(in srgb, var(--ink3) 30%, var(--paper-warm)); --q-s: var(--maple); --q-f: var(--slate); }
.qs .qrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 26px; align-items: stretch; }
.qs .qs-card { min-height: 300px; }
.qs .qs-card .chev { position: absolute; right: 14px; bottom: 16px; width: 16px; height: 16px; color: var(--ink3); transition: transform .2s var(--ease); }
.qs.open .qs-card .chev { transform: rotate(180deg); }
.qs .qs-card .ans { min-height: 0; padding-right: 26px; }
.qprev { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 26px; align-items: center; padding: 22px 28px; border-radius: 3px; background: var(--paper-warm); cursor: pointer; transition: transform .22s var(--ease-out); }
.qprev:hover { transform: translateY(-3px); }
.qprev .qmap { width: 200px; height: 220px; }
.qprev p { margin: 0; font: 400 22px/1.3 var(--display); color: var(--ink); text-wrap: pretty; }
.qprev .qopen { grid-column: 2; font: 600 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.qs-sheet { position: relative; margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 20px 36px; padding: 28px 32px 26px; border-radius: 3px; background: var(--paper-warm); color: var(--ink); animation: qsopen .3s var(--ease-out) both; }
@keyframes qsopen { from { opacity: 0; transform: translateY(-8px); } }
.qs-sheet .xb { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink2); cursor: pointer; }
.qs-sheet .xb svg { width: 16px; height: 16px; } .qs-sheet .xb:hover { background: var(--sunken); } .qs-sheet .xb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.qmapw { min-width: 0; position: relative; }
.qmapw.zoomed .qmap.big { overflow: hidden; }   /* zoomed in, the map stays inside its frame */
.qmapw.zoomed .qmap.big { cursor: grab; } .qmapw.zoomed .qzhint { display: none; } .qmapw.dragging .qmap.big { cursor: grabbing; }
.qmap.big { touch-action: pan-y; } .qmapw.zoomed .qmap.big { touch-action: none; }
.qmap.big .qh { cursor: default; }
.qmap.big .qh:hover .ring { stroke: var(--ink); stroke-width: .16; }
.qtip { position: absolute; left: 0; top: 0; z-index: 5; max-width: 270px; padding: 9px 12px 10px; border-radius: 8px; background: var(--ink); color: var(--paper);
  font: 400 12.5px/1.45 var(--ui); box-shadow: 0 10px 26px -10px rgba(0,0,0,.45); pointer-events: none; opacity: 0; transition: opacity .12s; }
.qtip.on { opacity: 1; }
.qtip b { display: block; margin-bottom: 3px; font: 600 13.5px/1.25 var(--ui); }
.qtip span { display: block; } .qtip i { display: block; margin-top: 5px; font-style: normal; font-size: 11.5px; opacity: .72; }
.qzoom { position: absolute; left: 0; top: 0; display: inline-flex; border: 1px solid var(--line2); border-radius: 9px; background: var(--raised); overflow: hidden; }
.qzoom button { height: 30px; min-width: 32px; padding: 0 9px; border: 0; background: none; color: var(--ink); font: 600 14px/1 var(--ui); cursor: pointer; }
.qzoom button + button { border-left: 1px solid var(--line); } .qzoom button[data-z="fit"] { font-size: 12px; font-weight: 500; }
.qzoom button:hover { background: var(--sunken); } .qzoom button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.qzhint { position: absolute; left: 0; top: 38px; max-width: 150px; line-height: 1.35; margin: 0; font-size: 11.5px; color: var(--ink3); }
.qmap { display: block; width: 100%; height: auto; overflow: visible; }
.qmap.big { max-height: 640px; }
.qh .ring { fill: color-mix(in srgb, var(--q-c) 14%, transparent); stroke: var(--q-c); stroke-width: .09; stroke-linejoin: round; }
.qh .core { fill: var(--q-c); }
.qmap.big .qh { animation: qhin .5s var(--ease-out) backwards; }
@keyframes qhin { from { opacity: 0; transform: translateY(.6px); } }
.w-n { --q-c: var(--q-n); } .w-f1 { --q-c: color-mix(in srgb, var(--q-f) 55%, var(--paper-warm)); } .w-f2 { --q-c: color-mix(in srgb, var(--q-f) 78%, var(--paper-warm)); } .w-f3 { --q-c: var(--q-f); }
.w-s1 { --q-c: color-mix(in srgb, var(--q-s) 55%, var(--paper-warm)); } .w-s2 { --q-c: color-mix(in srgb, var(--q-s) 78%, var(--paper-warm)); } .w-s3 { --q-c: var(--q-s); }
.qmap .qh { transition: opacity .25s var(--ease); }
.qmap.hl .qh:not(.on) { opacity: .16; }
.qmap.hl .qh.on .ring { stroke: var(--ink); stroke-width: .14; }
.ql circle { fill: var(--ink); } .ql line { stroke: var(--ink); opacity: .6; }
.qdot text { fill: var(--harbour) !important; }
.ql text, .qdot text { font-family: var(--ui); font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--paper-warm); stroke-linejoin: round; }
.ql text.s { font-weight: 500; fill: var(--ink2); }
.ql.off { opacity: .35; }
.qdot .pin { fill: var(--harbour); stroke: var(--paper-warm); } .qdot .pulse { fill: none; stroke: var(--harbour); stroke-width: .25; animation: qpulse 1.6s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes qpulse { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(2.2); } }
.qside { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding-right: 16px; }
.qey { margin: 0 0 -10px; font: 600 10.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.qhead { margin: 0; font: 400 23px/1.3 var(--display); letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.qleg { display: grid; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qlr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font: 12.5px/1.3 var(--ui); color: var(--ink2); }
.qlh { flex-basis: 100%; font: 600 10.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.qli { display: inline-flex; align-items: center; gap: 7px; }
.qli svg { width: 18px; height: 18px; --q-c: var(--ink2); } .qli svg .ring { fill: transparent; stroke: var(--ink2); stroke-width: .12; } .qli svg .core { fill: var(--ink2); }
.qli i { width: 14px; height: 14px; border-radius: 3px; background: var(--q-c); }
.qgroups { display: grid; gap: 12px; }
.qg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.qgh { grid-column: 1 / -1; font: 600 10.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.qn { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.qn b { font: 600 13.5px/1.25 var(--ui); } .qn span { font: 12px/1.35 var(--ui); color: var(--ink2); }
.qn:hover { background: var(--sunken); } .qn[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .qn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.qsrc { margin: -8px 0 0; font: 11.5px/1.3 var(--ui); color: var(--ink3); }
/* about 1280: the side column is too narrow for two cards a row, so the places run one a row, each on one or two short lines */
@media (min-width: 1101px) and (max-width: 1400px) {
  .qs-sheet { gap: 20px 28px; padding-right: 28px; }
  .qs-sheet .qside { padding-right: 8px; }
  .qs-sheet .qg { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .qs-sheet .qn { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 7px 10px; }
}
@media (max-width: 1100px) { .qs .qrow, .qs-sheet { grid-template-columns: minmax(0, 1fr); } .qprev { grid-template-columns: 140px minmax(0, 1fr); } .qprev .qmap { width: 140px; height: 160px; } }
@media (prefers-reduced-motion: reduce) { .qmap.big .qh, .qs-sheet, .qdot .pulse { animation: none !important; } .qprev, .qs .qs-card .chev { transition: none; } }

/* ==== The 2025 crew plan, the brief's staffing table (FEEDBACK_NOV4_1808 12): paper, ruled rows, not a spreadsheet ==== */
.ledger { position: relative; margin: 28px 0 0; padding: 28px 30px 24px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow-soft); color: var(--ink); transition: opacity .35s var(--ease), transform .35s var(--ease); }
#terrytory > .ledger { margin-top: var(--rh-5); }
.rbody.empty .ledger { margin-top: 20px; }
.ledger.ldg-fold { opacity: 0; transform: translateY(-14px) scaleY(.94); transform-origin: 50% 0; }
.ledger.ldg-land { animation: lgland .5s var(--ease-out) both; } @keyframes lgland { from { opacity: 0; transform: translateY(18px); } }
.ldg-hd h2 { margin: 0; font: 400 28px/1.1 var(--display); letter-spacing: -.01em; }
.ldg-sub { margin: 6px 0 18px; font: 13px/1.45 var(--ui); color: var(--ink2); max-width: 70ch; }
.ldg-wrap { overflow-x: auto; }
.ldg-t { width: 100%; border-collapse: collapse; font: 13px/1.2 var(--ui); font-variant-numeric: tabular-nums; }
.ldg-t th, .ldg-t td { padding: 10px 4px 9px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: top; }
.ldg-t thead th { font: 600 10.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); border-bottom: 1.5px solid var(--line2); padding-bottom: 8px; }
.ldg-t th.ldg-d { text-align: left; padding-left: 0; font: 400 15px/1.2 var(--display); color: var(--ink); white-space: nowrap; letter-spacing: 0; text-transform: none; }
.ldg-t th .ldg-ic { margin-right: 8px; color: var(--ink3); }
.ldg-t thead th.ldg-d { font: 600 10.5px/1 var(--ui); }
.ldg-t td b { display: block; font: 500 15px/1.15 var(--ui); color: var(--ink); }
.ldg-t td i { display: block; margin-top: 3px; font: 600 11px/1.1 var(--ui); font-style: normal; }
.ldg-h { color: var(--harbour); } .ldg-r { color: var(--maple); } .ldg-s { color: var(--pine); }
.ldg-t td.fly { background: color-mix(in srgb, var(--harbour) 5%, transparent); }
.ldg-t td.fly .ldg-f { display: inline-flex; align-items: center; gap: 3px; color: var(--harbour); font: 600 12px/1.1 var(--ui); white-space: nowrap; }
.ldg-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--harbour); flex: none; }
.ldg-t td[data-m]:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ldg-t .ldg-n { text-align: right; white-space: nowrap; font: 500 14px/1.15 var(--ui); padding-left: 12px; }
.ldg-t thead .ldg-n { font: 600 10.5px/1 var(--ui); }
.ldg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
.ldg-line { margin: 0; flex: 1 1 420px; font: 14px/1.45 var(--ui); color: var(--ink2); } .ldg-line b { color: var(--ink); font-weight: 600; }
.ldg-keys { display: flex; gap: 14px; flex-wrap: wrap; font: 12px var(--ui); color: var(--ink3); } .ldg-key { display: inline-flex; align-items: center; gap: 5px; } .ldg-key i { font: 600 11px var(--ui); font-style: normal; }
.ldg-key-f { color: var(--harbour); gap: 6px; } .ldg-key-f .ldg-fn { font: 13px var(--ui); color: var(--ink2); }
.ldg-csv { height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line2); background: transparent; color: var(--ink); font: 600 12.5px var(--ui); cursor: pointer; } .ldg-csv:hover { background: var(--sunken); }
.ledger-link { display: inline-block; margin: -8px 0 18px; font: 500 13.5px var(--ui); color: var(--harbour); }
.ledger-link[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .ledger { transition: none; } .ledger.ldg-land { animation: none; } }

/* ==== Terry's vocabulary (FEEDBACK_NOV4_1808 10): the page's serif in italic, same size and colour, a fine dotted underline; one-line definition ==== */
.tw { font-family: var(--display); font-style: italic; font-size: 1.04em; color: inherit; text-decoration: underline dotted var(--ink3); text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: help; border-radius: 2px; }
.tw:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
#twpop { position: fixed; z-index: 80; max-width: 300px; padding: 7px 10px 8px; border-radius: 8px; background: var(--raised); color: var(--ink2); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font: 400 12.5px/1.4 var(--ui); pointer-events: none; }
#twpop b { font: italic 500 13.5px/1 var(--display); color: var(--ink); margin-right: 2px; }

/* ==== Echolocation (FEEDBACK_NOV4_1808 11): a plain line under the heading, landmarks so the map reads as Boston ==== */
.qs .guide { grid-template-columns: auto minmax(0, 1fr); }
.qs-line { grid-column: 1 / -1; grid-row: 2; margin: 0; font: italic 400 16px/1.35 var(--display); color: var(--ink2); }
.qlm text { font-family: var(--display); font-style: italic; fill: var(--ink2); pointer-events: none; paint-order: stroke; stroke: var(--paper-warm); stroke-width: 3px; stroke-linejoin: round; }
.qlm text.water { fill: var(--harbour); opacity: .75; letter-spacing: .04em; }
.qprev .qlm text { display: none; }

/* folding The Flip Side (THU_BUILD C): a chevron at each heading, one summary line when folded */
.fold-chev { flex: none; width: 28px; height: 28px; padding: 0; margin: 0 6px 0 -4px; border: 0; border-radius: 6px; display: inline-grid; place-items: center; align-self: center; background: transparent; color: var(--ink3); cursor: pointer; }
.fold-chev:hover { color: var(--ink); background: var(--sunken); }
.fold-chev:focus-visible, .fold-sum:focus-visible, .fold-all button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fold-chev svg.fold-i { width: 18px; height: 18px; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.fold-chev[aria-expanded="false"] svg.fold-i { transform: rotate(-90deg); }
.fold-sum { display: none; min-width: 0; max-width: 100%; padding: 2px 6px; margin: 0 0 0 4px; border: 0; border-radius: 6px; background: transparent; color: var(--ink2); font: 500 15px/1.4 var(--ui); font-variant-numeric: tabular-nums; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.fold-sum:hover { color: var(--ink); background: var(--sunken); }
.is-folded .fold-sum { display: inline-block; }
.flyp .fold-sum { display: none; } .is-folded > .flyp .fold-sum { display: inline-block; }
.fold-hd { display: flex; align-items: center; gap: 4px; margin: 0 0 12px; min-width: 0; }
.fold-hd .fold-t { margin: 0; font: 500 24px/1.2 var(--display); letter-spacing: -.005em; color: var(--ink); white-space: nowrap; }
.fold-hd.is-folded { margin-bottom: 16px; }
.tt-top.is-folded { display: none; }
section.pred.is-folded > :not(.guide), section.pred.is-folded .ptally, section.pred.is-folded .stamps, section.pred.is-folded .heard { display: none; }
section.pred.is-folded .guide { margin-bottom: 16px; display: block; } section.pred.is-folded .gh { flex-wrap: nowrap; align-items: center; gap: 4px; min-width: 0; }
.is-folded > .flyp > :not(.fw-h), .is-folded > .flyp .fw-h > :not(.fold-chev):not(h2):not(.fold-sum), [data-id="flysec"].is-folded > :not(.flyp) { display: none; }
.is-folded > .flyp .fw-h { flex-wrap: nowrap; align-items: center; gap: 4px; margin-bottom: 0; }
.pred .gh .fold-chev, .fw-h .fold-chev { align-self: center; }
.fold-row { display: flex; align-items: center; gap: 4px; min-width: 0; }
.ledger.is-folded > :not(.ldg-hd), .ledger.is-folded .ldg-sub { display: none; }
.ledger.is-folded .ldg-hd { margin-bottom: 0; }
.fold-all { display: flex; gap: 2px; margin-left: auto; align-self: flex-end; }
.fold-all[hidden] { display: none; }
.fold-all button { height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink2); font: 500 13px var(--ui); cursor: pointer; }
.fold-all button:hover:not(:disabled) { color: var(--ink); background: var(--sunken); }
.fold-all button:disabled { color: var(--ink3); cursor: default; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .fold-chev svg.fold-i { transition: none; } }
section.pred.is-folded { margin-top: 20px; } .is-folded > .flyp { margin-top: 20px; }
/* watch on screen: every section folded. The heading tightens and, on wide screens, the three lines sit side by side in one strip */
#terrytory.watching { margin-top: 16px; margin-bottom: calc(max(96px, 45vh) + var(--rh-4)); }   /* room below, so the cloth can always sit at the top of the viewport */
#terrytory.watching .tt-head { margin-bottom: 14px; } #terrytory.watching .tt-sub, #terrytory.watching .ledger-link { display: none; }
#terrytory.watching .fold-hd.is-folded, #terrytory.watching section.pred.is-folded .guide { margin-bottom: 0; }
@media (min-width: 1100px) {
  #terrytory.watching .rbody:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
  #terrytory.watching .rbody:not([hidden]) > :not(.fold-hd):not(.pred):not([data-id="flysec"]):not(.tt-top) { grid-column: 1 / -1; }
  #terrytory.watching section.pred.is-folded, #terrytory.watching .is-folded > .flyp { margin-top: 0; }
  #terrytory.watching .fold-hd, #terrytory.watching section.pred.is-folded .gh, #terrytory.watching .is-folded > .flyp .fw-h { flex-wrap: wrap; row-gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
  #terrytory.watching .fold-hd .fold-t, #terrytory.watching .pred h2, #terrytory.watching .flyp h2 { font-size: 20px; }
  #terrytory.watching .fold-sum { flex-basis: 100%; margin-left: 26px; padding: 2px 4px; font-size: 14px; white-space: normal; text-align: left; }
}

/* The Flip Side head (owner 21:48): the title and Fold all on one line; the Roost tabs on the next, resting on a rule that
   opens the section, so nothing floats. Each tab has its own close; the first click asks, the second closes. */
#terrytory .tt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title all" "rail rail"; align-items: end; column-gap: 24px; row-gap: 0; margin-bottom: 26px; }
#terrytory .tt-head > div:first-child { grid-area: title; min-width: 0; }
#terrytory .tt-head .fold-all { grid-area: all; align-self: end; margin: 0 0 4px; }
#terrytory .tt-head .rail { grid-area: rail; margin: 18px 0 0; padding: 0; justify-self: stretch; align-self: end; display: flex; align-items: flex-end; gap: 4px; min-height: 0; flex-wrap: wrap; }
#terrytory .tt-head .rail[hidden] { display: none; }
/* The Flip Side reads as the section's header (owner 21:48): larger than any heading inside it, the goal under it, and on the right the
   way to the crew plan above the fold controls; more room below it before its first part */
#terrytory .tt-head { grid-template-areas: "title link" "title all" "rail rail"; row-gap: 6px; margin-bottom: 40px; }
#terrytory .tt-head h2 { font: 400 46px/1 var(--display); letter-spacing: -.02em; }
#terrytory .tt-sub { margin-top: 10px; font-size: 18px; }
#terrytory .tt-head .ledger-link { grid-area: link; justify-self: end; align-self: end; margin: 0; white-space: nowrap; }
#terrytory .tt-head .fold-all { justify-self: end; }
#terrytory .tt-head:has(.rail:not([hidden])) { border-bottom: 1.5px solid var(--line2); }
.tabw { position: relative; display: flex; align-items: stretch; margin-bottom: -1.5px; border: 1.5px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; background: var(--sunken); transition: max-width .3s var(--ease), opacity .3s var(--ease); max-width: 420px; }
.tabw.on { background: var(--raised); border-color: var(--line2); box-shadow: 0 -6px 18px -14px rgba(20,23,28,.35); }
.tabw.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 1.5px; background: var(--raised); }
.tabw .tab { background: transparent; border-radius: 9px 0 0 0; margin: 0; box-shadow: none; min-height: 42px; padding: 6px 4px 6px 12px; top: 0; }
.tabw .tab[aria-selected="true"] { background: transparent; box-shadow: none; }
.tabw .tab .g { max-width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabw .tx { flex: none; align-self: center; width: 26px; height: 26px; margin: 0 6px 0 2px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ink3); cursor: pointer; opacity: .7; }
.tabw .tx svg.i { width: 13px; height: 13px; }
.tabw .tx:hover, .tabw .tx:focus-visible { opacity: 1; color: var(--ink); background: var(--line); outline: none; }
.tabw.ask .tx { width: auto; padding: 0 8px; color: var(--short, #b8382c); opacity: 1; font: 600 11.5px var(--ui); }
.tabw.ask .tx svg.i { display: none; } .tabw.ask .tx::after { content: "Close?"; }
.tabw.gone { max-width: 0; opacity: 0; overflow: hidden; border: 0; }
/* the flip card's close sits clear of the section's "?" */
#terrytory .fail .tg-q.abs { right: 46px; top: 12px; }
/* headlines break evenly: no single word left on the last line */
#terrytory .fail .tline, #terrytory .fail .say { text-wrap: pretty; }

/* the second year on each predator card (owner 21:48): one quiet line, darker when it held in both years */
.pp .yrs { display: block; margin-top: 6px; font: 600 10.5px/1.3 var(--ui); letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp .yrs.y-both { color: var(--rust, #A8442A); }
.pp.rej .yrs { color: var(--ink3); }

/* Echolocation: the year switch (owner 21:48) */
.qtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -10px; }
.qtop .qey { margin: 0; }
.qyr { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 2px; background: var(--paper, transparent); }
.qyr button { border: 0; background: transparent; border-radius: 999px; padding: 4px 11px; font: 600 11.5px/1 var(--ui); color: var(--ink2); cursor: pointer; font-variant-numeric: tabular-nums; }
.qyr button[aria-pressed="true"] { background: var(--ink); color: var(--paper, #fff); }
.qyr button:focus-visible { outline: 2px solid var(--rust); outline-offset: 1px; }
.perch .l small { display: block; font: 400 11px/1.25 var(--ui); color: var(--ink3); margin-top: 2px; white-space: nowrap; }

/* one rule for every section heading (owner 6 Nov): the title on the left; what it is (the count or span) and the "?" on the right */
#terrytory .guide .gh { grid-column: 1 / -1; grid-row: 1; width: 100%; }
#terrytory .guide .gh > .heard { margin-left: auto; order: 8; }
#terrytory .guide .gh > .stamps { order: 9; padding: 0; margin-left: 6px; }   /* the verdict filters sit beside the count, on the title row */
#terrytory .guide .gh > .tg-q { order: 10; margin-left: 8px; }
.fw-h > .sub { margin-left: auto; order: 8; }
.fw-h > .tg-q { order: 9; margin-left: 0; align-self: center; }
.flyp .fw-h > .btn { margin-left: 4px; order: 10; }
#terrytory .tt-head .fold-all > .tg-q, #terrytory .tt-head .fold-all > .tg-q:hover { width: 24px; height: 24px; padding: 0; margin: 2px 0 0 10px; border: 1px solid var(--line2); border-radius: 50%; background: var(--paper); color: var(--ink2); font: 600 12.5px/1 var(--ui); }
#terrytory .tt-head .fold-all > .tg-q:hover { color: var(--ink); border-color: var(--ink3); }
#almanac .alm-head > .tg-q { order: 99; margin-left: 2px; flex: none; }
/* the predators' one-line verdict reads as the section's subtitle: under the title's first letter (past the fold chevron), in the
   same italic as The Flip Side's goal line and Echolocation's */
#terrytory .guide .ptally { padding: 4px 0 0; font: italic 400 16px/1.35 var(--display); color: var(--ink2); }
#terrytory .guide .ptally b { font-weight: 600; font-style: normal; color: var(--ink); }
#terrytory .guide:has(.fold-chev) .ptally { padding-left: 42px; }

/* Echolocation's second row: who reports (city workers or residents), the brief's other consideration */
.qs .qrow.qs-who { margin-top: 26px; }
.qs .who-card { cursor: default; }
.qs .who-plate { padding: 20px 26px 18px; border-radius: 3px; background: var(--paper-warm); color: var(--ink); }
.qs .who-t { width: 100%; border-collapse: collapse; font: 14px/1.3 var(--ui); font-variant-numeric: tabular-nums; }
.qs .who-t th, .qs .who-t td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.qs .who-t th:first-child { text-align: left; padding-left: 0; font: 400 15px/1.2 var(--display); }
.qs .who-t thead th { font: 600 10.5px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); vertical-align: bottom; }
.qs .who-t thead th small { display: block; margin-top: 3px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink3); font-size: 11px; }
.qs .who-t td.slow { color: var(--short); font-weight: 600; }
.qs .who-note { margin: 12px 0 0; font: italic 400 15px/1.4 var(--display); color: var(--ink2); }

/* the hill always spans the window (owner 00:40): on screens wider than the photo it is drawn to the full width (cover), so its left
   edge never needs fading; only its top melts into the page */
#ground img { left: 0; right: 0; width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px); mask-image: linear-gradient(to bottom, transparent 0, #000 160px); }

/* ---------------------------------------------------------------- Echolocation, tidied (owner 11 Nov)
   One type scale for the section: eyebrows 11px caps, the headline 22px serif, body 13px, lists 13.5 / 12.5px, footnotes 12 / 11.5px.
   The map carries names only; the numbers live in the tooltip and the list beside it. */
.qs-sheet .qside { gap: 20px; }
.qs-sheet .qey, .qs-sheet .qlh, .qs-sheet .qgh { font: 600 11px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.qtop { flex-wrap: wrap; row-gap: 10px; margin-bottom: -6px; }
.qsegs { display: inline-flex; align-items: center; gap: 8px; }
.qs-sheet .qhead { font-size: 22px; line-height: 1.32; }
.qlede { display: grid; gap: 6px; }
.qgoal { margin: 0; font: 400 13px/1.45 var(--ui); color: var(--ink2); }
.qgoal::before { content: "Your goal: "; font-weight: 600; color: var(--ink); }
.qs-sheet .qleg { gap: 12px; padding: 14px 0; }
.qs-sheet .qlr { font-size: 12.5px; gap: 8px 16px; }
.qs-sheet .qgroups { gap: 16px; }
.qs-sheet .qg { gap: 6px 10px; }
.qs-sheet .qgh { margin-bottom: 2px; }
.qs-sheet .qn b { font-size: 13.5px; }
.qs-sheet .qn span { font-size: 12.5px; line-height: 1.4; }
.qempty { margin: 0; font: 400 13px/1.5 var(--ui); color: var(--ink2); }
.qzhint { top: 38px; max-width: none; white-space: nowrap; font: 400 11.5px/1 var(--ui); color: var(--ink3); }
.ql text { letter-spacing: .005em; }
/* the goal view: whole hexes tinted by lateness; too few requests is an outline; the chase's places are ringed */
.w-thin { --q-c: var(--ink3); }
.qh.w-thin .ring { fill: transparent; stroke-opacity: .45; stroke-dasharray: .16 .13; }
.qmap .qh.cz .ring { stroke: var(--ink); stroke-width: .17; }
.qmap .qh.cz-no .ring { stroke: var(--ink2); stroke-dasharray: .28 .2; }
.qli.thin i { background: transparent; border: 1.5px dashed color-mix(in srgb, var(--ink3) 70%, transparent); box-sizing: border-box; }
.qli.cz-ok i, .qli.cz-no i { background: transparent; box-sizing: border-box; border: 2px solid var(--ink); }
.qli.cz-no i { border: 2px dashed var(--ink2); }
.qs.goalview .qprev p { font-size: 20px; }
/* the reporting table: its header row is one style (the first cell had the serif of the body rows) */
.qs .who-t thead th:first-child { font: 600 10.5px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }

/* the goal view, refined: a neighborhood the chase named is drawn as one outline along its edge */
.qedge { fill: none; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.qedge.ok { stroke: var(--ink); stroke-width: .16; }
.qedge.no { stroke: var(--ink2); stroke-width: .12; stroke-dasharray: .3 .22; opacity: .85; }
/* its lists: one row per place: a swatch, the name with its count, the difference against what its mix predicts */
.qs-sheet .qg.qrl { grid-template-columns: minmax(0, 1fr); gap: 0; }
.qs-sheet .qg.qrl .qgh { margin-bottom: 6px; }
.qs-sheet .qn.qr { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 4px 9px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.qs-sheet .qg.qrl .qn.qr:first-of-type { border-top: 1px solid var(--line); }
.qs-sheet .qn.qr > i { width: 10px; height: 10px; border-radius: 2px; background: var(--q-c); }
.qs-sheet .qn.qr.w-thin > i { background: transparent; border: 1.5px dashed var(--ink3); box-sizing: border-box; }
.qrn { display: grid; gap: 2px; min-width: 0; }
.qs-sheet .qrn b { font: 600 13.5px/1.25 var(--ui); color: var(--ink); }
.qs-sheet .qrn span { font: 400 12px/1.3 var(--ui); color: var(--ink3); font-variant-numeric: tabular-nums; }
.qrv { font: 600 14px/1 var(--ui); font-variant-numeric: tabular-nums; color: var(--ink); }
.qn.qr:is(.w-s1, .w-s2, .w-s3) .qrv { color: var(--short); }
.qs-sheet .qn.qr:hover { background: var(--sunken); }
.qs-sheet .qn.qr[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--ink); background: var(--sunken); }
.qruled { margin: 0; font: 400 12.5px/1.5 var(--ui); color: var(--ink2); }
.qruled span { font-weight: 600; color: var(--ink); }
.qli.cz-ok i { border-width: 2px; } .qli.cz-no i { border-style: dashed; }

/* a card's figure and its caption: the caption sits beside a short figure and drops below a long one, never squeezed to a sliver */
.pp .key { flex-wrap: wrap; row-gap: 4px; }
.pp .key .u { flex: 1 1 120px; min-width: 120px; }

/* the left column: the map, then its legend and fine print; the right column is the answer (owner 11 Nov) */
.qleft { display: grid; gap: 22px; align-content: start; min-width: 0; }
.qunder { display: grid; gap: 14px; }
.qunder .qleg { border-bottom: 0; padding-bottom: 0; }

/* ---------------------------------------------------------------- Echolocation, formatted (owner 11 Nov)
   The map and its key are one card; the answer beside it is open type with no rules between rows; the method note opens across both. */
.qs-sheet { row-gap: 18px; }
.qleft { gap: 0; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; align-self: start;
  background: color-mix(in srgb, var(--raised, #fff) 55%, var(--paper-warm)); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 28px -22px rgba(40,20,10,.35); }
.qleft .qmapw { padding: 16px 16px 10px; }
.qleft .qzoom { left: 16px; top: 16px; } .qleft .qzhint { left: 16px; top: 54px; }
.qunder { display: block; padding: 12px 16px 14px; background: color-mix(in srgb, var(--ink) 4%, transparent); border-top: 1px solid color-mix(in srgb, var(--ink) 7%, transparent); }
.qunder .qleg { display: grid; gap: 9px; padding: 0; border: 0; }
.qunder .qlr { gap: 6px 14px; font-size: 12px; color: var(--ink2); }
.qunder .qlh { flex-basis: auto; margin-right: 4px; font: 600 10.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.qunder .qli i { width: 12px; height: 12px; }
/* the answer: no rules; space and type do the grouping */
.qs-sheet .qgroups { gap: 24px; }
.qs-sheet .qg.qrl .qgh { margin-bottom: 4px; }
.qs-sheet .qn.qr, .qs-sheet .qg.qrl .qn.qr:first-of-type { border: 0; border-radius: 8px; padding: 7px 10px 7px 8px; margin: 0 -10px 0 -8px; }
.qs-sheet .qn.qr:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.qs-sheet .qn.qr[aria-pressed="true"] { background: color-mix(in srgb, var(--ink) 7%, transparent); box-shadow: none; }
.qs-sheet .qn.qr[aria-pressed="true"] .qrn b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.qs-sheet .qrv:empty { display: none; }
.qruled { padding-top: 2px; }
/* the method note: folded by default; open, it runs across the whole panel in two columns */
.qmore { grid-column: 1 / -1; display: grid; gap: 10px; }
.qmorebtn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 600 12.5px/1 var(--ui); color: var(--ink2); }
.qmorebtn svg { width: 14px; height: 14px; transition: transform .2s var(--ease, ease); }
.qmorebtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.qmorebtn:hover span { text-decoration: underline; text-underline-offset: 3px; }
.qmorebtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.qmoretx .qsrc { margin-top: 8px; font: 400 11.5px/1.35 var(--ui); color: var(--ink3); }
@media (prefers-reduced-motion: reduce) { .qmorebtn svg { transition: none; } }

/* the card's own paper: the halos behind map text match it, so names and landmarks never sit in pale blobs */
.qleft { --q-card: color-mix(in srgb, var(--raised, #fff) 55%, var(--paper-warm)); background: var(--q-card); }
.qleft .qlm text, .qleft .ql text, .qleft .qdot text { stroke: var(--q-card); }
/* the key: a label line, then its swatches */
.qunder .qlr { flex-wrap: wrap; }
.qunder .qlh { flex-basis: 100%; margin: 0 0 1px; }
.qunder .qleg { gap: 11px; }
/* the method note: two parts aligned under the two columns */
.qmoretx:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 12px 36px; }
.qmoretx .qm b { display: block; margin-bottom: 5px; font: 600 12.5px/1.3 var(--ui); color: var(--ink); }
.qmoretx .qm p { margin: 0; font: 400 12.5px/1.6 var(--ui); color: var(--ink2); }
.qmoretx .qm p.qsrc { margin-top: 6px; font-size: 11.5px; color: var(--ink3); }
@media (max-width: 1100px) { .qmoretx:not([hidden]) { grid-template-columns: minmax(0, 1fr); } }

/* section titles (owner 11 Nov): The Flip Side and The Ledger are the page's two sections and share one title style; the flip, the
   predators, the flyway and Echolocation are its parts, each with a fold chevron and a 24px serif title */
#ldg-sec-h { font: 400 46px/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.ldg-section .gh { align-items: flex-end; }
.ldg-section .heard { padding-bottom: 6px; }
section.qs .qs-line { padding-left: 42px; }
section.qs.is-folded .qs-line { display: none; }

/* The Flip Side's head (owner 11 Nov): "The Flip Side" is the label; the goal on show is the title. Before any goal, the label is the title */
#terrytory .tt-head h2 { font: 400 20px/1 var(--display); letter-spacing: 0; color: var(--ink2); }
#terrytory .tt-head h2 .bw { color: var(--ink); opacity: .92; }
#terrytory .tt-head .tt-sub { display: block; margin: 12px 0 0; max-width: 34ch; font: 400 34px/1.18 var(--display); font-style: normal; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
#terrytory .tt-head .tt-sub[hidden] { display: none; }
#terrytory .tt-head:has(#ttsub[hidden]) h2 { font-size: 34px; letter-spacing: -.012em; color: var(--ink); }
#ldg-sec-h { font-size: 34px; letter-spacing: -.012em; }
/* the four parts' titles start at one x: The Flip's row had a narrower gap after its chevron */
.fold-hd .fold-t { padding-left: 8px; }
/* the credit line sits clear of the dock's resting bar */
#ground p { bottom: 124px; }
@media (max-width: 700px) { #terrytory .tt-head .tt-sub, #terrytory .tt-head:has(#ttsub[hidden]) h2, #ldg-sec-h { font-size: 26px; } }
