/* Civadelia Navigation & Design System V1 — targeted at administrative staff workspaces.
   Preserve student, lecturer, public and per-institution identity layouts. */
body.co-ui-v1 .civa-nav-refresh {
  --co-bg: var(--bg);
  --co-surface-soft: var(--surface-2);
  --co-border: var(--border);
  --co-heading: var(--text);
  --co-ink: var(--text);
  --co-primary: var(--brand);
  --co-primary-hover: var(--brand-hover);
  --co-primary-strong: var(--brand-strong);
  --co-primary-soft: var(--brand-soft);
  --co-primary-faint: var(--brand-faint);
  --co-radius: var(--radius-md);
  --co-shadow: var(--shadow-sm);
  --co-sidebar-width: 264px;
  font-family: var(--font-sans);
}
body.co-ui-v1 .civa-nav-refresh .co-sidebar {
  background:#fff !important;
  color:#2c3440 !important;
  border-right:1px solid #e4e7eb !important;
  box-shadow:none !important;
}
body.co-ui-v1 .civa-nav-refresh .co-sidebar-brand {
  background:#fff !important; border-bottom:1px solid #e9ebef !important;
}
body.co-ui-v1 .civa-nav-refresh .co-brand-copy strong {color:#242a35 !important;font-size:14px}
body.co-ui-v1 .civa-nav-refresh .co-brand-copy small {color:#7d858f !important}
body.co-ui-v1 .civa-nav-refresh .co-sidebar-collapse {color:#737b85 !important}
body.co-ui-v1 .civa-nav-refresh .co-side-nav {scrollbar-color:#d4d9df transparent}
body.co-ui-v1 .civa-nav-refresh .co-nav-label {
  font-size:var(--fs-xs) !important;letter-spacing:.10em !important;
  color:#6c7480 !important;font-weight:750 !important;
  padding-top:5px !important;
}
body.co-ui-v1 .civa-nav-refresh .co-side-nav a {
  color:#4c5662 !important;
  font-size:12px !important;
  font-weight:530 !important;
  margin:1px 4px !important;
  border-radius:8px !important;
  background:transparent;
}
body.co-ui-v1 .civa-nav-refresh .co-side-nav a .co-icon {color:#858e9a !important}
body.co-ui-v1 .civa-nav-refresh .co-side-nav a:hover {
  color:#242a35 !important;background:#f4f5f7 !important;
}
body.co-ui-v1 .civa-nav-refresh .co-side-nav a.is-active {
  color:var(--brand-text) !important;background:var(--brand-soft) !important;
  box-shadow:none !important;font-weight:680 !important;
}
body.co-ui-v1 .civa-nav-refresh .co-side-nav a.is-active .co-icon {color:var(--brand-text) !important}
body.co-ui-v1 .civa-nav-refresh .civa-operations-section {border-top:1px solid #e9ebef;padding-top:14px;margin-top:10px}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group {margin:2px 3px 2px;min-width:0}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group > summary {
  display:flex;align-items:center;gap:10px;min-height:38px;
  padding:8px 10px;border-radius:8px;
  font-size:12px;font-weight:570;cursor:pointer;color:#4b5662;
  list-style:none;user-select:none;
}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group > summary::-webkit-details-marker {display:none}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group > summary:hover {background:#f4f5f7;color:#202935}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group > summary:focus-visible {outline:2px solid var(--brand-text);outline-offset:2px}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group > summary > .co-icon:first-child {width:17px;height:17px;color:#858e9a;flex:0 0 17px}
body.co-ui-v1 .civa-nav-refresh .civa-operation-chevron {margin-left:auto;width:14px;height:14px;color:#929aa5;transition:transform .15s}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group[open] .civa-operation-chevron {transform:rotate(90deg)}
body.co-ui-v1 .civa-nav-refresh .civa-operation-group[open] > summary {color:var(--brand-text);background:var(--brand-faint)}
body.co-ui-v1 .civa-nav-refresh .civa-operation-links {margin-left:18px;border-left:1px solid #e7eaee;padding:3px 0 5px 8px}
body.co-ui-v1 .civa-nav-refresh .civa-operation-links > a {
  min-height:33px !important; padding:8px 10px !important;
  font-size:var(--fs-xs) !important; white-space:normal !important;
  line-height:1.25 !important;
}
body.co-ui-v1 .civa-nav-refresh .co-sidebar-footer {background:#fff !important;border-top:1px solid #e9ebef !important}
body.co-ui-v1 .civa-nav-refresh .co-tenant-card {
  background:#fafafa !important;border:1px solid #eceef1 !important;
  border-radius:9px !important;
}
body.co-ui-v1 .civa-nav-refresh .co-tenant-card-copy strong {color:#2a3340 !important}
body.co-ui-v1 .civa-nav-refresh .co-tenant-card-copy small {color:#76818e !important}
body.co-ui-v1 .civa-nav-refresh .co-tenant-switch-link {color:var(--brand-text) !important;border-top-color:#e7eaef}
body.co-ui-v1 .civa-nav-refresh .co-brand-mark {background:var(--brand) !important}
body.co-ui-v1 .civa-nav-refresh .co-app-frame,
body.co-ui-v1 .civa-nav-refresh .co-main {background:#f7f8fa !important}
body.co-ui-v1 .civa-nav-refresh .co-topbar {box-shadow:none !important;border-bottom-color:#e4e7eb !important}
body.co-ui-v1 .civa-nav-refresh .co-panel {border-color:#e5e8ec !important;box-shadow:0 1px 4px rgba(33,39,52,.025) !important}
body.co-ui-v1 .civa-nav-refresh .co-page-header h1 {letter-spacing:-.025em;color:#242b36}
body.co-ui-v1 .civa-nav-refresh .co-btn.primary,
body.co-ui-v1 .civa-nav-refresh .co-primary-btn {background:var(--brand) !important;border-color:var(--brand) !important;color:var(--on-brand) !important}
/* Compact wide-screen sidebar: show group icons, open full navigation on click. */
body.co-ui-v1 .civa-nav-refresh.co-sidebar-collapsed .civa-operation-group > summary {
  justify-content:center !important;padding:10px 0 !important;
}
body.co-ui-v1 .civa-nav-refresh.co-sidebar-collapsed .civa-operation-group > summary span,
body.co-ui-v1 .civa-nav-refresh.co-sidebar-collapsed .civa-operation-chevron,
body.co-ui-v1 .civa-nav-refresh.co-sidebar-collapsed .civa-operation-links {display:none !important}
/* Narrow layouts retain drawer / rail; do not hide accessible group labels in mobile drawer. */
@media(max-width:1023px) {
  body.co-ui-v1 .civa-nav-refresh.co-mobile-open .civa-operation-group > summary span,
  body.co-ui-v1 .civa-nav-refresh.co-mobile-open .civa-operation-chevron {display:block !important}
  body.co-ui-v1 .civa-nav-refresh.co-mobile-open .civa-operation-links {display:block !important}
}
