:root { color-scheme: light; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; background: #eef3f8; color: #162033; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.page { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; padding: 32px 0 56px; }
.hero { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #0f766e, #155e75); color: white; box-shadow: 0 20px 50px rgba(15, 118, 110, .18); }
.hero h1 { margin: 4px 0 8px; font-size: 34px; }
.eyebrow { margin: 0; letter-spacing: .16em; text-transform: uppercase; opacity: .8; font-size: 12px; }
.muted { color: #6b7688; }
.hero .muted { color: rgba(255,255,255,.78); }
.actions { display: flex; gap: 12px; }
.card { margin-top: 22px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 14px 40px rgba(15, 23, 42, .08); border: 1px solid rgba(148, 163, 184, .2); }
.card h2 { margin: 0 0 14px; }
.message { min-height: 22px; margin: 0 0 18px; }
.message.error { color: #b91c1c; }
.message.success { color: #047857; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; font-size: 13px; color: #334155; }
.field b { color: #dc2626; margin-left: 3px; }
input { width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; }
input:focus { outline: 2px solid rgba(20, 184, 166, .25); border-color: #14b8a6; }
button { border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 700; cursor: pointer; background: #0f766e; color: white; }
button.ghost { background: #e2e8f0; color: #334155; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 6px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 28px; border-radius: 999px; background: #ccfbf1; color: #0f766e; font-weight: 800; }
.table-wrap { overflow: auto; margin-top: 14px; border: 1px solid #e2e8f0; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; white-space: nowrap; }
th { background: #f8fafc; color: #475569; position: sticky; top: 0; }
.empty { text-align: center; color: #94a3b8; padding: 30px; }
@media (max-width: 860px) { .hero { flex-direction: column; } .form-grid { grid-template-columns: 1fr; } }
