* { margin:0; padding:0; box-sizing:border-box; font-family:"PingFang SC","Microsoft YaHei",sans-serif; }
body { background:#f2f4f8; color:#1f2430; }
header { background:linear-gradient(135deg,#1d4ed8,#4f46e5); color:#fff; padding:12px 22px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
header h1 { font-size:18px; }
header .note { background:rgba(255,255,255,.15); padding:4px 12px; border-radius:14px; font-size:12px; }
header .spacer { flex:1; }
header a { color:#fff; text-decoration:none; font-size:13px; background:rgba(255,255,255,.18); padding:6px 14px; border-radius:14px; }
.btn { border:none; border-radius:8px; padding:8px 16px; font-size:13px; cursor:pointer; font-weight:600; }
.btn-white { background:#fff; color:#1d4ed8; }
.btn-blue { background:#1d4ed8; color:#fff; }
.btn-green { background:#16a34a; color:#fff; }
.btn-red { background:#dc2626; color:#fff; }
.btn-orange { background:#ea580c; color:#fff; }
.btn-gray { background:#e5e7eb; color:#374151; }
.btn-sm { padding:4px 10px; font-size:12px; }
main { max-width:1150px; margin:18px auto; padding:0 16px 80px; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:14px; }
.card { background:#fff; border-radius:12px; padding:16px 18px; box-shadow:0 1px 3px rgba(0,0,0,.06); margin-bottom:14px; }
.card h3 { font-size:15px; margin-bottom:10px; display:flex; justify-content:space-between; align-items:center; }
.stat { font-size:24px; font-weight:700; color:#1d4ed8; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th { text-align:left; color:#9ca3af; font-weight:500; padding:6px 8px; border-bottom:1px solid #f3f4f6; font-size:12px; }
td { padding:7px 8px; border-bottom:1px solid #f9fafb; }
.badge { display:inline-block; padding:2px 9px; border-radius:10px; font-size:11px; font-weight:600; background:#dbeafe; color:#1d4ed8; }
.b-wait { background:#fef3c7; color:#b45309; }
.b-ok { background:#dcfce7; color:#15803d; }
.b-no { background:#fee2e2; color:#b91c1c; }
input, textarea, select { width:100%; padding:8px 10px; border:1px solid #d1d5db; border-radius:8px; font-size:13px; margin-bottom:8px; font-family:inherit; background:#fff; }
label { font-size:12px; color:#6b7280; display:block; margin-bottom:3px; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.kv { display:flex; justify-content:space-between; font-size:13px; padding:6px 0; border-bottom:1px dashed #f3f4f6; gap:8px; }
.kv span:last-child { font-weight:600; text-align:right; }
.tip { font-size:12px; color:#9ca3af; line-height:1.6; }
.proj { cursor:pointer; border:2px solid transparent; }
.proj.sel { border-color:#1d4ed8; }
.hidden { display:none; }
.toast { position:fixed; top:18px; left:50%; transform:translateX(-50%); background:#111827; color:#fff; padding:9px 20px; border-radius:22px; font-size:13px; z-index:99; opacity:0; transition:opacity .25s; pointer-events:none; }
.toast.show { opacity:1; }
.flow { font-size:12px; color:#6b7280; background:#eff6ff; border-radius:8px; padding:9px 12px; margin-bottom:14px; line-height:1.8; }
.sync { display:inline-block; width:8px; height:8px; border-radius:50%; background:#22c55e; margin-right:5px; animation:blink 1.5s infinite; }
@keyframes blink { 50% { opacity:.3; } }
/* 手机端外框（仅桌面显示，真手机上自动去掉） */
.phone-wrap { max-width:430px; margin:22px auto; background:#111; border-radius:34px; padding:12px; box-shadow:0 16px 44px rgba(0,0,0,.3); }
.phone-screen { background:#f2f4f8; border-radius:24px; overflow:hidden; min-height:640px; }
.phone-notch { height:22px; background:#111; display:flex; justify-content:center; align-items:center; }
.phone-notch span { width:110px; height:16px; background:#000; border-radius:9px; }
@media (max-width:520px) {
  .phone-wrap { margin:0; padding:0; border-radius:0; box-shadow:none; background:none; }
  .phone-screen { border-radius:0; min-height:100vh; }
  .phone-notch { display:none; }
  main { padding:0 0 80px; margin:0; }
}
