:root {
  color-scheme: light;
  --ink: #172d28;
  --muted: #495f58;
  --green: #22584b;
  --green-dark: #15352f;
  --pale: #e4eee8;
  --edge: #d3dfd7;
  --canvas: #edf2ee;
  --paper: #fffef9;
  --red: #a93c2c;
  --warm: #ffb8a3;
  --focus: #bd503a;
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--green); text-underline-offset: .2em; }
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
a:focus-visible, button:focus-visible, h1:focus-visible, h2:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 3rem);
  background: var(--paper);
  border-bottom: 1px solid var(--edge);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  column-gap: .75rem;
  color: var(--ink);
  line-height: 1.3;
  text-decoration: none;
}
.wordmark .mark {
  display: inline-grid;
  place-items: center;
  min-width: 3.1rem;
  padding: .67rem .3rem;
  color: #fff;
  background: var(--green-dark);
  font: 750 .89rem / 1 system-ui, sans-serif;
  letter-spacing: .03em;
}
.wordmark small { display: block; margin-top: .17rem; color: var(--muted); font-size: .77rem; }
.tools, .page-nav, .footer-label, .qa-actions { display: flex; align-items: center; gap: .55rem; }
.tools button, .page-nav button, dialog button {
  min-height: 2.75rem;
  padding: .3rem .8rem;
  background: transparent;
  border: 1px solid #a4b6ad;
  border-radius: .3rem;
  white-space: nowrap;
}
.tools button:hover, .page-nav button:not(:disabled):hover, dialog button:hover { background: var(--pale); }
.projector-view .site-header { justify-content: flex-end; padding-block: .35rem; }
.projector-view .wordmark, .projector-view .footer-label span { display: none; }
.deck { width: min(100%, 102rem); margin-inline: auto; padding: .7rem clamp(.8rem, 2.3vw, 2.5rem) .9rem; }
progress {
  display: block;
  width: 100%;
  height: .24rem;
  margin-bottom: .74rem;
  border: 0;
  background: var(--edge);
  color: var(--red);
  accent-color: var(--red);
}
progress::-webkit-progress-bar { background: var(--edge); }
progress::-webkit-progress-value { background: var(--red); }
progress::-moz-progress-bar { background: var(--red); }

.slide {
  min-height: max(30rem, calc(100svh - 11rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .85rem;
  padding: clamp(1.7rem, 4.3vw, 4.6rem);
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: .55rem;
  overflow-wrap: anywhere;
}
.slide + .slide { margin-top: 1rem; }
.is-presenting .slide { margin-top: 0; }
.slide--dark { background: var(--green-dark); color: #fffdf5; border-color: var(--green-dark); }
.slide--dark a:not(.cta) { color: #e1f5e9; }
.slide--dark :focus-visible { outline-color: var(--warm); }
p, dl, dd, ol, figure, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.05vw, 5.15rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.85rem); }
h3 { font-size: clamp(1.2rem, 2.05vw, 2rem); }
p, dd, li { font-size: clamp(1rem, 1.55vw, 1.28rem); line-height: 1.58; }
.eyebrow { font-size: clamp(.88rem, 1.2vw, 1.06rem); color: var(--green); font-weight: 780; letter-spacing: .07em; }
.slide--dark .eyebrow { color: #b2dbc7; }
.accent { color: var(--warm); }
.lead { max-width: 44rem; color: var(--muted); font-size: clamp(1.08rem, 1.85vw, 1.55rem); }
.slide--dark .lead { color: #e0ece5; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.35rem, 4vw, 4.6rem); }
.cover-grid { align-items: center; }
.cover-grid h1, .cover-grid .lead { margin-block: 1rem; }
.cover-photo { position: relative; align-self: center; }
.cover-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: .4rem;
  background: #294f44;
}
.cover-photo figcaption {
  position: absolute;
  bottom: .65rem;
  right: .65rem;
  padding: .18rem .4rem;
  background: #18332c;
  color: #eff9f1;
  font-size: .7rem;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  margin-top: .25rem;
  padding: .6rem 1rem;
  border-radius: .28rem;
  background: var(--warm);
  color: #3b1c15;
  font-weight: 780;
  text-decoration: none;
}
.cta:hover { background: #ffd1c2; }
.sources {
  color: var(--muted);
  margin-top: .45rem;
  font-size: clamp(.79rem, 1.15vw, .98rem);
  line-height: 1.5;
}
.sources a { display: inline-block; margin-right: .8rem; font-weight: 650; }
.sources a:first-of-type:not(:first-child) { margin-left: .25rem; }
.slide--dark .sources, .slide--dark .action-note { color: #c3d8ce; }
.issue-grid, .story-grid, .action-grid { align-items: center; margin-top: .65rem; }
.number-panel { display: grid; gap: .85rem; }
.number-panel > div { border-top: 1px solid var(--edge); padding-top: .35rem; }
.number-panel strong, .number-panel span { display: block; }
.number-panel strong { color: var(--green); font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.12; font-variant-numeric: tabular-nums; }
.number-panel span { color: var(--muted); margin-top: .25rem; }
.entries { display: grid; gap: .78rem; }
.entries > div { border-top: 1px solid var(--edge); padding-top: .68rem; }
.entries dt { font-weight: 790; color: var(--green); margin-bottom: .2rem; font-size: clamp(1.02rem, 1.52vw, 1.32rem); }
.slide--dark .entries dt { color: #b2dbc7; }
.slide--dark .entries > div { border-color: #5f8073; }
.statement {
  padding: .3rem 0 .25rem clamp(.9rem, 2.3vw, 2.25rem);
  border-left: .32rem solid var(--red);
}
.overline { color: var(--green); font-size: clamp(.86rem, 1.1vw, .98rem); font-weight: 750; }
.statement-main { margin: .52rem 0; font-size: clamp(1.55rem, 3vw, 2.8rem); line-height: 1.32; font-weight: 770; }
.statement-main span { color: var(--red); }
.salary-chart { display: grid; gap: 1rem; margin-top: .6rem; }
.salary-chart > div { display: grid; grid-template-columns: minmax(12rem, .85fr) minmax(0, 1.4fr); gap: .7rem 1.7rem; align-items: center; }
.salary-chart dt { font-size: clamp(1.1rem, 1.7vw, 1.38rem); font-weight: 770; }
.salary-chart dt small { display: block; margin-top: .15rem; color: var(--muted); font-size: clamp(.83rem, 1.14vw, 1rem); font-weight: 500; }
.salary-chart dd strong { display: block; color: var(--ink); font-size: clamp(1.8rem, 3vw, 3rem); font-variant-numeric: tabular-nums; line-height: 1.2; }
.bar { display: block; width: var(--bar); margin-top: .3rem; height: .64rem; background: #84a99a; }
.bar--strong { background: var(--green); }
.salary-takeaway { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .85rem; padding-top: .6rem; border-top: 1px solid var(--edge); }
.salary-takeaway strong { color: var(--red); font-size: clamp(1.5rem, 2.8vw, 2.65rem); }
.paired { margin-top: .65rem; }
.paired > div { border-top: .28rem solid var(--green); padding-top: .8rem; }
.paired > div:nth-child(2) { border-top-color: var(--red); }
.paired h3 { margin: .35rem 0 .5rem; }
.takeaway { color: var(--green); font-weight: 710; margin-top: .35rem; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.55rem; margin-top: .4rem; }
.product-list > div { padding: .6rem 0; border-top: 1px solid var(--edge); }
.product-list dt { color: var(--green); font-size: clamp(1.32rem, 2.6vw, 2.5rem); font-weight: 790; }
.diagnosis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.6rem); margin-top: .7rem; padding-left: 1.25rem; }
.diagnosis li { padding: .55rem 0 0 .15rem; border-top: .22rem solid var(--green); }
.diagnosis li::marker { color: var(--green); font-weight: 800; font-size: 1.16rem; }
.diagnosis p { margin-top: .45rem; }
.role-list { display: grid; margin-top: .45rem; }
.role-list > div { display: grid; grid-template-columns: minmax(6rem, .28fr) minmax(0, 1fr); gap: .7rem 1.25rem; border-top: 1px solid var(--edge); padding: .64rem 0; }
.role-list dt { color: var(--green); font-weight: 790; font-size: clamp(1.12rem, 1.8vw, 1.56rem); }
.case-list > div:last-child dt { color: var(--red); }
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(.7rem, 2vw, 1.5rem); margin-top: .6rem; }
.phase { border-top: .27rem solid var(--green); padding: .72rem 0 0; }
.phase:last-child { border-top-color: var(--red); }
.phase ol { margin-top: .4rem; padding: 0; list-style: none; }
.phase li { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); align-items: baseline; gap: .26rem; padding: .32rem 0; border-bottom: 1px solid var(--edge); font-weight: 650; }
.phase b { color: var(--green); font-size: .83rem; font-variant-numeric: tabular-nums; }
.loop { background: var(--pale); color: #204d40; border-left: .27rem solid var(--green); margin-top: .25rem; padding: .62rem .75rem; font-weight: 720; }
.loop span { font-size: 1.45em; vertical-align: middle; line-height: 1; }
.action-grid .cta { margin-top: .8rem; }
.action-note { margin-top: .55rem; font-size: .86rem; }
.qa { display: grid; gap: .65rem; max-width: 52rem; margin-block: .7rem; }
.qa p { border-top: 1px solid #5f8073; padding-top: .6rem; font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.qa-actions { gap: 1rem; flex-wrap: wrap; }
.deck-footer { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 3.75rem; padding: .45rem .1rem 0; }
.footer-label span { color: var(--muted); font-size: .8rem; }
.page-nav { margin-left: auto; }
.page-nav button { min-width: 2.75rem; padding-inline: .4rem; font-weight: 800; }
.page-nav button:disabled { opacity: .37; }
output { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: .28rem; white-space: nowrap; }
dialog { width: min(calc(100% - 2rem), 43rem); max-height: min(38rem, calc(100% - 2rem)); padding: 1.2rem; border: 1px solid var(--edge); background: var(--paper); color: var(--ink); border-radius: .45rem; }
dialog::backdrop { background: rgb(11 29 23 / .63); }
dialog header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
dialog h2 { font-size: 1.5rem; }
dialog button { font-size: 1.25rem; min-width: 2.75rem; }
dialog ol { display: grid; gap: .15rem; margin-top: .65rem; padding-left: 2.3rem; }
dialog li { font-size: 1rem; }
dialog a { display: block; padding: .43rem .2rem; }
dialog a[aria-current="page"] { color: var(--red); font-weight: 800; }

@media (min-width: 761px) and (max-height: 780px) {
  .slide { padding-block: 2rem; }
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .wordmark { font-size: .86rem; gap: .45rem; }
  .wordmark .mark { min-width: 2.55rem; font-size: .72rem; padding-block: .61rem; }
  .wordmark small { font-size: .68rem; }
  .tools button { font-size: .81rem; padding-inline: .53rem; }
  .slide { min-height: 0; justify-content: start; padding: 1.5rem 1.15rem; }
  .split, .roadmap, .diagnosis { grid-template-columns: 1fr; row-gap: .95rem; }
  .cover-photo { justify-self: stretch; }
  .cover-photo img { aspect-ratio: 16 / 10; max-height: 21rem; }
  .salary-chart > div { grid-template-columns: 1fr; gap: .3rem; }
  .slide .lead { max-width: 32rem; }
  .sources { margin-top: .22rem; }
  .sources a { margin-bottom: .15rem; }
  .phase { padding-top: .5rem; }
  .phase li { padding-block: .27rem; }
  .footer-label span { display: none; }
}
@media (max-width: 380px) {
  .wordmark small { display: none; }
  .site-header { padding-inline: .65rem; gap: .5rem; }
  .tools { gap: .3rem; }
  .role-list > div, .product-list { grid-template-columns: 1fr; gap: .25rem; }
}
@page { size: 13.333in 7.5in; margin: 0; }
@media print {
  body { background: white; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-header, progress, .deck-footer, dialog { display: none !important; }
  .deck { width: 100%; max-width: none; padding: 0; }
  .slide, .slide[hidden] {
    display: flex !important;
    gap: .6rem;
    height: 7.5in;
    min-height: 0;
    padding: .58in .65in;
    border: 0;
    border-radius: 0;
    margin: 0 !important;
    break-after: page;
    break-inside: avoid;
  }
  .slide:last-child { break-after: auto; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35in; }
  .roadmap, .diagnosis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  h1 { font-size: 54pt; }
  h2 { font-size: 35pt; }
  h3 { font-size: 20pt; }
  p, dd, li { font-size: 13pt; }
  .sources { font-size: 10pt; }
}
