:root{--green:#6cb52d;--green-dark:#568f24;--grey:#58595b;--grey-light:#e6e7e8;--text:#222;--error:#c62828;--bg:#f7f7f7}*{box-sizing:border-box}html{font-size:18px}body{min-height:100vh;color:var(--text);background:var(--bg);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.5}main{max-width:1100px;margin:0 auto;padding:1.5rem 1rem 3rem}h1{color:var(--grey);margin:0 0 1rem;font-size:1.8rem}h2{color:var(--grey);margin:2rem 0 .75rem;font-size:1.3rem}a{color:var(--green-dark)}.stack{flex-direction:column;gap:1rem;display:flex}label{color:var(--grey);flex-direction:column;gap:.3rem;font-weight:600;display:flex}input,select{font:inherit;border:2px solid var(--grey-light);color:var(--text);background:#fff;border-radius:6px;padding:.6rem .75rem;font-weight:400}input:focus,select:focus{border-color:var(--green);outline:none}button{font:inherit;background:var(--green);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.7rem 1.4rem;font-weight:700}button:hover{background:var(--green-dark)}button:disabled{opacity:.6;cursor:default}.link-button{color:var(--grey);background:0 0;padding:.3rem .6rem;text-decoration:underline}.link-button:hover{color:var(--text);background:0 0}.error{color:var(--error);margin:0;font-weight:600}.success{color:var(--green-dark);margin:0;font-weight:600}.topbar{border-bottom:4px solid var(--green);background:#fff;align-items:center;gap:1rem;padding:.5rem 1rem;display:flex}.topbar-logo{width:auto;height:40px}.topbar-user{color:var(--grey);margin-left:auto}.topbar-nav{flex-wrap:wrap;gap:.25rem;display:flex}.topbar-link{color:var(--grey);border-radius:6px;padding:.45rem .8rem;font-weight:600;text-decoration:none}.topbar-link:hover{background:var(--grey-light);color:var(--text)}.topbar-link-active,.topbar-link-active:hover{background:var(--green);color:#fff}.login{text-align:center;max-width:420px;padding-top:4rem}.login form{text-align:left}.login-logo{width:100%;max-width:320px;height:auto;margin-bottom:1rem}.login h1{font-size:1.4rem}.card{border:1px solid var(--grey-light);background:#fff;border-radius:8px;padding:1.25rem}table{border-collapse:collapse;background:#fff;width:100%}th,td{text-align:left;border-bottom:1px solid var(--grey-light);padding:.6rem .75rem}th{color:var(--grey)}.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;gap:1.5rem;display:grid}
