.policy-page .site-header{position:static}.policy-table:focus-visible{outline:3px solid #38617a;outline-offset:3px}.policy-content{max-width:880px;margin:0 auto 3rem;font-size:1.06rem;line-height:1.95;overflow-wrap:anywhere}.policy-content h1{font-size:clamp(1.85rem,4vw,2.85rem);line-height:1.4;letter-spacing:-.02em}.policy-content h2{font-size:1.6rem;line-height:1.5;margin:2.8rem 0 1rem;border-top:1px solid #cddbe4;padding-top:1.3rem}.policy-content h3{font-size:1.2rem;line-height:1.6}.policy-content p,.policy-content li{max-width:76ch}.policy-content a{text-decoration:underline;text-underline-offset:.2em}.policy-kicker{color:#38617a;font-weight:700;letter-spacing:.12em}.policy-meta,.policy-note{color:#475c69;font-size:.92rem}.policy-answer{padding:1.3rem;background:#edf5f9;border-left:5px solid #1a5276;border-radius:0 12px 12px 0}.policy-nav,.policy-toc{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;padding:1rem 0}.policy-nav{border-block:1px solid #cddbe4;margin:1.8rem 0}.policy-nav a[aria-current]{font-weight:800;color:#163e57}.policy-table{max-width:100%;overflow-x:auto;margin:1.3rem 0;overscroll-behavior-inline:contain}.policy-table table{width:100%;min-width:560px;border-collapse:collapse;font-size:.96rem;line-height:1.75}.policy-table th,.policy-table td{padding:.9rem;text-align:left;vertical-align:top;border:1px solid #cddbe4;white-space:normal;overflow-wrap:anywhere}.policy-table th{background:#eef4f7}.policy-table caption{text-align:left;font-weight:700;margin-bottom:.6rem;line-height:1.7}.policy-figure{margin:1.8rem 0;padding:1.2rem;background:#f4f7f9;border:1px solid #cddbe4;border-radius:12px;max-width:100%}.policy-figure figcaption{font-size:.94rem;font-weight:700;color:#385164}.policy-flow{list-style:none;padding:0;display:grid;gap:1rem;counter-reset:flow}.policy-flow li{counter-increment:flow;padding:.7rem 1rem;background:#fff;border-left:4px solid #38617a}.policy-flow li strong:before{content:counter(flow) '　'}.policy-flow span{display:block;color:#475c69}.policy-pair,.policy-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}.policy-pair>div,.policy-cards>article{padding:1.1rem;background:#fff;border:1px solid #cddbe4;border-radius:12px;min-width:0}.policy-pair h3,.policy-cards h3{margin-top:.2rem}.policy-cards h3{font-size:1.35rem;line-height:1.6}.policy-bar{display:block;position:relative;background:linear-gradient(90deg,#c5ddec var(--bar),transparent var(--bar));padding:.3rem;min-width:55px;color:#153e57}.policy-sources{font-size:.94rem}.policy-sources li{margin:.9rem 0}.policy-sources small{display:block;color:#475c69}.policy-home{margin-block:2rem;padding:1.4rem;background:#f2f6f9;border:1px solid #cddbe4;border-radius:16px}.policy-home .policy-cards{margin-block:1rem}.policy-home a{font-weight:700}.policy-content :target{scroll-margin-top:1rem}.policy-sources :target{background:#fff4d3}.policy-content ul,.policy-content ol{padding-left:1.5rem}.policy-content figure ol{padding-left:0}@media(max-width:650px){.policy-table:before{content:"表格可左右滑動查看完整內容";display:block;font-size:.85rem;color:#475c69;margin-bottom:.4rem}.policy-content{font-size:1rem;line-height:1.9}.policy-pair,.policy-cards{grid-template-columns:1fr}.policy-figure,.policy-home{padding:.9rem;margin-inline:0}.policy-answer{padding:1rem}.policy-content h2{font-size:1.4rem}.policy-table{border-right:3px solid #cddbe4}.policy-nav{gap:.7rem 1rem}}@media(prefers-reduced-motion:reduce){.policy-content{scroll-behavior:auto}}


#taipei-senior-travel-modes:target { scroll-margin-top: 14rem; }
.taipei-senior-plot { list-style: none; padding: 0; max-width: 38rem; }
.taipei-senior-plot li {
  display: grid; grid-template-columns: 5em minmax(0, 1fr) 5ch;
  gap: .45em; align-items: center; margin-block: .35em;
}
.taipei-senior-plot progress { width: 100%; height: .65em; accent-color: #235879; }
.taipei-senior-plot strong { text-align: end; font-variant-numeric: tabular-nums; }
[data-taipei-senior] summary { cursor: pointer; }
[data-taipei-senior] .table-wrap { max-width: 100%; overflow-x: auto; }
[data-taipei-senior] .table-wrap table { min-width: 36rem; }
[data-taipei-senior] .table-wrap:focus-visible { outline: 2px solid #235879; }
@media (max-width: 860px) {
  html:has([data-taipei-senior]) .site-header { position: static; }
  #taipei-senior-travel-modes:target { scroll-margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has([data-taipei-senior]) { scroll-behavior: auto; }
}
@media (max-width: 420px) {
  .taipei-senior-plot li { grid-template-columns: minmax(0, 1fr) auto; }
  .taipei-senior-plot strong { grid-row: 1; grid-column: 2; }
  .taipei-senior-plot progress { grid-row: 2; grid-column: 1 / -1; }
}
