:root { --green:#294A3A; --beige:#EFE5CF; --text:#2B2B2B; }
* { box-sizing: border-box; }
body { margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--text); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; }
a { text-decoration:none; color:inherit; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding:14px 24px; background:#fff; border-bottom:1px solid #eee; position:sticky; top:0; z-index:10; }
.brand { font-weight:800; letter-spacing:1px; cursor:pointer; }
.menu a { margin-right:16px; padding:8px 10px; border-radius:10px; }
.menu a:hover { background:#f5f5f5; }
.auth { display:flex; gap:10px; align-items:center; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:40px; padding:0 18px; border-radius:999px; border:1px solid var(--green); background:var(--green); color:#fff; cursor:pointer; font-weight:600; font-size:14px; line-height:1; transition:background .15s ease, transform .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:hover { background:#244d3a; transform:translateY(-1px); box-shadow:0 8px 18px rgba(46,97,73,.14); }
.btn.outline { background:#fff; color:var(--green); }
.btn.outline:hover { background:#E8DAC0; color:var(--green); }
.btn:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(46,97,73,.18); }
.btn:disabled { opacity:.5; cursor:not-allowed; transform:none; box-shadow:none; }
.content { max-width:1100px; margin:24px auto; padding:0 16px; }
.card { background:#fff; border:1px solid #ece6d8; border-radius:16px; padding:18px; box-shadow:0 1px 2px rgba(31,31,31,.04), 0 14px 34px rgba(46,97,73,.05); }
h1 { font-size:32px; margin:0 0 16px 0; }
form .row { display:flex; gap:12px; }
.input { display:flex; flex-direction:column; margin-bottom:12px; flex:1; }
.input input, .input select { padding:10px 12px; border:1px solid #ddd3bc; border-radius:10px; transition: border-color .15s ease, box-shadow .15s ease; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { text-align:left; padding:10px; border-bottom:1px solid #eee; }
.badge { padding:4px 8px; border-radius:8px; background:#f3f3f3; font-size:12px; }
.actions { display:flex; gap:8px; }
.grid { display:grid; grid-template-columns: 1fr; gap:12px; }
@media (min-width: 900px) {
  .grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
}
.alert { padding:11px 14px; border-radius:12px; font-size:14px; line-height:1.4; border:1px solid transparent; }
.alert.error { background:#fdecea; border-color:#f5c2bd; color:#9b2c20; }
.alert.success { background:#e9f5ee; border-color:#b9e0c9; color:#1f6b52; }
.alert.warning { background:#fdf6e3; border-color:#f0dca0; color:#8a6d1a; }
.alert.info { background:#eaf1fc; border-color:#bcd2f5; color:#244e8f; }

/* ===== PREMIUM (globalne) ===== */
table { font-variant-numeric: tabular-nums; }
input:focus, select:focus, textarea:focus,
.input input:focus, .input select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(46,97,73,.13);
}
