:root { font-family: Inter,"PingFang SC","Microsoft YaHei",sans-serif; color:#182230; background:#f5f7fa }
* { box-sizing:border-box }
body { margin:0 }
header { min-height:64px; background:#fff; border-bottom:1px solid #e5e9f0; display:flex; align-items:center; justify-content:space-between; padding:0 4%; position:sticky; top:0 }
.brand { font-weight:750; color:#2261c5; text-decoration:none; font-size:18px }
nav { display:flex; gap:20px; align-items:center; font-size:14px }
nav a { color:#344054; text-decoration:none }
nav span { color:#667085 }
nav form { margin:0 }
main { max-width:1400px; margin:34px auto; padding:0 28px }
h1 { font-size:26px; margin:0 0 8px }
.titlebar { display:flex; justify-content:space-between; align-items:center; margin-bottom:22px }
.titlebar p { color:#667085; margin:0 }
.title-actions { display:flex; gap:10px }
.button,button { border:0; border-radius:8px; padding:10px 16px; background:#2463d4; color:#fff; text-decoration:none; font-weight:650; cursor:pointer }
.button.secondary { background:#fff; color:#2463d4; border:1px solid #b9c9e8 }
.link { padding:0; background:none; color:#667085 }
.danger { background:#fff; color:#c62828; border:1px solid #f1b6b6 }
.search { display:flex; gap:10px; margin-bottom:18px; max-width:480px }
input,select { width:100%; border:1px solid #ccd3dd; border-radius:8px; padding:10px 12px; background:#fff; font:inherit }
.tablewrap,.card { background:#fff; border:1px solid #e2e7ee; border-radius:12px; overflow:auto; box-shadow:0 2px 8px #1d293908 }
.card { padding:24px }
.card table { width:100% }
table { border-collapse:collapse; min-width:850px }
th,td { text-align:left; padding:14px 16px; border-bottom:1px solid #edf0f4; white-space:nowrap }
th { font-size:12px; color:#667085; background:#fafbfc }
.tag { background:#f1f3f5; border-radius:20px; padding:4px 9px; font-size:12px }
.tag.yes { background:#e8f7ef; color:#147a45 }
.empty { text-align:center; color:#8a94a3; padding:50px }
.narrow { max-width:620px; margin:auto }
.narrow p { margin:18px 0 }
.narrow label { display:block; font-weight:650; margin-bottom:7px }
.narrow .check input { width:auto }
.actions { display:flex; gap:18px; align-items:center; margin-top:26px }
.actions a { color:#667085 }
.notice { padding:12px 16px; border-radius:8px; background:#e8f1ff; margin-bottom:18px }
.notice.error { background:#fff0f0; color:#a61b1b }
.notice.success { background:#e9f8ef; color:#147a45 }
.pager { display:flex; gap:18px; justify-content:center; margin:22px }
.pager a { color:#2463d4 }
pre { white-space:pre-wrap; max-width:450px }
.import-card { max-width:760px }
.import-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px }
.import-heading p { color:#667085; margin:6px 0 0 }
.import-tips { background:#f5f8fc; border-radius:10px; padding:16px 18px; margin:24px 0 }
.import-tips ol { margin:10px 0 0; padding-left:22px; color:#475467; line-height:1.8 }
.form-row { margin:20px 0 }
.form-row small { display:block; color:#667085; margin-top:7px }
.field-error { color:#b42318; margin-top:7px }
.import-card fieldset { border:0; padding:0; margin:24px 0 }
.import-card legend { font-weight:650; margin-bottom:10px }
.import-card fieldset ul { list-style:none; margin:0; padding:0 }
.import-card fieldset li { margin:10px 0 }
.import-card fieldset input { width:auto; margin-right:8px }
.import-errors { margin-top:28px; background:#fff4f2; border:1px solid #fecdca; border-radius:10px; padding:18px; color:#912018 }
.import-errors h2 { font-size:18px; margin:0 }
.import-errors p { margin:8px 0 }
.import-errors ul { max-height:260px; overflow:auto; padding-left:22px; line-height:1.7 }
@media(max-width:800px) {
  header { padding:16px; align-items:flex-start }
  nav { flex-wrap:wrap; gap:10px 16px; justify-content:flex-end }
  nav span { display:none }
  main { padding:0 14px; margin:22px auto }
  .titlebar { align-items:flex-end }
  .title-actions { flex-direction:column }
  .card { padding:16px }
  .import-heading { display:block }
  .import-heading .button { display:inline-block; margin-top:14px }
}
