* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #F4F5F7; color: #1F1F1F; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; outline: none; border: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 24px; }
.card { background: #FFFFFF; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); padding: 24px; margin-bottom: 16px; }
.card h2 { font-size: 18px; margin-bottom: 16px; color: #1F1F1F; }
.card h3 { font-size: 14px; color: #666; margin-bottom: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all .15s; }
.btn-primary { background: #00B26F; color: #FFF; }
.btn-primary:hover { background: #00975F; }
.btn-primary:disabled { background: #B0B0B0; cursor: not-allowed; }
.btn-secondary { background: #F0F0F0; color: #333; }
.btn-secondary:hover { background: #E5E5E5; }
.btn-danger { background: #E54848; color: #FFF; }
.btn-danger:hover { background: #C73B3B; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

.input { width: 100%; padding: 10px 12px; border: 1px solid #DDD; border-radius: 6px; font-size: 14px; transition: border-color .15s; }
.input:focus { border-color: #00B26F; }
.input.error { border-color: #E54848; }
label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.form-row { margin-bottom: 16px; }
.form-row.row { display: flex; gap: 12px; }
.form-row.row > div { flex: 1; }

.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }
.alert-error { background: #FEE; color: #C73B3B; border: 1px solid #FCC; }
.alert-success { background: #E8F8F1; color: #00724C; border: 1px solid #B7E4D0; }
.alert-info { background: #EEF6FF; color: #1A4FA0; border: 1px solid #D0E2FA; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid #EEE; }
.table th { background: #FAFAFA; font-weight: 500; color: #555; font-size: 13px; }
.table tr:hover td { background: #FAFCFB; }

.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.tag-green { background: #E8F8F1; color: #00724C; }
.tag-yellow { background: #FFF7E0; color: #8A6500; }
.tag-red { background: #FEE; color: #C73B3B; }
.tag-gray { background: #F0F0F0; color: #666; }
.tag-blue { background: #EEF6FF; color: #1A4FA0; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: #FFFFFF; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.stat-card .label { font-size: 12px; color: #888; margin-bottom: 6px; }
.stat-card .value { font-size: 24px; font-weight: 600; color: #1F1F1F; }
.stat-card.green .value { color: #00B26F; }
.stat-card.yellow .value { color: #FF8800; }
.stat-card.red .value { color: #E54848; }

.nav { display: flex; gap: 4px; margin-bottom: 20px; background: #FFF; border-radius: 10px; padding: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); overflow-x: auto; }
.nav-item { padding: 10px 18px; border-radius: 6px; cursor: pointer; font-size: 14px; color: #666; transition: all .15s; white-space: nowrap; }
.nav-item.active { background: #00B26F; color: #FFF; }
.nav-item:not(.active):hover { background: #F4F5F7; }

.topbar { background: #FFFFFF; border-bottom: 1px solid #EEE; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.topbar .brand { font-size: 18px; font-weight: 700; color: #00B26F; }
.topbar .user { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #555; }
.topbar .logout { color: #E54848; cursor: pointer; font-size: 13px; }

.empty { text-align: center; padding: 60px 20px; color: #999; font-size: 14px; }