/* ============================================================
   SDP POLISH — Institutional design system (final cascade layer)
   App pages: body.sdp-redesigned via layout-init.js (last in cascade)
   Login: <link href="../assets/css/sdp-polish.css"> after inline styles
   Palette: Navy #16243C + Gold #B5904A (+ semantic KPI accents)
   ============================================================ */

/* ── 0. Global tokens (login + any page without sdp-redesigned) ── */
:root {
  --sdp-primary: #16243C;
  --sdp-secondary: #1F2D4A;
  --sdp-accent: #B5904A;
  --sdp-accent-hover: #9A7840;
  --sdp-surface-page: #F8F6F1;
  --sdp-surface-card: #FFFFFF;
  --sdp-error: #DC2626;
  --sdp-success: #059669;
  --sdp-text: #16243C;
  --sdp-text-muted: #566174;
  --sdp-font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --sdp-control-h: 44px;
  --sdp-radius: 12px;
  --sdp-focus: rgba(181, 144, 74, 0.55);
}

[data-theme="dark"] {
  --sdp-surface-page: #0B1220;
  --sdp-surface-card: #121D2E;
  --sdp-text: #F1F5F9;
  --sdp-text-muted: #94A3B8;
}

/* ── 1. Design tokens (light) ── */
body.sdp-redesigned {
  /* Brand */
  --sdp-navy: var(--color-navy-950, #16243C);
  --sdp-navy-soft: var(--color-navy-900, #1F2D4A);
  --sdp-gold: var(--color-gold-500, #B5904A);
  --sdp-gold-soft: var(--color-gold-100, #F7F0DC);

  /* Surfaces */
  --sdp-surface: var(--color-surface-1, #F6F4EE);
  --sdp-card: var(--color-surface-0, #FFFFFF);
  --sdp-elevated: var(--color-surface-elevated, #FFFFFF);
  --sdp-border: rgba(22, 36, 60, 0.10);
  --sdp-border-strong: var(--color-border-strong, #C8BFA8);

  /* Text (WCAG AA on card/surface) */
  --sdp-text: var(--color-text-primary, #111827);
  --sdp-text-secondary: var(--color-text-secondary, #4B5563);
  --sdp-text-muted: var(--color-text-muted, #6B7280);
  --sdp-text-on-navy: var(--color-text-inverse, #FAF8F2);

  /* Semantic */
  --sdp-success: var(--color-status-success, #16A34A);
  --sdp-warning: var(--color-status-warning, #CA8A04);
  --sdp-danger: var(--color-status-danger, #DC2626);
  --sdp-info: var(--color-status-info, #2563EB);

  /* Elevation */
  --sdp-shadow: var(--shadow-institutional, 0 1px 0 rgba(31, 45, 74, 0.06), 0 10px 24px rgba(31, 45, 74, 0.08));
  --sdp-shadow-hover: var(--shadow-lg, 0 8px 20px rgba(31, 45, 74, 0.10));
  --sdp-radius: var(--radius-lg, 12px);
  --sdp-radius-sm: var(--radius-md, 8px);

  /* Focus */
  --sdp-focus: var(--color-focus-ring, rgba(181, 144, 74, 0.55));
  --sdp-focus-strong: rgba(181, 144, 74, 0.78);

  /* Typography — canonical Inter (ignore page-level --font-display from hub-pages) */
  --sdp-font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --sdp-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --sdp-text-base: 0.875rem;
  --sdp-text-lg: 1rem;
  --sdp-leading: var(--line-height-base, 1.5);

  /* Spacing (4px base) */
  --sdp-space-1: var(--space-1, 0.25rem);
  --sdp-space-2: var(--space-2, 0.5rem);
  --sdp-space-3: var(--space-3, 0.75rem);
  --sdp-space-4: var(--space-4, 1rem);
  --sdp-space-5: var(--space-5, 1.25rem);
  --sdp-space-6: var(--space-6, 1.5rem);
  --sdp-space-8: var(--space-8, 2rem);

  /* Breakpoints (reference) */
  --sdp-bp-sm: 480px;
  --sdp-bp-md: 768px;
  --sdp-bp-lg: 1024px;
  --sdp-bp-xl: 1280px;

  /* Controls */
  --sdp-control-h: var(--control-height-lg, 44px);
  --sdp-container-max: var(--content-max-width, 1280px);
  --sdp-container-pad: var(--space-4, 1rem);

  /* Motion */
  --sdp-transition: var(--transition-base, 220ms cubic-bezier(0.4, 0, 0.2, 1));

  /* Override legacy modern-layout (teal #00897B / navy #1D357F) */
  --text-primary: var(--sdp-navy);
  --text-body: var(--sdp-text);
  --text-muted: var(--sdp-text-muted);
  --bg-card: var(--sdp-card);
  --bg-secondary: var(--sdp-surface);
  --border-primary: var(--sdp-gold);
  --border-focus: var(--sdp-gold);
  --primary-gradient: linear-gradient(135deg, var(--sdp-navy) 0%, var(--sdp-navy-soft) 100%);
  --color-success: var(--sdp-success);
  --color-danger: var(--sdp-danger);
}

@media (min-width: 768px) {
  body.sdp-redesigned {
    --sdp-text-base: 1rem;
    --sdp-container-pad: var(--space-6, 1.5rem);
  }
}

/* ── 2. Design tokens (dark) ── */
[data-theme="dark"] body.sdp-redesigned {
  --sdp-card: var(--color-surface-elevated, #121D2E);
  --sdp-surface: var(--color-surface-1, #0D1B2A);
  --sdp-border: rgba(226, 232, 240, 0.10);
  --sdp-text: var(--color-text-primary, #F5F7FA);
  --sdp-text-secondary: var(--color-text-secondary, #CBD5E1);
  --sdp-text-muted: var(--color-text-muted, #A8B3C7);
  --sdp-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  --sdp-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.42);
}

/* ── 3. Typography & page rhythm ── */
body.sdp-redesigned {
  font-family: var(--sdp-font-body) !important;
  font-size: var(--sdp-text-base);
  line-height: var(--sdp-leading);
  color: var(--sdp-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.sdp-redesigned h1,
body.sdp-redesigned h2,
body.sdp-redesigned h3,
body.sdp-redesigned .module-title,
body.sdp-redesigned .reports-module-title {
  font-family: var(--sdp-font-display);
  letter-spacing: -0.02em;
}

body.sdp-redesigned .main-content {
  max-width: var(--sdp-container-max);
  margin-inline: auto;
  padding-inline: var(--sdp-container-pad);
  padding-bottom: var(--sdp-space-8);
  overflow-x: clip;
}

body.sdp-redesigned .content-area {
  min-width: 0;
}

/* ── 4. Breadcrumb ── */
body.sdp-redesigned .breadcrumb,
body.sdp-redesigned .breadcrumb-premium {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sdp-space-2);
  margin-bottom: var(--sdp-space-4);
  font-size: 0.8125rem;
  color: var(--sdp-text-muted) !important;
}

body.sdp-redesigned .breadcrumb a {
  color: var(--sdp-navy) !important;
  text-decoration: none;
  font-weight: 600;
  min-height: var(--sdp-control-h);
  display: inline-flex;
  align-items: center;
  padding-inline: 2px;
}

body.sdp-redesigned .breadcrumb a:hover {
  color: var(--sdp-gold) !important;
  text-decoration: underline;
}

[data-theme="dark"] body.sdp-redesigned .breadcrumb a {
  color: var(--sdp-gold) !important;
}

/* ── 5. Forms & actions (override legacy teal/navy inline pages) ── */
body.sdp-redesigned .form-section {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
  padding: var(--sdp-space-6) !important;
  margin-bottom: var(--sdp-space-5) !important;
}

body.sdp-redesigned .form-section h3 {
  color: var(--sdp-navy) !important;
  border-bottom-color: var(--sdp-border) !important;
}

[data-theme="dark"] body.sdp-redesigned .form-section h3 {
  color: var(--sdp-text) !important;
}

body.sdp-redesigned .form-group label,
body.sdp-redesigned .form-help {
  color: var(--sdp-text-secondary) !important;
}

body.sdp-redesigned .form-group input,
body.sdp-redesigned .form-group select {
  min-height: var(--sdp-control-h);
  border-radius: var(--sdp-radius-sm) !important;
  border-color: var(--sdp-border) !important;
  background: var(--sdp-card) !important;
  color: var(--sdp-text) !important;
  transition: border-color var(--sdp-transition), box-shadow var(--sdp-transition);
}

body.sdp-redesigned .form-group input:focus,
body.sdp-redesigned .form-group select:focus {
  border-color: var(--sdp-gold) !important;
  box-shadow: 0 0 0 3px var(--sdp-focus) !important;
  outline: none;
}

body.sdp-redesigned .btn-action.primary {
  background: var(--sdp-navy) !important;
  background-image: none !important;
  color: var(--sdp-text-on-navy) !important;
  min-height: var(--sdp-control-h);
  border-radius: var(--sdp-radius-sm) !important;
  transition: transform var(--sdp-transition), box-shadow var(--sdp-transition), background-color var(--sdp-transition);
}

body.sdp-redesigned .btn-action.primary:hover {
  background: var(--sdp-navy-soft) !important;
  box-shadow: var(--sdp-shadow-hover) !important;
}

body.sdp-redesigned .btn-action.primary:active {
  transform: translateY(1px);
}

/* CTA primário texto-only (ex.: Nova Solicitação) — sem ícone SVG */
body.sdp-redesigned .btn-nova,
body.sdp-redesigned .btn-nova-noticia {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  min-height: var(--sdp-control-h) !important;
  padding: 0 1.25rem !important;
  background: var(--sdp-navy) !important;
  background-image: none !important;
  color: var(--sdp-text-on-navy) !important;
  border: none !important;
  border-radius: var(--sdp-radius-sm) !important;
  font-family: var(--sdp-font-body) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: var(--sdp-shadow) !important;
  transition: transform var(--sdp-transition), box-shadow var(--sdp-transition), background-color var(--sdp-transition);
}

body.sdp-redesigned .btn-nova:hover,
body.sdp-redesigned .btn-nova-noticia:hover {
  background: var(--sdp-navy-soft) !important;
  box-shadow: var(--sdp-shadow-hover) !important;
  transform: translateY(-1px);
}

body.sdp-redesigned .btn-nova:active,
body.sdp-redesigned .btn-nova-noticia:active {
  transform: translateY(0);
}

body.sdp-redesigned .btn-nova:focus-visible,
body.sdp-redesigned .btn-nova-noticia:focus-visible {
  outline: 2px solid var(--sdp-gold) !important;
  outline-offset: 2px;
}

body.sdp-redesigned .header-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sdp-space-4);
  flex-wrap: wrap;
  margin-bottom: var(--sdp-space-4);
}

body.sdp-redesigned .header-actions-row strong {
  color: var(--sdp-navy) !important;
}

[data-theme="dark"] body.sdp-redesigned .header-actions-row strong {
  color: var(--sdp-text) !important;
}

body.sdp-redesigned .btn-action.success {
  background: var(--sdp-success) !important;
  color: #fff !important;
}

body.sdp-redesigned .btn-action.secondary {
  background: var(--color-surface-2, #EFEBE0) !important;
  color: var(--sdp-text-secondary) !important;
  border: 1px solid var(--sdp-border) !important;
}

body.sdp-redesigned .btn-save {
  background: var(--sdp-navy) !important;
  background-image: none !important;
  color: #fff !important;
  min-height: var(--sdp-control-h);
  border-radius: var(--sdp-radius-sm) !important;
  border: none !important;
  padding: 0 var(--sdp-space-6) !important;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--sdp-transition), box-shadow var(--sdp-transition);
}

body.sdp-redesigned .btn-save:hover {
  background: var(--sdp-navy-soft) !important;
  box-shadow: var(--sdp-shadow-hover) !important;
}

body.sdp-redesigned .btn-save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── 6. Profile (meu-perfil) — replace legacy gradient header ── */
body.sdp-redesigned .profile-container {
  max-width: 52rem;
  margin-inline: auto;
}

body.sdp-redesigned .profile-header {
  background: linear-gradient(135deg, var(--sdp-navy) 0%, var(--sdp-navy-soft) 72%, #223455 100%) !important;
  border-radius: var(--sdp-radius) !important;
  border-bottom: 3px solid var(--sdp-gold) !important;
  box-shadow: var(--sdp-shadow) !important;
  padding: var(--sdp-space-8) var(--sdp-space-6) !important;
}

body.sdp-redesigned .profile-avatar {
  color: var(--sdp-navy) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

body.sdp-redesigned .profile-card {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
}

body.sdp-redesigned .profile-card-header {
  background: rgba(22, 36, 60, 0.04) !important;
  border-bottom: 1px solid var(--sdp-border) !important;
}

body.sdp-redesigned .profile-card-header h3 {
  color: var(--sdp-navy) !important;
}

[data-theme="dark"] body.sdp-redesigned .profile-card-header {
  background: rgba(255, 255, 255, 0.04) !important;
}

[data-theme="dark"] body.sdp-redesigned .profile-card-header h3 {
  color: var(--sdp-text) !important;
}

body.sdp-redesigned .profile-field input,
body.sdp-redesigned .profile-field select {
  min-height: var(--sdp-control-h);
  border-color: var(--sdp-border) !important;
  border-radius: var(--sdp-radius-sm) !important;
  background: var(--sdp-card) !important;
  color: var(--sdp-text) !important;
}

body.sdp-redesigned .profile-field input:focus,
body.sdp-redesigned .profile-field select:focus {
  border-color: var(--sdp-gold) !important;
  box-shadow: 0 0 0 3px var(--sdp-focus) !important;
}

body.sdp-redesigned .btn-secondary {
  background: rgba(22, 36, 60, 0.06) !important;
  color: var(--sdp-navy) !important;
  border: 1px solid var(--sdp-border) !important;
  min-height: var(--sdp-control-h);
  border-radius: var(--sdp-radius-sm) !important;
  font-weight: 600;
  transition: background var(--sdp-transition), border-color var(--sdp-transition);
}

body.sdp-redesigned .btn-secondary:hover {
  background: rgba(181, 144, 74, 0.10) !important;
  border-color: rgba(181, 144, 74, 0.35) !important;
}

[data-theme="dark"] body.sdp-redesigned .btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--sdp-text) !important;
}

/* ── 7. Usuários — list grid & badges ── */
body.sdp-redesigned .users-header {
  background: rgba(22, 36, 60, 0.05) !important;
  color: var(--sdp-text-secondary) !important;
  border: 1px solid var(--sdp-border);
  border-radius: var(--sdp-radius-sm);
}

body.sdp-redesigned .user-row {
  border-bottom-color: var(--sdp-border) !important;
}

body.sdp-redesigned .user-row:hover {
  background: rgba(181, 144, 74, 0.06) !important;
}

body.sdp-redesigned .user-name {
  color: var(--sdp-text) !important;
}

body.sdp-redesigned .no-users,
body.sdp-redesigned .error-message {
  color: var(--sdp-text-muted) !important;
  padding: var(--sdp-space-6);
  text-align: center;
  border-radius: var(--sdp-radius-sm);
  background: rgba(22, 36, 60, 0.03);
  border: 1px dashed var(--sdp-border);
}

body.sdp-redesigned .status-ativo {
  color: var(--sdp-success) !important;
  font-weight: 600;
}

body.sdp-redesigned .status-inativo {
  color: var(--sdp-danger) !important;
  font-weight: 600;
}

body.sdp-redesigned .role-badge {
  border: 1px solid var(--sdp-border);
  background: rgba(22, 36, 60, 0.04) !important;
  color: var(--sdp-navy) !important;
}

[data-theme="dark"] body.sdp-redesigned .role-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--sdp-text) !important;
}

body.sdp-redesigned .btn-small {
  min-height: 36px;
  border-radius: var(--sdp-radius-sm) !important;
  font-weight: 600;
  transition: background var(--sdp-transition), color var(--sdp-transition);
}

body.sdp-redesigned .btn-small.btn-warning {
  background: rgba(181, 144, 74, 0.12) !important;
  color: #8A6A2C !important;
}

body.sdp-redesigned .btn-small.btn-danger {
  background: rgba(220, 38, 38, 0.08) !important;
  color: #B91C1C !important;
}

body.sdp-redesigned .hub-cards {
  display: grid;
  gap: var(--sdp-space-3);
}

@media (min-width: 640px) {
  body.sdp-redesigned .hub-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.sdp-redesigned .hub-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sdp-space-4);
  }
}

/* ── 8. Alerts (existing classes) ── */
body.sdp-redesigned .alert {
  border-radius: var(--sdp-radius-sm);
  border-width: 1px;
  border-style: solid;
  padding: var(--sdp-space-3) var(--sdp-space-4);
  font-size: 0.875rem;
  line-height: 1.45;
}

body.sdp-redesigned .alert.success,
body.sdp-redesigned .alert.alert-success {
  background: var(--color-success-soft, #DCFCE7) !important;
  border-color: rgba(22, 163, 74, 0.35) !important;
  color: #14532d !important;
}

body.sdp-redesigned .alert.error,
body.sdp-redesigned .alert.alert-error,
body.sdp-redesigned .alert.danger {
  background: var(--color-danger-soft, #FEF2F2) !important;
  border-color: var(--color-danger-border, #FECACA) !important;
  color: #7f1d1d !important;
}

[data-theme="dark"] body.sdp-redesigned .alert.success {
  background: rgba(22, 163, 74, 0.16) !important;
  color: #86efac !important;
}

[data-theme="dark"] body.sdp-redesigned .alert.error,
[data-theme="dark"] body.sdp-redesigned .alert.danger {
  background: rgba(220, 38, 38, 0.16) !important;
  color: #fca5a5 !important;
}

body.sdp-redesigned .module-title,
body.sdp-redesigned .reports-module-title {
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned .hub-card-title,
body.sdp-redesigned .reports-hub-card .card-title,
body.sdp-redesigned .stat-number,
body.sdp-redesigned .reports-stat-card .stat-number {
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned .hub-card-description,
body.sdp-redesigned .reports-hub-card .card-description {
  font-family: var(--sdp-font-body) !important;
}

/* ── 9. Page header: sober institutional ── */
body.sdp-redesigned .module-title,
body.sdp-redesigned .reports-module-title {
  min-height: auto !important;
  margin: 0 0 20px !important;
  padding: 18px 22px !important;
  border-radius: var(--sdp-radius) !important;
  background: rgba(22, 36, 60, 0.045) !important;
  border: 1px solid var(--sdp-border) !important;
  border-bottom: 3px solid var(--sdp-gold) !important;
  box-shadow: none !important;
  color: var(--sdp-navy) !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

body.sdp-redesigned .module-title::before,
body.sdp-redesigned .reports-module-title::before {
  display: none !important;
}

body.sdp-redesigned .module-title svg,
body.sdp-redesigned .reports-module-title .title-icon {
  width: 42px !important;
  height: 42px !important;
  padding: 9px !important;
  border-radius: 10px !important;
  background: rgba(22, 36, 60, 0.07) !important;
  border: 1px solid rgba(22, 36, 60, 0.12) !important;
  color: var(--sdp-navy) !important;
  box-sizing: border-box !important;
}

[data-theme="dark"] body.sdp-redesigned .module-title,
[data-theme="dark"] body.sdp-redesigned .reports-module-title {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(226, 232, 240, 0.10) !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] body.sdp-redesigned .module-title svg,
[data-theme="dark"] body.sdp-redesigned .reports-module-title .title-icon {
  background: rgba(181, 144, 74, 0.14) !important;
  border-color: rgba(181, 144, 74, 0.22) !important;
  color: var(--sdp-gold) !important;
}

/* ── 10. KPI cards: light surface + semantic top stripe ── */
body.sdp-redesigned .quick-stats .stat-card,
body.sdp-redesigned .quick-stats .stat-card.stat-primary,
body.sdp-redesigned .quick-stats .stat-card.stat-info,
body.sdp-redesigned .quick-stats .stat-card.stat-success,
body.sdp-redesigned .quick-stats .stat-card.stat-warning,
body.sdp-redesigned .quick-stats .stat-card.stat-danger,
body.sdp-redesigned .reports-stats .reports-stat-card {
  position: relative !important;
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
  color: var(--sdp-navy) !important;
  overflow: hidden !important;
  transform: none !important;
  min-height: 0 !important;
}

[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card,
[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card.stat-info,
[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card.stat-success,
[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card.stat-warning,
[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card.stat-danger {
  background: var(--sdp-card) !important;
  color: #F1F5F9 !important;
}

body.sdp-redesigned .quick-stats .stat-card::before,
body.sdp-redesigned .reports-stats .reports-stat-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: auto !important;
  height: 4px !important;
  opacity: 1 !important;
  inset: 0 0 auto 0 !important;
}

body.sdp-redesigned .quick-stats .stat-card.stat-info::before,
body.sdp-redesigned .quick-stats .stat-card.stat-primary::before {
  background: var(--sdp-info) !important;
}

body.sdp-redesigned .quick-stats .stat-card.stat-success::before {
  background: var(--sdp-success) !important;
}

body.sdp-redesigned .quick-stats .stat-card.stat-warning::before {
  background: var(--sdp-warning) !important;
}

body.sdp-redesigned .quick-stats .stat-card.stat-danger::before {
  background: var(--sdp-danger) !important;
}

body.sdp-redesigned .quick-stats .stat-card:hover,
body.sdp-redesigned .reports-stats .reports-stat-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--sdp-shadow-hover) !important;
}

body.sdp-redesigned .quick-stats .stat-card .stat-icon,
body.sdp-redesigned .reports-stats .reports-stat-card .stat-icon {
  background: rgba(22, 36, 60, 0.06) !important;
  color: var(--sdp-navy) !important;
  border-radius: 10px !important;
}

body.sdp-redesigned .quick-stats .stat-card.stat-danger .stat-icon {
  background: rgba(220, 38, 38, 0.08) !important;
  color: #B91C1C !important;
}

body.sdp-redesigned .quick-stats .stat-card.stat-warning .stat-icon {
  background: rgba(181, 144, 74, 0.12) !important;
  color: #8A6A2C !important;
}

[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card .stat-icon {
  background: rgba(181, 144, 74, 0.12) !important;
  color: var(--sdp-gold) !important;
}

body.sdp-redesigned .stat-number,
body.sdp-redesigned .reports-stat-card .stat-number,
body.sdp-redesigned .quick-stats .stat-card .stat-number {
  color: var(--sdp-navy) !important;
  font-weight: 800 !important;
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned .stat-label,
body.sdp-redesigned .reports-stat-card .stat-label {
  color: var(--sdp-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.72rem !important;
}

[data-theme="dark"] body.sdp-redesigned .stat-number,
[data-theme="dark"] body.sdp-redesigned .reports-stat-card .stat-number,
[data-theme="dark"] body.sdp-redesigned .quick-stats .stat-card .stat-number {
  color: #F1F5F9 !important;
}

[data-theme="dark"] body.sdp-redesigned .stat-label,
[data-theme="dark"] body.sdp-redesigned .reports-stat-card .stat-label {
  color: #94A3B8 !important;
}

/* ── 11. Hub tiles ── */
body.sdp-redesigned .hub-card,
body.sdp-redesigned .reports-hub-card {
  position: relative !important;
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
  color: var(--sdp-navy) !important;
  min-height: 132px !important;
  transform: none !important;
  perspective: none !important;
}

body.sdp-redesigned .hub-card::before,
body.sdp-redesigned .reports-hub-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 5px !important;
  height: auto !important;
  inset: 0 auto 0 0 !important;
  opacity: 1 !important;
  background: var(--sdp-gold) !important;
  border-radius: var(--sdp-radius) 0 0 var(--sdp-radius) !important;
}

body.sdp-redesigned .hub-card::after,
body.sdp-redesigned .reports-hub-card::after {
  display: none !important;
}

body.sdp-redesigned .hub-card:hover,
body.sdp-redesigned .reports-hub-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(181, 144, 74, 0.38) !important;
  box-shadow: var(--sdp-shadow-hover) !important;
}

body.sdp-redesigned .hub-card:hover .hub-card-icon,
body.sdp-redesigned .hub-card:hover .hub-card-title,
body.sdp-redesigned .hub-card:hover .hub-card-arrow {
  transform: none !important;
}

body.sdp-redesigned .hub-card-icon,
body.sdp-redesigned .reports-hub-card .card-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
  background: rgba(22, 36, 60, 0.06) !important;
  color: var(--sdp-navy) !important;
  box-shadow: none !important;
  filter: none !important;
}

body.sdp-redesigned .hub-card-icon svg,
body.sdp-redesigned .reports-hub-card .card-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 2 !important;
}

body.sdp-redesigned .hub-card-title,
body.sdp-redesigned .reports-hub-card .card-title {
  color: var(--sdp-navy) !important;
  font-weight: 700 !important;
}

body.sdp-redesigned .hub-card-description,
body.sdp-redesigned .reports-hub-card .card-description {
  color: var(--sdp-text-muted) !important;
}

body.sdp-redesigned .hub-card-arrow,
body.sdp-redesigned .reports-hub-card .card-arrow {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(181, 144, 74, 0.12) !important;
  color: #8A6A2C !important;
}

[data-theme="dark"] body.sdp-redesigned .hub-card,
[data-theme="dark"] body.sdp-redesigned .reports-hub-card {
  background: var(--sdp-card) !important;
  border-color: rgba(226, 232, 240, 0.10) !important;
}

[data-theme="dark"] body.sdp-redesigned .hub-card-title,
[data-theme="dark"] body.sdp-redesigned .reports-hub-card .card-title {
  color: #F1F5F9 !important;
}

[data-theme="dark"] body.sdp-redesigned .hub-card-description,
[data-theme="dark"] body.sdp-redesigned .reports-hub-card .card-description {
  color: #94A3B8 !important;
}

[data-theme="dark"] body.sdp-redesigned .hub-card-icon,
[data-theme="dark"] body.sdp-redesigned .reports-hub-card .card-icon {
  background: rgba(181, 144, 74, 0.12) !important;
  color: var(--sdp-gold) !important;
}

/* ── 12. Section wrapper ── */
body.sdp-redesigned .management-section {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
}

body.sdp-redesigned .management-title,
body.sdp-redesigned .reports-section-title {
  color: var(--sdp-navy) !important;
  min-height: 0 !important;
}

body.sdp-redesigned .management-title::after,
body.sdp-redesigned .reports-section-title::after {
  background: linear-gradient(90deg, rgba(181, 144, 74, 0.45), rgba(22, 36, 60, 0.06)) !important;
}

[data-theme="dark"] body.sdp-redesigned .management-title,
[data-theme="dark"] body.sdp-redesigned .reports-section-title {
  color: #F1F5F9 !important;
}

[data-theme="dark"] body.sdp-redesigned .management-section {
  background: rgba(18, 29, 46, 0.92) !important;
}

body.sdp-redesigned .dp-quick-card:hover {
  transform: translateY(-2px) !important;
}

/* ── 13. Focus visible ── */
body.sdp-redesigned *:focus-visible {
  outline: 3px solid var(--sdp-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(181, 144, 74, 0.14);
}

body.sdp-redesigned a:focus-visible,
body.sdp-redesigned button:focus-visible,
body.sdp-redesigned .hub-card:focus-visible {
  outline-color: var(--sdp-focus-strong);
}

[data-theme="dark"] body.sdp-redesigned *:focus-visible {
  outline-color: var(--sdp-focus-strong);
  box-shadow: 0 0 0 5px rgba(181, 144, 74, 0.22);
}

/* ── 14. Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  body.sdp-redesigned *,
  body.sdp-redesigned *::before,
  body.sdp-redesigned *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body.sdp-redesigned .hub-card:hover,
  body.sdp-redesigned .quick-stats .stat-card:hover,
  body.sdp-redesigned .btn-action.primary:hover,
  body.sdp-redesigned .btn-save:hover {
    transform: none !important;
  }
}

/* ── 15. Responsive ── */
@media (max-width: 768px) {
  body.sdp-redesigned .module-title,
  body.sdp-redesigned .reports-module-title {
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    font-size: 1.25rem !important;
  }

  body.sdp-redesigned .quick-stats,
  body.sdp-redesigned .reports-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.sdp-redesigned .hub-grid,
  body.sdp-redesigned .reports-hub-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.sdp-redesigned .management-section,
  body.sdp-redesigned .form-section {
    padding: 16px !important;
  }

  body.sdp-redesigned .users-header,
  body.sdp-redesigned .user-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 390px) {
  body.sdp-redesigned .quick-stats,
  body.sdp-redesigned .reports-stats {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   16. LOGIN — pages/login.html (no body.sdp-redesigned; link in <head>)
   ============================================================ */

body:has(.login-split) {
  font-family: var(--sdp-font);
  background: var(--sdp-surface-page);
  color: var(--sdp-text);
}

.login-split .login-visual {
  background: linear-gradient(135deg, var(--sdp-primary) 0%, var(--sdp-secondary) 56%, #223455 100%) !important;
}

.login-split .feature-icon {
  stroke: var(--sdp-accent) !important;
}

.login-split .discover-cta-link {
  background: var(--sdp-accent) !important;
  color: var(--sdp-primary) !important;
  min-height: var(--sdp-control-h);
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.login-split .discover-cta-link:hover {
  background: var(--sdp-accent-hover) !important;
  box-shadow: 0 6px 18px rgba(181, 144, 74, 0.35) !important;
}

.login-split .login-form-container {
  background: var(--sdp-surface-card) !important;
}

.login-split .form-header h1 {
  color: var(--sdp-primary) !important;
  font-family: var(--sdp-font);
}

.login-split .form-header p {
  color: var(--sdp-text-muted) !important;
}

.login-split .form-group label {
  color: var(--sdp-text) !important;
}

.login-split .form-group input,
.login-split .form-group select {
  min-height: var(--sdp-control-h);
  border-color: rgba(22, 36, 60, 0.14) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-split .form-group input:focus,
.login-split .form-group select:focus {
  border-color: var(--sdp-accent) !important;
  box-shadow: 0 0 0 4px var(--sdp-focus) !important;
  outline: none;
}

.login-split .btn-login {
  background: var(--sdp-primary) !important;
  background-image: none !important;
  min-height: var(--sdp-control-h);
  border-radius: var(--sdp-radius) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.login-split .btn-login:hover:not(:disabled) {
  background: var(--sdp-secondary) !important;
  box-shadow: 0 8px 22px rgba(22, 36, 60, 0.22) !important;
}

.login-split .btn-login:active:not(:disabled) {
  transform: translateY(1px);
}

.login-split .btn-login:focus-visible {
  outline: 3px solid var(--sdp-focus);
  outline-offset: 2px;
}

.login-split .alert-error {
  background: #FEF2F2 !important;
  color: var(--sdp-error) !important;
  border-color: #FECACA !important;
}

.login-split .alert-success {
  background: #ECFDF5 !important;
  color: var(--sdp-success) !important;
  border-color: #A7F3D0 !important;
}

.login-split .form-footer {
  border-top-color: rgba(22, 36, 60, 0.12) !important;
  color: var(--sdp-text-muted) !important;
}

.login-split .lgpd-section {
  border-color: rgba(22, 36, 60, 0.10);
  border-radius: var(--sdp-radius);
}

/* .lgpd-link mantém o estilo do login.html (botão navy com texto branco) — não sobrescrever cor aqui (causa texto navy sobre fundo navy, ilegível). */

@media (max-width: 768px) {
  .login-split .login-form-container {
    padding: var(--sdp-space-6, 1.5rem) var(--sdp-space-4, 1rem) !important;
  }

  .login-split .login-visual {
    padding: var(--sdp-space-6, 1.5rem) var(--sdp-space-4, 1rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-split .login-visual::before,
  .login-split .login-visual::after,
  .login-split .visual-logo {
    animation: none !important;
  }

  .login-split .feature-item:hover,
  .login-split .discover-cta-link:hover,
  .login-split .btn-login:hover:not(:disabled) {
    transform: none !important;
  }
}

/* ============================================================
   17. TOPBAR — override topbar-premium (#1D357F legado)
   ============================================================ */

body.sdp-redesigned .top-bar {
  background: linear-gradient(135deg, var(--sdp-navy) 0%, var(--sdp-navy-soft) 100%) !important;
  box-shadow: 0 2px 12px rgba(22, 36, 60, 0.18) !important;
  border-bottom: 2px solid rgba(181, 144, 74, 0.35) !important;
}

body.sdp-redesigned .top-bar .school-name,
body.sdp-redesigned .top-bar .brand-text,
body.sdp-redesigned .top-bar .top-bar-title {
  color: var(--sdp-text-on-navy) !important;
  font-family: var(--sdp-font-body) !important;
}

body.sdp-redesigned .top-bar .selector-btn,
body.sdp-redesigned .top-bar .topbar-action-btn,
body.sdp-redesigned .top-bar .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: var(--sdp-text-on-navy) !important;
  border-radius: var(--sdp-radius-sm) !important;
  transition: background var(--sdp-transition), border-color var(--sdp-transition);
}

body.sdp-redesigned .top-bar .selector-btn:hover,
body.sdp-redesigned .top-bar .topbar-action-btn:hover,
body.sdp-redesigned .top-bar .theme-toggle-btn:hover {
  background: rgba(181, 144, 74, 0.22) !important;
  border-color: rgba(181, 144, 74, 0.45) !important;
  transform: none !important;
}

body.sdp-redesigned .top-bar .user-profile-btn,
body.sdp-redesigned .top-bar .profile-trigger {
  border-color: rgba(181, 144, 74, 0.35) !important;
}

body.sdp-redesigned .top-bar .notification-badge,
body.sdp-redesigned .top-bar .notif-badge {
  background: var(--sdp-gold) !important;
  color: var(--sdp-navy) !important;
}

/* ============================================================
   18. MODALS — override modal.css (teal / #1D357F legado)
   ============================================================ */

body.sdp-redesigned .sdp-modal-overlay {
  background: rgba(22, 36, 60, 0.52) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-family: var(--sdp-font-body) !important;
}

body.sdp-redesigned .sdp-modal-dialog {
  background: var(--sdp-card) !important;
  color: var(--sdp-text) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow-hover) !important;
}

body.sdp-redesigned .sdp-modal-header::before,
body.sdp-redesigned .sdp-modal-dialog.sdp-type-info .sdp-modal-header::before,
body.sdp-redesigned .sdp-modal-dialog.sdp-type-question .sdp-modal-header::before {
  background: var(--sdp-navy) !important;
}

body.sdp-redesigned .sdp-modal-dialog.sdp-type-success .sdp-modal-header::before {
  background: var(--sdp-success) !important;
}

body.sdp-redesigned .sdp-modal-dialog.sdp-type-warning .sdp-modal-header::before {
  background: var(--sdp-warning) !important;
}

body.sdp-redesigned .sdp-modal-dialog.sdp-type-error .sdp-modal-header::before,
body.sdp-redesigned .sdp-modal-dialog.sdp-type-danger .sdp-modal-header::before {
  background: var(--sdp-danger) !important;
}

body.sdp-redesigned .sdp-modal-btn-primary {
  background: var(--sdp-navy) !important;
  background-image: none !important;
  color: var(--sdp-text-on-navy) !important;
  border-radius: var(--sdp-radius-sm) !important;
  min-height: var(--sdp-control-h);
}

body.sdp-redesigned .sdp-modal-btn-primary:hover {
  background: var(--sdp-navy-soft) !important;
}

body.sdp-redesigned .sdp-modal-btn-secondary {
  background: rgba(22, 36, 60, 0.06) !important;
  color: var(--sdp-navy) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius-sm) !important;
}

[data-theme="dark"] body.sdp-redesigned .sdp-modal-btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--sdp-text) !important;
}

/* ============================================================
   19. TABLES — data-table, listagens, relatórios
   ============================================================ */

body.sdp-redesigned .table-container,
body.sdp-redesigned .table-content,
body.sdp-redesigned .users-table-wrapper {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
  overflow: hidden;
}

body.sdp-redesigned .table-header,
body.sdp-redesigned .table-title {
  color: var(--sdp-navy) !important;
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned table,
body.sdp-redesigned .data-table,
body.sdp-redesigned .users-table,
body.sdp-redesigned .boletim-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sdp-font-body) !important;
  font-size: 0.875rem;
}

body.sdp-redesigned table thead th,
body.sdp-redesigned .data-table th,
body.sdp-redesigned .users-table th {
  background: rgba(22, 36, 60, 0.05) !important;
  color: var(--sdp-navy) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem !important;
  border-bottom: 2px solid rgba(181, 144, 74, 0.35) !important;
  padding: 0.75rem 1rem !important;
}

body.sdp-redesigned table tbody td,
body.sdp-redesigned .data-table td,
body.sdp-redesigned .users-table td {
  color: var(--sdp-text) !important;
  border-bottom: 1px solid var(--sdp-border) !important;
  padding: 0.65rem 1rem !important;
  vertical-align: middle;
}

body.sdp-redesigned table tbody tr:hover,
body.sdp-redesigned .data-table tr:hover,
body.sdp-redesigned .users-table tr:hover {
  background: rgba(181, 144, 74, 0.06) !important;
}

body.sdp-redesigned table tbody tr:nth-child(even),
body.sdp-redesigned .data-table tbody tr:nth-child(even) {
  background: rgba(22, 36, 60, 0.02);
}

[data-theme="dark"] body.sdp-redesigned table thead th,
[data-theme="dark"] body.sdp-redesigned .data-table th {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--sdp-text) !important;
}

[data-theme="dark"] body.sdp-redesigned table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Notas disciplinares (nd-*) — alinhar navy/gold */
body.sdp-redesigned .nd-stat-card {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
}

body.sdp-redesigned .nd-stat-card.info::before {
  background: var(--sdp-info) !important;
}

body.sdp-redesigned .nd-stat-value {
  color: var(--sdp-navy) !important;
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned .nd-dist-card,
body.sdp-redesigned .nd-table-wrap {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
}

body.sdp-redesigned .nd-table thead th {
  background: rgba(22, 36, 60, 0.05) !important;
  color: var(--sdp-navy) !important;
  border-bottom: 2px solid rgba(181, 144, 74, 0.35) !important;
}

body.sdp-redesigned .nd-export-btn {
  background: var(--sdp-navy) !important;
  background-image: none !important;
  color: var(--sdp-text-on-navy) !important;
  border-radius: var(--sdp-radius-sm) !important;
}

/* ============================================================
   20. FICHA INDIVIDUAL — neutralizar gradientes candy (ficha-premium)
   ============================================================ */

body.sdp-redesigned .ficha-module-title,
body.sdp-redesigned .ficha-page-header,
body.sdp-redesigned .ficha-nota-header {
  background: rgba(22, 36, 60, 0.045) !important;
  background-image: none !important;
  border: 1px solid var(--sdp-border) !important;
  border-bottom: 3px solid var(--sdp-gold) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: none !important;
  color: var(--sdp-navy) !important;
}

body.sdp-redesigned .ficha-page-header::before,
body.sdp-redesigned .ficha-page-header::after,
body.sdp-redesigned .ficha-nota-header::before {
  display: none !important;
}

body.sdp-redesigned .ficha-page-header h1,
body.sdp-redesigned .ficha-module-title h1,
body.sdp-redesigned .ficha-nota-header h1 {
  color: var(--sdp-navy) !important;
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned .ficha-section-title {
  color: var(--sdp-navy) !important;
  border-bottom-color: rgba(181, 144, 74, 0.35) !important;
}

body.sdp-redesigned .ficha-section-title::after {
  background: var(--sdp-gold) !important;
}

body.sdp-redesigned .student-card,
body.sdp-redesigned .stats-grid-premium .stat-card-premium {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-radius: var(--sdp-radius) !important;
  box-shadow: var(--sdp-shadow) !important;
}

[data-theme="dark"] body.sdp-redesigned .ficha-module-title,
[data-theme="dark"] body.sdp-redesigned .ficha-page-header,
[data-theme="dark"] body.sdp-redesigned .ficha-nota-header {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--sdp-text) !important;
}

[data-theme="dark"] body.sdp-redesigned .ficha-page-header h1,
[data-theme="dark"] body.sdp-redesigned .ficha-module-title h1 {
  color: var(--sdp-text) !important;
}

/* ============================================================
   21. BUTTONS GLOBAIS — secondary / danger / filters
   ============================================================ */

body.sdp-redesigned .btn,
body.sdp-redesigned button.btn,
body.sdp-redesigned .filter-btn,
body.sdp-redesigned .btn-filter {
  font-family: var(--sdp-font-body) !important;
  border-radius: var(--sdp-radius-sm) !important;
  min-height: 40px;
  transition: background var(--sdp-transition), border-color var(--sdp-transition), transform var(--sdp-transition);
}

body.sdp-redesigned .btn-primary,
body.sdp-redesigned .btn.btn-primary {
  background: var(--sdp-navy) !important;
  background-image: none !important;
  color: var(--sdp-text-on-navy) !important;
  border: none !important;
}

body.sdp-redesigned .btn-primary:hover {
  background: var(--sdp-navy-soft) !important;
}

body.sdp-redesigned .btn-secondary,
body.sdp-redesigned .btn.btn-secondary {
  background: rgba(22, 36, 60, 0.06) !important;
  color: var(--sdp-navy) !important;
  border: 1px solid var(--sdp-border) !important;
}

body.sdp-redesigned input[type="search"],
body.sdp-redesigned input[type="text"],
body.sdp-redesigned input[type="number"],
body.sdp-redesigned input[type="date"],
body.sdp-redesigned select,
body.sdp-redesigned textarea {
  font-family: var(--sdp-font-body) !important;
  border-color: var(--sdp-border) !important;
  border-radius: var(--sdp-radius-sm) !important;
  background: var(--sdp-card) !important;
  color: var(--sdp-text) !important;
}

body.sdp-redesigned input:focus,
body.sdp-redesigned select:focus,
body.sdp-redesigned textarea:focus {
  border-color: var(--sdp-gold) !important;
  box-shadow: 0 0 0 3px var(--sdp-focus) !important;
  outline: none;
}

/* ============================================================
   22. DASHBOARD HOME — reforço dp-card (com dashboard-home-redesigned)
   ============================================================ */

body.sdp-redesigned .dp-card {
  border-top: 4px solid var(--sdp-gold) !important;
}

body.sdp-redesigned .dp-card-value {
  color: var(--sdp-navy) !important;
  font-family: var(--sdp-font-display) !important;
}

body.sdp-redesigned .dp-card-badge {
  background: rgba(181, 144, 74, 0.14) !important;
  color: #8A6A2C !important;
  border: 1px solid rgba(181, 144, 74, 0.28) !important;
}

body.sdp-redesigned .dp-quick-card {
  background: var(--sdp-card) !important;
  border: 1px solid var(--sdp-border) !important;
  border-left: 5px solid var(--sdp-gold) !important;
  box-shadow: var(--sdp-shadow) !important;
}
