/* Grupo CRD — design system compartilhado */
:root {
  --crd-navy-950: #061426;
  --crd-navy-900: #0a1c33;
  --crd-navy-800: #102947;
  --crd-blue-700: #1d4ed8;
  --crd-blue-600: #2563eb;
  --crd-blue-100: #dbeafe;
  --crd-cyan-500: #14b8a6;
  --crd-ink: #122033;
  --crd-muted: #66758a;
  --crd-soft: #f4f7fb;
  --crd-surface: #ffffff;
  --crd-line: #dfe6ef;
  --crd-success: #0f9f77;
  --crd-warning: #c47a0a;
  --crd-danger: #c94255;
  --crd-radius-sm: 10px;
  --crd-radius-md: 16px;
  --crd-radius-lg: 22px;
  --crd-shadow-sm: 0 1px 2px rgba(6, 20, 38, .04), 0 8px 24px rgba(6, 20, 38, .05);
  --crd-shadow-md: 0 16px 42px rgba(6, 20, 38, .09);
}

html { scroll-behavior: smooth; }

body.crd-modernized {
  min-height: 100vh;
  margin: 0;
  color: var(--crd-ink);
  background: var(--crd-soft);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.crd-modernized *,
body.crd-modernized *::before,
body.crd-modernized *::after { box-sizing: border-box; }

body.crd-modernized button,
body.crd-modernized input,
body.crd-modernized select,
body.crd-modernized textarea { font: inherit; }

body.crd-modernized button,
body.crd-modernized a,
body.crd-modernized select { -webkit-tap-highlight-color: transparent; }

body.crd-modernized :focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 2px;
}

body.crd-modernized .app {
  display: flex;
  min-height: 100vh;
  background: var(--crd-soft);
}

body.crd-modernized .sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  height: 100vh;
  padding: 22px 15px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #d9e4f2;
  background:
    radial-gradient(circle at 22px 20px, rgba(37, 99, 235, .23), transparent 170px),
    linear-gradient(180deg, var(--crd-navy-950), #08192d 58%, #0b213b 100%);
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 8px 0 30px rgba(6, 20, 38, .08);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
  gap: 0;
}

body.crd-modernized .sidebar::-webkit-scrollbar { width: 5px; }
body.crd-modernized .sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .2); border-radius: 99px; }

body.crd-modernized .brand {
  display: flex;
  align-items: center;
  min-height: 54px;
  margin: 0 4px 22px;
  padding: 3px 7px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

body.crd-modernized .brand-logo {
  display: block;
  width: auto;
  max-width: 132px;
  max-height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.crd-modernized .nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 17px;
}

body.crd-modernized .nav-title,
body.crd-modernized .export-title {
  margin: 0 10px 7px;
  color: #7f9abb;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.crd-modernized .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  margin: 2px 0;
  padding: 9px 11px;
  gap: 11px;
  color: #cbd8e8;
  background: transparent;
  border: 0;
  border-radius: 11px;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

body.crd-modernized .nav-item::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  content: "";
  background: transparent;
  border-radius: 0 4px 4px 0;
}

body.crd-modernized .nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, .075);
  transform: translateX(2px);
}

body.crd-modernized .nav-item.active,
body.crd-modernized .nav-item[aria-current="page"] {
  color: var(--crd-navy-950);
  background: #fff;
  box-shadow: 0 8px 24px rgba(2, 12, 27, .2);
}

body.crd-modernized .nav-item.active::before,
body.crd-modernized .nav-item[aria-current="page"]::before { background: var(--crd-blue-600); }

body.crd-modernized .nav-item svg,
body.crd-modernized .nav-item .nav-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #79a7ec;
  stroke-width: 2;
}

body.crd-modernized .nav-item.active svg,
body.crd-modernized .nav-item[aria-current="page"] svg,
body.crd-modernized .nav-item.active .nav-icon,
body.crd-modernized .nav-item[aria-current="page"] .nav-icon { color: var(--crd-blue-600); }

body.crd-modernized .export-box,
body.crd-modernized .highlights {
  margin: 11px 3px 0;
  padding: 11px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
}

body.crd-modernized .export-title { margin: 0 0 8px; }
body.crd-modernized .export-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }

body.crd-modernized .export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 8px;
  gap: 6px;
  color: #dbe8f7;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

body.crd-modernized .export-button:hover { color: #fff; background: rgba(255, 255, 255, .13); }
body.crd-modernized .export-button svg { width: 14px; height: 14px; }
body.crd-modernized .export-actions > #sendEmailSummary {
  grid-column: 1 / -1;
  width: 100%;
  white-space: nowrap;
}

body.crd-modernized .settings-spacer { margin-top: auto; padding-top: 8px; }

body.crd-modernized .updated {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 4px 0;
  padding: 14px 7px 2px;
  color: #8ca4c2;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  box-shadow: none;
}

body.crd-modernized .updated span { display: block; margin-bottom: 4px; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
body.crd-modernized .updated strong { color: #d9e4f2; font-size: 11px; font-weight: 650; }
body.crd-modernized .updated svg { width: 15px; height: 15px; }

body.crd-modernized .main,
body.crd-modernized .content {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 100vh;
  padding: 30px clamp(22px, 3vw, 46px) 44px;
  color: var(--crd-ink);
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, .055), transparent 370px),
    var(--crd-soft);
}

body.crd-modernized .topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 0;
  margin: 0 0 22px;
  padding: 0 0 21px;
  gap: 22px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--crd-line);
  box-shadow: none;
}

body.crd-modernized .topbar h1 {
  margin: 0 0 5px;
  color: var(--crd-ink);
  font-family: inherit;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 780;
  letter-spacing: -.035em;
  line-height: 1.12;
}

body.crd-modernized .subtitle {
  margin: 0;
  color: var(--crd-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

body.crd-modernized .api-status,
body.crd-modernized .status {
  margin-top: 9px;
  color: var(--crd-muted);
  font-size: 12px;
  font-weight: 650;
}

body.crd-modernized .top-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-width: 70%;
  gap: 11px;
}

body.crd-modernized .filters {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

body.crd-modernized .filter-select,
body.crd-modernized .filter-card,
body.crd-modernized .filter-panel {
  background: var(--crd-surface);
  border: 1px solid var(--crd-line);
  border-radius: var(--crd-radius-md);
  box-shadow: var(--crd-shadow-sm);
}

body.crd-modernized .filter-select {
  display: flex;
  align-items: center;
  min-width: 190px;
  min-height: 54px;
  padding: 8px 12px;
  gap: 9px;
}

body.crd-modernized .filter-select svg { width: 17px; height: 17px; color: var(--crd-blue-600); }
body.crd-modernized .filter-select label { color: var(--crd-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.crd-modernized .filter-select select { width: 100%; color: var(--crd-ink); background: transparent; border: 0; outline: 0; font-size: 12px; font-weight: 700; }

body.crd-modernized .session-bar,
body.crd-modernized .session {
  align-items: center;
  flex-wrap: wrap;
  padding: 6px;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 13px;
  box-shadow: var(--crd-shadow-sm);
}

body.crd-modernized .session-user,
body.crd-modernized .user-pill { color: var(--crd-ink); font-size: 12px; font-weight: 700; }

body.crd-modernized .session-button,
body.crd-modernized .ghost-button,
body.crd-modernized .small-button,
body.crd-modernized .modal-button,
body.crd-modernized .tab-button,
body.crd-modernized .icon-button,
body.crd-modernized .primary-button {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--crd-ink);
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 10px;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

body.crd-modernized .crd-manual-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
}

body.crd-modernized .session-button:hover,
body.crd-modernized .ghost-button:hover,
body.crd-modernized .small-button:hover,
body.crd-modernized .modal-button:hover,
body.crd-modernized .tab-button:hover,
body.crd-modernized .icon-button:hover { color: var(--crd-blue-700); border-color: #b7c8e0; background: #f8fbff; }

body.crd-modernized .primary-button,
body.crd-modernized .session-button.primary,
body.crd-modernized .modal-button.primary,
body.crd-modernized .tab-button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--crd-blue-600), var(--crd-blue-700));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .2);
}

body.crd-modernized .primary-button:hover,
body.crd-modernized .session-button.primary:hover,
body.crd-modernized .modal-button.primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 11px 25px rgba(37, 99, 235, .27); }

body.crd-modernized .kpis,
body.crd-modernized .cards,
body.crd-modernized .metrics,
body.crd-modernized .kpi-strip { gap: 14px; margin-bottom: 18px; }

body.crd-modernized .kpi,
body.crd-modernized .metric-card,
body.crd-modernized .score-card,
body.crd-modernized .metric {
  min-height: 116px;
  color: var(--crd-ink);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--crd-line);
  border-radius: var(--crd-radius-md);
  box-shadow: var(--crd-shadow-sm);
}

body.crd-modernized .kpi:hover,
body.crd-modernized .metric-card:hover,
body.crd-modernized .metric:hover { border-color: #c9d6e7; box-shadow: var(--crd-shadow-md); transform: translateY(-1px); }

body.crd-modernized .kpi,
body.crd-modernized .metric-card { padding: 18px; }
body.crd-modernized .kpi .label,
body.crd-modernized .metric-card > span,
body.crd-modernized .metric-label { color: var(--crd-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.crd-modernized .kpi .value,
body.crd-modernized .metric-card > strong,
body.crd-modernized .metric .metric-value { color: var(--crd-ink); font-family: inherit; font-size: clamp(25px, 2vw, 34px); font-weight: 780; letter-spacing: -.035em; }
body.crd-modernized .kpi-icon,
body.crd-modernized .metric-icon { color: var(--crd-blue-600); background: #eff6ff; border-radius: 10px; }

body.crd-modernized .dashboard,
body.crd-modernized .competencia-dashboard,
body.crd-modernized .dimension-dashboard,
body.crd-modernized .info-dashboard,
body.crd-modernized .panel-grid,
body.crd-modernized .layout,
body.crd-modernized .analytics-grid { gap: 17px; }

body.crd-modernized .panel,
body.crd-modernized .definition-card,
body.crd-modernized .quality-strip,
body.crd-modernized .table-panel {
  color: var(--crd-ink);
  background: var(--crd-surface);
  border: 1px solid var(--crd-line);
  border-radius: var(--crd-radius-md);
  box-shadow: var(--crd-shadow-sm);
}

body.crd-modernized .panel { overflow: hidden; }

body.crd-modernized .panel-header,
body.crd-modernized .table-header {
  min-height: 0;
  padding: 17px 19px;
  color: var(--crd-ink);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 0;
  border-bottom: 1px solid var(--crd-line);
  font-family: inherit;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.01em;
}

body.crd-modernized .panel-header h2,
body.crd-modernized .panel-title { margin: 0; color: var(--crd-ink); font-family: inherit; font-size: 15px; font-weight: 760; }
body.crd-modernized .panel-subtitle,
body.crd-modernized .hint,
body.crd-modernized .support,
body.crd-modernized .dimension-note { color: var(--crd-muted); font-size: 12px; }

body.crd-modernized .chart-wrap { padding: 14px 16px 18px; }
body.crd-modernized canvas { max-width: 100%; }
body.crd-modernized .chart-legend { color: var(--crd-muted); font-size: 11px; }

body.crd-modernized .table-wrap {
  max-width: 100%;
  overflow: auto;
  border-radius: 0 0 var(--crd-radius-md) var(--crd-radius-md);
  scrollbar-width: thin;
  scrollbar-color: #bdcadb transparent;
}

body.crd-modernized table { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--crd-ink); font-family: inherit; font-size: 12px; }
body.crd-modernized th { padding: 11px 13px; color: #536276; background: #f7f9fc; border-bottom: 1px solid var(--crd-line); font-size: 9px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
body.crd-modernized td { padding: 11px 13px; border-bottom: 1px solid #edf1f6; vertical-align: middle; }
body.crd-modernized tbody tr:last-child td { border-bottom: 0; }
body.crd-modernized tbody tr:hover td { background: #f7faff; }

body.crd-modernized input,
body.crd-modernized select,
body.crd-modernized textarea {
  min-height: 40px;
  color: var(--crd-ink);
  background: #fff;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}

body.crd-modernized input,
body.crd-modernized textarea { padding: 9px 11px; }
body.crd-modernized select { padding: 7px 32px 7px 10px; }
body.crd-modernized input:focus,
body.crd-modernized select:focus,
body.crd-modernized textarea:focus { border-color: var(--crd-blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }

body.crd-modernized .badge,
body.crd-modernized .status-chip,
body.crd-modernized .rank-badge,
body.crd-modernized .percent-badge,
body.crd-modernized .request-badge { border-radius: 999px; font-family: inherit; font-weight: 750; }

body.crd-modernized .footer,
body.crd-modernized footer.footer { margin-top: 20px; padding-top: 17px; color: var(--crd-muted); border-top: 1px solid var(--crd-line); }

body.crd-modernized .loading-overlay,
body.crd-modernized .preload-overlay { background: rgba(6, 20, 38, .58); backdrop-filter: blur(7px); }
body.crd-modernized .loading-card,
body.crd-modernized .preload-card,
body.crd-modernized .modal-card { border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--crd-radius-lg); box-shadow: 0 30px 90px rgba(6, 20, 38, .28); }

body.crd-modernized .crd-mobile-nav {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--crd-navy-950);
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 11px;
  box-shadow: var(--crd-shadow-sm);
  cursor: pointer;
}

body.crd-modernized .crd-mobile-nav svg { width: 20px; height: 20px; }

body.crd-modernized .crd-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  background: rgba(2, 10, 22, .5);
  backdrop-filter: blur(2px);
}

body.auth-login.crd-modernized {
  color: var(--crd-ink);
  background:
    radial-gradient(circle at 18% 15%, rgba(37, 99, 235, .38), transparent 360px),
    radial-gradient(circle at 82% 80%, rgba(20, 184, 166, .18), transparent 420px),
    linear-gradient(145deg, #041226, #0a2343 58%, #0d3159);
}

body.auth-login.crd-modernized .app { background: transparent; }
body.auth-login.crd-modernized .sidebar,
body.auth-login.crd-modernized .topbar,
body.auth-login.crd-modernized .crd-mobile-nav,
body.auth-login.crd-modernized .crd-nav-backdrop { display: none !important; }
body.auth-login.crd-modernized .main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: transparent;
}
body.auth-login.crd-modernized .login-panel,
body.auth-login.crd-modernized .reset-panel { border-radius: var(--crd-radius-lg); box-shadow: 0 34px 95px rgba(0, 7, 20, .45); }

@media (max-width: 1180px) {
  body.crd-modernized .topbar { flex-direction: column; }
  body.crd-modernized .top-actions { width: 100%; max-width: none; justify-content: flex-start; }
  body.crd-modernized .filters { justify-content: flex-start; }
}

@media (max-width: 900px) {
  body.crd-modernized { overflow-x: hidden; }
  body.crd-modernized .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    transform: translateX(-103%);
    transition: transform .2s ease;
  }
  body.crd-modernized .sidebar .nav-label,
  body.crd-modernized .sidebar .nav-item span:not(.nav-icon),
  body.crd-modernized .sidebar .sidebar-meta { display: block; }
  body.crd-modernized .sidebar .nav-item { justify-content: flex-start; padding: 9px 11px; }
  body.crd-modernized .sidebar .brand-fallback { font-size: 24px; }
  body.crd-modernized.crd-nav-open { overflow: hidden; }
  body.crd-modernized.crd-nav-open .sidebar { transform: translateX(0); }
  body.crd-modernized.crd-nav-open .crd-nav-backdrop { display: block; }
  body.crd-modernized .main,
  body.crd-modernized .content { width: 100%; padding: 18px 16px 36px; }
  body.crd-modernized .crd-mobile-nav { position: sticky; top: 10px; z-index: 30; display: inline-flex; margin: 0 0 14px; }
  body.crd-modernized .topbar h1 { font-size: 27px; }
  body.crd-modernized .top-actions,
  body.crd-modernized .filters { width: 100%; }
  body.crd-modernized .filter-select { flex: 1 1 220px; }
}

@media (max-width: 560px) {
  body.crd-modernized .main,
  body.crd-modernized .content { padding-inline: 12px; }
  body.crd-modernized .topbar { gap: 15px; margin-bottom: 16px; padding-bottom: 16px; }
  body.crd-modernized .filters,
  body.crd-modernized .filter-select,
  body.crd-modernized .session-bar { width: 100%; }
  body.crd-modernized .filter-select { min-width: 0; }
  body.crd-modernized .session-bar { justify-content: flex-start; }
  body.crd-modernized .panel-header,
  body.crd-modernized .table-header { padding: 14px 15px; }
  body.crd-modernized .kpi,
  body.crd-modernized .metric-card { min-height: 102px; padding: 15px; }
}

@media print {
  body.crd-modernized { background: #fff; }
  body.crd-modernized .sidebar,
  body.crd-modernized .crd-mobile-nav,
  body.crd-modernized .crd-nav-backdrop,
  body.crd-modernized .session-bar,
  body.crd-modernized .session,
  body.crd-modernized .export-actions { display: none !important; }
  body.crd-modernized .main,
  body.crd-modernized .content { padding: 0; background: #fff; }
  body.crd-modernized .panel,
  body.crd-modernized .kpi,
  body.crd-modernized .metric-card { box-shadow: none; break-inside: avoid; }
}

/* Sistema visual SLA aplicado às páginas legadas */
body.crd-sla-shell .app {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}

body.crd-sla-shell .sidebar {
  width: 244px;
  min-width: 244px;
  padding: 20px 15px 16px;
  background: linear-gradient(180deg, #071426, #0b1d36);
  box-shadow: none;
  scrollbar-width: none;
}

body.crd-sla-shell .sidebar::-webkit-scrollbar { width: 0; height: 0; }
body.crd-sla-shell .brand { min-height: 52px; margin-bottom: 14px; padding-bottom: 15px; }
body.crd-sla-shell .nav-group { margin-bottom: 11px; gap: 0; }
body.crd-sla-shell .nav-title,
body.crd-sla-shell .export-title { margin-bottom: 5px; font-size: 9px; }
body.crd-sla-shell .nav-item { height: 38px; min-height: 38px; margin: 1px 0; padding-block: 7px; }
body.crd-sla-shell .export-box { margin-top: 7px; padding: 9px; }
body.crd-sla-shell .export-button { min-height: 32px; }
body.crd-sla-shell .settings-spacer { margin-top: auto; }
body.crd-sla-shell .updated { margin-top: 8px; padding-top: 10px; }

body.crd-sla-shell .main,
body.crd-sla-shell .content {
  min-width: 0;
  padding: 0;
  background: var(--crd-soft);
}

body.crd-sla-shell .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  min-height: 68px;
  margin: 0;
  padding: 10px clamp(20px, 3vw, 40px);
  gap: 20px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(226, 232, 240, .92);
  backdrop-filter: blur(14px);
}

body.crd-sla-shell .crumb { color: var(--crd-muted); font-size: 13px; }
body.crd-sla-shell .crumb strong { color: var(--crd-ink); }
body.crd-sla-shell .crd-crumb-separator { margin: 0 3px; color: #a0aec0; }
body.crd-sla-shell .crd-session-panel { margin-left: auto; }
body.crd-sla-shell .user-box,
body.crd-sla-shell .session-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: auto;
  max-width: min(760px, 72vw);
  padding: 6px;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 13px;
  box-shadow: var(--crd-shadow-sm);
}
body.crd-sla-shell .session-bar[hidden] { display: none; }

body.crd-sla-shell .crd-page-content {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 32px clamp(20px, 3vw, 40px) 48px;
}

body.crd-sla-shell .crd-page-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}

body.crd-sla-shell .crd-hero-copy { min-width: 0; }
body.crd-sla-shell .eyebrow {
  margin: 0 0 8px;
  color: var(--crd-blue-700);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.crd-sla-shell .crd-page-hero h1 {
  margin: 0;
  color: var(--crd-navy-950);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
body.crd-sla-shell .crd-page-hero .subtitle {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--crd-muted);
  font-size: 15px;
  line-height: 1.55;
}

body.crd-sla-shell .definition-card {
  display: flex;
  flex: 0 1 430px;
  max-width: 430px;
  padding: 14px 16px;
  gap: 12px;
  background: #eff6ff;
  border-color: #bfdbfe;
  border-radius: 14px;
  box-shadow: none;
}
body.crd-sla-shell .definition-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--crd-blue-700);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}
body.crd-sla-shell .definition-card strong { display: block; color: #1e3a8a; font-size: 13px; }
body.crd-sla-shell .definition-card span { display: block; margin-top: 4px; color: #475569; font-size: 12px; line-height: 1.45; }

body.crd-sla-shell .crd-filter-panel {
  margin-bottom: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}
body.crd-sla-shell .filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}
body.crd-sla-shell .filter-heading strong { color: var(--crd-ink); font-size: 13px; }
body.crd-sla-shell .filter-heading span { color: var(--crd-muted); font-size: 12px; }
body.crd-sla-shell .crd-filter-grid {
  display: grid;
  align-items: end;
  justify-content: start;
  width: 100%;
  gap: 10px;
}
body.crd-sla-shell[data-filter-count="2"] .crd-filter-grid { grid-template-columns: minmax(200px, 280px) minmax(320px, 520px); }
body.crd-sla-shell[data-filter-count="3"] .crd-filter-grid { grid-template-columns: repeat(3, minmax(190px, 280px)); }
body.crd-sla-shell[data-filter-count="4"] .crd-filter-grid { grid-template-columns: repeat(4, minmax(170px, 1fr)); }
body.crd-sla-shell .crd-filter-panel .filter-select,
body.crd-sla-shell .crd-filter-panel .filter-card {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.crd-sla-shell .crd-filter-panel .filter-select > svg,
body.crd-sla-shell .crd-filter-panel .filter-card > svg { display: none; }
body.crd-sla-shell .crd-filter-panel .filter-select > div,
body.crd-sla-shell .crd-filter-panel .filter-card > div { width: 100%; min-width: 0; }
body.crd-sla-shell .crd-filter-panel label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
body.crd-sla-shell .crd-filter-panel select {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 32px 0 11px;
  color: var(--crd-ink);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}
body.crd-sla-shell .crd-filter-panel .api-status,
body.crd-sla-shell .crd-filter-panel .status { margin: 12px 0 0; }

body.crd-sla-shell .crd-period-highlights { margin: 0 0 18px; }
body.crd-sla-shell .crd-section-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 2px 11px; }
body.crd-sla-shell .crd-section-heading .eyebrow { margin-bottom: 3px; }
body.crd-sla-shell .crd-section-heading h2 { margin: 0; color: var(--crd-navy-950); font-size: 18px; letter-spacing: -.02em; }
body.crd-sla-shell .crd-period-highlights .highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 12px;
  background: transparent;
  border: 0;
}
body.crd-sla-shell .crd-period-highlights .highlight {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 92px;
  margin: 0;
  padding: 15px 16px;
  gap: 12px;
  color: var(--crd-ink);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--crd-line);
  border-radius: 16px;
  box-shadow: var(--crd-shadow-sm);
}
body.crd-sla-shell .crd-period-highlights .highlight svg { width: 28px; height: 28px; color: var(--crd-blue-600); }
body.crd-sla-shell .crd-period-highlights .highlight small { color: var(--crd-muted); font-size: 11px; overflow-wrap: normal; }
body.crd-sla-shell .crd-period-highlights .highlight strong { color: var(--crd-ink); font-size: 14px; overflow-wrap: normal; }
body.crd-sla-shell .crd-period-highlights .highlight .metric,
body.crd-sla-shell .crd-period-highlights .highlight .metric.long-value {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--crd-teal-700, #0f766e);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 850;
  white-space: nowrap;
}

body.crd-sla-shell .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.crd-sla-shell .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body.crd-sla-shell .kpi-strip { gap: 12px; }
body.crd-sla-shell .kpi,
body.crd-sla-shell .kpi.compact,
body.crd-sla-shell .metric-card {
  position: relative;
  display: block;
  min-height: 112px;
  padding: 17px;
  color: var(--crd-ink);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--crd-line);
  border-radius: 16px;
  box-shadow: var(--crd-shadow-sm);
  overflow: hidden;
}
body.crd-sla-shell .kpi:first-child { border-bottom: 1px solid var(--crd-line); }
body.crd-sla-shell .kpi-icon,
body.crd-sla-shell .kpi.compact .kpi-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--crd-blue-600);
  background: #eff6ff;
  border-radius: 9px;
  filter: none;
}
body.crd-sla-shell .kpi-icon svg,
body.crd-sla-shell .kpi.compact .kpi-icon svg { width: 18px; height: 18px; }
body.crd-sla-shell .kpi > div:not(.kpi-icon) { min-width: 0; padding-right: 30px; }
body.crd-sla-shell .kpi .label,
body.crd-sla-shell .metric-card > span { margin: 0 0 14px; color: #64748b; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
body.crd-sla-shell .kpi .value,
body.crd-sla-shell .kpi.compact .value,
body.crd-sla-shell .kpi .value.long-value,
body.crd-sla-shell .metric-card > strong { margin: 0; color: var(--crd-navy-950); font-size: clamp(24px, 2vw, 31px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
body.crd-sla-shell .kpi .foot { margin-top: 7px; color: var(--crd-muted); font-size: 11px; font-weight: 600; overflow-wrap: normal; }

body.crd-sla-shell .panel,
body.crd-sla-shell .side-panel,
body.crd-sla-shell .dimension-note {
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}
body.crd-sla-shell .panel-header {
  min-height: 0;
  padding: 17px 19px;
  color: var(--crd-navy-950);
  background: #fff;
  border-bottom: 1px solid var(--crd-line);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -.01em;
  text-transform: none;
}
body.crd-sla-shell .panel-header h2,
body.crd-sla-shell .panel-title { color: var(--crd-navy-950); font-size: 15px; text-transform: none; }
body.crd-sla-shell .panel-header svg { width: 18px; height: 18px; color: var(--crd-blue-600); }
body.crd-sla-shell .chart-legend { padding: 0 18px; color: var(--crd-muted); font-size: 11px; font-weight: 650; }
body.crd-sla-shell .chart-wrap,
body.crd-sla-shell .dimension-dashboard .chart-wrap { margin: 0; padding: 14px 18px 20px; }

body.crd-sla-shell .dashboard { display: grid; grid-template-columns: 1fr; gap: 16px; }
body.crd-sla-shell .bottom-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
body.crd-sla-shell .competencia-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.crd-sla-shell .competencia-dashboard > .panel:nth-child(3),
body.crd-sla-shell .competencia-dashboard > .panel:nth-child(4) { grid-column: 1 / -1; }
body.crd-sla-shell .dimension-dashboard,
body.crd-sla-shell .dimension-dashboard.origin-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.crd-sla-shell .dimension-dashboard > .panel:first-child,
body.crd-sla-shell .dimension-dashboard .span-2,
body.crd-sla-shell .dimension-dashboard .span-3 { grid-column: 1 / -1; }

/* Gráficos de dimensões: uma leitura por linha, sem comprimir rótulos e eixos. */
body.crd-sla-shell[data-crd-page="analise-subespecialidade-crd"] .dimension-dashboard,
body.crd-sla-shell[data-crd-page="analise-modalidade-crd"] .dimension-dashboard,
body.crd-sla-shell[data-crd-page="analise-origem-crd"] .dimension-dashboard,
body.crd-sla-shell[data-crd-page="analise-origem-crd"] .dimension-dashboard.origin-layout {
  grid-template-columns: minmax(0, 1fr);
}
body.crd-sla-shell[data-crd-page="analise-subespecialidade-crd"] .dimension-dashboard > *,
body.crd-sla-shell[data-crd-page="analise-modalidade-crd"] .dimension-dashboard > *,
body.crd-sla-shell[data-crd-page="analise-origem-crd"] .dimension-dashboard > * {
  grid-column: 1 / -1 !important;
}
body.crd-sla-shell[data-crd-page="analise-subespecialidade-crd"] .dimension-dashboard .chart-wrap,
body.crd-sla-shell[data-crd-page="analise-modalidade-crd"] .dimension-dashboard .chart-wrap,
body.crd-sla-shell[data-crd-page="analise-origem-crd"] .dimension-dashboard .chart-wrap {
  height: 300px;
}
body.crd-sla-shell[data-crd-page="analise-subespecialidade-crd"] .dimension-dashboard .compact-chart,
body.crd-sla-shell[data-crd-page="analise-modalidade-crd"] .dimension-dashboard .compact-chart,
body.crd-sla-shell[data-crd-page="analise-origem-crd"] .dimension-dashboard .compact-chart {
  height: 260px;
}
body.crd-sla-shell .panel-grid { grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); gap: 16px; }
body.crd-sla-shell .dimension-grid { grid-template-columns: 1fr; gap: 16px; }
body.crd-sla-shell .info-dashboard { gap: 16px; }

/* Análise Paritária: metas, destaques e relatórios próprios para cada aba. */
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .tabs {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 5px;
  gap: 5px;
  background: #eaf1fb;
  border: 1px solid #d7e2f1;
  border-radius: 12px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .tab-button { min-width: 160px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip.review { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .enriched-kpi { min-width: 0; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .enriched-kpi.tone-success { border-top: 3px solid #0f9f77; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .enriched-kpi.tone-warning { border-top: 3px solid #c47a0a; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .enriched-kpi .value.long-value { font-size: clamp(18px, 1.45vw, 24px); white-space: normal; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .quality-goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 16px;
  gap: 12px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  min-height: 112px;
  padding: 15px;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--crd-line);
  border-radius: 15px;
  box-shadow: var(--crd-shadow-sm);
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-card > b {
  grid-column: 2;
  justify-self: start;
  margin-top: -4px;
  padding: 4px 8px;
  color: #475569;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 10px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-card.goal-met > b { color: #087458; background: #e8f8f2; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-card.goal-attention > b { color: #9a5a05; background: #fff5df; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-icon,
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--crd-blue-700);
  background: #eff6ff;
  border-radius: 10px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-icon svg,
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-icon svg { width: 19px; height: 19px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-copy > span,
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-card span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-copy > strong { display: block; margin-top: 4px; color: var(--crd-navy-950); font-size: 17px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-copy > strong small { color: #64748b; font-size: 11px; font-weight: 650; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-copy p { margin: 7px 0 0; color: #64748b; font-size: 11px; line-height: 1.4; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-track { height: 5px; margin-top: 8px; overflow: hidden; background: #e2e8f0; border-radius: 99px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-track i { display: block; height: 100%; background: var(--crd-blue-600); border-radius: inherit; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-met .goal-track i { background: #0f9f77; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .goal-attention .goal-track i { background: #c47a0a; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 16px;
  gap: 12px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 88px;
  padding: 14px 15px;
  gap: 12px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--crd-line);
  border-radius: 15px;
  box-shadow: var(--crd-shadow-sm);
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-card strong { display: block; margin: 2px 0; color: var(--crd-navy-950); font-size: 17px; overflow-wrap: anywhere; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-card small { display: block; color: #64748b; font-size: 11px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-stack { display: grid; gap: 16px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-chart-grid .span-2 { grid-column: 1 / -1; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-time-chart { height: 330px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-class-chart { height: 410px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-rank-chart { height: 330px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-composition-chart { height: 330px; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-tables { margin-top: 0; }
body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-tables table { min-width: 680px; }
body.crd-sla-shell .status-chip { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
body.crd-sla-shell .status-success { color: #087458; background: #e8f8f2; }
body.crd-sla-shell .status-warning { color: #9a5a05; background: #fff5df; }

/* Médicos Solicitantes: visão executiva, composição e ranking navegável. */
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .ranking-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .metric-card { min-width: 0; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .metric-card > small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .ranking-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 16px;
  gap: 12px;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .insight-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 15px;
  gap: 12px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--crd-line);
  border-radius: 15px;
  box-shadow: var(--crd-shadow-sm);
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .insight-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--crd-blue-700);
  background: #eff6ff;
  border-radius: 10px;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .insight-icon svg { width: 19px; height: 19px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .insight-card span { display: block; color: #64748b; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .insight-card strong { display: block; margin: 2px 0; color: var(--crd-navy-950); font-size: 17px; overflow-wrap: anywhere; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .insight-card small { display: block; color: #64748b; font-size: 11px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
  gap: 16px;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-dashboard > .panel { min-width: 0; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-chart { height: 330px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-chart.tall { height: 390px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-chart canvas { display: block; width: 100%; height: 100%; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .scope-report { margin-bottom: 16px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .scope-report .table-wrap { max-height: 390px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .scope-report table { min-width: 840px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 240px) auto;
  align-items: end;
  padding: 13px 16px;
  gap: 10px;
  background: #fbfdff;
  border-bottom: 1px solid var(--crd-line);
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .search-field {
  position: relative;
  display: block;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .search-field svg {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 17px;
  height: 17px;
  color: #64748b;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .search-field input { width: 100%; padding-left: 36px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .sort-field { display: grid; gap: 4px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .sort-field span { color: #64748b; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .sort-field select { width: 100%; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-result { align-self: center; color: #64748b; font-size: 11px; font-weight: 700; white-space: nowrap; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px;
  gap: 12px;
  color: #64748b;
  border-top: 1px solid var(--crd-line);
  font-size: 11px;
  font-weight: 700;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-pagination .small-button { display: inline-flex; align-items: center; gap: 5px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-pagination svg { width: 14px; height: 14px; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-pagination button:disabled { cursor: not-allowed; opacity: .45; }

body.crd-sla-shell .table-wrap {
  max-width: 100%;
  max-height: none;
  padding: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: #c5d1df transparent;
}
body.crd-sla-shell .table-wrap::-webkit-scrollbar { height: 7px; width: 7px; }
body.crd-sla-shell .table-wrap::-webkit-scrollbar-thumb { background: #c5d1df; border-radius: 999px; }
body.crd-sla-shell table,
body.crd-sla-shell .dimension-table { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0; color: #334155; font-size: 12px; }
body.crd-sla-shell th,
body.crd-sla-shell .dimension-table th {
  padding: 10px 9px;
  color: #536276;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .055em;
  line-height: 1.2;
  white-space: normal;
  text-transform: uppercase;
}
body.crd-sla-shell td,
body.crd-sla-shell .dimension-table td { padding: 10px 9px; color: #334155; background: #fff; border: 0; border-bottom: 1px solid #edf1f6; white-space: normal; }
body.crd-sla-shell tbody tr:nth-child(even) td { background: #fbfdff; }
body.crd-sla-shell tbody tr:hover td { background: #f7faff; }
body.crd-sla-shell tfoot td { color: #1e3a8a; background: #eef4ff; font-weight: 850; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .table-wrap table {
  width: 100%;
  min-width: 1390px;
  table-layout: fixed;
}
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .dimension-name-col { width: 178px; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .metric-qty-col { width: 72px; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .metric-share-col { width: 54px; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .metric-pending-col { width: 90px; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .metric-findings-col { width: 80px; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .metric-recall-col { width: 108px; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .table-wrap th:first-child,
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .table-wrap td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 178px;
  min-width: 178px;
  max-width: 178px;
}
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .table-wrap .dimension-name-header {
  position: sticky;
  left: 0;
  z-index: 4;
  width: 178px;
  min-width: 178px;
  max-width: 178px;
  padding-inline: 12px;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
}
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .table-wrap thead th:first-child { z-index: 3; background: #f1f5f9; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .period-group-header {
  height: 42px;
  padding: 9px 8px;
  text-align: center;
}
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .summary-metric-header {
  height: 48px;
  padding: 8px 5px;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .summary-dimension-table .summary-metric-heading {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1;
  white-space: nowrap;
}
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-wrap { max-height: min(64vh, 620px); overflow-y: auto; }
body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] table { min-width: 760px; }

/* Cabeçalhos de tabela: hierarquia e contraste consistentes em todo o painel. */
body.crd-modernized table thead tr:first-child th {
  color: #fff;
  background: linear-gradient(180deg, #12377f 0%, #0a245e 100%);
  border-bottom-color: #1e4f9d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .055em;
  line-height: 1.25;
}
body.crd-modernized table thead tr:first-child th:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .16); }
body.crd-modernized table thead tr + tr th {
  color: #1b3153;
  background: #edf4ff;
  border-bottom-color: #b9cbe3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1.25;
}
body.crd-modernized table thead tr + tr th:not(:last-child) { border-right: 1px solid #d7e2f1; }
body.crd-sla-shell[data-crd-page="relatorio-resultados-crd"] .table-wrap thead tr:first-child th:first-child {
  color: #fff;
  background: linear-gradient(180deg, #12377f 0%, #0a245e 100%);
}
body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #configPanel {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.45fr);
}
body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #configPanel > .panel { min-width: 0; }
body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #configPanel > .panel:last-child .panel-body,
body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #securityPanel .panel-body {
  max-width: 100%;
  overflow-x: auto;
}
body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] .users-table { min-width: 720px; }

body.crd-sla-shell .footer,
body.crd-sla-shell footer.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 0;
  margin-top: 20px;
  padding: 16px 4px 0;
  gap: 12px 20px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}
body.crd-sla-shell .footer .source { display: flex; align-items: center; gap: 9px; }
body.crd-sla-shell .footer .source svg,
body.crd-sla-shell .footer .badge svg { width: 18px; height: 18px; color: #64748b; }
body.crd-sla-shell .footer .support { min-width: 0; padding: 0; color: #64748b; background: transparent; border: 0; box-shadow: none; font-size: 11px; }
body.crd-sla-shell .footer .support svg { width: 17px; height: 17px; }
body.crd-sla-shell .footer .badge { justify-content: flex-start; gap: 7px; color: #64748b; font-size: 11px; }

body.auth-login.crd-sla-shell .app {
  display: block !important;
  width: 100%;
  min-height: 100vh;
}
body.auth-login.crd-sla-shell .main {
  display: block !important;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}
body.auth-login.crd-sla-shell .crd-page-chrome { display: none; }
body.auth-login.crd-sla-shell .crd-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 28px;
}
body.auth-login.crd-sla-shell #status,
body.auth-login.crd-sla-shell .login-panel,
body.auth-login.crd-sla-shell .reset-panel {
  flex: 0 0 auto;
  width: min(430px, 100%) !important;
  max-width: 430px !important;
}

@media (max-width: 1450px) {
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-chart-grid { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-chart-grid .span-2 { grid-column: auto; }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .ranking-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-dashboard { grid-template-columns: 1fr; }
}

@media (max-width: 1240px) {
  body.crd-sla-shell .crd-page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); }
  body.crd-sla-shell[data-filter-count="4"] .crd-filter-grid { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
  body.crd-sla-shell .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crd-sla-shell .competencia-dashboard,
  body.crd-sla-shell .dimension-dashboard,
  body.crd-sla-shell .dimension-dashboard.origin-layout { grid-template-columns: 1fr; }
  body.crd-sla-shell .competencia-dashboard > .panel,
  body.crd-sla-shell .dimension-dashboard > .panel { grid-column: auto !important; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip.review { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-chart-grid { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .paritaria-chart-grid .span-2 { grid-column: auto; }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .ranking-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .requester-dashboard { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #configPanel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body.crd-sla-shell .app { display: block; }
  body.crd-sla-shell .main,
  body.crd-sla-shell .content { width: 100%; padding: 0; }
  body.crd-sla-shell .crd-mobile-nav { position: fixed; top: 12px; left: 12px; z-index: 60; margin: 0; }
  body.crd-sla-shell .topbar { min-height: 66px; padding: 9px 14px 9px 68px; }
  body.crd-sla-shell .crd-page-content { padding: 24px 16px 38px; }
  body.crd-sla-shell .crd-page-hero { grid-template-columns: 1fr; }
  body.crd-sla-shell .definition-card { max-width: none; }
  body.crd-sla-shell[data-filter-count="2"] .crd-filter-grid,
  body.crd-sla-shell[data-filter-count="3"] .crd-filter-grid,
  body.crd-sla-shell[data-filter-count="4"] .crd-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crd-sla-shell .crd-period-highlights .highlights,
  body.crd-sla-shell .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crd-sla-shell .panel-grid { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .quality-goals,
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .insight-cards { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .ranking-insights,
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-toolbar { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .table-result { justify-self: start; }
}

@media (max-width: 620px) {
  body.crd-sla-shell .topbar { align-items: flex-start; flex-direction: column; padding-left: 68px; }
  body.crd-sla-shell .crd-session-panel { width: 100%; max-width: none; margin-left: 0; justify-content: flex-start; }
  body.crd-sla-shell .crd-page-content { padding-inline: 12px; }
  body.crd-sla-shell .crd-page-hero h1 { font-size: 30px; }
  body.crd-sla-shell .filter-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  body.crd-sla-shell[data-filter-count="2"] .crd-filter-grid,
  body.crd-sla-shell[data-filter-count="3"] .crd-filter-grid,
  body.crd-sla-shell[data-filter-count="4"] .crd-filter-grid,
  body.crd-sla-shell .crd-period-highlights .highlights,
  body.crd-sla-shell .kpis,
  body.crd-sla-shell .cards { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip,
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .kpi-strip.review { grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .tabs { display: grid; grid-template-columns: 1fr; }
  body.crd-sla-shell[data-crd-page="analise-paritaria-crd"] .tab-button { min-width: 0; }
  body.crd-sla-shell[data-crd-page="medicos-solicitantes-crd"] .ranking-kpis { grid-template-columns: 1fr; }
  body.crd-sla-shell .crd-period-highlights .highlight { grid-template-columns: 36px minmax(0, 1fr) auto; }
  body.crd-sla-shell .footer { align-items: flex-start; flex-direction: column; }
}

@media print {
  body.crd-sla-shell .topbar,
  body.crd-sla-shell .crd-page-hero,
  body.crd-sla-shell .crd-filter-panel { display: none !important; }
  body.crd-sla-shell .crd-page-content { max-width: none; padding: 0; }
}

/* Versão e responsividade unificadas — v0.30.1 */
body.crd-modernized {
  min-width: 320px;
}

body.crd-modernized .app,
body.crd-modernized .main,
body.crd-modernized .content,
body.crd-modernized .crd-page-content,
body.crd-modernized .crd-page-content > *,
body.crd-modernized .panel,
body.crd-modernized .panel-body,
body.crd-modernized .dashboard,
body.crd-modernized .bottom-grid,
body.crd-modernized .competencia-dashboard,
body.crd-modernized .dimension-dashboard,
body.crd-modernized .paritaria-chart-grid,
body.crd-modernized .requester-dashboard,
body.crd-modernized .mapping-panel {
  min-width: 0;
  max-width: 100%;
}

body.crd-modernized .crd-system-version {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 4px 0;
  padding: 7px 7px 0;
  color: #8ca4c2;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.crd-modernized .crd-system-version-value {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  color: #e8f0fb;
  background: rgba(96, 165, 250, .12);
  border: 1px solid rgba(147, 197, 253, .18);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: none;
}

body.crd-modernized .table-wrap,
body.crd-modernized .mapping-table-wrap {
  width: 100%;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.crd-modernized .table-wrap:focus-visible,
body.crd-modernized .mapping-table-wrap:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: -3px;
}

body.crd-modernized .chart-wrap,
body.crd-modernized .chart-container,
body.crd-modernized .chart-shell,
body.crd-modernized .chart-body,
body.crd-modernized .canvas-wrap {
  min-width: 0;
  max-width: 100%;
}

body.crd-modernized canvas,
body.crd-modernized img,
body.crd-modernized svg {
  max-width: 100%;
}

@media (max-width: 1240px) {
  body.crd-sla-shell .crd-page-content { padding-inline: 22px; }
  body.crd-sla-shell .mapping-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crd-sla-shell .mapping-toolbar { grid-template-columns: minmax(0, 1fr) minmax(190px, .7fr); }
  body.crd-sla-shell .mapping-toolbar .change-count { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  body.crd-modernized .sidebar {
    width: min(86vw, 284px);
    min-width: 0;
    height: 100vh;
    max-height: 100vh;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  @supports (height: 100dvh) {
    body.crd-modernized .sidebar { height: 100dvh; max-height: 100dvh; }
  }

  body.crd-sla-shell .topbar {
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    padding: 11px 14px 11px 68px;
    gap: 9px;
  }

  body.crd-sla-shell .crumb {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.crd-sla-shell .crd-session-panel,
  body.crd-sla-shell .user-box,
  body.crd-sla-shell .session-bar {
    width: 100%;
    max-width: none;
    min-width: 0 !important;
    margin-left: 0;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  body.crd-sla-shell .crd-page-content { padding: 22px 14px 36px; }
  body.crd-sla-shell .crd-page-hero { gap: 14px; }
  body.crd-sla-shell .crd-page-hero h1 { font-size: clamp(28px, 7vw, 38px); overflow-wrap: anywhere; }
  body.crd-sla-shell .definition-card { width: 100%; }

  body.crd-sla-shell .filter-panel,
  body.crd-sla-shell .crd-filter-panel,
  body.crd-sla-shell .panel,
  body.crd-sla-shell .score-card,
  body.crd-sla-shell .mapping-panel { border-radius: 14px; }

  body.crd-sla-shell .panel-header,
  body.crd-sla-shell .table-header,
  body.crd-sla-shell .mapping-panel .panel-header {
    flex-wrap: wrap;
    min-width: 0;
  }

  body.crd-sla-shell .filter-select,
  body.crd-sla-shell .filter-card,
  body.crd-sla-shell .field,
  body.crd-sla-shell .mapping-field,
  body.crd-sla-shell .search-field,
  body.crd-sla-shell .sort-field { min-width: 0; max-width: 100%; }

  body.crd-sla-shell .filter-select select,
  body.crd-sla-shell .filter-card select,
  body.crd-sla-shell .field select,
  body.crd-sla-shell .field input,
  body.crd-sla-shell .mapping-field select,
  body.crd-sla-shell .mapping-field input { width: 100%; max-width: 100%; }

  body.crd-sla-shell .mapping-note { margin-inline: 14px; }
  body.crd-sla-shell .mapping-toolbar { grid-template-columns: 1fr; padding: 14px; }
  body.crd-sla-shell .mapping-toolbar .change-count { grid-column: auto; width: 100%; min-width: 0; text-align: left; }
  body.crd-sla-shell .mapping-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  body.crd-sla-shell .mapping-footer #lastSaved { justify-self: center; text-align: center; }
  body.crd-sla-shell .pagination-controls { grid-column: auto; grid-row: auto; flex-wrap: wrap; }

  body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #configPanel,
  body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body.crd-sla-shell .topbar { padding: 10px 12px 12px 60px; }
  body.crd-sla-shell .crd-mobile-nav { top: 11px; left: 10px; }

  body.crd-sla-shell .crd-session-panel,
  body.crd-sla-shell .user-box,
  body.crd-sla-shell .session-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.crd-sla-shell .crd-session-panel .user-label,
  body.crd-sla-shell .user-box .user-label,
  body.crd-sla-shell .session-bar .user-label {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.crd-sla-shell .crd-session-panel .session-button,
  body.crd-sla-shell .crd-session-panel .ghost-button,
  body.crd-sla-shell .user-box .session-button,
  body.crd-sla-shell .user-box .ghost-button,
  body.crd-sla-shell .session-bar .session-button {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding-inline: 8px;
    white-space: normal;
    text-align: center;
  }

  body.crd-sla-shell .crd-page-content { padding: 18px 10px 32px; }
  body.crd-sla-shell .crd-page-hero h1 { font-size: clamp(26px, 9vw, 32px); }
  body.crd-sla-shell .crd-page-hero .subtitle { overflow-wrap: anywhere; }
  body.crd-sla-shell .filter-panel,
  body.crd-sla-shell .crd-filter-panel { padding: 14px; }
  body.crd-sla-shell .panel-header,
  body.crd-sla-shell .table-header { padding: 13px 14px; }
  body.crd-sla-shell .panel-body { padding-inline: 14px; }

  body.crd-sla-shell .crd-period-highlights .highlight {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  body.crd-sla-shell .crd-period-highlights .highlight-value {
    grid-column: 2;
    justify-self: start;
  }

  body.crd-sla-shell .mapping-summary { grid-template-columns: 1fr; gap: 10px; }
  body.crd-sla-shell .mapping-note { margin: 12px 10px 0; padding: 11px 12px; }
  body.crd-sla-shell .mapping-toolbar { padding: 12px 10px; }
  body.crd-sla-shell .mapping-footer { padding: 12px 10px; }
  body.crd-sla-shell .page-size-control { flex-wrap: wrap; justify-content: center; white-space: normal; }
  body.crd-sla-shell .toast { left: 10px; right: 10px; bottom: 10px; max-width: none; }

  body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #configPanel > .panel .panel-body,
  body.crd-sla-shell[data-crd-page="configuracoes-relatorio-crd"] #securityPanel .panel-body { padding-inline: 12px; }
}

@media (max-width: 380px) {
  body.crd-sla-shell .topbar { padding-left: 56px; }
  body.crd-sla-shell .crd-page-content { padding-inline: 8px; }
  body.crd-sla-shell .crd-session-panel,
  body.crd-sla-shell .user-box,
  body.crd-sla-shell .session-bar { padding: 5px; }
  body.crd-sla-shell .crd-session-panel .session-button,
  body.crd-sla-shell .crd-session-panel .ghost-button,
  body.crd-sla-shell .user-box .session-button,
  body.crd-sla-shell .user-box .ghost-button,
  body.crd-sla-shell .session-bar .session-button { font-size: 11px; }
}
