:root { color-scheme: light; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; background: #f5f7fb; color: #1e293b; }
* { box-sizing: border-box; }
body { margin: 0; }
.site-header { height: 64px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: #0f172a; color: #fff; }
.brand, .site-header a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; font-size: 18px; }
nav { display: flex; gap: 20px; align-items: center; }
nav form { margin: 0; }
.link-button { border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; padding: 0; }
.page-shell { max-width: 1120px; margin: 32px auto; padding: 0 20px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; box-shadow: 0 8px 28px rgba(15, 23, 42, .05); }
.login-card { max-width: 440px; margin: 72px auto; }
h1 { margin-top: 0; font-size: 26px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.button { display: inline-block; border: 0; border-radius: 7px; padding: 9px 16px; background: #2563eb; color: #fff; text-decoration: none; cursor: pointer; }
.button.secondary { background: #475569; }
.button.success { background: #047857; }
.button.small { padding: 6px 10px; font-size: 13px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cbd5e1; border-radius: 7px; padding: 9px 11px; font: inherit; }
.field textarea { min-height: 220px; resize: vertical; }
.validation { color: #b91c1c; font-size: 13px; }
.message { border-radius: 7px; padding: 10px 12px; margin-bottom: 16px; background: #ecfdf5; color: #065f46; }
.error { background: #fef2f2; color: #991b1b; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border-bottom: 1px solid #e2e8f0; padding: 11px 9px; text-align: left; vertical-align: top; }
th { background: #f8fafc; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 9px; background: #e2e8f0; font-size: 12px; }
.badge.live { background: #d1fae5; color: #065f46; }
.actions { display: flex; gap: 8px; align-items: center; }
.actions form { margin: 0; }
.muted { color: #64748b; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
