:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #243c34;
  background: #fbfaf6;
  font-size: 17px;
  line-height: 1.65;
  --green: #245748;
  --muted: #65766d;
  --line: #dce5de;
  --cream: #f4f0e5;
  --coral: #a94834;
  --soft: #edf4ee;
  --white: #fff;
}
.campus-entry{display:grid;grid-template-columns:1fr 1.2fr;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;margin:24px 0}
.campus-entry-photo{width:100%;height:100%;min-height:225px;object-fit:cover}.campus-entry-content{padding:24px}.campus-entry-title{display:flex;gap:12px;align-items:center}.campus-entry-title img{object-fit:contain;flex:none}.campus-entry-title h2{font-size:21px;margin:0}.campus-entry-content>p{font-size:14px;color:var(--muted);margin:10px 0 16px}.campus-entry-actions{display:flex;flex-wrap:wrap;gap:10px}.campus-entry-actions .button{font-size:14px;min-height:44px}.campus-entry-actions .text-link{display:block;flex-basis:100%;font-size:14px}.campus-entry-content>.campus-entry-note{font-size:11px;margin:14px 0 0}
@media(max-width:600px){.campus-entry{grid-template-columns:1fr}.campus-entry-photo{min-height:0;height:150px}.campus-entry-content{padding:18px}.campus-entry-title h2{font-size:20px}.campus-entry-actions .button{flex:1;padding-left:12px;padding-right:12px}}
.campus-home .campus-entry-content{align-self:center}
@media(max-width:600px){.campus-home{grid-template-columns:104px minmax(0,1fr)}.campus-home .campus-entry-photo{height:100%;min-height:200px}.campus-home .campus-entry-content{padding:16px 14px}.campus-home .campus-entry-title{gap:8px}.campus-home .campus-entry-title h2{font-size:18px}.campus-home .campus-entry-content>p{font-size:13px}.campus-home .campus-entry-actions .button{font-size:13px}}
.school-entry {
  margin-top: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.school-page .article-heading {
  margin-bottom: 20px;
}
.school-page .review-meta {
  grid-template-columns: 4.5em 1fr;
}
.school-schedule {
  list-style: none;
  padding: 0;
}
.school-schedule > li {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.school-schedule h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--soft);
}
.school-schedule h3 span {
  font-size: 0.85rem;
  font-weight: 400;
}
.school-schedule ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.school-schedule ul li {
  display: flex;
  gap: 18px;
  padding: 16px 18px;
  margin: 0;
}
.school-schedule ul li + li {
  border-top: 1px solid var(--line);
}
.school-schedule li > time {
  color: var(--green);
  font-weight: 700;
  flex: 0 0 3em;
}
.school-schedule li > div {
  min-width: 0;
}
.school-schedule p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
}
.course-tag {
  color: var(--coral);
}
.school-poster {
  display: block;
  margin-top: 16px;
}
.school-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a.button,
summary {
  cursor: pointer;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b35032;
  outline-offset: 4px;
}
a:hover {
  color: var(--green);
}
button:hover,
.button:hover {
  filter: brightness(0.96);
}
svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 2rem;
  line-height: 1.35;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.1rem;
}
p + p {
  margin-top: 1em;
}
ul,
ol {
  padding-left: 1.5em;
}
li + li {
  margin-top: 0.55em;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: #fff;
}
.skip:focus {
  top: 10px;
}
.site-header {
  max-width: 1100px;
  margin: auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 750;
  font-size: 1.5rem;
}
.brand img {
  width: 38px;
  height: 44px;
  object-fit: contain;
}
.brand-sub {
  font-size: 0.82rem;
  font-weight: 500;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.1em;
}
.hospital-name {
  text-align: right;
  font-size: 0.82rem;
}
.hospital-name > span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
main {
  max-width: 1040px;
  margin: auto;
  padding: 28px 32px 48px;
}
main > section + section {
  margin-top: 36px;
}
main > section.welcome {
  margin-top: 0;
}
.welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-radius: 20px;
  padding: 30px 36px;
  margin-bottom: 22px;
}
.welcome h1 {
  font-family: "Songti SC", SimSun, serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 10px 0 12px;
}
.welcome p:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}
.welcome img {
  width: 150px;
  max-height: 175px;
  object-fit: contain;
  margin-left: 20px;
}
.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.07em;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #9bad9f;
  border-radius: 12px;
  background: #fff;
  padding: 6px 6px 6px 16px;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  line-height: 1.5;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #243c34;
}
.search input::placeholder {
  color: #6b786f;
}
.search button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 17px;
  border-radius: 9px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
}
.search button {
  flex-shrink: 0;
}
.button.secondary {
  background: #fff;
  color: var(--green);
  border: 1px solid #acbdb0;
}
.stage-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--soft);
  border-radius: 12px;
  margin-top: 16px !important;
}
.stage-card strong {
  font-size: 1rem;
}
.stage-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-heading a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--green);
  min-height: 44px;
}
.section-heading svg {
  width: 18px;
}
.focus-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 23px;
  border-bottom: 1px solid var(--line);
  min-height: 64px;
}
.content-row:last-child {
  border-bottom: 0;
}
.content-row:hover {
  background: #f2f7f2;
}
.content-row > span {
  min-width: 0;
}
.content-row strong {
  display: block;
  font-weight: 650;
  line-height: 1.5;
}
.content-row small {
  display: block;
  color: var(--green);
  font-size: 0.75rem;
  margin-bottom: 4px;
}
.content-row span > span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
  line-height: 1.6;
}
.content-row > svg {
  width: 20px;
  color: var(--green);
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.quick-links > a {
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.quick-links svg {
  margin-bottom: 12px;
  color: var(--green);
}
.quick-links strong {
  font-size: 1rem;
}
.quick-links span {
  font-size: 0.8rem;
  color: var(--muted);
}
.help-strip {
  padding: 22px;
  border-left: 4px solid var(--coral);
  border-radius: 4px 12px 12px 4px;
  background: #fff0e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.help-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.help-strip svg {
  color: var(--coral);
}
.help-strip strong {
  display: block;
  color: #763627;
}
.help-strip span > span {
  display: block;
  font-size: 0.83rem;
  color: #765d51;
}
.help-strip .button {
  background: #8e4232;
}
.question-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.question-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 12px;
  gap: 12px;
}
.question-links svg {
  width: 18px;
  color: #738578;
}
.hospital-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
}
.hospital-intro > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hospital-intro > div {
  padding: 32px;
}
.hospital-intro h2 {
  margin: 10px 0 16px;
}
.hospital-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.site-footer {
  max-width: 976px;
  margin: 0 auto;
  padding: 28px 24px 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}
.site-footer p + p {
  margin-top: 8px;
}
.bottom-nav {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  padding: 8px max(16px, calc((100vw - 800px) / 2))
    max(10px, env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  min-height: 48px;
  font-size: 0.82rem;
}
.bottom-nav a[aria-current] {
  color: var(--green);
  font-weight: 700;
}
.bottom-nav a[aria-current] svg {
  background: var(--soft);
  box-sizing: content-box;
  padding: 3px 15px;
  border-radius: 20px;
  margin: -3px -15px;
}
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  z-index: 50;
}
@media (max-width: 640px) {
  :root {
    font-size: 17px;
  }
  .site-header {
    padding: 14px 18px;
  }
  .brand {
    font-size: 1.25rem;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 37px;
  }
  .brand-sub {
    font-size: 0.7rem;
  }
  .hospital-name {
    font-size: 0.72rem;
  }
  .hospital-name > span {
    font-size: 0.7rem;
  }
  main {
    padding: 20px 18px 32px;
  }
  main > section + section {
    margin-top: 28px;
  }
  .welcome {
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .welcome h1 {
    font-size: 1.85rem;
    margin: 8px 0;
  }
  .welcome .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0;
  }
  .welcome p:last-child {
    font-size: 0.8rem;
    max-width: 215px;
  }
  .welcome img {
    width: 84px;
    margin-left: 8px;
  }
  .stage-card {
    padding: 14px;
    gap: 10px;
  }
  .stage-card p {
    font-size: 0.77rem;
  }
  .stage-card .button {
    padding: 9px 12px;
    font-size: 0.82rem;
  }
  .search {
    gap: 8px;
    padding-left: 12px;
  }
  .search input {
    font-size: 0.88rem;
  }
  .search button {
    padding: 10px 13px;
  }
  .search > svg {
    width: 20px;
  }
  .section-heading {
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1.22rem;
  }
  .content-row {
    padding: 16px;
    gap: 12px;
  }
  .content-row strong {
    font-size: 1rem;
  }
  .content-row span > span {
    font-size: 0.82rem;
  }
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .quick-links > a {
    padding: 17px;
  }
  .help-strip {
    display: block;
    padding: 18px;
  }
  .help-strip .button {
    margin-top: 14px;
    width: 100%;
  }
  .question-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .question-links a {
    padding: 14px 8px;
    font-size: 0.9rem;
  }
  .hospital-intro {
    grid-template-columns: 1fr;
  }
  .hospital-intro > img {
    height: 190px;
  }
  .hospital-intro > div {
    padding: 24px;
  }
  .site-footer {
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.page-heading {
  margin-bottom: 22px;
}
.page-heading h1 {
  margin: 6px 0 12px;
}
.page-heading > p:last-child {
  color: var(--muted);
}
.catalog-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
  margin: 10px 0;
}
.catalog-bar a {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.filters {
  border-block: 1px solid var(--line);
  padding: 2px 0;
}
.filters > summary {
  font-size: 0.85rem;
  min-height: 44px;
  padding: 10px 0;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0;
}
.filter-grid label {
  font-size: 0.82rem;
}
select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #a3b4a7;
  border-radius: 8px;
  min-height: 44px;
  color: #243c34;
  background: white;
}
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  color: var(--green);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.85rem;
}
.result-count {
  color: var(--muted);
  font-size: 0.82rem;
  padding: 12px 0;
}
#catalog-results {
  margin-top: 0;
}
.empty-state {
  text-align: center;
  border: 1px solid var(--line);
  padding: 32px 20px;
  border-radius: 14px;
  background: #fff;
}
.empty-state img {
  object-fit: contain;
  height: 90px;
}
.empty-state h2 {
  margin: 14px 0 8px;
}
.empty-state p {
  color: var(--muted);
}
.empty-state > a {
  display: block;
  font-size: 0.9rem;
  color: var(--green);
  margin-top: 18px;
  min-height: 44px;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.muted {
  color: var(--muted);
  font-size: 0.85rem;
}
.space-bottom {
  margin-bottom: 18px;
}
.reading {
  max-width: 820px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.article-heading {
  padding: 8px 0 24px;
}
.article-heading h1 {
  margin: 8px 0 12px;
}
.article-heading .subtitle {
  color: var(--muted);
  margin-bottom: 12px;
}
.meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.article-heading.compact {
  padding: 0 0 16px;
}
.article-heading.compact h1 {
  font-size: 1.65rem;
  line-height: 1.4;
}
.answer {
  background: var(--soft);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 4px 12px 12px 4px;
  margin-bottom: 26px;
}
.answer > span {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 650;
  display: block;
  margin-bottom: 8px;
}
.answer p {
  font-size: 1.08rem;
}
.article-prose {
  font-size: 1.04rem;
  line-height: 1.9;
}
.article-prose .lead {
  color: var(--muted);
  margin: 18px 0;
}
.article-section {
  margin: 32px 0;
}
.article-section h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.article-section h3 {
  margin: 20px 0 10px;
}
.article-section p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.article-section ul {
  margin-block: 15px;
}
.article-section li {
  white-space: pre-line;
}
.callout {
  background: var(--cream);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.callout strong {
  display: block;
  color: var(--green);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.callout p {
  margin: 0;
}
.article-fold,
.sources {
  border-top: 1px solid var(--line);
  padding: 8px 0;
  margin: 12px 0;
}
.article-fold > summary,
.sources > summary {
  min-height: 44px;
  padding: 10px 0;
  font-weight: 600;
}
.article-fold p {
  margin: 14px 0;
}
.article-fold {
  font-size: 0.95rem;
}
.sources {
  font-size: 0.88rem;
}
.sources li > a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sources li > span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}
.review-meta {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}
.review-meta dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
.sources a {
  overflow-wrap: anywhere;
}
.related,
.visit-next {
  margin: 32px 0;
}
.related > h2 {
  margin-bottom: 16px;
}
.visit-next {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 24px;
  border-radius: 12px;
}
.visit-next h2 {
  margin-bottom: 12px;
}
.visit-next p {
  font-size: 0.95rem;
}
.visit-next .content-row {
  padding: 16px 0;
}
.article-actions {
  margin: 28px 0;
  text-align: center;
}
.urgent-panel {
  background: #fff0e9;
  border: 1px solid #e7bbab;
  border-left: 5px solid var(--coral);
  border-radius: 4px 12px 12px 4px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.urgent-panel .eyebrow {
  color: #8b402e;
  font-size: 0.8rem;
}
.urgent-panel h2 {
  color: #793b2c;
  margin: 5px 0 12px;
}
.urgent-answer {
  font-weight: 650;
  line-height: 1.7;
  color: #613529;
}
.urgent-panel h3 {
  font-size: 1rem;
  margin-top: 18px;
  color: #793b2c;
}
.urgent-panel ul {
  font-size: 0.95rem;
  margin: 10px 0 16px;
}
.urgent-panel .text-link {
  color: #793b2c;
}
.phone-actions {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.phone-actions .button {
  flex: 1;
  min-width: 200px;
  white-space: normal;
  justify-content: flex-start;
  gap: 14px;
}
.phone-actions span {
  font-size: 0.82rem;
  font-weight: 500;
}
.phone-actions strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: 0.015em;
}
.button.danger {
  background: #8c4231;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--green);
}
.stage-dialog {
  max-width: 460px;
  width: calc(100% - 32px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #243c34;
  background: #fbfaf6;
}
.stage-dialog::backdrop {
  background: rgba(20, 43, 31, 0.45);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-heading button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--green);
  background: var(--soft);
}
.stage-dialog > p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 12px 0 22px;
}
.stage-dialog label {
  display: block;
  margin: 16px 0 8px;
}
.stage-dialog form > .button {
  width: 100%;
  margin-top: 22px;
}
.stage-dialog #week-hint {
  margin-top: 10px;
}
.stage-dialog #clear-stage {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
[hidden] {
  display: none !important;
}
.check-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding: 6px 0;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 20px 0;
}
.check-toolbar > span {
  margin-right: auto;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.checklist li {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  margin: 10px 0;
  break-inside: avoid;
}
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 48px;
  padding: 14px 16px;
  cursor: pointer;
}
.checklist input {
  width: 22px;
  height: 22px;
  margin: 5px 0 0;
  flex-shrink: 0;
  accent-color: var(--green);
}
.checklist input:checked + span {
  color: var(--muted);
  text-decoration: line-through;
}
.article-image {
  margin: 24px 0;
}
.article-image img {
  display: block;
  max-height: 340px;
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.video {
  margin: 24px 0;
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #1d2f28;
}
.video figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 8px;
}
.interaction {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 24px 0;
}
.interaction legend {
  font-weight: 700;
}
.interaction details {
  border-top: 1px solid var(--line);
  padding: 10px;
}
.interaction summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.service-overview {
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 0.95rem;
}
.service-overview h2 {
  font-size: 1rem;
  margin: 18px 0 8px;
}
.service-overview h2:first-child {
  margin-top: 0;
}
.service-overview .text-link {
  font-size: 0.85rem;
}
.service-photo {
  margin: 28px 0;
}
.service-photo img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}
.service-photo figcaption {
  font-size: 0.75rem;
  color: var(--muted);
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
}
.room-grid figure { margin: 0; }
.room-grid img, .checklist-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.room-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px;
}
.checklist-poster { display: block; max-width: 620px; }
.service-group {
  padding: 4px 0 12px;
}
.service-group h3 {
  color: var(--green);
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  background: #fff;
}
th,
td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
th {
  font-size: 0.88rem;
  background: var(--soft);
  color: var(--green);
  font-weight: 650;
}
.timeline {
  border-left: 2px solid #afc3b4;
  padding-left: 20px;
}
.timeline details {
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.timeline summary {
  padding: 8px 0;
  font-weight: 650;
  color: var(--green);
  min-height: 44px;
}
.steps li {
  padding: 12px;
}
.notice {
  padding: 22px;
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.94rem;
  margin-block: 22px;
}
.notice h2 {
  margin-bottom: 14px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-cards > a {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.service-cards img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.service-cards a > div {
  padding: 20px;
}
.service-cards h3 {
  margin: 8px 0 12px;
}
.service-cards p {
  font-size: 0.88rem;
  color: var(--muted);
}
.service-cards .text-link {
  margin-top: 10px;
  font-size: 0.82rem;
}
.gallery {
  max-width: 740px;
  margin: auto;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}
.gallery figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 12px;
}
.gallery-controls > p {
  font-size: 0.85rem;
  color: var(--muted);
}
.arrival-card {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 26px;
  border-radius: 14px;
}
.arrival-card h2 {
  margin: 8px 0 12px;
}
.arrival-card .button {
  margin: 20px 8px 4px 0;
}
.arrival-card dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.arrival-card dt {
  font-weight: 650;
  color: var(--green);
}
.arrival-photo img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
}
@media (max-width: 640px) {
  .page-heading {
    margin-bottom: 16px;
  }
  .page-heading h1 {
    font-size: 1.6rem;
    margin: 4px 0 8px;
  }
  .page-heading > p:last-child {
    font-size: 0.88rem;
  }
  .catalog-bar {
    font-size: 0.77rem;
    margin-block: 6px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .reading {
    padding-top: 12px;
  }
  .back-link {
    margin-bottom: 2px;
  }
  .article-heading h1 {
    font-size: 1.6rem;
  }
  .article-heading.compact h1 {
    font-size: 1.42rem;
  }
  .article-heading.compact {
    padding-bottom: 12px;
  }
  .article-heading.compact .eyebrow {
    font-size: 0.73rem;
  }
  .article-heading .subtitle {
    font-size: 0.92rem;
  }
  .answer {
    padding: 18px;
  }
  .answer p {
    font-size: 1.02rem;
  }
  .article-section {
    margin: 28px 0;
  }
  .article-prose {
    font-size: 1rem;
    line-height: 1.9;
  }
  .urgent-panel {
    padding: 16px;
    margin-bottom: 20px;
  }
  .urgent-answer {
    font-size: 1rem;
  }
  .urgent-panel h2 {
    font-size: 1.18rem;
    margin-bottom: 8px;
  }
  .urgent-panel ul {
    font-size: 0.9rem;
    padding-left: 1.2em;
  }
  .urgent-panel .phone-actions {
    margin: 14px 0;
  }
  .phone-actions .button {
    min-width: 100%;
    padding: 12px 16px;
  }
  .phone-actions strong {
    font-size: 1.1rem;
  }
  .service-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-overview,
  .visit-next,
  .arrival-card {
    padding: 20px;
  }
  .arrival-card dl {
    grid-template-columns: 70px 1fr;
    gap: 12px;
    font-size: 0.92rem;
  }
  th,
  td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  .timeline {
    padding-left: 12px;
  }
  .timeline details {
    padding: 10px 12px;
  }
  .stage-dialog {
    padding: 20px;
  }
  .stage-dialog h2 {
    font-size: 1.15rem;
  }
  .check-toolbar .text-button {
    font-size: 0.8rem;
  }
  .table-scroll table {
    table-layout: fixed;
  }
  .reading .article-actions .button {
    width: 100%;
  }
}
@media print {
  .site-header,
  .bottom-nav,
  .site-footer,
  .search,
  .toast,
  .no-print,
  .phone-actions,
  .back-link {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main {
    padding: 0;
    max-width: none;
  }
  a {
    text-decoration: none;
  }
  .checklist li {
    break-inside: avoid;
  }
  .article-section {
    break-inside: auto;
  }
  .article-heading h1 {
    font-size: 22pt;
  }
  .checklist input {
    appearance: auto;
  }
  .article-section h2 {
    break-after: avoid;
  }
  .article-prose {
    font-size: 12pt;
  }
  .related,
  .visit-next,
  .sources,
  .article-fold {
    display: none;
  }
}

.filing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 16px;
}
.filing a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
}
.filing img {
  width: 20px;
  height: 20px;
}
.welcome img,
.brand img,
.empty-state img {
  mix-blend-mode: multiply;
}
.service-location {
  padding: 16px 18px;
  background: var(--soft);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 0.85rem;
}
.service-location a {
  color: var(--green);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.service-location span {
  width: 100%;
  color: var(--muted);
}
@media print {
  body:has([data-check]) .article-section:not(.safety) > p,
  body:has([data-check]) .lead,
  body:has([data-check]) .answer,
  body:has([data-check]) .subtitle,
  body:has([data-check]) .meta {
    display: none;
  }
  .urgent-panel .phone-actions {
    display: flex !important;
  }
  .urgent-panel .phone-actions a {
    color: #000;
    background: #fff;
    border: 1px solid #999;
  }
}

.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav .nav-help{color:var(--coral)}
[hidden]{display:none!important}
.remember-choice{display:flex;gap:10px;align-items:flex-start;font-weight:600}.remember-choice input{width:20px;height:20px;margin:4px 0 0;flex:none;accent-color:var(--green)}
.visit-journey{padding:22px;background:var(--soft);border-radius:14px;margin:24px 0}.visit-journey h2{font-size:1.15rem}.visit-journey ol{list-style:none;padding:0;margin:12px 0 18px}.visit-journey li+li{margin:0}.visit-journey .content-row{padding-left:0;padding-right:0}.visit-journey .actions{display:flex;gap:10px;flex-wrap:wrap}
.school-schedule [data-course-status]{color:var(--coral);white-space:nowrap}
.has-stage .welcome{padding:16px 22px}.has-stage .welcome h1{font-size:1.5rem;margin:6px 0}.has-stage .welcome h1 br{display:none}.has-stage .welcome>img{width:62px;height:74px}.has-stage .welcome p:last-child{display:none}
@media(max-width:414px){.visit-journey{padding:16px}.visit-journey .actions .button{width:100%;font-size:.85rem}.has-stage .welcome h1{font-size:1.25rem}.has-stage .welcome .eyebrow{font-size:.65rem}}


.storage-settings{display:inline-flex;align-items:center;min-height:44px;color:var(--green);margin-bottom:10px}
