:root { color-scheme: light; }
body { font-family: -apple-system, system-ui, sans-serif; margin: 0; padding: 0; background: #f4f4f2; color: #222; }
.wrap { max-width: 960px; margin: 0 auto; padding: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.topbar h1 { margin: 0; font-size: 22px; }
.totals { display: flex; gap: 24px; }
.totals .label { display: block; font-size: 12px; color: #777; }
.totals .value { font-size: 20px; font-weight: 500; }
.topbar-actions { display: flex; gap: 12px; align-items: center; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #ddd; font-size: 14px; }
tr.inactive { opacity: 0.4; }
.inline-form { display: inline-flex; gap: 4px; }
.card { background: #fff; border-radius: 12px; padding: 20px; max-width: 480px; }
.card label { display: block; margin-bottom: 12px; font-size: 13px; }
.card input, .card select { display: block; width: 100%; padding: 8px; margin-top: 4px; box-sizing: border-box; background: #fff; color: #222; }
input, select { background: #fff; color: #222; }
button { padding: 6px 12px; border-radius: 8px; border: 1px solid #ccc; background: #fff; color: #222; cursor: pointer; }
.login-wrap { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-card { width: 320px; }
.error { color: #a32d2d; }
