:root { color-scheme: light; font: 16px/1.55 "Microsoft YaHei UI", "PingFang SC", sans-serif; color: #182b28; background: #f1f5f0; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #20594a; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid #226353; outline-offset: 3px; }
.page { width: min(100% - 40px, 1080px); margin: 0 auto; }
.top { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 20px; padding: 22px 0 0; font-size: .875rem; }
header { padding: 24px 0 32px; max-width: 660px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.055em; line-height: 1.18; margin-bottom: 14px; }
h2 { font-size: 1.16rem; line-height: 1.35; }
h3 { font-size: 1rem; }
.muted, .intro { color: #4b635b; }
.intro { max-width: 36rem; }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 24px; background: #163831; border-radius: 14px; color: #fff; }
.summary > div { padding: 16px 22px; }
.summary > div + div { border-left: 1px solid #4f6a62; }
.summary dt { font-size: .85rem; color: #d4e6df; }
.summary dd { margin: 2px 0 0; font-size: 1.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(255px, .46fr); gap: 18px; align-items: start; }
.panel { background: #fff; border: 1px solid #d7e1da; border-radius: 14px; min-width: 0; }
.report-top { padding: 18px 18px 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
button { font: inherit; cursor: pointer; }
.tab { min-height: 36px; padding: 5px 13px; border: 1px solid #d7e1da; border-radius: 7px; background: #fff; color: #35574c; font-size: .875rem; }
.tab[aria-pressed="true"] { border-color: #b2d0c3; background: #e5f1eb; color: #174638; font-weight: 600; }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; }
.table th, .table td { padding: 10px 10px; border-top: 1px solid #e4ebe6; }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table th:last-child, .table td:last-child { padding-right: 18px; }
th { background: #f7f9f7; font-weight: 600; color: #4b635b; white-space: nowrap; }
.amount { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.selected { background: #f1f8f3; }
.row { border: 0; padding: 4px 2px; min-height: 30px; background: transparent; color: #174638; font: 600 .87rem ui-monospace, Consolas, monospace; text-decoration: underline; text-underline-offset: 3px; }
.status { color: #75411b; }
.status.matched { color: #245f4a; }
.notice { padding: 14px 18px; font-size: .875rem; }
.detail { padding: 18px; }
.detail h2 { margin-bottom: 9px; }
.detail p { margin: 0 0 14px; }
.source + .source { margin-top: 12px; }
.source { border-top: 1px solid #e4ebe6; padding-top: 10px; }
.source ul { margin: 6px 0 0; padding-left: 21px; font-size: .875rem; }
.source code { font: .85rem ui-monospace, Consolas, monospace; }
.preflight { margin-top: 18px; }
.preflight summary { padding: 13px 18px; color: #174638; font-weight: 600; cursor: pointer; border-radius: 14px; }
.preflight form { padding: 0 18px 18px; }
.preflight p { font-size: .875rem; }
.file-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 14px 0; }
.file-fields label { display: grid; gap: 4px; min-width: 0; font-size: .875rem; font-weight: 600; color: #35574c; }
.file-fields input { width: 100%; min-width: 0; padding: 6px; border: 1px solid #d7e1da; border-radius: 7px; background: #f7f9f7; font: inherit; color: #182b28; }
.file-fields ::file-selector-button { margin-inline-end: 8px; padding: 5px 9px; border: 1px solid #b2d0c3; border-radius: 5px; background: #fff; color: #174638; font: inherit; cursor: pointer; }
.preflight button { min-height: 36px; }
.preflight-result { margin-top: 12px; padding: 10px 12px; border-radius: 7px; background: #f1f8f3; font-size: .875rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.preflight-result:empty { display: none; }
.bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin: 20px 0 38px; padding: 16px 0; }
.download { font-size: .875rem; }
.offers { display: flex; flex-wrap: wrap; gap: 10px; }
.buy { display: inline-block; border-radius: 8px; padding: 11px 16px; background: #23614f; color: #fff; font-weight: 600; text-decoration: none; }
.buy:hover { background: #174638; }
.buy.service { background: #fff; color: #20594a; box-shadow: inset 0 0 0 1px #b2d0c3; }
.buy.service:hover { background: #e5f1eb; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .workspace { grid-template-columns: 1fr; }
  header { padding: 18px 0 24px; }
  .summary > div { padding: 12px 14px; }
}
@media (max-width: 510px) {
  .page { width: calc(100% - 28px); }
  .summary { margin-bottom: 16px; }
  .summary dt { font-size: .76rem; }
  .summary dd { font-size: 1.55rem; }
  .table th { white-space: normal; }
  .wide { display: none; }
  .bottom { align-items: flex-start; flex-direction: column; }
}
.offer-hint { flex-basis: 100%; font-size: .875rem; }
