:root {
  color-scheme: light;
  --vo-ink: #172126;
  --vo-muted: #56646b;
  --vo-paper: #fbfcfb;
  --vo-canvas: #eef3f1;
  --vo-line: #ccd8d4;
  --vo-green: #155e55;
  --vo-green-soft: #e8f5f1;
  --vo-rumor: #8a4b08;
  --vo-rumor-soft: #fff7e8;
  --vo-red: #9f1239;
  --vo-shadow: 0 16px 40px rgb(22 39 34 / 8%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--vo-canvas);
  color: var(--vo-ink);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Noto Sans TC", sans-serif;
}

a,
button,
select { -webkit-tap-highlight-color: transparent; }

a { color: var(--vo-green); }

.vo-site-header {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 14px 20px 0;
}

.vo-boundary-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.vo-boundary-nav a,
.vo-boundary-nav strong {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid var(--vo-line);
  border-radius: 9px;
  background: rgb(255 255 255 / 76%);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.vo-boundary-nav strong {
  border-color: var(--vo-green);
  background: var(--vo-green);
  color: white;
}

.vo-shell {
  width: min(100%, 860px);
  min-height: calc(100vh - 58px);
  margin: 0 auto;
  padding: 18px 20px 64px;
}

.vo-hero { margin-bottom: 14px; }

.vo-eyebrow {
  margin: 0 0 2px;
  color: var(--vo-green);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.vo-lede {
  max-width: 48rem;
  margin: 8px 0 0;
  color: var(--vo-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.vo-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--vo-line);
  border-radius: 10px;
  background: var(--vo-paper);
}

.vo-picker label {
  color: var(--vo-muted);
  font-size: .8rem;
  font-weight: 800;
}

.vo-picker select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 38px 8px 11px;
  border: 1px solid #9eb4ad;
  border-radius: 8px;
  background: white;
  color: var(--vo-ink);
  font: inherit;
  font-weight: 750;
}

.vo-progress {
  grid-column: 2;
  margin: -2px 0 0;
  color: var(--vo-muted);
  font-size: .74rem;
}

.vo-status {
  margin: 10px 0;
  color: var(--vo-muted);
  font-size: .82rem;
}

.vo-status-error {
  padding: 12px;
  border-left: 4px solid var(--vo-red);
  background: #fff1f2;
  color: var(--vo-red);
  font-weight: 750;
}

.vo-station {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--vo-line);
  border-top: 5px solid var(--vo-green);
  border-radius: 12px;
  background: var(--vo-paper);
  box-shadow: var(--vo-shadow);
}

.vo-station-header { margin-bottom: 12px; }

.vo-station-number {
  margin: 0 0 2px;
  color: var(--vo-green);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vo-station h2 {
  margin: 0;
  font-size: clamp(1.35rem, 5.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.vo-intelligence {
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 5px 8px;
  border: 1px solid #a9cec4;
  border-radius: 7px;
  background: var(--vo-green-soft);
  color: #164e46;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.vo-rumor {
  border-color: #e9c37c;
  background: var(--vo-rumor-soft);
  color: var(--vo-rumor);
}

.vo-case {
  margin: 0;
  padding: 14px 15px;
  border-radius: 10px;
  background: #102e2a;
  color: white;
}

.vo-case-label {
  margin: 0 0 5px;
  color: #9de2d2;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.vo-case-prompt {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 720;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.vo-reveal-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.vo-reveal-button {
  min-width: 0;
  min-height: 44px;
  padding: 8px 7px;
  border: 1px solid var(--vo-green);
  border-radius: 8px;
  background: white;
  color: var(--vo-green);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.vo-reveal-button[aria-expanded="true"] {
  background: var(--vo-green);
  color: white;
}

.vo-reveal-button:focus-visible,
.vo-picker select:focus-visible,
a:focus-visible {
  outline: 3px solid #70c7b6;
  outline-offset: 2px;
}

.vo-reveal {
  min-width: 0;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--vo-line);
  border-radius: 10px;
  background: white;
  overflow-wrap: anywhere;
  word-break: normal;
}

.vo-reveal h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.vo-frame-step + .vo-frame-step {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #e3e9e7;
}

.vo-step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--vo-green);
  font-weight: 850;
}

.vo-step-head small {
  color: var(--vo-muted);
  font-size: .7rem;
  font-weight: 750;
  white-space: nowrap;
}

.vo-point-list {
  margin: 7px 0 0;
  padding-left: 1.35rem;
}

.vo-point-list li { padding-left: 3px; }
.vo-point-list li + li { margin-top: 8px; }
.vo-point-list p { margin: 0; }

.vo-scope {
  display: inline-block;
  margin-top: 3px;
  color: var(--vo-muted);
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .035em;
}

.vo-not-applicable {
  margin: 6px 0 0;
  color: var(--vo-muted);
  font-size: .85rem;
}

.vo-source-claim,
.vo-device-source {
  min-width: 0;
  padding: 11px 0;
}

.vo-source-claim + .vo-source-claim,
.vo-device-source { border-top: 1px solid #e3e9e7; }

.vo-source-claim p { margin: 0; }
.vo-source-claim p + p { margin-top: 4px; }

.vo-claim-id {
  color: var(--vo-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.vo-source-list,
.vo-device-list,
.vo-visual-list {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.vo-source-list li,
.vo-device-list li,
.vo-visual-list li {
  min-width: 0;
  color: var(--vo-muted);
  font-size: .78rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vo-source-list li + li,
.vo-device-list li + li,
.vo-visual-list li + li { margin-top: 8px; }

.vo-source-list a,
.vo-source-list span,
.vo-device-list strong,
.vo-device-list span,
.vo-device-list code,
.vo-visual-list strong,
.vo-visual-list span,
.vo-visual-list a {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vo-visual-list img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
  border: 1px solid var(--vo-line);
  border-radius: 8px;
  background: #eef3f1;
}

.vo-device-source h4 { margin: 0 0 6px; }
.vo-device-source p { margin: 0; }

.vo-device-list code {
  margin-top: 3px;
  padding: 5px 6px;
  border-radius: 5px;
  background: #eef3f1;
  color: #31453f;
  font-size: .68rem;
  white-space: normal;
  word-break: break-all;
}

noscript {
  display: block;
  padding: 12px;
  border-left: 4px solid var(--vo-red);
  background: #fff1f2;
  color: var(--vo-red);
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .vo-site-header { padding: 10px 12px 0; }
  .vo-shell { padding: 13px 12px 48px; }
  .vo-boundary-nav { gap: 5px; }
  .vo-boundary-nav a,
  .vo-boundary-nav strong { padding: 6px 4px; font-size: .7rem; }
  .vo-lede { font-size: .82rem; line-height: 1.45; }
  .vo-picker { grid-template-columns: 1fr; padding: 8px 10px; }
  .vo-progress { grid-column: 1; }
  .vo-status { margin: 7px 0; }
  .vo-station { padding: 14px; }
  .vo-station-header { margin-bottom: 9px; }
  .vo-intelligence { margin-top: 6px; }
  .vo-case { padding: 12px; }
  .vo-case-prompt { font-size: 1rem; }
  .vo-reveal-controls { gap: 5px; margin-top: 10px; }
  .vo-reveal-button { padding-inline: 4px; font-size: .75rem; }
  .vo-reveal { padding: 12px; }
}

@media print {
  body { background: white; }
  .vo-site-header,
  .vo-picker,
  .vo-status,
  .vo-reveal-controls { display: none !important; }
  .vo-shell { width: 100%; padding: 0; }
  .vo-station { box-shadow: none; break-inside: avoid; }
}
