@import url('topbar.css');
/* ═══════════════════════════════════════════════════════════════════════════
   Operations Central — Design System
   Single source of truth for all visual styles.
   Matches the design language of the HHF Credit Central tool.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:         #14305c;
  --oc-topbar-h:  52px;
  --navy-deep:    #0f2447;
  --navy-soft:    #2a5599;
  --accent:       #c8102e;
  --accent-soft:  #e63946;
  --accent-bg:    #fde8eb;

  /* Semantic */
  --green:        #1f7a3a;
  --green-bg:     #e0f0e4;
  --yellow:       #b08416;
  --yellow-bg:    #fbf0d1;
  --red:          #c8102e;
  --red-bg:       #fde8eb;

  /* Ink */
  --ink:          #000000;
  --ink-soft:     #2a2a2a;
  --ink-fade:     #6b6b6b;

  /* Paper */
  --paper:        #ffffff;
  --paper-warm:   #f4f6fa;
  --paper-deep:   #e8ecf3;

  /* Rules */
  --rule:         #d4d8e0;
  --rule-soft:    #e6e9ee;

  /* Typography */
  --sans: 'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', Menlo, 'Courier New', monospace;

  /* Shape */
  --radius: 3px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  min-height: 100vh;
}

/* ─── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 0 36px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 20px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.topbar-logo {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.topbar-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.topbar-module {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.topbar-breadcrumb a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.topbar-breadcrumb a:hover { color: #fff; }
.topbar-breadcrumb .sep { color: rgba(255,255,255,0.35); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topbar-user-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.topbar-role-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 2px 9px;
  border-radius: 20px;
}

/* ─── Sub nav (tabs) — canonical top-tab style, matches Insight (.ins-secnav) ── */
.subnav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.subnav-tab {
  display: block;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.12s;
}

.subnav-tab:hover { color: var(--navy); }

.subnav-tab.active {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

/* ─── Page layout ────────────────────────────────────────────────────────── */
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 36px;
}

.page-narrow {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 36px;
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.page-title em {
  font-style: normal;
  color: var(--accent);
}

.page-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-fade);
  margin-top: 6px;
  font-weight: 500;
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body { padding: 20px; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.12s ease;
  border: 1px solid var(--navy);
  background: var(--paper);
  color: var(--navy);
  white-space: nowrap;
}

.btn:hover {
  background: var(--navy);
  color: #fff;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-danger {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--paper);
}
.btn-danger:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border-color: var(--rule);
  color: var(--ink-soft);
  background: var(--paper);
}
.btn-ghost:hover {
  background: var(--paper-warm);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-sm {
  font-size: 12px;
  padding: 5px 12px;
}

.btn:disabled, button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sign out button — lives in nav */
.btn-signout {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  transition: all 0.12s;
}
.btn-signout:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── Form fields ────────────────────────────────────────────────────────── */
.field {
  margin-bottom: 14px;
}

.field label,
label.field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.12s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20,48,92,0.08);
}

.field-hint {
  font-size: 11px;
  color: var(--ink-fade);
  margin-top: 4px;
}

/* ─── Alerts ─────────────────────────────────────────────────────────────── */
.alert {
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
  border-left: 3px solid;
}

.alert-success {
  background: var(--green-bg);
  color: var(--green);
  border-left-color: var(--green);
}

.alert-error {
  background: var(--red-bg);
  color: var(--red);
  border-left-color: var(--red);
}

.alert-warning {
  background: var(--yellow-bg);
  color: var(--yellow);
  border-left-color: var(--yellow);
}

.alert-info {
  background: var(--paper-warm);
  color: var(--navy);
  border-left-color: var(--navy-soft);
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--paper-warm);
}

th {
  padding: 9px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13px;
  color: var(--ink-soft);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }

tbody tr:hover td { background: var(--paper-warm); }

/* ─── Badges / status pills ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-admin    { background: #dce8f7; color: var(--navy); }
.badge-manager  { background: #f0e6f8; color: #5c1a8a; }
.badge-finance  { background: var(--green-bg); color: var(--green); }
.badge-processor{ background: #fce4ec; color: #880e4f; }
.badge-auditor  { background: var(--yellow-bg); color: var(--yellow); }
.badge-trainer  { background: #e0f7fa; color: #00695c; }
.badge-staff    { background: var(--paper-deep); color: var(--ink-fade); }

.status-active   { color: var(--green); font-weight: 600; font-size: 12px; }
.status-inactive { color: var(--ink-fade); font-size: 12px; }
.status-locked   { color: var(--accent); font-weight: 600; font-size: 12px; }

/* ─── Links ──────────────────────────────────────────────────────────────── */
a.action-link {
  color: var(--navy-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
a.action-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

a.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-fade);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}
a.back-link:hover { color: var(--navy); }

/* ─── Section dividers ───────────────────────────────────────────────────── */
.section-rule {
  height: 1px;
  background: var(--rule);
  margin: 24px 0;
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-fade);
  margin-bottom: 14px;
}

/* ─── Monospace blocks ───────────────────────────────────────────────────── */
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ─── Empty state ────────────────────────────────────────────────────────── */
.empty-state {
  padding: 48px;
  text-align: center;
  color: var(--ink-fade);
  font-size: 13px;
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12px;
  color: var(--ink-fade);
}
.pagination a {
  color: var(--navy-soft);
  text-decoration: none;
  font-weight: 600;
}
.pagination a:hover { color: var(--accent); }

/* ─── Form actions row ───────────────────────────────────────────────────── */
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}

/* ─── Centered auth pages ────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: var(--paper-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 2px 12px rgba(20,48,92,0.08);
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-soft);
}

.auth-logo {
  height: 40px;
  width: auto;
}

.auth-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--ink-fade);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ─── Module tiles (shell) ───────────────────────────────────────────────── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.module-tile {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.1s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.module-tile.available {
  cursor: pointer;
}

.module-tile.available:hover {
  border-color: var(--navy);
  box-shadow: 0 2px 12px rgba(20,48,92,0.1);
  transform: translateY(-1px);
}

.module-tile.available:hover .module-name {
  color: var(--navy);
}

.module-tile.available:hover .module-cta {
  color: var(--accent);
}

.module-icon { font-size: 26px; line-height: 1; }

.module-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.12s;
}

.module-tile:not(.available) .module-name { color: var(--ink-fade); }

.module-cta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-fade);
}

.module-tile.available .module-cta { color: var(--navy-soft); }

.coming-soon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-fade);
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  border-radius: 20px;
}

/* ─── Profile header ─────────────────────────────────────────────────────── */
.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Temp password box ──────────────────────────────────────────────────── */
.temp-password-box {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}

/* ─── Field row (detail views) ───────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.field-row:last-child { border-bottom: none; }
.field-key {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-fade);
  padding-top: 2px;
}
.field-val {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ─── Action row ─────────────────────────────────────────────────────────── */
.action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.action-row:last-child { border-bottom: none; }
.action-desc {
  font-size: 12px;
  color: var(--ink-fade);
  line-height: 1.4;
}

/* ─── Filter bar ─────────────────────────────────────────────────────────── */
.filter-bar {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-field input,
.filter-field select {
  height: 32px;
  min-width: 160px;
  padding: 0 10px;
}

/* ─── Audit log action colors ────────────────────────────────────────────── */
.action-cell {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.action-success { color: var(--green); }
.action-fail    { color: var(--accent); }
.action-auth    { color: var(--navy-soft); }
.action-admin   { color: #6a1b9a; }

/* ─── Phase banner ───────────────────────────────────────────────────────── */
.phase-banner {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--navy-soft);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.phase-banner-icon { font-size: 22px; }
.phase-banner-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.phase-banner-text span { font-size: 12px; color: var(--ink-fade); }

/* ─── Self-warning box ───────────────────────────────────────────────────── */
.self-warning {
  background: var(--yellow-bg);
  border: 1px solid #e0c060;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 12px;
  color: #6b4a00;
  margin-bottom: 16px;
}

/* ─── QR code wrapper ────────────────────────────────────────────────────── */
.qr-wrapper {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

/* ─── Recovery codes grid ────────────────────────────────────────────────── */
.recovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.recovery-code {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 7px 12px;
  text-align: center;
  letter-spacing: 0.06em;
  color: var(--navy);
}

/* ─── Step labels ────────────────────────────────────────────────────────── */
.step-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 10px;
}

/* ─── OTP input ──────────────────────────────────────────────────────────── */
.otp-input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 28px;
  letter-spacing: 0.25em;
  text-align: center;
  font-family: var(--mono);
  outline: none;
  color: var(--ink);
}
.otp-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20,48,92,0.08);
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-sm  { font-size: 12px; }
.text-xs  { font-size: 11px; }
.text-fade { color: var(--ink-fade); }
.text-navy { color: var(--navy); }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.font-mono { font-family: var(--mono); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ─── Impersonation banner (platform) ────────────────────────────────────── */
.impersonation-bar {
  background: #7a1020;
  color: #fff;
  font-size: 13px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 2px solid #4d0a14;
}
.impersonation-bar strong { font-weight: 700; }
.impersonation-stop {
  background: #fff;
  color: #7a1020;
  border: none;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  cursor: pointer;
}
.impersonation-stop:hover { background: #ffe2e6; }

/* ─── Module top bar (hybrid: module icons + platform buttons) ────────────── */
/* ── Shared components ported from the credit-tool stylesheet (now platform-owned) ── */
.container { max-width: 1240px; margin: 0 auto; padding: 32px; }
.settings-section-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.settings-section-header h2 { font-family: 'Inter', var(--sans); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.settings-section-header .desc { font-size: 13px; color: var(--ink-fade); margin-top: 4px; }

/* ─── Shared module left-nav (opt-in via the shell's `sideNav` local) ──────────
   The single source of truth for the in-module left menu look. A change here
   applies to every module that opts into sideNav — no per-module styling. */
.oc-shell-cols { max-width: 1240px; margin: 0 auto; padding: 22px 24px 48px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.oc-sidenav { position: sticky; top: 18px; padding: 2px 0; }
.oc-sidenav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-fade); padding: 14px 16px 6px; }
.oc-sidenav-label:first-child { padding-top: 10px; }
.oc-sidenav-link { display: block; padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-left: 3px solid transparent; }
.oc-sidenav-link:hover { background: var(--paper-warm); color: var(--navy); }
.oc-sidenav-link.active { background: var(--navy); color: #fff; border-left-color: var(--accent); }
.oc-sidenav-link.disabled { color: var(--ink-fade); cursor: default; }
.oc-sidenav-main { min-width: 0; }
.oc-rail-icon { display: none; }
/* Collapsible mode: the rail shrinks to a slim icon strip and the content uses
   the full window. Hovering the strip floats the full rail open over the content
   so nothing reflows. Applied per-screen via the railCollapsed flag. */
.oc-shell-cols.rail-collapsed { max-width: none; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 18px 22px 44px; }
.oc-sidenav.is-collapsible { position: sticky; top: 18px; width: 46px; padding: 0; border: none; background: transparent; overflow: visible; }
.oc-sidenav.is-collapsible .oc-rail-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 40px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--navy); font-size: 17px; cursor: pointer; }
.oc-sidenav.is-collapsible .oc-rail-panel { display: none; position: absolute; left: 0; top: 0; width: 220px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(20, 48, 92, 0.20); padding: 6px 0; z-index: 60; }
.oc-sidenav.is-collapsible:hover .oc-rail-panel { display: block; }
.oc-sidenav.is-collapsible:hover .oc-rail-icon { visibility: hidden; }
@media (max-width: 760px) { .oc-shell-cols { grid-template-columns: 1fr; } .oc-sidenav { position: static; } }
