:root { font-family: "Microsoft YaHei UI", system-ui, sans-serif; color: #172033; background: #f4f7fb; }
body { margin: 0; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 32px; background: #fff; border-bottom: 1px solid #e4e8f0; }
.top span, .login span { color: #2563eb; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 4px 0 0; font-size: 26px; }
h2 { margin: 0 0 12px; font-size: 17px; }
.button, button { border: 0; border-radius: 8px; background: #2563eb; color: #fff; padding: 10px 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.ghost { background: #eef4ff; color: #2563eb; }
.grid { padding: 24px 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card, .panel, .login, .empty { background: #fff; border: 1px solid #e4e8f0; border-radius: 8px; padding: 18px; box-shadow: 0 12px 32px rgba(23,32,51,.06); }
.card-head { display: flex; justify-content: space-between; align-items: center; }
.card-head img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #f8fafc; }
.card-head span { background: #f1f5f9; border-radius: 999px; padding: 5px 8px; color: #475467; font-size: 11px; font-weight: 800; }
.card p { color: #667085; font-size: 13px; line-height: 1.55; min-height: 62px; }
.card footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf1f6; padding-top: 12px; }
.card small, .hint, td small { display: block; color: #7b8794; font-size: 11px; }
.card a { color: #2563eb; font-weight: 800; text-decoration: none; }
.center { min-height: 100vh; display: grid; place-items: center; }
.login { width: min(360px, calc(100vw - 32px)); display: grid; gap: 12px; }
label, .stack { display: grid; gap: 8px; }
input { border: 1px solid #d9e1ec; border-radius: 7px; padding: 10px; }
.error { color: #dc4666; }
.ok { color: #0f766e; font-weight: 800; }
.admin-layout { padding: 24px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span { grid-column: 1 / -1; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid #edf1f6; padding: 10px; text-align: left; vertical-align: top; }
code { background: #f8fafc; border-radius: 6px; padding: 3px 5px; }
