:root {
  color-scheme: light;
  --text: #192321;
  --muted: #555f5b;
  --page: #f4f6f5;
  --line: #dbe3df;
  --accent: #185849;
  --paper: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--page); }
a { color: inherit; }
.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.mode { color: var(--muted); font-size: .875rem; }
main { padding-block: 48px 72px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.2; }
h2 { font-size: 1.25rem; }
p { color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { filter: brightness(.9); }
.secondary { background: white; color: var(--text); border-color: var(--line); }
.secondary:hover { background: var(--page); }
:focus-visible { outline: 3px solid #2c75bd; outline-offset: 3px; }
.message, .order { max-width: 600px; margin-inline: auto; }
.message p { margin-block: 14px 22px; }
.message > .button { margin-top: 12px; }
.order-heading, .total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.order-heading h1 { font-size: 1.65rem; }
.status { font-size: .875rem; font-weight: 650; border-radius: 7px; padding: 4px 8px; color: #754a16; background: #fff1db; }
.status.paid { color: #15513c; background: #e4f5ec; }
.status.cancelled { color: #782b32; background: #fce9eb; }
.details { display: grid; gap: 9px; margin: 24px 0; }
.details div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.total { border-top: 1px solid var(--line); padding-top: 16px; }
.total strong { font-size: 1.25rem; }
.order-action { margin-top: 22px; }
