:root {
  color-scheme: light;
  --ink: #103e38;
  --text: #233b37;
  --muted: #4a625c;
  --green: #dff1eb;
  --paper: #f7faf8;
  --line: #c7d9d3;
  --amber: #ffba35;
  --red: #8e2427;
  --rose: #f9dedc;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Noto Sans Myanmar", "Myanmar Text", "Khmer UI", "Leelawadee UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--ink); text-underline-offset: .2em; }
button, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a65300; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.26; }
p + p { margin-top: .65rem; }
.wrap { max-width: 1460px; width: calc(100% - 48px); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid #e0eae6; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; }
.brand { display: flex; gap: 17px; align-items: center; font-size: clamp(1rem, 2.1vw, 1.7rem); line-height: 1.35; font-weight: 800; text-decoration: none; }
.brand em { font-style: normal; padding-left: 17px; border-left: 1px solid #76978f; }
.brand-mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 46px; background: var(--ink); color: white; clip-path: polygon(10% 3%, 50% 0, 90% 3%, 100% 15%, 98% 75%, 50% 100%, 2% 75%, 0 15%); font-size: 1.55rem; }
.head-tools { display: flex; align-items: center; gap: 13px; }
.language { appearance: none; min-height: 44px; padding: 7px 34px 7px 13px; border: 1px solid #76978f; border-radius: 11px; background: white; color: var(--ink); font-weight: 650; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; pointer-events: none; position: absolute; width: 7px; height: 7px; top: 43%; right: 14px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 11px; font-weight: 750; border: 1px solid transparent; padding: .5rem 1rem; text-decoration: none; cursor: pointer; line-height: 1.35; text-align: center; }
.button-help { color: var(--red); background: var(--rose); }
.button-primary { background: var(--amber); color: #142d28; }
.button-outline { color: white; border-color: #b7d5ce; }
.button-light { color: var(--ink); background: var(--green); border-color: var(--line); }
.button:hover { filter: brightness(.96); }
.page { padding-block: 32px 45px; min-height: 72vh; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; min-height: clamp(350px, 31vw, 460px); border-radius: 30px; overflow: hidden; background: var(--ink); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 3.3vw, 54px); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.3vw, 4.3rem); letter-spacing: -.04em; font-weight: 880; line-height: 1.13; }
.hero p { color: #eef8f5; margin-top: 1.05rem; font-size: clamp(1.02rem, 1.8vw, 1.48rem); }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 36px); }
.hero-actions .button { font-size: clamp(1rem, 1.48vw, 1.23rem); min-height: 53px; padding-inline: clamp(1rem, 2.1vw, 2rem); }
.hero-art { position: relative; min-height: 240px; }
.hero-art img { position: absolute; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.rotation-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--green); padding: 14px 24px; border-radius: 18px; margin-top: 22px; }
.rotation-title { display: flex; align-items: center; gap: 14px; }
.rotation-title strong { color: var(--ink); font-size: 1.22rem; }
.rotation-title span:last-child { border-left: 1px solid #85a9a0; padding-left: 14px; }
.section-title { border-inline-start: 6px solid var(--amber); padding-inline-start: 15px; border-radius: 4px; font-size: clamp(1.4rem, 2.7vw, 2.35rem); }
.index { margin-top: 34px; }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 17px; }
.index-card { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 15px; min-height: 83px; background: white; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-size: clamp(1.07rem, 1.65vw, 1.43rem); font-weight: 760; line-height: 1.35; }
.index-card:hover { border-color: #5b9384; background: #f0faf6; }
.icon { width: 1.45em; height: 1.45em; display: block; object-fit: contain; flex-shrink: 0; }
.icon-box { display: grid; place-items: center; background: var(--green); color: var(--ink); border-radius: 12px; width: 53px; height: 53px; flex: 0 0 53px; font-size: 1.45rem; }
.site-footer { border-top: 1px solid #dce7e2; padding: 19px 0 26px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.subpage { max-width: 1020px; }
.breadcrumb { display: inline-block; margin-bottom: 16px; font-weight: 650; }
.page-head { display: flex; align-items: flex-start; gap: 16px; padding: 26px 0 23px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.85rem, 4.5vw, 3.2rem); margin-bottom: .35rem; }
.page-head p { color: var(--muted); }
.panels, .columns { display: grid; gap: 15px; margin-block: 20px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.panel, .rotation-card, .printable { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(15px, 3vw, 26px); }
.panel h2, .rotation-card h2 { margin-bottom: 10px; font-size: 1.27rem; }
.panel p, .panel li, .rotation-card dd { overflow-wrap: anywhere; }
.full { grid-column: 1 / -1; }
.notice { background: #fff4d9; border-color: #e5c687; }
.notice a { display: inline-block; margin-top: 10px; }
.danger { background: #fff2f0; border-color: #efc5c2; }
.danger h2 { color: var(--red); }
.steps { list-style: none; display: grid; margin: 13px 0 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.steps li { border-radius: 12px; background: #ebf5f1; padding: 13px; }
.steps li strong { display: block; margin-top: 8px; color: var(--ink); }
.step-icon { background: #cfe9df; border-radius: 9px; display: grid; place-items: center; width: 43px; height: 43px; font-size: 1.1rem; color: var(--ink); }
.danger .steps li { background: #fff9f8; }
.phones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.phones .button { padding-inline: 14px; color: #fff; background: #86292a; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist label { display: flex; align-items: baseline; gap: 11px; padding: 8px 3px; cursor: pointer; }
.checklist li + li { border-top: 1px solid #e0ebe6; }
.checklist input { accent-color: #19594e; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; align-self: flex-start; transform: translateY(4px); }
.phrase { padding: 11px 13px; border-radius: 9px; background: #edf6f2; margin: 10px 0 0; }
.phrase span { display: block; }
.phrase span + span { color: var(--muted); margin-top: 3px; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.numbers div { padding: 11px 9px; border-radius: 10px; background: var(--green); color: var(--ink); text-align: center; }
.numbers b { font-size: clamp(1rem, 2.5vw, 1.6rem); display: block; }
.clock { display: grid; grid-template-columns: 6fr 14fr 4fr; margin: 14px 0 6px; }
.clock span { min-height: 21px; background: #438373; }
.clock span:first-child, .clock span:last-child { background: repeating-linear-gradient(135deg, #f3ca79 0 5px, #fae5b5 5px 10px); }
.clock span:first-child { border-radius: 6px 0 0 6px; }
.clock span:last-child { border-radius: 0 6px 6px 0; }
.clock-labels { position: relative; height: 1.6em; color: var(--muted); font: 600 .88rem/1.3 system-ui, sans-serif; }
.clock-labels span { position: absolute; }
.clock-labels span:nth-child(2) { left: 25%; transform: translateX(-50%); }
.clock-labels span:nth-child(3) { left: 83.333%; transform: translateX(-50%); }
.clock-labels span:last-child { right: 0; }
.week-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.week-controls [aria-pressed="true"] { background: var(--ink); color: white; }
.sheet-row { padding-block: 12px; border-top: 1px solid var(--line); }
.sheet-row h3 { margin-bottom: 6px; font-size: 1rem; }
.blank-line { min-height: 3rem; border-bottom: 1px dashed #91a6a0; }
.sheet-meta { margin: 10px 0; }
.rotation-card + .rotation-card { margin-top: 16px; }
.rotation-card dl { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 8px 14px; margin: 0; }
.rotation-card dt { font-weight: 720; color: var(--ink); }
.rotation-card dd { margin: 0; white-space: pre-line; }
.rotation-card .draft-note { margin-bottom: 14px; color: #674100; }
.sources { color: var(--muted); margin-top: 22px; display: flex; flex-wrap: wrap; gap: 5px 15px; }
@media (min-width: 1100px) {
  html[lang="zh-Hant"] .hero-copy { padding-inline: clamp(28px, 3.1vw, 52px) 13px; }
  html[lang="zh-Hant"] .hero h1 { font-size: clamp(2rem, 4vw, 4.15rem); }
}
@media (max-width: 830px) {
  .head { padding-inline: 0; }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art img { object-position: 55% center; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .head { flex-wrap: wrap; gap: 10px; }
  .brand { gap: 9px; width: 100%; }
  .brand-mark { width: 33px; height: 38px; flex-basis: 33px; font-size: 1.2rem; }
  .brand em { padding-left: 9px; }
  .head-tools { justify-content: space-between; width: 100%; gap: 8px; }
  .head-tools .button { padding-inline: .65rem; }
  .page { padding-top: 16px; }
  .hero { grid-template-columns: 1fr; border-radius: 20px; }
  .hero-copy { padding: 26px 19px; }
  .hero-art { min-height: 0; aspect-ratio: 1.8; }
  .hero-art img { object-position: center 41%; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 46px; padding-inline: .75rem; }
  .rotation-strip { flex-wrap: wrap; align-items: start; padding: 12px 13px; gap: 5px; border-radius: 13px; }
  .rotation-title { gap: 8px; }
  .rotation-title span:last-child { padding-left: 8px; }
  .index { margin-top: 25px; }
  .index-grid { gap: 8px; }
  .index-card { min-height: 61px; padding: 8px; gap: 7px; font-size: .98rem; }
  .icon-box { width: 37px; height: 37px; flex-basis: 37px; font-size: 1rem; border-radius: 8px; }
  .panels, .columns { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
  .steps li strong { margin: 0; }
  .steps li p { grid-column: 2; }
}
@media print {
  :root { background: white; color: black; }
  .site-header, .site-footer, .breadcrumb, .week-controls, .non-print { display: none !important; }
  .wrap { width: 100%; }
  .page { padding: 0; }
  .printable, .page-head { border: none; padding: 0; }
  .page-head h1 { font-size: 19pt; }
  .blank-line { min-height: 4rem; }
  .sheet-row { break-inside: avoid; }
}
.hero-copy, .index-card, .page-head, .rotation-title, .head-tools { overflow-wrap: anywhere; }
.clock-compare { margin-block: 14px 8px; }
.clock-compare .clock { margin-top: 5px; }
.clock-compare .clock + p { margin-top: 13px; }
.clock-approved { grid-template-columns: 6fr 16fr 2fr; }
.support-phone .button { color: var(--ink); background: var(--green); }

.brand-mark { display: block; object-fit: contain; background: none; clip-path: none; width: 48px; height: 44px; flex-basis: 48px; }
@media (max-width: 620px) { .brand-mark { width: 36px; height: 34px; flex-basis: 36px; } }
