:root { --green:#1fc76a; --bg:#f4f6f8; --text:#1d1d1f; }
* { box-sizing: border-box; }
body { margin:0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; background: var(--bg); color: var(--text); }
a { color:#1aa85a; text-decoration:none; }
.layout { display:flex; min-height:100vh; }
.sider { width:220px; background:#143d2a; color:#fff; padding:24px 0; }
.sider .logo { padding:0 24px 20px; font-weight:700; }
.sider a { display:block; padding:12px 24px; color:#d7efe2; }
.sider a.on, .sider a:hover { background:#1fc76a; color:#fff; }
.main { flex:1; }
.top { height:56px; background:#fff; display:flex; align-items:center; justify-content:space-between; padding:0 24px; border-bottom:1px solid #eee; }
.content { padding:24px; }
.cards { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:16px; }
.stat { background:#fff; border-radius:12px; padding:20px 28px; min-width:140px; }
.stat b { font-size:28px; display:block; }
.stat span { color:#888; font-size:13px; }
.toolbar { margin-bottom:16px; display:flex; flex-wrap:wrap; gap:8px; }
.btn, button { background:var(--green); color:#fff; border:0; border-radius:8px; padding:8px 16px; cursor:pointer; display:inline-block; }
.btn { background:#e8eee9; color:#333; }
.btn.on, button { background:var(--green); color:#fff; }
table { width:100%; background:#fff; border-collapse:collapse; border-radius:12px; overflow:hidden; }
th, td { padding:12px; border-bottom:1px solid #f0f0f0; text-align:left; font-size:14px; }
.thumb { width:64px; height:64px; object-fit:cover; border-radius:8px; background:#fafafa; }
.thumb-wide { width:140px; height:60px; object-fit:cover; border-radius:8px; }
.form { background:#fff; padding:24px; border-radius:12px; max-width:560px; display:flex; flex-direction:column; gap:8px; }
.form input, .form select { height:40px; border:1px solid #e5e5e5; border-radius:8px; padding:0 12px; }
.preview-banner { width:351px; max-width:100%; height:150px; object-fit:cover; border-radius:12px; display:block; margin-bottom:8px; }
.muted { color:#888; }
.code { background:#fff; border-radius:12px; padding:16px; overflow:auto; font-size:12px; line-height:1.5; max-height:420px; }
.table { margin-top:8px; }
.login-body { min-height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(#d8f8d8, #f4f6f8); }
.login-card { width:360px; background:#fff; padding:32px; border-radius:16px; display:flex; flex-direction:column; gap:8px; }
.login-card h1 { margin:0; font-size:22px; }
.login-card p { margin:0 0 12px; color:#888; }
.inline { display:inline; }
button.link { background:none; color:#1aa85a; padding:0; border:0; cursor:pointer; font-size:14px; }

.dash-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
@media (max-width:1100px) { .dash-grid { grid-template-columns:1fr; } }
.panel { background:#fff; border-radius:12px; padding:18px 20px; }
.panel h3 { margin:0 0 14px; font-size:15px; font-weight:600; }
.bars { display:flex; flex-direction:column; gap:12px; }
.bars.mini { gap:8px; margin-top:12px; }
.bar-row { display:grid; grid-template-columns:52px 1fr 48px; align-items:center; gap:8px; }
.bar-label { color:#888; font-size:12px; }
.bar-track { height:10px; background:#eef3f0; border-radius:999px; overflow:hidden; }
.bar-track i { display:block; height:100%; width:0; background:#1fc76a; border-radius:999px; }
.bar-track i.c2 { background:#2f9eef; }
.bar-track i.c3 { background:#f5a623; }
.bar-row b { text-align:right; font-size:13px; }

.col-chart { display:flex; align-items:flex-end; justify-content:space-between; gap:8px; min-height:160px; padding-top:8px; }
.col { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; }
.col-val { font-size:12px; color:#666; min-height:16px; }
.col-bar { width:100%; max-width:36px; background:linear-gradient(180deg,#3be088,#1fc76a); border-radius:8px 8px 4px 4px; }
.col-day { font-size:11px; color:#999; }

.pie-wrap { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.pie { width:120px; height:120px; border-radius:50%; flex-shrink:0; box-shadow:inset 0 0 0 18px #fff; }
.pie-legend { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; font-size:13px; color:#555; }
.pie-legend i { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:8px; vertical-align:middle; }

.prop-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
@media (max-width:1100px) { .prop-cards { grid-template-columns:1fr; } }
.prop-card { border:1px solid #eef2f0; border-radius:12px; padding:14px 16px; background:#fafcfb; }
.prop-head { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.prop-dot { width:10px; height:10px; border-radius:50%; }
.prop-head strong { font-size:15px; }
.prop-head em { margin-left:auto; font-style:normal; color:#888; font-size:12px; }
.prop-nums { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.prop-nums div { text-align:center; }
.prop-nums b { display:block; font-size:20px; line-height:1.2; }
.prop-nums span { color:#888; font-size:12px; }
