:root {
  --primary: #0f3a5f;
  --primary-dark: #0b2e4b;
  --primary-light: #eef4fb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --success: #16a34a;
  --success-light: #ecfdf3;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --info: #0e7490;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, .18);
  --sidebar-w: 248px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { background: #f8fafc; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: #f1f5f9; color: var(--text); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 11px 20px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge-pendente { background: var(--warning-light); color: var(--warning); }
.badge-assinado { background: var(--success-light); color: var(--success); }
.badge-cancelado { background: var(--danger-light); color: var(--danger); }
.badge-active { background: var(--success-light); color: var(--success); }
.badge-inactive { background: var(--danger-light); color: var(--danger); }
.badge-admin { background: var(--primary-light); color: var(--primary); }
.badge-rh { background: var(--warning-light); color: var(--warning); }
.badge-filial { background: var(--bg); color: var(--text-2); font-weight: 600; white-space: nowrap; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #0f3a5f 0%, #0b2e4b 55%, #144d7a 100%);
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo svg { width: 26px; height: 26px; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.brand-sub { font-size: 12px; color: var(--text-3); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.login-hint {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-2);
}
.login-hint code { background: #fff; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--border); font-size: 12px; }

/* ---------- App shell ---------- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--primary);
  color: #dbe7f3;
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: transform .22s ease;
}
.sidebar-head {
  padding: 20px 20px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-head .brand-logo { width: 38px; height: 38px; background: rgba(255,255,255,.12); }
.sidebar-head .brand-name { color: #fff; font-size: 15px; }
.sidebar-head .brand-sub { color: #9fb6cc; }
.sidebar nav { flex: 1; padding: 14px 10px; overflow-y: auto; }
.sidebar nav .nav-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: #8fa8c0; padding: 12px 12px 6px; font-weight: 600;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #c6d7e8;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
  border: none; background: transparent; width: 100%; text-align: left;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item.active { background: var(--accent); color: #fff; }
.sidebar-foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.user-box { display: flex; align-items: center; gap: 10px; padding: 8px 6px; }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.user-box .user-name { color: #fff; font-weight: 600; font-size: 13px; line-height: 1.2; }
.user-box .user-role { color: #9fb6cc; font-size: 12px; }
.sidebar-foot .btn-ghost { color: #c6d7e8; width: 100%; justify-content: flex-start; }
.sidebar-foot .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.5);
  z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }

.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; gap: 14px;
}
.topbar-title { font-size: 16px; font-weight: 600; }
.topbar-spacer { flex: 1; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.topbar-user .user-name { font-size: 13px; font-weight: 600; }
.topbar-user .user-role { font-size: 12px; color: var(--text-3); }
.menu-toggle {
  display: none;
  background: none; border: none; color: var(--text);
  padding: 6px; border-radius: 8px;
}
.menu-toggle:hover { background: var(--bg); }
.menu-toggle svg { width: 22px; height: 22px; }

.content { padding: 24px; max-width: 1280px; width: 100%; margin: 0 auto; flex: 1; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-title { font-size: 22px; font-weight: 700; margin: 0; }
.page-desc { color: var(--text-2); margin: 4px 0 0; font-size: 14px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Dashboard cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 20px; }
.stat-label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.stat-value { font-size: 30px; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; }
.stat-value small { font-size: 15px; color: var(--text-3); font-weight: 500; }
.stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.stat-icon svg { width: 20px; height: 20px; }
.stat-icon.blue { background: var(--primary-light); color: var(--primary); }
.stat-icon.green { background: var(--success-light); color: var(--success); }
.stat-icon.orange { background: var(--warning-light); color: var(--warning); }
.stat-icon.red { background: var(--danger-light); color: var(--danger); }

.chart-card { padding: 20px; margin-bottom: 24px; }
.chart-card h3 { margin: 0 0 16px; font-size: 15px; }
.chart { display: flex; align-items: flex-end; gap: 14px; height: 220px; padding-top: 10px; }
.chart-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 6px; }
.chart-bar-wrap { display: flex; gap: 4px; align-items: flex-end; flex: 1; }
.chart-bar { flex: 1; border-radius: 6px 6px 0 0; min-height: 2px; transition: height .4s ease; }
.chart-bar.pending { background: var(--warning); }
.chart-bar.signed { background: var(--success); }
.chart-label { text-align: center; font-size: 11px; color: var(--text-2); }
.chart-legend { display: flex; gap: 18px; justify-content: center; margin-top: 10px; font-size: 12px; color: var(--text-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Tables ---------- */
.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-3); font-weight: 600; padding: 12px 14px;
  border-bottom: 1px solid var(--border); background: #f8fafc; white-space: nowrap;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:hover { background: #f8fafc; }
tbody tr:last-child td { border-bottom: none; }
.cell-main { font-weight: 600; }
.cell-sub { font-size: 12.5px; color: var(--text-3); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-btn {
  border: 1px solid var(--border); background: var(--card); color: var(--text-2);
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--primary-light); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-light); }
.icon-btn svg { width: 16px; height: 16px; }
.text-btn { border: none; background: none; color: var(--accent); font-weight: 500; padding: 4px 6px; border-radius: 6px; font-size: 13px; }
.text-btn:hover { background: var(--primary-light); text-decoration: none; }
.text-btn.danger { color: var(--danger); }
.text-btn.danger:hover { background: var(--danger-light); }

.empty {
  padding: 40px; text-align: center; color: var(--text-3);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty svg { width: 40px; height: 40px; opacity: .4; }

/* ---------- Filters bar ---------- */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
  padding: 16px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 16px;
}
.filters .field { margin-bottom: 0; min-width: 140px; flex: 1 1 140px; }
.filters .field.full { flex: 2 1 260px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.search-box { position: relative; flex: 1 1 220px; min-width: 200px; }
.search-box input { width: 100%; padding: 10px 12px 10px 36px; border: 1px solid var(--border); border-radius: var(--radius-sm); outline: none; }
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); }

/* ---------- Employee stats grid ---------- */
.emp-stats-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.emp-stat-card {
  flex: 1 1 120px; max-width: 160px; padding: 14px 12px; text-align: center;
  background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.emp-stat-card:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.emp-stat-card.active { border-color: var(--accent); background: rgba(37,99,235,.06); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.emp-stat-total.active { border-color: var(--success); background: rgba(34,197,94,.06); box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.emp-stat-count { font-size: 22px; font-weight: 800; color: var(--text-1); line-height: 1.1; }
.emp-stat-code { font-size: 11px; font-weight: 600; color: var(--text-3); font-family: monospace; margin-top: 2px; }
.emp-stat-label { font-size: 11px; color: var(--text-2); margin-top: 2px; line-height: 1.2; }

/* ---------- Competências ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.comp-card { padding: 18px; }
.comp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.comp-title { font-size: 16px; font-weight: 700; }
.comp-year { font-size: 12px; color: var(--text-3); font-weight: 500; }
.comp-type {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.comp-type-label { font-weight: 600; font-size: 14px; }
.comp-type-date { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.comp-stats { display: flex; gap: 10px; font-size: 12.5px; color: var(--text-2); flex-wrap: wrap; }
.comp-stats b { font-weight: 700; }
.comp-actions { display: flex; gap: 6px; }

/* ---------- Cards (employee) ---------- */
.welcome {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: 24px;
  margin-bottom: 20px; box-shadow: var(--shadow);
}
.welcome h2 { margin: 0 0 6px; font-size: 22px; }
.welcome p { margin: 0; color: #c9dcee; }
.welcome .count { font-weight: 700; color: #fff; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.doc-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.doc-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.doc-card-title { font-weight: 700; font-size: 15px; }
.doc-card-sub { font-size: 13px; color: var(--text-2); }
.doc-card-actions { display: flex; gap: 8px; margin-top: auto; }

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 16px;
}
.modal {
  background: var(--card); border-radius: 14px;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-in .18s ease;
}
.modal.lg { max-width: 760px; }
.modal.pdf { max-width: 1000px; }
@keyframes modal-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-title { font-size: 16px; font-weight: 700; margin: 0; }
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.modal-close { background: none; border: none; color: var(--text-3); padding: 4px; border-radius: 6px; }
.modal-close:hover { color: var(--text); background: var(--bg); }
.modal-close svg { width: 20px; height: 20px; }

.pdf-body { padding: 0; }
.pdf-frame { width: 100%; height: 78vh; border: none; display: block; border-radius: 0 0 14px 14px; background: #3a4a5a; }

/* Evidence list */
.ev-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ev-item:last-child { border-bottom: none; }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); margin-top: 7px; flex-shrink: 0; }
.ev-main { flex: 1; }
.ev-event { font-weight: 600; font-size: 13.5px; }
.ev-detail { font-size: 12.5px; color: var(--text-2); }
.ev-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 13.5px; }
.kv dt { color: var(--text-2); font-weight: 500; }
.kv dd { margin: 0; font-weight: 500; word-break: break-all; }
.kv.mono dd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }

.hash-box {
  background: #0f172a; color: #a5f3fc; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; padding: 10px 12px; border-radius: 8px; word-break: break-all;
}

/* ---------- Toasts ---------- */
#toasts { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast {
  background: var(--card); border-left: 4px solid var(--accent);
  border-radius: 10px; box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; gap: 10px; align-items: flex-start;
  animation: toast-in .2s ease;
}
@keyframes toast-in { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast-icon { flex-shrink: 0; }
.toast-icon svg { width: 18px; height: 18px; }
.toast.success .toast-icon svg { color: var(--success); }
.toast.error .toast-icon svg { color: var(--danger); }
.toast.warning .toast-icon svg { color: var(--warning); }
.toast-msg { font-size: 13.5px; color: var(--text); }

/* ---------- Validation page ---------- */
.validate-wrap { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.validate-nav { background: var(--primary); color: #fff; padding: 14px 24px; display: flex; align-items: center; gap: 12px; }
.validate-body { flex: 1; display: flex; justify-content: center; padding: 32px 16px; }
.validate-card { width: 100%; max-width: 560px; }
.validate-seal {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.validate-seal svg { width: 38px; height: 38px; }
.validate-seal.ok { background: var(--success-light); color: var(--success); }
.validate-seal.bad { background: var(--danger-light); color: var(--danger); }
.validate-title { text-align: center; font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.validate-sub { text-align: center; color: var(--text-2); margin: 0 0 22px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding: 14px 16px; }
.pagination .page-info { font-size: 13px; color: var(--text-2); margin-right: auto; }
.pagination button { min-width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); font-weight: 600; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Upload dropzone ---------- */
.dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 40px 20px; text-align: center; color: var(--text-2);
  cursor: pointer; transition: all .15s; background: #f8fafc;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--primary-light); color: var(--accent); }
.dropzone svg { width: 40px; height: 40px; margin-bottom: 10px; color: var(--text-3); }
.dropzone b { display: block; font-size: 15px; }
.dropzone span { font-size: 13px; }
.file-list { margin-top: 16px; }
.file-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; background: var(--card);
  font-size: 13px;
}
.file-item .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .meta { color: var(--text-3); font-size: 12px; }
.result-badge { font-weight: 600; font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
  .content { padding: 16px; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { margin-bottom: -6px; }
}
@media (max-width: 600px) {
  .stat-value { font-size: 24px; }
  .topbar-user .user-name { display: none; }
  .page-head { flex-direction: column; }
}

.spinner {
  width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner.dark { border-color: var(--border); border-top-color: var(--accent); }
.loading { display: flex; align-items: center; justify-content: center; padding: 60px; gap: 12px; color: var(--text-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.section-title { font-size: 16px; font-weight: 700; margin: 26px 0 14px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; width: 4px; height: 18px; background: var(--accent); border-radius: 2px; }
.section-title:first-child { margin-top: 0; }
.muted { color: var(--text-3); }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.branch-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; max-height: 220px; overflow-y: auto; padding: 8px; border: 1px solid var(--border); border-radius: 10px; }
.check-chip { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text-2); background: var(--bg); }
.check-chip:hover { border-color: var(--accent); }
.check-chip input { accent-color: var(--accent); margin: 0; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
