:root{color-scheme:light dark;--border:#d0d5dd;--bg-subtle:#f7f8fa;--accent:#2563eb;--danger:#dc2626}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111827;background:#fff}a{color:var(--accent)}table{border-collapse:collapse;width:100%}td,th{border:1px solid var(--border);padding:.5rem .75rem;text-align:left;font-size:.9rem}.badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.75rem;background:var(--bg-subtle);border:1px solid var(--border)}.layout-shell{display:flex;min-height:100vh}.layout-content{flex:1 1;padding:1.5rem 2rem}.card{border:1px solid var(--border);border-radius:8px;padding:1rem 1.25rem;margin-bottom:1rem}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.form-field{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem;max-width:360px}input,select{padding:.5rem;border:1px solid var(--border);border-radius:4px}button{padding:.5rem 1rem;border-radius:4px;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer}button.secondary{background:#fff;color:var(--accent)}.error-text{color:var(--danger)}