body {
  background:
    radial-gradient(1200px 700px at 10% 20%, rgba(20,184,166,.10), transparent 55%),
    radial-gradient(900px 600px at 85% 30%, rgba(59,130,246,.10), transparent 55%),
    radial-gradient(900px 700px at 40% 95%, rgba(148,163,184,.10), transparent 60%),
    linear-gradient(180deg, #f8fafc, #eef2f7);
  background-size: auto;
  animation: none;
  color: #0f172a;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  min-height: 100vh;
  padding-bottom: 72px;
}
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.08);
  border-radius: 16px;
  color: #334155;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.96);
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: #16B6B0;
  border: none;
  box-shadow: 0 4px 15px rgba(22, 182, 176, 0.4);
  transition: all 0.3s ease;
  color: #ffffff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(22, 182, 176, 0.6);
}
.form-control {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #0f172a;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}
.form-control::placeholder {
  color: rgba(100, 116, 139, 0.9);
}
.form-control:focus {
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14), 0 10px 22px rgba(2, 6, 23, 0.06);
  outline: none;
}
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.emp-card { background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 16px; padding: 16px; text-align: center; box-shadow: 0 16px 36px rgba(2, 6, 23, 0.08); transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.emp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 184, 166, 0.1); border-color: rgba(20, 184, 166, 0.24); }
.emp-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid #16B6B0; margin: 0 auto 10px; background: #E6F7F4; }
.emp-name { font-weight: 700; color: #1F2937; }
.emp-role { color: #6B7280; font-size: 0.9rem; }
.emp-detail { display:flex; justify-content: space-between; color: #334155; font-size: 0.85rem; margin: 6px 0; }
.status-badge { display:inline-block; padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; }
.status-valid { background: rgba(34,197,94,0.12); color: #16A34A; }
.status-expiring { background: rgba(245,158,11,0.12); color: #D97706; }
.status-expired { background: rgba(239,68,68,0.1); color: #DC2626; }
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.18); display: none; z-index: 60; backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; align-items: center; justify-content: center; }
.modal-content { background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 16px; width: 100%; max-width: 860px; padding: 20px; box-shadow: 0 24px 60px rgba(2, 6, 23, 0.14); color: #0f172a; }
.modal-header { display:flex; align-items:center; gap:16px; margin-bottom: 20px; border-bottom-color: rgba(148, 163, 184, 0.18); background: rgba(248, 250, 252, 0.96); }
.modal-photo { width: 110px; height: 110px; border-radius: 50%; border: 4px solid #16B6B0; object-fit: cover; background:#E6F7F4; }
.file-upload-box { border: 2px dashed rgba(148, 163, 184, 0.28); border-radius: 12px; padding: 16px; text-align:center; transition: background .2s ease, border-color .2s ease; cursor: pointer; }
.file-upload-box:hover { background: rgba(20, 184, 166, 0.06); border-color: #16B6B0; }

.site-footer { position: fixed; left:0; right:0; bottom:0; width: 100%; text-align:center; color:#334155; font-size:0.95rem; font-weight:600; text-shadow: none; padding: 16px 24px; border-top: 1px solid rgba(148, 163, 184, 0.22); background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-radius: 0; z-index: 60; box-shadow: 0 -10px 30px rgba(2,6,23,0.08); }

.transports-theme .glass-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(148,163,184,0.2);
  box-shadow: 0 16px 36px rgba(2,6,23,0.08);
  color: #334155;
}
.transports-theme main, .transports-theme #cards-grid {
  color: #0f172a;
}
.transports-theme input, .transports-theme select, .transports-theme textarea {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
}
.transports-theme input::placeholder, .transports-theme textarea::placeholder {
  color: #6B7280;
}
.transports-theme table thead {
  background: rgba(248,250,252,0.96) !important;
}
.transports-theme th {
  color: #334155 !important;
}
.transports-theme tbody, .transports-theme table tbody {
  background: rgba(255,255,255,0.96) !important;
}
.transports-theme td {
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}
.transports-theme table tr:hover td {
  background: rgba(248, 250, 252, 0.96) !important;
}
.transports-theme .bg-white {
  background: rgba(255,255,255,0.96) !important;
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}
.transports-theme .bg-slate-50 {
  background: rgba(248,250,252,0.96) !important;
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}
.transports-theme .bg-slate-100 {
  background: rgba(20,184,166,0.08) !important;
  color: #0f766e !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}
.transports-theme #cards-grid > div {
  background: rgba(255,255,255,0.96) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #475569 !important;
}
.transports-theme .view-toggle {
  background: rgba(241,245,249,0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.transports-theme .view-toggle .bg-slate-100 {
  background: rgba(20,184,166,0.1) !important;
  color: #0f766e !important;
}
.transports-theme #bulk-bar {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
  color: #B91C1C !important;
}
.transports-theme [data-act] {
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}
.transports-theme .text-slate-700,
.transports-theme .text-slate-800 {
  color: #0f172a !important;
}
.transports-theme .text-slate-600 {
  color: #64748b !important;
}
.transports-theme .border-slate-200 {
  border-color: rgba(148, 163, 184, 0.18) !important;
}
.transports-theme.cq-light {
  color: #0f172a;
}
.transports-theme.cq-light .glass-nav {
  background: rgba(255,255,255,0.9);
  border-bottom-color: rgba(148,163,184,0.18);
  box-shadow: 0 10px 28px rgba(2,6,23,0.08);
}
.transports-theme.cq-light .glass-card {
  background: rgba(255,255,255,0.92);
  border-color: rgba(148,163,184,0.2);
  box-shadow: 0 16px 36px rgba(2,6,23,0.08);
  color: #334155;
}
.transports-theme.cq-light main,
.transports-theme.cq-light #cards-grid,
.transports-theme.cq-light .text-slate-100,
.transports-theme.cq-light .text-slate-700,
.transports-theme.cq-light .text-slate-800 {
  color: #0f172a !important;
}
.transports-theme.cq-light .text-slate-600,
.transports-theme.cq-light .text-slate-500 {
  color: #64748b !important;
}
.transports-theme.cq-light input,
.transports-theme.cq-light select,
.transports-theme.cq-light textarea {
  background: #ffffff !important;
  color: #1f2937 !important;
  border-color: rgba(148,163,184,0.28) !important;
}
.transports-theme.cq-light table thead,
.transports-theme.cq-light .bg-gray-50,
.transports-theme.cq-light .bg-slate-50 {
  background: rgba(248,250,252,0.96) !important;
  color: #334155 !important;
}
.transports-theme.cq-light tbody,
.transports-theme.cq-light table tbody,
.transports-theme.cq-light .bg-white {
  background: rgba(255,255,255,0.96) !important;
  color: #334155 !important;
  border-color: rgba(148,163,184,0.16) !important;
}
.transports-theme.cq-light td,
.transports-theme.cq-light th,
.transports-theme.cq-light .border-slate-200 {
  border-color: rgba(148,163,184,0.18) !important;
}
.transports-theme.cq-light .view-toggle {
  background: rgba(241,245,249,0.9);
  border: 1px solid rgba(148,163,184,0.18);
}
.transports-theme.cq-light .view-toggle button {
  color: #475569 !important;
}
.transports-theme.cq-light .view-toggle .bg-slate-100 {
  background: rgba(20,184,166,0.08) !important;
  color: #0f766e !important;
}
body.transports-theme.cq-light main,
body.transports-theme.cq-light #cards-grid {
  color: #0f172a !important;
}
body.transports-theme.cq-light .glass-nav button,
body.transports-theme.cq-light .glass-nav #lang-toggle,
body.transports-theme.cq-light .glass-nav #help-toggle {
  background: rgba(255,255,255,0.92) !important;
  color: #0f766e !important;
  border-color: rgba(148,163,184,0.22) !important;
  box-shadow: 0 10px 24px rgba(2,6,23,0.08);
}
body.transports-theme.cq-light .view-toggle {
  background: rgba(241,245,249,0.92) !important;
  border-color: rgba(148,163,184,0.2) !important;
}
body.transports-theme.cq-light .view-toggle button,
body.transports-theme.cq-light .view-toggle button.text-slate-700 {
  color: #475569 !important;
}
body.transports-theme.cq-light .view-toggle .bg-slate-100,
body.transports-theme.cq-light .view-toggle button.bg-slate-100 {
  background: rgba(20,184,166,0.1) !important;
  color: #0f766e !important;
}
body.transports-theme.cq-light tbody,
body.transports-theme.cq-light table tbody,
body.transports-theme.cq-light tbody.bg-white,
body.transports-theme.cq-light #records-tbody {
  background: rgba(255,255,255,0.96) !important;
  color: #334155 !important;
  border-color: rgba(148,163,184,0.16) !important;
}
body.transports-theme.cq-light #cards-grid > div,
body.transports-theme.cq-light #cards-grid > .text-center {
  background: rgba(255,255,255,0.96) !important;
  color: #475569 !important;
  border: 1px solid rgba(148,163,184,0.18) !important;
  box-shadow: 0 12px 28px rgba(2,6,23,0.08);
  border-radius: 16px;
}
body.cq-light .site-footer {
  color: #334155;
  text-shadow: none;
  border-top-color: rgba(148, 163, 184, 0.22);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 -10px 30px rgba(2,6,23,0.08);
}

body.cq-light {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  background-size: auto;
  animation: none;
  color: #0f172a;
}

body.cq-light .glass-nav {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}

body.cq-light .glass-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.08);
  color: #334155;
}

body.cq-light .form-control {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.28);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

body.cq-light .form-control::placeholder {
  color: rgba(100, 116, 139, 0.9);
}

body.cq-light main {
  color: #0f172a;
}

body.cq-light #licenses-body,
body.cq-light #contracts-body {
  color: #334155 !important;
}

body.cq-light main table thead {
  background: rgba(248, 250, 252, 0.96) !important;
}

body.cq-light main table thead th {
  color: #334155 !important;
}

body.cq-light main table tbody td {
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

body.cq-light main.max-w-7xl {
  color: #0f172a;
}

body.cq-light main.max-w-7xl #page-title {
  color: #0f172a;
  letter-spacing: 0.01em;
}

body.cq-light main.max-w-7xl .glass-card {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light main.max-w-7xl .glass-card:hover {
  border-color: rgba(20, 184, 166, 0.24) !important;
  box-shadow: 0 18px 40px rgba(20, 184, 166, 0.1);
}

body.cq-light main.max-w-7xl input.form-control,
body.cq-light main.max-w-7xl select.form-control,
body.cq-light main.max-w-7xl textarea.form-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

body.cq-light main.max-w-7xl input.form-control:focus,
body.cq-light main.max-w-7xl select.form-control:focus,
body.cq-light main.max-w-7xl textarea.form-control:focus {
  border-color: rgba(20, 184, 166, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14), 0 10px 22px rgba(2, 6, 23, 0.06) !important;
}

body.cq-light main.max-w-7xl thead[class*="bg-white/5"] {
  background: rgba(248, 250, 252, 0.96) !important;
}

body.cq-light main.max-w-7xl thead[class*="bg-white/5"] th {
  color: #334155 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  font-weight: 700;
}

body.cq-light main.max-w-7xl .divide-y[class*="divide-white/10"] > :not([hidden]) ~ :not([hidden]) {
  border-top-color: rgba(148, 163, 184, 0.14) !important;
}

body.cq-light main.max-w-7xl .text-slate-100 {
  color: #0f172a !important;
}

body.cq-light main.max-w-7xl .text-slate-300 {
  color: #475569 !important;
}

body.cq-light main.max-w-7xl .text-slate-400 {
  color: #64748b !important;
}

body.cq-light #modal-overlay > div {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

body.cq-light #modal-overlay > div > div {
  background: rgba(248, 250, 252, 0.96) !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

body.cq-light #modal-form {
  background: rgba(255, 255, 255, 0.98) !important;
}

body.cq-light #modal-form label,
body.cq-light #modal-title {
  color: #0f172a !important;
}

body.cq-light #modal-form input,
body.cq-light #modal-form select,
body.cq-light #modal-form textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

body.cq-light #modal-close {
  color: #475569 !important;
}

body.cq-light #modal-cancel {
  background: rgba(248, 250, 252, 0.96) !important;
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

body.cq-light #branch-modal > div {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.12) !important;
}

body.cq-light #branch-modal [style*="border-bottom:1px solid"] {
  border-bottom-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light #branch-modal .text-white {
  color: #0f172a !important;
}

body.cq-light #branch-modal .text-slate-400,
body.cq-light #branch-modal .text-slate-500 {
  color: #64748b !important;
}

body.cq-light #branch-modal .text-slate-300,
body.cq-light #branch-modal .text-slate-200 {
  color: #334155 !important;
}

body.cq-light #branch-modal [class*="bg-slate-"],
body.cq-light #branch-modal [class*="bg-white/"] {
  background-color: rgba(248, 250, 252, 0.9) !important;
}

body.cq-light #branch-modal [class*="border-slate-"],
body.cq-light #branch-modal [class*="divide-white/"],
body.cq-light #branch-modal [class*="border-white/"] {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light #branch-modal [style*="color:#fff"],
body.cq-light #branch-modal [style*="color: #fff"] {
  color: #0f172a !important;
}

body.cq-light #branch-modal [style*="color:#e2e8f0"],
body.cq-light #branch-modal [style*="color: #e2e8f0"] {
  color: #0f172a !important;
}

body.cq-light #branch-modal [style*="color:#94a3b8"],
body.cq-light #branch-modal [style*="color: #94a3b8"] {
  color: #64748b !important;
}

body.cq-light #branch-modal [style*="background:linear-gradient(145deg, #0b1220, #0f172a)"],
body.cq-light #branch-modal [style*="background: linear-gradient(145deg, #0b1220, #0f172a)"] {
  background: rgba(255, 255, 255, 0.98) !important;
}

body.cq-light #branch-modal [style*="background:rgba(2,6,23"],
body.cq-light #branch-modal [style*="background: rgba(2,6,23"] {
  background: rgba(248, 250, 252, 0.96) !important;
}

body.cq-light #branch-modal [style*="background:rgba(17,24,39"],
body.cq-light #branch-modal [style*="background: rgba(17,24,39"] {
  background: rgba(248, 250, 252, 0.96) !important;
}

body.cq-light #branch-modal [style*="background:rgba(255,255,255,0.04"],
body.cq-light #branch-modal [style*="background: rgba(255,255,255,0.04"] {
  background: rgba(248, 250, 252, 0.96) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light main .glass-card:hover {
  background: rgba(255, 255, 255, 0.96) !important;
}

body.cq-light main .glass-card .text-white {
  color: #0f172a !important;
}

body.cq-light main .glass-card .text-slate-300,
body.cq-light main .glass-card .text-slate-200 {
  color: #334155 !important;
}

body.cq-light main .glass-card .text-slate-400,
body.cq-light main .glass-card .text-slate-500 {
  color: #64748b !important;
}

body.cq-light main .glass-card [class*="bg-slate-"],
body.cq-light main .glass-card [class*="bg-white/"] {
  background-color: rgba(248, 250, 252, 0.92) !important;
}

body.cq-light main .glass-card [class*="border-slate-"],
body.cq-light main .glass-card [class*="divide-white/"],
body.cq-light main .glass-card [class*="border-white/"] {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light main [style*="repeating-linear-gradient(90deg, rgba(59,130,246,0.9)"],
body.cq-light main [style*="repeating-linear-gradient(90deg, rgba(59, 130, 246, 0.9)"] {
  background: repeating-linear-gradient(90deg, rgba(20, 184, 166, 0.92) 0, rgba(20, 184, 166, 0.92) 14px, rgba(226, 232, 240, 0.96) 14px, rgba(226, 232, 240, 0.96) 28px) !important;
}

body.cq-light main .glass-card img[src="/olayan-mark.svg"],
body.cq-light main .glass-card img[src*="/olayan-mark.svg"],
body.cq-light main .glass-card img[src*="/logos/CompliQ.svg"],
body.cq-light #branch-modal img[src="/olayan-mark.svg"],
body.cq-light #branch-modal img[src*="/olayan-mark.svg"],
body.cq-light #branch-modal img[src*="/logos/CompliQ.svg"] {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.34), rgba(59, 130, 246, 0.28), rgba(99, 102, 241, 0.24)) !important;
  border-color: rgba(20, 184, 166, 0.34) !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

main span[class*="bg-green-900/30"][class*="text-green-400"][class*="border-green-800/50"],
main span[class*="bg-red-900/30"][class*="text-red-400"][class*="border-red-800/50"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

body.cq-light main span[class*="bg-green-900/30"][class*="text-green-400"][class*="border-green-800/50"] {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.24) !important;
}

body.cq-light main span[class*="bg-red-900/30"][class*="text-red-400"][class*="border-red-800/50"] {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
}

body.cq-light #attachments-modal.modal-overlay {
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
}

body.cq-light #attachments-modal .modal-content {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(148, 163, 184, 0.2);
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.14);
}

body.cq-light #attachments-modal .modal-header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.96);
}

body.cq-light #attachments-modal #att-title {
  color: #0f172a !important;
}

body.cq-light #attachments-modal #att-close {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  color: #0f172a;
}

body.cq-light #attachments-modal #att-pick {
  background: rgba(20, 184, 166, 0.1) !important;
  border-color: rgba(20, 184, 166, 0.22) !important;
  color: #0f766e !important;
}

body.cq-light #attachments-modal #att-save {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.24) !important;
  color: #047857 !important;
}

body.cq-light #attachments-modal #att-clear {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
  color: #b91c1c !important;
}

body.cq-light #attachments-modal #att-cat {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

body.cq-light #attachments-modal #att-list > div[style*="background:rgba(15,23,42"],
body.cq-light #attachments-modal #att-list > div[style*="background: rgba(15,23,42"] {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light #attachments-modal #att-list [style*="color:#e2e8f0"],
body.cq-light #attachments-modal #att-list [style*="color: #e2e8f0"] {
  color: #0f172a !important;
}

body.cq-light #attachments-modal #att-list [style*="color:#cbd5e1"],
body.cq-light #attachments-modal #att-list [style*="color: #cbd5e1"] {
  color: #334155 !important;
}

body.cq-light #attachments-modal #att-list [style*="color:#94a3b8"],
body.cq-light #attachments-modal #att-list [style*="color: #94a3b8"] {
  color: #64748b !important;
}

body.cq-light #attachments-modal #att-list [style*="background:#334155"],
body.cq-light #attachments-modal #att-list [style*="background: #334155"] {
  background: rgba(20, 184, 166, 0.1) !important;
  color: #0f766e !important;
}

body.cq-light #attachments-modal #att-list .att-row {
  border-color: rgba(148, 163, 184, 0.22) !important;
  background: rgba(248, 250, 252, 0.96) !important;
}

body.cq-light #attachments-modal #att-list .att-name {
  color: #0f172a !important;
}

body.cq-light #attachments-modal #att-list .att-preview {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light #attachments-modal #att-list .att-actions .btn,
body.cq-light #attachments-modal #att-list a.btn {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #334155 !important;
}

body.cq-light #attachments-modal #att-list button[data-del] {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
  color: #b91c1c !important;
}

body.cq-light td button[data-branch-action] {
  min-width: 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease !important;
}

body.cq-light td button[data-branch-action] > span {
  font-size: 14px !important;
  line-height: 1 !important;
}

body.cq-light td button[data-branch-action]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.10) !important;
}

body.cq-light td button[data-branch-action]:focus {
  outline: 2px solid rgba(20, 184, 166, 0.38) !important;
  outline-offset: 2px !important;
}

body.cq-light td button[data-branch-action="edit"] {
  background: rgba(20, 184, 166, 0.12) !important;
  border-color: rgba(20, 184, 166, 0.26) !important;
  color: #0f766e !important;
}

body.cq-light td button[data-branch-action="delete"] {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
  color: #b91c1c !important;
}

body.cq-light #branches-cards {
  --cq-branch-panel-bg: rgba(240, 253, 250, 0.82);
  --cq-branch-panel-border: #BDEDE6;
  --cq-branch-panel-shadow: 0 16px 34px rgba(2, 6, 23, 0.08);
}

body.cq-light #branches-cards [style*="color:#e2e8f0"],
body.cq-light #branches-cards [style*="color: #e2e8f0"] {
  color: #0f172a !important;
}

body.cq-light #branches-cards [style*="color:#94a3b8"],
body.cq-light #branches-cards [style*="color: #94a3b8"] {
  color: #475569 !important;
}

body.cq-light #branches-cards div[style*="background:rgba(15,23,42"],
body.cq-light #branches-cards div[style*="background: rgba(15,23,42"] {
  background: var(--cq-branch-panel-bg) !important;
  border-color: var(--cq-branch-panel-border) !important;
  box-shadow: var(--cq-branch-panel-shadow) !important;
}

body.cq-light #branches-cards details[style*="background:rgba(2,6,23"],
body.cq-light #branches-cards details[style*="background: rgba(2,6,23"],
body.cq-light #branches-cards details[style*="background:rgba(2, 6, 23"],
body.cq-light #branches-cards details[style*="background: rgba(2, 6, 23"] {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--cq-branch-panel-border) !important;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.08) !important;
}

body.cq-light #branches-cards div[style*="background:rgba(2,6,23"],
body.cq-light #branches-cards div[style*="background: rgba(2,6,23"],
body.cq-light #branches-cards div[style*="background:rgba(2, 6, 23"],
body.cq-light #branches-cards div[style*="background: rgba(2, 6, 23"] {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.cq-light #branches-cards summary {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.cq-light #branches-cards details {
  color: #0f172a !important;
}

body.cq-light #branches-cards details summary {
  color: #0f172a !important;
}

body.cq-light #branches-cards details [style*="color:#94a3b8"],
body.cq-light #branches-cards details [style*="color: #94a3b8"] {
  color: #475569 !important;
  font-weight: 600 !important;
}

body.cq-light #branches-cards details [style*="color:#e2e8f0"],
body.cq-light #branches-cards details [style*="color: #e2e8f0"] {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.cq-light #branches-cards button[onclick*="AttachmentHub.open"] {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(20, 184, 166, 0.22) !important;
  color: #0f766e !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08) !important;
}

body.cq-light #branches-cards button[onclick*="AttachmentHub.open"]:hover {
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.12) !important;
  transform: translateY(-1px) !important;
}

body.cq-light #branches-cards button[data-branch-action="edit"][data-branch-id] {
  background: rgba(20, 184, 166, 0.12) !important;
  border-color: rgba(20, 184, 166, 0.26) !important;
  color: #0f766e !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08) !important;
}

body.cq-light #branches-cards button[data-branch-action="edit"][data-branch-id]:hover {
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.12) !important;
  transform: translateY(-1px) !important;
}
