* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f2f4f8; color: #1c2733; }
.topbar { display: flex; align-items: center; gap: 14px; background: #11192e; color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 10; }
.brand-logo { height: 30px; width: auto; }
.brand-logo.sm { height: 20px; }
.topbar .back { color: #c9d6ea; text-decoration: none; font-size: 14px; white-space: nowrap; }
.topbar .title { display: flex; flex-direction: column; margin-right: auto; }
.topbar .title strong { font-size: 17px; }
.topbar .title .meta { font-size: 12px; color: #9fb2c8; }
.top-actions { display: flex; gap: 8px; }
.btn { display: inline-block; border: 1px solid #d5dce6; background: #fff; color: #1c2733; border-radius: 9px; padding: 8px 14px; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: #e8eefb; border-color: #44557a; }
.btn.primary { background: #d9480f; border-color: #d9480f; color: #fff; font-weight: 600; }
.btn.primary:disabled { opacity: .55; cursor: wait; }
.btn.wide { width: 100%; padding: 13px; font-size: 16px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 16px 12px 32px; }
.card { background: #fff; border-radius: 14px; padding: 18px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(17, 25, 46, .06); }
.card h2 { margin: 0 0 12px; font-size: 19px; }
.hint { color: #66758a; font-size: 13px; line-height: 1.6; }
.frow { display: flex; gap: 12px; }
.frow label { flex: 1; }
form label { display: block; font-size: 14px; color: #44557a; margin-bottom: 12px; }
form input, form select, form textarea { width: 100%; margin-top: 6px; padding: 11px 12px; font-size: 16px; border: 1px solid #d5dce6; border-radius: 9px; font-family: inherit; background: #fff; }
form label.block { display: block; }
.result { min-height: 22px; font-size: 14px; margin: 10px 0 0; }
.result.ok { color: #1d7a3a; }
.result.err { color: #c22525; }
.done-box { border: 1px solid #bfe3cc; background: #f2fbf5; border-radius: 12px; padding: 16px; }
.done-title { font-size: 17px; font-weight: 700; color: #1d7a3a; margin: 0 0 8px; }
.done-no { font-size: 20px; color: #d9480f; letter-spacing: .5px; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.step { flex: 1 1 0; min-width: 76px; text-align: center; font-size: 12px; color: #7a8798; padding: 8px 2px; border-radius: 8px; background: #eef2f9; }
.step.on { background: #11192e; color: #fff; font-weight: 600; }
.step.done { background: #e3f4ea; color: #1d7a3a; }
.step.closed { background: #fdecea; color: #c22525; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; margin: 12px 0; font-size: 14px; }
.kv dt { color: #7a8798; }
.kv dd { margin: 0; word-break: break-all; }
.imgs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.imgs figure { margin: 0; width: 150px; }
.imgs img { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid #e4e9f1; display: block; }
.imgs figcaption { font-size: 12px; color: #7a8798; margin-top: 4px; word-break: break-all; }
.imgs .filelink { display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; border-radius: 10px; border: 1px dashed #c9d4e4; color: #44557a; text-decoration: none; font-size: 13px; }
.sub-title { font-size: 15px; margin: 16px 0 4px; }
.tl-title { font-size: 15px; margin: 18px 0 6px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e4e9f1; }
.timeline li { position: relative; padding: 0 0 14px 12px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #d9480f; }
.timeline .t-at { color: #7a8798; font-size: 12px; display: block; }
.foot { display: flex; align-items: center; gap: 10px; justify-content: center; color: #7a8798; font-size: 13px; padding: 8px 0 4px; }
.foot .brand-logo { background: #11192e; border-radius: 6px; padding: 3px 8px; }
@media (max-width: 560px) {
  .topbar .title .meta { display: none; }
  .topbar .back { display: none; }
  .frow { flex-direction: column; gap: 0; }
  .imgs img, .imgs .filelink { width: 108px; height: 108px; }
  .imgs figure { width: 108px; }
}
