:root { --ink:#172621; --deep:#142622; --green:#40803c; --line:#d9ded8; --muted:#66716b; --cream:#f5f7f3; --error:#8f3f32; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--cream); font:15px/1.5 Arial, sans-serif; }
a { color:var(--green); }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px clamp(20px,5vw,72px); color:#fff; background:var(--deep); border-top:5px solid var(--green); }
.site-header h1, .login-card h1 { margin:4px 0 0; font-size:clamp(28px,4vw,44px); line-height:1.05; }
.eyebrow { margin:0; color:#9ed39e; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.header-actions { display:flex; align-items:center; gap:14px; }
.shell { width:min(1400px, calc(100% - 40px)); margin:28px auto 60px; }
.tabs { display:flex; gap:4px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.tabs a { padding:13px 18px; color:var(--muted); font-weight:700; text-decoration:none; border-bottom:3px solid transparent; }
.tabs a.active { color:var(--green); border-color:var(--green); }
.toolbar { display:flex; justify-content:space-between; gap:18px; align-items:end; margin-bottom:18px; }
.filters { display:flex; flex-wrap:wrap; gap:10px; align-items:end; }
label { display:grid; gap:5px; color:var(--ink); font-size:12px; font-weight:700; }
input, select { min-height:40px; padding:9px 11px; border:1px solid #c8d0c9; border-radius:3px; background:#fff; color:var(--ink); font:inherit; font-size:14px; }
.search input { min-width:245px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:9px 15px; border:1px solid var(--green); border-radius:3px; background:var(--green); color:#fff; font:inherit; font-weight:700; text-decoration:none; cursor:pointer; }
.button:hover { background:#306e2f; }
.button-light { background:#fff; color:var(--green); }
.button-light:hover { background:#edf4ec; color:var(--green); }
.export { white-space:nowrap; }
.table-meta { display:flex; gap:10px; align-items:center; margin:18px 0 8px; color:var(--muted); }
.table-meta strong { color:var(--ink); }
.table-meta span { margin-left:auto; }
.table-wrap { overflow:auto; background:#fff; border:1px solid var(--line); }
table { width:100%; min-width:850px; border-collapse:collapse; }
th, td { padding:13px 14px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { background:#eef3ed; color:var(--ink); font-size:12px; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; }
th a { color:inherit; text-decoration:none; }
tbody tr:hover { background:#fbfdfb; }
td small { display:block; margin-top:3px; color:var(--muted); }
.message { max-width:500px; white-space:normal; }
.empty { padding:34px; color:var(--muted); text-align:center; }
.pagination { display:flex; justify-content:center; align-items:center; gap:20px; margin-top:20px; }
.pagination a { font-weight:700; text-decoration:none; }
.login-page { display:grid; min-height:100vh; place-items:center; padding:20px; background:var(--deep); }
.login-card { width:min(100%, 420px); padding:36px; background:#fff; border-top:5px solid var(--green); box-shadow:0 20px 50px rgba(0,0,0,.2); }
.login-card form { display:grid; gap:18px; margin-top:24px; }
.muted { color:var(--muted); }
.alert { padding:12px 14px; background:#fff0ed; color:var(--error); }
@media (max-width:800px) { .site-header, .toolbar { align-items:flex-start; flex-direction:column; } .header-actions { width:100%; justify-content:space-between; } .filters { width:100%; } .filters label, .filters input, .filters select { width:100%; } .filters .button { width:100%; } .export { width:100%; } .table-meta span { margin-left:0; } }
