:root {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --ink: #0d1b33;
  --muted: #5b6b85;
  --line: #e3e8f2;
  --brand: #1f4fd8;
  --brand-2: #6d3df5;
  --brand-soft: #e8eeff;
  --ok: #0f9d6b;
  --ok-soft: #e1f6ee;
  --warn: #b86e00;
  --warn-soft: #fff1d9;
  --bad: #d23a3a;
  --bad-soft: #fde6e6;
  --info: #0b7fab;
  --info-soft: #e0f3fb;
  --grey-soft: #eef1f6;
  --wa: #25d366;
  --wa-dark: #075e54;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 27, 51, 0.05), 0 6px 20px rgba(13, 27, 51, 0.06);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); font-size: 14px; line-height: 1.45; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 13px; white-space: nowrap; transition: transform 0.08s, filter 0.15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--grey-soft); filter: none; }
.btn.ok { background: var(--ok); }
.btn.wa { background: var(--wa); color: #06351f; }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand strong { display: block; font-size: 16px; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: 11.5px; }
.logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 4px 12px rgba(31, 79, 216, 0.35); flex: none; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-bad { background: var(--bad-soft); color: var(--bad); }
.b-info { background: var(--info-soft); color: var(--info); }
.b-brand { background: var(--brand-soft); color: var(--brand); }
.b-grey { background: var(--grey-soft); color: var(--muted); }

/* polisblad */
.doc-page { background: #e9edf5; padding: 24px 16px; }
.doc { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }
.doc header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--brand); padding-bottom: 16px; margin-bottom: 24px; }
.doc h1 { font-size: 22px; margin-bottom: 18px; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { width: 200px; color: var(--muted); font-weight: 500; }
.doc .fine { color: var(--muted); font-size: 12px; margin-top: 28px; }
@media print { .no-print { display: none; } .doc-page { background: #fff; padding: 0; } .doc { box-shadow: none; } }
@media (max-width: 600px) { .doc { padding: 20px; } .doc th { width: 120px; } }
