:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #6b756e;
  --line: #dce4de;
  --paper: #f6f8f5;
  --surface: #ffffff;
  --accent: #1f6b4f;
  --accent-dark: #174e3a;
  --warm: #c9893b;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.shell { width: min(680px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 80px; }
.announcement-panel { width: 100%; margin-bottom: 24px; padding: 18px 20px; background: #fffdf5; border: 1px solid #e5d9af; border-radius: 4px; }.announcement-list { display: grid; gap: 14px; }.announcement-item { padding-bottom: 14px; border-bottom: 1px solid #eee5c9; }.announcement-item:last-child { padding-bottom: 0; border-bottom: 0; }.announcement-item h2 { margin: 0 0 8px; font-size: 17px; }.announcement-item p { margin: 0; color: var(--muted); line-height: 1.7; white-space: pre-wrap; }.announcement-item img { display: block; width: 100%; max-width: 100%; height: auto; margin-top: 12px; }.announcement-empty { margin: 0; color: var(--muted); font-size: 13px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 700; }
.subtitle { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.search-panel, .result { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.search-panel { padding: 24px; box-shadow: 0 10px 30px rgba(23, 33, 27, .05); }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.search-row { display: flex; gap: 12px; }
input { flex: 1; min-width: 0; height: 48px; border: 1px solid #bdc9c0; border-radius: 4px; padding: 0 15px; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 107, 79, .13); }
button { height: 48px; border: 0; border-radius: 4px; padding: 0 24px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: var(--accent-dark); }
button:disabled { cursor: wait; opacity: .65; }
button span { margin-right: 5px; font-size: 20px; vertical-align: -1px; }
.status { min-height: 20px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.status.error { color: #b2473e; }.status.success { color: var(--accent); }.status.loading { color: var(--warm); }
.result { margin-top: 24px; padding: 30px; max-width: 680px; }
.result-section + .result-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.section-summary { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.guidance-list { display: grid; gap: 16px; margin: 0; }.guidance-list div { padding: 16px; background: #f5f8f5; border-left: 3px solid var(--warm); }.guidance-list dt { color: var(--muted); font-size: 13px; font-weight: 700; }.guidance-list dd { margin: 8px 0 0; line-height: 1.75; white-space: pre-wrap; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
h2 { font-size: 28px; }.badge { color: var(--accent-dark); background: #e8f1eb; border-radius: 4px; padding: 8px 10px; font-size: 13px; white-space: nowrap; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0 30px; }
.profile-grid div { display: grid; gap: 7px; }.profile-grid span, .inventory-heading span { color: var(--muted); font-size: 13px; }.profile-grid strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.inventory-heading { width: 100%; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }.section-heading h2, .inventory-heading h2 { font-size: 22px; font-style: italic; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; } th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; } th:first-child, td:first-child { width: calc(100% - 120px); } th:last-child, td:last-child { width: 120px; text-align: right; } th { background: #f0f4f0; color: var(--muted); font-weight: 700; } tbody tr:nth-child(even) { background: #f5f8f5; } tr:last-child td { border-bottom: 0; }.quantity { color: var(--accent-dark); font-weight: 700; text-align: right; }.total-row td { background: #e8f1eb; color: var(--accent-dark); font-weight: 700; border-top: 2px solid #c9dbce; }
@media (max-width: 600px) { .shell { width: min(100% - 24px, 680px); padding-top: 36px; }.search-panel, .result { padding: 16px; }.search-panel { margin-inline: -1px; width: calc(100% + 2px); }.search-row { flex-direction: column; gap: 10px; } input, button { min-height: 52px; } input { width: 100%; padding-inline: 14px; font-size: 17px; } button { width: 100%; padding-inline: 20px; }.profile-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }.section-heading { display: block; }.badge { display: inline-block; margin-top: 14px; } }
