:root { color-scheme: light; font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; color: #19332d; background: #f4f7f5; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1440px, calc(100% - 32px)); margin: 36px auto; }
header { margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; color: #17735e; font-weight: 700; letter-spacing: .08em; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.subhead { color: #52645f; font-size: 1.05rem; }
.card { background: white; border: 1px solid #dfe8e4; box-shadow: 0 10px 30px rgba(29, 61, 50, .08); border-radius: 18px; padding: clamp(24px, 5vw, 42px); }
h2 { margin-top: 0; }
form { display: grid; gap: 12px; max-width: 440px; }
label, .row span { font-weight: 700; }
input { min-height: 48px; border: 1px solid #aac0b8; border-radius: 9px; padding: 0 14px; font-size: 1.1rem; letter-spacing: .08em; }
button, .button-link { display: inline-block; border: 0; border-radius: 9px; padding: 13px 18px; background: #0d725a; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; width: fit-content; }
.hint, .dev-note { color: #61726d; line-height: 1.6; }
.dev-note { background: #fff6db; padding: 10px 14px; border-radius: 8px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #e8efec; }
.success { color: #09683e; font-weight: 700; }.warning { color: #9a5a00; font-weight: 700; }.error { color: #b42318; font-weight: 700; }
.table-wrap { overflow-x: auto; margin-top: 24px; } table { width: 100%; border-collapse: collapse; } th, td { padding: 12px; text-align: left; border-bottom: 1px solid #e7eeeb; vertical-align: top; } th { background: #f2f8f5; white-space: nowrap; } a { color: #0b6b98; }
details { margin-top: 20px; } li { overflow-wrap: anywhere; margin: 8px 0; }
.verification-card { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e8efec; }
.verification-image { display: block; width: 100%; max-width: none; max-height: none; margin: 16px 0; border: 1px solid #dfe8e4; border-radius: 8px; background: #fff; }
.verification-screen { cursor: crosshair; touch-action: manipulation; }
.verification-controls { display: flex; gap: 10px; margin: 0 0 16px; }
.secondary { background: #e7f0ec; color: #19332d; }
.secondary-link { margin-left: 10px; background: #e7f0ec; color: #19332d; }
.verification-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; max-width: 620px; }
.verification-form label, .verification-form input { display: block; }
.cancel-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: none; margin-top: 24px; }
.cancel-form .hint { margin: 0; }
.inline-form { display: inline-block; max-width: none; margin: 14px 0 0 10px; }
.inline-form:first-of-type { margin-left: 0; }
.assessment-button { background: #084741; }
.report-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 34px 0 24px; border-top: 3px solid #084741; border-bottom: 1px solid #cbd6d4; }
.report-head h2 { margin: 0 0 6px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.report-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.report-actions .secondary-link { margin: 0; }
.section-label { margin: 0 0 5px; color: #084741; font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.muted, .section-heading > p, .data-note { color: #61726d; }
.status-tag { display: inline-block; border: 1px solid #cbd6d4; padding: 8px 10px; color: #084741; font-size: 14px; }
.status-partial, .status-failed, .status-cancelled { color: #6d4d1d; border-color: #d8c7a7; }
.report-message { margin: 22px 0 8px; font-size: 17px; }
.metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 34px 0 64px; border-top: 1px solid #cbd6d4; border-bottom: 1px solid #cbd6d4; }
.metrics-grid article { min-width: 0; padding: 22px 18px; border-right: 1px solid #e5e5e2; }
.metrics-grid article:last-child { border-right: 0; }
.metrics-grid span, .metrics-grid small { display: block; color: #61726d; font-size: 12px; }
.metrics-grid strong { display: block; margin: 8px 0 5px; color: #084741; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 500; overflow-wrap: anywhere; }
.report-section { margin: 0 0 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 20px; }
.section-heading h3 { margin: 0; font-size: 32px; font-weight: 500; }
.section-heading > p { max-width: 560px; margin: 0; text-align: right; }
.section-heading.compact { margin-bottom: 16px; }
.split-section { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 56px; }
.definition-list { margin: 0; border-top: 1px solid #cbd6d4; }
.definition-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #e5e5e2; }
.definition-list dt, .definition-list dd { margin: 0; }
.definition-list dd { color: #084741; font-weight: 500; }
.category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #cbd6d4; }
.category-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid #e5e5e2; }
.category-list > div:nth-child(odd) { padding-right: 24px; }
.category-list > div:nth-child(even) { padding-left: 24px; border-left: 1px solid #e5e5e2; }
.category-list span { color: #61726d; white-space: nowrap; }
.ai-section { padding: 36px; background: #fafaf7; border-left: 4px solid #084741; }
.summary-callout { margin-bottom: 30px; font-size: 20px; line-height: 1.65; }
.summary-callout span, .observation-list span { color: #61726d; font-size: 12px; }
.observation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.observation-list article { padding: 15px 0; border-top: 1px solid #cbd6d4; }
.observation-list p { margin: 0 0 7px; }
.source-list { border-top: 1px solid #cbd6d4; }
.source-list article { display: grid; grid-template-columns: 90px minmax(220px, 1fr) 2fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #e5e5e2; }
.source-list article > span { color: #084741; font-size: 12px; text-transform: uppercase; }
.source-list article p, .source-list article small { margin: 0; color: #61726d; }
.source-list article small { grid-column: 2 / -1; font-size: 12px; }
.limitations { margin: 0 0 60px; padding: 26px 30px; background: #fafaf7; border-top: 1px solid #cbd6d4; }
.limitations h3 { font-weight: 500; }
.text-link { color: #084741; }
@media (max-width: 920px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid article { border-bottom: 1px solid #e5e5e2; }
  .split-section, .observation-list { grid-template-columns: 1fr; }
  .report-head, .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .report-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 22px, 1440px); margin-top: 18px; }
  .metrics-grid, .category-list { grid-template-columns: 1fr; }
  .category-list > div:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .source-list article { grid-template-columns: 1fr; gap: 6px; }
  .source-list article small { grid-column: auto; }
  .ai-section { padding: 24px 20px; }
}
