:root {
  --navy: #12263a;
  --teal: #0d9488;
  --teal-light: #ccfbf1;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --green: #16a34a;
  --green-light: #dcfce7;
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e2e5ea;
  --text: #1f2937;
  --muted: #6b7280;
  --radius: 10px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
header.topbar {
  background: var(--navy); color: #fff; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
header.topbar h1 { font-size: 18px; margin: 0; font-weight: 600; }
header.topbar .user { font-size: 13px; opacity: 0.85; display: flex; gap: 12px; align-items: center; }
.btn { border: none; border-radius: 6px; padding: 8px 14px; font-size: 13px; cursor: pointer; font-weight: 600; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-outline { background: transparent; border: 1px solid #ffffff55; color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
main { max-width: 1100px; margin: 0 auto; padding: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; }
.stat { text-align: center; padding: 14px; }
.stat .num { font-size: 26px; font-weight: 700; color: var(--navy); }
.stat .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-draft { background: #e5e7eb; color: #374151; }
.badge-submitted { background: var(--amber-light); color: var(--amber); }
.badge-approved { background: var(--green-light); color: var(--green); }
.badge-changes { background: var(--red-light); color: var(--red); }
.badge-rejected { background: var(--red-light); color: var(--red); }
.badge-complete { background: var(--teal-light); color: var(--teal); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-size: 12px; text-transform: uppercase; color: var(--muted); }
input, textarea, select { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; }
label { font-size: 12px; font-weight: 600; color: var(--muted); display: block; margin: 10px 0 4px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tab { padding: 10px 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.lo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 8px; margin-top: 8px; }
.lo-chip { border: 1px solid var(--border); border-radius: 6px; padding: 8px; font-size: 12px; }
.lo-chip.covered { background: var(--teal-light); border-color: var(--teal); }
.modal-bg { position: fixed; inset: 0; background: #00000066; display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal { background: #fff; border-radius: var(--radius); padding: 24px; width: 520px; max-width: 92vw; max-height: 88vh; overflow-y: auto; }
.hidden { display: none !important; }
.login-wrap { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-card { background: #fff; padding: 40px; border-radius: 14px; text-align: center; box-shadow: 0 8px 30px #00000018; }
.muted { color: var(--muted); font-size: 13px; }
