:root{--ink:#193f33;--paper:#fbfaf4;--line:#c9cdbf;color:var(--ink);background:var(--paper);font:100%/1.55 "Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:.25em}a:focus-visible,summary:focus-visible{outline:3px solid #d47925;outline-offset:4px}h1,h2,h3,.brand{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.04;margin:0}a:hover{text-decoration:underline}header{background:var(--paper)}.bar,.wrap,.hero-inner,.foot,.credits{width:min(90%,1250px);margin:auto}.bar{min-height:84px;display:flex;align-items:center;gap:3vw}.brand{font-size:clamp(1.3rem,2.4vw,2rem);text-decoration:none;letter-spacing:-.05em;display:flex;align-items:center;gap:11px}.mark{background:var(--ink);color:#edeac9;border-radius:50% 50% 3px 3px;width:40px;height:44px;display:grid;place-items:center;font-size:2rem}nav{margin-left:auto;display:flex;gap:2.4vw}nav a,.outline{font-weight:600;font-size:.95rem;text-decoration:none}.outline{border:1px solid var(--ink);padding:.55rem 1rem;border-radius:30px}.hero{position:relative;isolation:isolate;color:#fffdf1;background:#244737 url(bug-popowo.webp) center 54%/cover no-repeat}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,33,26,.88),rgba(15,35,29,.48) 44%,transparent 84%),linear-gradient(0deg,#172e244d,transparent 60%)}.hero-inner{padding:clamp(3rem,5vw,5.25rem) 0}.eyebrow,.card small{font-weight:700;font-size:.8rem;letter-spacing:.13em;text-transform:uppercase}.eyebrow{margin:0 0 1.4rem;display:flex;align-items:center;gap:10px}.eyebrow span{width:30px;border-top:2px solid #e4be6c}h1{font-size:clamp(4.5rem,8vw,8.5rem);letter-spacing:-.065em;line-height:.83}h1 em{color:#f4d791}.intro{font-size:1.14rem;max-width:330px;margin:1.4rem 0}.cta{display:inline-block;background:#f6dfa3;color:#19392e;padding:.8rem 1.2rem;border-radius:3px;font-weight:650;text-decoration:none}.credit{position:absolute;right:4%;bottom:16px;background:#193b31d9;padding:3px 9px;border-radius:2px}.wrap section{padding:3.7rem 0 0}.section-title{display:flex;gap:1em;align-items:baseline;justify-content:space-between;margin-bottom:1.5rem}h2{font-size:clamp(2.2rem,4vw,3.8rem);letter-spacing:-.055em}.section-title a,.card b,details a{font-size:.93rem;font-weight:650}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.card{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(1.35rem,2.5vw,2.5rem);text-decoration:none;border-top:4px solid var(--stripe);border-radius:3px;background:var(--fill)}.card:hover{text-decoration:none;filter:brightness(.978)}.card:hover b{text-decoration-thickness:2px}.olive{--stripe:#688562;--fill:#e7eddf}.honey{--stripe:#b18b40;--fill:#f4ead1}.blue{--stripe:#61898d;--fill:#e2eceb}.card h3{margin:1.35rem 0 .1rem;font-size:clamp(1.75rem,2.9vw,2.75rem);letter-spacing:-.045em}.card b{margin-top:auto;text-decoration:underline;text-underline-offset:.26em}.card p{margin-bottom:1.5rem}details{border-top:1px solid var(--line);padding:1rem 0}details:last-child{border-bottom:1px solid var(--line)}summary{cursor:pointer;font-size:1.18rem;font-weight:600}details p{max-width:720px}.wrap .area{margin:3.7rem 0;padding:0;display:grid;grid-template-columns:1fr 1fr;background:#244b3a;color:white}.area>div{padding:clamp(2rem,4vw,4rem)}.area img{width:100%;height:100%;max-height:420px;object-fit:cover}.area em{color:#edce8f}.area p{max-width:450px}footer{background:#193e32;color:#f6f5e9;padding:3rem 0 1.4rem}.foot{display:flex;justify-content:space-between;align-items:center;gap:1rem}.foot h2{font-size:2rem}.credits{border-top:1px solid #708375;margin-top:1.5rem;padding-top:1rem;font-size:.82rem}.skip{position:absolute;left:-200vw}.skip:focus{left:10px;top:10px;z-index:5;background:white;padding:10px}@media(max-width:720px){.bar{flex-wrap:wrap;gap:.45rem;min-height:auto;padding:.75rem 0}.brand{margin-right:auto}.outline{font-size:.82rem}nav{order:3;margin:0;gap:1.4rem;width:100%}.hero-inner{padding:3.5rem 0 4.3rem}.credit{font-size:.75rem}.cards,.wrap .area{grid-template-columns:1fr}.section-title{align-items:flex-start;flex-direction:column;gap:.65rem}.card h3{margin:.75rem 0 0}.wrap section{padding-top:2.5rem}.foot{display:block}.area img{height:220px}}
.hero{background-image:url(ujscie-bugu.webp)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.add,#more{border:0;border-radius:4px;background:var(--ink);color:white;padding:.7rem 1.1rem;font-weight:650}.filters{display:flex;flex-wrap:wrap;gap:.45rem}.filters button,.delete{background:transparent;border:1px solid #adb9a7;border-radius:25px;padding:.45rem 1rem}.filters [aria-pressed=true]{background:#e2ead7;border-color:#587456}.filters button:hover,.delete:hover{background:#e9ecdf}#status:not(:empty){border-left:3px solid #bd984f;background:#f2efdf;padding:1rem 1.3rem}#posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem}.post{overflow-wrap:anywhere;border:1px solid var(--line);border-radius:4px;padding:1.35rem}.post h3{font-size:1.85rem;margin:.5rem 0}.post p{white-space:pre-wrap}.post small{color:#465d50}.delete{display:block;margin-top:1rem}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2{font-size:2rem}dialog{border:0;border-radius:7px;color:var(--ink);background:var(--paper);width:min(94%,520px);padding:1.6rem;max-height:92dvh}dialog::backdrop{background:#0b241dcc}dialog label{display:grid;font-weight:600;gap:.2rem;margin:.8rem 0}dialog input,dialog select,dialog textarea{background:white;border:1px solid #9fae9e;border-radius:3px;padding:.55rem;width:100%}#close{background:transparent;border:0;font-size:1.7rem}#more{margin-top:1rem}
[hidden]{display:none!important}.bar button.outline{background:transparent}.dismiss{border:0;background:transparent;font-size:1.75rem}.wrap .newsletter{margin-top:3rem;padding:clamp(1.5rem,4vw,3rem);background:#e8eddf;display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}.newsletter .eyebrow{margin-bottom:.55rem}.newsletter details{padding-bottom:0}.newsletter details a{text-decoration:underline}.newsletter p{max-width:37rem}@media(max-width:720px){.wrap .newsletter{grid-template-columns:1fr;gap:.5rem}}
.wrap .history-promo{padding:0;margin-top:3rem;background:#ede9da;display:grid;grid-template-columns:1fr 1fr}.history-promo>div,.history-lead{padding:clamp(2rem,4vw,4rem)}.history-promo img{width:100%;height:100%;max-height:400px;object-fit:cover}.history-lead{margin:2rem 0;background:#254b3b;color:#fffbef}.history-lead h1{font-size:clamp(3.4rem,7vw,6.5rem);line-height:.96}.history-lead p:last-child{max-width:40rem;font-size:1.16rem}.history article{max-width:48rem;margin:auto;padding:2.5rem 0;border-bottom:1px solid var(--line)}.history article p{line-height:1.72}.history .sources{font-size:.92rem}.service-shortcut a{font-weight:650}fieldset{min-width:0;border:1px solid var(--line)}nav{flex-wrap:wrap}@media(max-width:720px){.wrap .history-promo{grid-template-columns:1fr}.history-promo img{height:220px}nav{gap:.65rem 1rem}}
.bar{gap:clamp(.65rem,1.8vw,1.8rem)}.bar nav{gap:clamp(.7rem,1.6vw,1.5rem)}.prefs{display:flex;align-items:center;gap:.3rem}.prefs a,.prefs button{min-width:40px;height:40px;display:grid;place-items:center;background:transparent;color:inherit;border:1px solid var(--line);border-radius:50%;text-decoration:none;font-size:.86rem;font-weight:650}.prefs button{font-size:1.45rem}.pinboard{position:relative;margin:1.4rem 0 0;padding:clamp(1.25rem,3.8vw,3rem);border:8px solid #6b503d;border-radius:6px;background-color:#bc9367;background-image:repeating-linear-gradient(32deg,#916e442b 0 1px,transparent 1px 5px),repeating-linear-gradient(144deg,#fbd7a544 0 1px,transparent 1px 4px);box-shadow:inset 0 2px 8px #51361055}.pinboard #status:not(:empty){display:table;background:#fff2cf;color:#473d29;border:0;margin:0 0 1rem;padding:.45rem .8rem;font-size:.95rem}.pinboard #status:empty{margin:0}.pinboard #posts,#board-welcome{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1.55rem}.post{position:relative;border:0;border-radius:1px;box-shadow:1px 5px 8px #37230c45;background:#fff4cd;color:#39352a;padding:2.6rem 1.4rem 1.65rem;transform:rotate(-.6deg);align-self:start}.post:before{content:"";position:absolute;top:.7rem;left:50%;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e99784,#9d342a 65%);box-shadow:1px 3px 2px #30231866}.post:nth-child(3n+2){background:#e8f0da;transform:rotate(.7deg)}.post:nth-child(3n){background:#ffeadf}.post small:first-child{text-transform:uppercase;letter-spacing:.065em;font-weight:700;display:block;padding-bottom:.6rem;border-bottom:1px dashed #7e795d}.post h3{margin-top:.85rem}.post .delete{color:#39352a}.post a{font-weight:650}.pinboard #more{margin-top:1.5rem}.wrap .newsletter .add{max-width:100%}:root[data-theme=dark]{color-scheme:dark;--ink:#e0e9d8;--paper:#14221e;--line:#52665a}:root[data-theme=dark] .mark,:root[data-theme=dark] .add,:root[data-theme=dark] #more{background:#d4e4cc;color:#1b382d}:root[data-theme=dark] .card,:root[data-theme=dark] .newsletter,:root[data-theme=dark] .history-promo{color:#eaf1e4;background:#273c32}:root[data-theme=dark] .honey{background:#3e382a}:root[data-theme=dark] .blue{background:#253d40}:root[data-theme=dark] .filters [aria-pressed=true],:root[data-theme=dark] .filters button:hover{background:#374e40}:root[data-theme=dark] dialog :is(input,textarea,select){background:#20332a}:root[data-theme=dark] .pinboard{border-color:#443426;background-color:#8a6c4e}:root[data-theme=dark] .skip:focus{color:#193f33}.pinboard button:not(.delete){color:#193f33}#fee-info{font-weight:600}@media(max-width:1120px){.bar{flex-wrap:wrap;padding:.65rem 0}.bar nav{order:4;width:100%;margin:0}.bar .brand{margin-right:auto}}@media(max-width:400px){.bar .brand{font-size:1.2rem}.bar .mark{display:none}.prefs button,.prefs a{min-width:32px;height:32px}}
.rates{border:0;padding:.1rem 0 1rem}.rates summary{font-size:.98rem}.rates p{max-width:70rem}.post button{color:#193f33}.pinboard #more{color:white}:root[data-theme=dark] .pinboard #more{color:#193f33}
.local-directory nav{display:flex;flex-wrap:wrap;gap:.55rem 1rem;margin:1.2rem 0}.contact-group{padding-top:2rem;scroll-margin-top:1rem}.contact-group h3{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:1rem}.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem}.contact-entry{display:flex;flex-direction:column;border:1px solid var(--line);border-top:3px solid #79917a;border-radius:4px;padding:1.2rem;overflow-wrap:anywhere}.contact-entry h4{font:500 1.4rem/1.2 Georgia,serif;margin:0}.contact-entry address{font-style:normal;margin-top:auto}.contact-entry .phone{display:inline-block;font-weight:650;padding:.3rem 0}.contact-entry small{margin-top:.7rem}.local-directory{scroll-margin-top:1rem}

/* Resident account */
.account-page .bar {justify-content:space-between}
.account-shell {width:min(92%,66rem);margin:clamp(1.3rem,5vw,5rem) auto;display:grid;grid-template-columns:1fr 1.05fr;border:1px solid var(--line);border-radius:.7rem;overflow:hidden;background:var(--paper)}
.account-shell::before {content:"";background:#254b3b url(ujscie-bugu.webp) 51% center/cover}
.account-panel {min-width:0;padding:clamp(1.5rem,4vw,4rem)}
.account-panel .eyebrow {color:var(--ink);margin-bottom:1rem}
.account-panel h1 {font-size:clamp(2.4rem,4vw,4rem);line-height:1.04;letter-spacing:-.05em;overflow-wrap:anywhere;margin-bottom:1.65rem}
.account-panel form {display:grid;gap:1rem}
.account-panel label {display:grid;gap:.35rem;font-weight:600;min-width:0}
.account-panel input:not([type=hidden]) {width:100%;min-width:0;border:1px solid var(--line);border-radius:.35rem;background:var(--paper);padding:.75rem;line-height:1.4}
.auth-links {display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.6rem;border-top:1px solid var(--line);padding-top:1rem}
.auth-links a {padding:.3rem 0}
.auth-error {margin:0}.auth-error:empty {display:none}
.recovery-key {padding:1rem;border:1px dashed var(--line);font-family:monospace;overflow-wrap:anywhere}
:focus-visible {outline:3px solid #bc812e;outline-offset:3px}
.bar nav a[aria-current=page] {text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.45em}
footer>.operator {width:min(90%,1250px);margin:1rem auto 0;color:#e3e7d9;font-size:.88rem;overflow-wrap:anywhere}
.history-lead {border-radius:.45rem;background:linear-gradient(115deg,#183e32,#365e46);border-bottom:4px solid #b59861}
.history-lead h1 {overflow-wrap:anywhere;text-wrap:balance}
.history article h2 {text-wrap:balance;font-size:clamp(2rem,4vw,3.2rem)}
.history article .eyebrow {margin-bottom:.75rem}
.history article,.history .contact-group {scroll-margin-top:1rem}
.history p,.history a,.newsletter a {overflow-wrap:anywhere}
.history>nav {gap:.6rem 1.3rem;padding:1rem 0;border-block:1px solid var(--line)}
.history nav a {padding:.25rem 0}
dialog {overscroll-behavior:contain}
dialog :is(label,input,select,textarea,fieldset) {min-width:0;max-width:100%}
dialog button[type=submit] {white-space:normal}
.post button {margin:.75rem .45rem 0 0;padding:.4rem .8rem;border:1px solid #9c9b80;border-radius:.35rem;background:#fff9eb;color:#293d31}
@media (max-width:720px) {
  .account-shell {grid-template-columns:minmax(0,1fr);margin:1.25rem auto 2.5rem}
  .account-shell::before {height:clamp(4.5rem,16vw,7.5rem);background-position:50% 48%}
  .bar nav {gap:.15rem .9rem}.bar nav a {padding:.28rem 0}
  .history-lead {padding:clamp(1.1rem,5vw,2rem);margin:1rem 0}
  .history-lead h1 {font-size:clamp(2.5rem,11vw,4.2rem)}
  .history-lead p:last-child {font-size:1.04rem}
  .history article {padding:1.8rem 0}
  dialog {padding:1.15rem;max-height:88dvh}
}

/* Shared editorial scale and accessible control sizes */
:root {
  --type-caption:.875rem;
  --type-body:1rem;
  --type-intro:1.125rem;
  --type-card:clamp(1.38rem,1.15rem + .9vw,1.95rem);
  --type-section:clamp(1.95rem,1.45rem + 2.2vw,3.35rem);
  --type-title:clamp(2.5rem,1.65rem + 3.8vw,5.25rem);
}
body {font-size:var(--type-body);line-height:1.6}
.history-lead h1,.account-panel h1 {font-size:var(--type-title);line-height:1.01}
h2,.history article h2 {font-size:var(--type-section);line-height:1.08;letter-spacing:-.045em}
h3,.card h3,.post h3,.contact-group h3,.dialog-head h2,dialog form>h2,.foot h2 {font-family:Georgia,serif;font-weight:400;font-size:var(--type-card);line-height:1.17;letter-spacing:-.025em}
.contact-entry h4 {font-size:var(--type-intro);line-height:1.35}
.intro,.history-lead .lead-copy>p:last-child,.history-lead>p:last-child,summary {font-size:var(--type-intro)}
.eyebrow,.card small,.post small,.history .sources,.credits,footer>.operator,.contact-entry small,.rates summary,.credit,small {font-size:var(--type-caption);line-height:1.5}
.eyebrow,.card small {letter-spacing:.085em}
.bar nav a,.bar button.outline,.section-title a,.card b,details a,.filters button,.add,.cta,.menu-toggle,.prefs a {font-size:var(--type-body);line-height:1.4}
.bar {column-gap:clamp(.65rem,1.4vw,1.35rem)}
.bar .brand {white-space:nowrap}
:is(.add,.cta,.outline,.filters button,.menu-toggle,.auth-links a),.prefs :is(a,button),dialog button {min-height:44px}
.bar button.outline,.menu-toggle,.contact-group h3,.phone {align-items:center;gap:.45em}
.bar button.outline,.menu-toggle,.contact-group h3 {display:inline-flex}
.menu-toggle {padding:.4rem .8rem;border:1px solid var(--line);border-radius:1.5rem;color:var(--ink);background:var(--paper)}
.menu-toggle::before,#account-button::before,.card::before,.contact-group h3::before,.contact-entry .phone::before,#newsletter .eyebrow::before,.mark::before {
  content:"";display:inline-block;width:1.2em;height:1.2em;flex:none;background:currentColor;mask:var(--icon) center / contain no-repeat;
}
.menu-toggle {--icon:url(icons/menu.svg)}.menu-toggle[aria-expanded=true]{--icon:url(icons/x.svg)}
#account-button {--icon:url(icons/user-round.svg)}
.mark {font-size:0}.mark::before {--icon:url(icons/trees.svg);width:26px;height:26px}
.card::before {width:2rem;height:2rem;margin-bottom:1.25rem}
.card.olive {--icon:url(icons/recycle.svg)}.card.honey{--icon:url(icons/palette.svg)}.card.blue{--icon:url(icons/map.svg)}
#newsletter .eyebrow {--icon:url(icons/mail.svg)}
#zdrowie{--icon:url(icons/heart-pulse.svg)}#edukacja{--icon:url(icons/graduation-cap.svg)}#instytucje{--icon:url(icons/landmark.svg)}
.contact-entry .phone::before{--icon:url(icons/phone.svg);width:1em;height:1em;vertical-align:-.1em;margin-right:.45em}
.history-lead.illustrated {display:grid;grid-template-columns:1.1fr 1fr;padding:0;overflow:hidden}
.lead-copy {min-width:0;align-self:center;padding:clamp(1.4rem,3.8vw,3.5rem)}
.illustrated figure {position:relative;margin:0;min-height:17rem;background:#294a39}
.illustrated img {position:absolute;width:100%;height:100%;object-fit:cover}
.illustrated figcaption {position:absolute;inset:auto 0 0;padding:1.5rem 1rem .7rem;color:white;background:linear-gradient(transparent,#11281ef5);font-size:var(--type-caption)}
.illustrated figcaption a {white-space:nowrap}
.history-lead .lead-copy .eyebrow {margin-bottom:1rem}
.lead-copy p:last-child {margin-bottom:0}
.contact-grid {align-items:stretch}
.card,.contact-entry {border-radius:.5rem}
.card:focus-visible,.card:hover {box-shadow:0 4px 14px #18352a19}
.filters [aria-pressed=true] {box-shadow:inset 0 0 0 1px var(--ink);font-weight:700}
.prefs a,.prefs button {min-width:44px}
dialog input,dialog textarea,dialog select,.account-panel input {font-size:1rem}
@media(max-width:760px) {
  .history-lead.illustrated {grid-template-columns:minmax(0,1fr)}
  .illustrated figure {min-height:0;height:clamp(8rem,32vw,14rem)}
  .illustrated figcaption {line-height:1.35;padding:.85rem .65rem .45rem}
  .bar {display:flex;flex-wrap:wrap;column-gap:.45rem;row-gap:.45rem;padding:.65rem 0}
  .bar .brand {flex:1 1 auto;min-height:44px}
  .bar .prefs {margin-left:auto}
  .bar .menu-toggle {order:2}
  .bar #account-button {order:3}
  .bar nav {order:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .65rem;width:100%;border-top:1px solid var(--line);padding:.5rem 0}
  .bar nav a {display:flex;align-items:center;min-height:44px;padding:.4rem}
  .bar .mark {display:grid;width:29px;height:33px}
  .bar .mark::before {width:21px;height:21px}
  .bar .brand {gap:6px}
  .section-title {gap:.75rem}
  .filters {gap:.4rem}
  .post {transform:none}
  .foot a {display:inline-block;padding:.25rem 0}
}
@media(max-width:530px) {
  .bar:has(.menu-toggle) .brand {flex:1 1 calc(100% - 112px)}
  .bar:has(.menu-toggle) .prefs {margin-left:0}
  .bar .menu-toggle,.bar #account-button {flex:1;justify-content:center}
}
.password-control {display:grid;grid-template-columns:minmax(0,1fr) 44px;margin-top:-.65rem;align-items:center}
.password-control input {grid-column:1/-1;grid-row:1;padding-right:3rem!important}
.password-toggle {grid-column:2;grid-row:1;width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;color:var(--ink)}
.password-toggle::before {content:"";width:21px;height:21px;background:currentColor;mask:url(icons/eye.svg) center/contain no-repeat}
.password-toggle[aria-pressed=true]::before {mask-image:url(icons/eye-off.svg)}
#biblioteka .eyebrow::before,#mikolajki .eyebrow::before {content:"";width:1.2em;height:1.2em;flex:none;background:currentColor;mask:url(icons/calendar-days.svg) center/contain no-repeat}
/* A compact paper-coloured control on the noticeboard. */
#board-pages {
  --pager-paper:#fff7e6;
  --pager-action:#254c3d;
  --pager-hover:#37664f;
  --pager-on-action:#fff9e9;
  --pager-muted:#eae2d0;
  --pager-muted-ink:#887f6c;
  display:grid;
  grid-template-columns:44px minmax(4.5rem,auto) 44px;
  align-items:center;
  gap:.35rem;
  width:max-content;
  max-width:100%;
  margin:1.75rem auto .1rem;
  padding:.35rem;
  border:1px solid #735b3c55;
  border-radius:3rem;
  background:var(--pager-paper);
  color:#254335;
  box-shadow:0 2px 3px #31241626,0 6px 15px #31241616;
}
#board-page {
  padding:0 .4rem;
  font-size:.9375rem;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  text-align:center;
}
#board-pages button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  border-radius:50%;
  color:var(--pager-on-action);
  background:var(--pager-action);
}
#board-pages button:disabled {
  color:var(--pager-muted-ink);
  background:var(--pager-muted);
  cursor:default;
}
#board-pages button:focus-visible {outline:3px solid #ac611d;outline-offset:2px}
@media (hover:hover) {
  #board-pages button:enabled:hover {background:var(--pager-hover)}
}
#board-pages button:enabled:active {transform:scale(.94)}
.pager-arrow {
  position:relative;
  width:18px;
  height:2px;
  border-radius:2px;
  background:currentColor;
}
.pager-arrow::after {
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:8px;
  height:8px;
  border-top:2px solid;
  border-right:2px solid;
  transform:translateY(-50%) rotate(45deg);
}
#board-prev .pager-arrow {transform:rotate(180deg)}
:root[data-theme=dark] #board-pages {
  --pager-paper:#23392e;
  --pager-action:#e6d3a3;
  --pager-on-action:#25382b;
  --pager-hover:#f2e4be;
  --pager-muted:#34493c;
  --pager-muted-ink:#9aa89b;
  border-color:#c3b48755;
  color:#f2ecdd;
}
#posts .post {scroll-margin-top:1rem}
.story-heading,.editor-console h1 {font-size:var(--type-title);line-height:1.04}
.feed-latest>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem;margin:1.2rem 0}
.feed-latest article {border-top:2px solid var(--line);padding:.8rem 0}.feed-latest article h2 {font-size:var(--type-card)}
.editor-console {max-width:48rem;padding-block:2rem}.editor-console form,.editor-console label {display:grid;gap:.45rem;margin-block:1rem}.editor-console :is(textarea,input,select) {width:100%;padding:.55rem;color:var(--ink);background:var(--paper)}.editor-console fieldset {margin:0}

/* The board keeps a single row of pinned notices at each width. */
.pinboard {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:.8rem;padding:1.75rem .6rem 1rem}
.pinboard #status,.pinboard #board-welcome {grid-column:1/-1}
.pinboard #status:empty {display:none}
.pinboard #posts {grid-column:2;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.pinboard #posts .post {align-self:stretch;min-width:0;padding:2.1rem 1rem 1rem}
#posts .post h3,#posts .post>p:first-of-type {display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
#posts .post h3 {-webkit-line-clamp:2}
#posts .post>p:first-of-type {-webkit-line-clamp:3}
#posts .post .notice-open {display:inline;margin:0;padding:0;text-align:start;border:0;background:none;color:inherit;font:inherit}
.notice-open::after {content:"";position:absolute;inset:0}
#posts .post button:not(.notice-open) {position:relative;z-index:1}
#posts .post:focus-within {outline:3px solid #995520;outline-offset:3px}
#detail-content p {white-space:pre-wrap}
#notice-detail {overflow-wrap:anywhere}
#board-pages {display:contents}
#board-prev,#board-next {grid-row:2;z-index:1}
#board-prev {grid-column:1}
#board-next {grid-column:3}
#board-page {grid-column:1/-1;grid-row:3;display:flex;justify-content:center;flex-wrap:wrap}
#board-page button {width:24px;height:28px;background:transparent}
#board-page button::before {content:"";width:8px;height:8px;border-radius:50%;background:#fff8e6;border:1px solid #4d4334}
#board-page button[aria-current]::before {background:#193f33;outline:2px solid #fff8e6}
@media(max-width:1119px){.pinboard #posts {grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}}
@media(max-width:639px){.pinboard {column-gap:.25rem;padding-inline:.15rem}.pinboard #posts {grid-template-columns:minmax(0,1fr)}}
.feed-latest :is(h2,h3) a,.feed-latest a:has(:is(h2,h3)) {text-decoration:none}
.feed-latest article {border-top:0}
.rates {margin:1rem 0;border:1px solid var(--line);border-radius:.5rem;padding:0}
.rates summary {padding:.85rem 1.15rem;font-weight:650;font-size:1rem}
#rates {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:1rem;margin:0;padding:1rem 1.15rem;border-top:1px solid var(--line)}
#rates dt {font-weight:600}
#rates dd {margin:.3rem 0;font:1.8rem Georgia,serif;font-variant-numeric:tabular-nums}
.bar nav a,.bar button.outline {white-space:nowrap}
@media(min-width:1200px){.bar,.bar nav {flex-wrap:nowrap}}
@media(max-width:1199px){
  header .bar:has(.menu-toggle) {position:relative;display:flex;flex-wrap:nowrap;gap:.45rem;min-height:60px;padding:.5rem 0}
  header .bar:has(.menu-toggle) .brand {flex:1 1 auto;margin:0}
  header .bar .menu-toggle,header .bar #account-button {flex:none;order:0}
  header .bar:has(.menu-toggle) .prefs {margin:0}
  header .bar nav {position:absolute;z-index:10;right:0;top:100%;margin:0;width:min(22rem,100%);display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.75rem;background:var(--paper);border:1px solid var(--line);box-shadow:0 10px 24px #17271f26}
  header .bar nav a {display:flex;align-items:center;padding:.5rem;min-height:44px}
  header:has(.menu-toggle) {position:relative;z-index:5}
}
@media(max-width:530px){
  header .bar:has(.menu-toggle) {width:96%;gap:.25rem}
  header .bar .menu-toggle {font-size:0;width:40px;padding:.35rem;justify-content:center}
  header .bar .menu-toggle::before {width:22px;height:22px}
  header .bar .brand .mark {display:none}
}
.legal-links {width:min(90%,1250px);margin:auto;display:flex;gap:.75rem 1.25rem;flex-wrap:wrap;padding:1rem 0;align-items:center}
.legal-links button {background:none;border:0;color:inherit;text-decoration:underline;padding:0}
.legal-copy {max-width:48rem;margin:3rem auto;padding:0 1.25rem}
.legal-copy h1 {font-size:clamp(2rem,6vw,4rem)}
.legal-copy h2 {margin-top:2rem;font-size:1.55rem}
.cookie-box {position:fixed;z-index:12;bottom:1rem;left:1rem;width:min(27rem,calc(100% - 2rem));max-height:70dvh;overflow:auto;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:.65rem;padding:1.1rem;box-shadow:0 .35rem 2rem #17271f33}
.cookie-box h2 {font-size:1.4rem;margin:0}.cookie-box p {margin:.55rem 0}
.cookie-box button {background:var(--paper);color:var(--ink);border:1px solid var(--ink);border-radius:.35rem;padding:.5rem .7rem;margin:.25rem .4rem 0 0}
.form-links {display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin-top:.75rem;font-size:.9rem}
.newsletter form {display:grid;gap:.65rem;justify-items:start}
.newsletter form label:first-child {display:grid;width:100%;gap:.3rem}
.newsletter form input[type=email] {padding:.6rem;border:1px solid var(--line);border-radius:.3rem;color:var(--ink);background:var(--paper)}
.newsletter form button {padding:.65rem 1rem;border:1px solid var(--ink);border-radius:.3rem;color:var(--paper);background:var(--ink)}

.newsletter .welcome-issue {grid-column:1/-1;width:100%;margin:0;border-top:1px solid var(--line);padding:.8rem 0 0}
.newsletter .welcome-issue article {max-width:45rem;margin:1rem auto 0;padding:clamp(1.1rem,4vw,3rem);background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.welcome-issue .issue-date {font-size:.875rem;margin:0}
.welcome-issue h3 {font-size:clamp(1.7rem,4vw,2.6rem);margin:.55rem 0 1.3rem}
.welcome-issue h4 {font:600 1.2rem/1.35 Georgia,serif;margin:1.75rem 0 .4rem}
.welcome-issue h4+p {margin-top:0}
.rates .rate-note {
  margin:0 1.15rem 1rem;
  padding:.75rem 1rem;
  border-inline-start:3px solid #799478;
  border-radius:.25rem;
  background:color-mix(in srgb,var(--ink) 6%,var(--paper));
  font-size:.95rem;
  line-height:1.55;
}

.paid-listing {
  display:flex;
  align-items:center;
  gap:.35em;
  margin-top:.55rem;
  font-size:.8rem;
  line-height:1.35;
  font-weight:500;
  color:inherit;
}
.paid-listing::before {
  content:"";
  flex:none;
  width:1em;
  height:1em;
  background:currentColor;
  mask:url("icons/tag.svg") center/contain no-repeat;
}
