.top > .inner, main > .inner, .resident-footer > .inner {max-width:1080px}
main > .inner > .view:not(#v-home) {max-width:850px;margin-inline:auto}
main > .inner > .view:focus {outline:none}
.resident-brand {display:flex;align-items:center;gap:.65rem}
.brand-lines {width:23px;height:31px;display:block;border:2px solid var(--accent-strong);background:repeating-linear-gradient(90deg,transparent 0 4px,var(--accent-strong) 4px 6px);border-radius:3px}
.tabs .tab {display:grid;place-items:center;min-height:44px;text-decoration:none;text-wrap:balance}
.tabs .tab[aria-current] {color:var(--accent-strong)}
#v-home {gap:1.15rem}
.neighbourhood {isolation:isolate;position:relative;display:grid;align-items:end;overflow:hidden;border-radius:12px;background:#343b37;color:white;min-height:235px}
.neighbourhood img,.neighbourhood::after {position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.neighbourhood img {object-fit:cover;object-position:50% 49%}
.neighbourhood::after {content:"";background:linear-gradient(90deg,rgba(21,32,29,.91),rgba(21,32,29,.53) 35%,transparent 75%)}
.neighbourhood-caption {padding:clamp(22px,3.3vw,46px);width:fit-content}
.neighbourhood-caption p,.cash-board .period {font-size:.79rem;letter-spacing:.09em}
.neighbourhood h2 {font-family:"Songti TC","Noto Serif TC",Georgia,serif;font-size:clamp(1.8rem,4.3vw,3.2rem);font-weight:600;line-height:1.3;letter-spacing:.05em}
.neighbourhood a {display:inline-flex;gap:1.1em;align-items:center;border-bottom:1px solid #ddd8cb;min-height:44px;color:white;text-decoration:none;font-size:.9rem}
.board-columns {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1.15rem;align-items:start}
.progress-board,.cash-board {border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.25rem}
.progress-board > h2,.cash-board > h2,.resident-doors h2 {font-size:1.28rem}
.progress-board > h2 {margin-bottom:.6rem}
.progress-item {border-top:1px solid var(--line)}
.progress-item summary {display:grid;grid-template-columns:1fr auto .65rem;align-items:center;list-style:none;gap:.55rem;min-height:52px;cursor:pointer}
.progress-item summary::-webkit-details-marker {display:none}
.progress-item summary::after {content:"";height:.4rem;width:.4rem;justify-self:end;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg)}
.progress-item[open] summary::after {transform:rotate(225deg)}
.progress-item p,.resident-doors p {font-size:.9rem;color:var(--muted)}
.progress-item a,.cash-board>a,.resident-doors a,.resident-footer a {display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;font-weight:700;text-underline-offset:4px}
.state {font-size:.73rem;color:#68552b;background:#f6eedb;border-radius:4px;padding:2px 7px;white-space:nowrap}
.state.current {color:#34573c;background:#e6eee4}
.cash-board {background:#f5f6f0;border-color:#dfe4d7}
.cash-board .period {color:#50604b;margin-bottom:.1rem}
.cash-board dl {display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:.7rem 0}
.cash-board dt,.cash-board>p:not(.period) {font-size:.83rem;color:#465547;line-height:1.6}
.cash-board dd {font-family:var(--font-num);font-size:clamp(1.08rem,2vw,1.5rem);margin:0;line-height:1.4;font-variant-numeric:tabular-nums}
.cash-board small {font:400 .7rem var(--font-body)}
.resident-doors {display:grid;grid-template-columns:1fr 1fr;border-block:1px solid var(--line);padding:1rem 0}
.resident-doors>div {min-width:0;padding:0 1.25rem}
.resident-doors>div+div {border-left:1px solid var(--line)}
.resident-doors h2 {margin-bottom:.3rem}
.resident-doors a+a {margin-left:1rem}
.resident-context-links {display:flex;gap:.3rem 1.2rem;flex-wrap:wrap}
.resident-context-links a,.back-to-issues {display:inline-flex;align-items:center;min-height:44px}
.back-to-issues {width:fit-content}
.resident-fold {border-bottom:1px solid var(--line)}
.resident-fold>summary {cursor:pointer;padding:.3rem 0 1rem;font-weight:700;min-height:44px}
.resident-fold>div,.resident-fold>section {margin-bottom:16px}
.resident-footer {border-top:1px solid var(--line);color:var(--muted)}
.resident-footer>.inner {display:flex;justify-content:space-between;align-items:center;padding-block:.6rem;font-size:.78rem}
.resident-footer a {font-size:.8rem}
@media(max-width:660px){
  .board-columns {grid-template-columns:1fr;gap:.85rem}
  main>.inner {padding-top:.8rem}
  .neighbourhood {min-height:155px}
  .neighbourhood-caption {padding:12px 20px}
  .neighbourhood::after {background:linear-gradient(80deg,rgba(20,31,28,.85),rgba(20,31,28,.36) 64%,transparent)}
  #v-home {gap:.85rem}
  .progress-board,.cash-board {padding:.85rem 1rem}
  .resident-doors {grid-template-columns:1fr;gap:.75rem}
  .resident-doors>div+div {border-left:0;border-top:1px solid var(--line);padding-top:.85rem}
}
