:root {
  --ink: #17241c;
  --muted: #5c675f;
  --paper: #f3ecdf;
  --card: #fffaf2;
  --deep: #10261d;
  --green: #1d5c45;
  --cinnabar: #b6402c;
  --line: #e4d8c4;
  --gold: #8d6a32;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 0; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 7vw; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 700; letter-spacing: 0.04em; }
.brand span { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--cinnabar); color: #fff; font-family: var(--serif); }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; }

.hero { position: relative; margin: 0 4vw 28px; min-height: 560px; }
.slide { display: none; min-height: 560px; padding: 56px 48px; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.slide.on { display: grid; }
.slide[data-slide="0"] { background: var(--deep); color: #f6f1e6; }
.slide[data-slide="1"] { background: #efe4cf; color: var(--ink); }
.slide[data-slide="2"] { background: #241c16; color: #f6f1e6; }
.kicker { letter-spacing: 0.14em; font-size: 13px; margin: 0 0 14px; opacity: 0.8; }
.slide h1 { font-size: 46px; max-width: 12em; }
.slide .copy p { max-width: 36em; }
.actions { display: flex; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; background: var(--cinnabar); color: white; text-decoration: none; padding: 12px 18px; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn.slim { padding: 8px 12px; background: var(--green); }
.btn.warn { background: transparent; color: var(--cinnabar); border: 1px solid var(--cinnabar); }
.dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 8px; }
.dots button { width: 28px; height: 4px; border: 0; background: rgba(255,255,255,.35); padding: 0; cursor: pointer; }
.slide[data-slide="1"].on ~ .dots button, .hero:has(.slide[data-slide="1"].on) .dots button { background: rgba(23,36,28,.25); }
.hero:has(.slide.on) .dots button.on { background: var(--cinnabar); }

.mock { background: var(--card); color: var(--ink); padding: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.mock-bar { font-size: 12px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 10px; }
.mock table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mock th, .mock td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.path ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.path li { flex: 1; background: white; padding: 12px 8px; }
.path b { display: block; font-family: var(--serif); }
.path span { color: var(--muted); font-size: 13px; }
.path-note { font-size: 13px; color: var(--muted); }
.mock.card h3 { font-size: 26px; margin: 8px 0; }
.seal { display: inline-block; margin-top: 8px; border: 1px solid var(--cinnabar); color: var(--cinnabar); padding: 6px 10px; }

.claims, .steps, .coverage-note, .foot { padding: 10px 7vw 28px; }
.claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.claims article, .steps { border-top: 1px solid var(--line); padding-top: 18px; }
.claims h2, .steps h2 { font-size: 28px; margin-bottom: 8px; }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.coverage-note, .foot { color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }

.app-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; background: var(--deep); color: #f6f1e6; }
.app-top a { color: inherit; text-decoration: none; }
.shell { display: grid; grid-template-columns: 200px 1fr; min-height: calc(100vh - 64px); }
.side { padding: 18px; border-right: 1px solid var(--line); }
.side button { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 10px 8px; cursor: pointer; }
.side button.on { background: white; }
.main { padding: 28px; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 18px; margin-bottom: 16px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
table.data { width: 100%; border-collapse: collapse; background: var(--card); }
table.data th, table.data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
table.data th { font-weight: 600; color: var(--muted); }
.flag { color: var(--cinnabar); font-size: 13px; }
.muted { color: var(--muted); }
.tag { display: inline-block; border: 1px solid var(--line); padding: 0 6px; margin-right: 4px; font-size: 12px; }
.login-wrap { max-width: 420px; margin: 10vh auto; background: var(--card); padding: 28px; border: 1px solid var(--line); }
.login-wrap h1 { font-size: 32px; margin-bottom: 8px; }
label { display: block; margin: 12px 0 4px; }
input[type="text"], input[type="password"], input[type="file"], select, textarea {
  width: 100%; padding: 10px; background: white; border: 1px solid var(--line);
}
textarea { min-height: 120px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.error { color: var(--cinnabar); }
.brief h2 { font-size: 22px; margin: 12px 0 6px; }
.filters { display: flex; gap: 8px; margin-bottom: 12px; }
.filters input, .filters select { width: auto; }
@media (max-width: 900px) {
  .slide, .slide.on { display: block; padding: 32px 20px; min-height: 0; }
  .slide:not(.on) { display: none; }
  .claims, .steps ol { grid-template-columns: 1fr; }
  .slide h1 { font-size: 34px; }
  .shell { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
  .path ol { flex-direction: column; }
}
@media print {
  .app-top, .side, .row-actions, .no-print { display: none !important; }
  .shell { display: block; }
  body { background: white; }
}
