:root {
  --axion-bg: #f5f7fb;
  --axion-card: #ffffff;
  --axion-card-alt: #f8fbff;
  --axion-border: #e4e9f2;
  --axion-border-strong: #d6deeb;
  --axion-text: #1f2937;
  --axion-muted: #8091ab;
  --axion-primary: #2f69ff;
  --axion-primary-h: #1d57ef;
  --axion-success: #10b981;
  --axion-warning: #f59e0b;
  --axion-danger: #ef4444;
  --axion-info: #0ea5e9;
  --axion-purple: #8b5cf6;
  --axion-dark: #475467;
  --axion-radius: 18px;
  --axion-radius-md: 14px;
  --axion-radius-sm: 12px;
  --axion-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  --axion-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.04);
  --transition: 0.18s ease;
}

body.axion-adminator {
  background: var(--axion-bg);
  color: var(--axion-text);
}

body.axion-adminator * {
  box-sizing: border-box;
}

body.axion-adminator h1,
body.axion-adminator h2,
body.axion-adminator h3,
body.axion-adminator h4,
body.axion-adminator h5,
body.axion-adminator h6 {
  color: var(--axion-text);
}

body.axion-adminator #loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 247, 251, 0.98);
  z-index: 9999;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

body.axion-adminator #loader.fadeOut {
  opacity: 0;
  visibility: hidden;
}

body.axion-adminator #loader .spinner {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--axion-primary), var(--axion-info));
  animation: axionPulse 0.9s ease-in-out infinite alternate;
}

@keyframes axionPulse {
  from { transform: scale(0.9); opacity: 0.8; }
  to { transform: scale(1.05); opacity: 1; }
}

.text-muted { color: var(--axion-muted) !important; }
.text-primary { color: var(--axion-primary) !important; }
.text-success { color: var(--axion-success) !important; }
.text-warning { color: var(--axion-warning) !important; }
.text-danger { color: var(--axion-danger) !important; }
.text-info { color: var(--axion-info) !important; }
.text-dark { color: var(--axion-text) !important; }

.d-grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.w-100 { width: 100% !important; }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.ax-card {
  background: var(--axion-card);
  border: 1px solid var(--axion-border);
  border-radius: var(--axion-radius);
  padding: 22px;
  box-shadow: var(--axion-shadow-soft);
}

.ax-card:hover {
  border-color: rgba(47, 105, 255, 0.18);
}

.ax-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ax-card-label {
  margin: 0;
  color: var(--axion-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ax-section-title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--axion-text);
}

.ax-empty-state {
  border: 1px dashed var(--axion-border-strong);
  border-radius: 16px;
  padding: 18px;
  background: #fbfcff;
  color: var(--axion-muted);
}

.ax-list-card {
  border: 1px solid var(--axion-border);
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.ax-list-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ax-list-card-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.ax-list-card-sub {
  margin-top: 4px;
  color: var(--axion-muted);
  font-size: 12px;
}

.ax-list-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--axion-muted);
  font-size: 12px;
}

.ax-alert {
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 600;
  border: 1px solid transparent;
}

.ax-alert-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.22);
  color: #047857;
}

.ax-alert-danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
  color: #b91c1c;
}

.ax-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.22);
  color: #b45309;
}

.ax-alert-info {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.22);
  color: #0369a1;
}

.ax-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ax-badge.primary { background: rgba(47, 105, 255, 0.12); color: var(--axion-primary); }
.ax-badge.success { background: rgba(16, 185, 129, 0.12); color: #059669; }
.ax-badge.warning { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.ax-badge.danger { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.ax-badge.info { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.ax-badge.secondary { background: rgba(148, 163, 184, 0.12); color: #64748b; }
.ax-badge.dark { background: rgba(71, 84, 103, 0.12); color: #475467; }
.ax-badge.purple { background: rgba(139, 92, 246, 0.12); color: var(--axion-purple); }
.ax-badge.enrich-none { background: rgba(148, 163, 184, 0.16); color: #64748b; }
.ax-badge.enrich-tjro { background: rgba(16, 185, 129, 0.12); color: #059669; }
.ax-badge.enrich-cnj { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.ax-badge.enrich-escavador { background: rgba(139, 92, 246, 0.12); color: var(--axion-purple); }

.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--axion-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.ax-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.ax-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ax-btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.ax-btn-lg {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.ax-btn-primary {
  background: var(--axion-primary);
  border-color: var(--axion-primary);
  color: #fff;
}

.ax-btn-primary:hover {
  background: var(--axion-primary-h);
  border-color: var(--axion-primary-h);
  color: #fff;
}

.ax-btn-success {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.ax-btn-success:hover {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

.ax-btn-warning {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
}

.ax-btn-warning:hover {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
}

.ax-btn-danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.ax-btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.ax-btn-ghost {
  background: #fff;
  border-color: var(--axion-border);
  color: var(--axion-text);
}

.ax-btn-ghost:hover {
  background: #f8fafc;
  border-color: var(--axion-border-strong);
  color: var(--axion-text);
}

.ax-btn-soft-info {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.2);
}

.ax-btn-soft-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.2);
}

.ax-btn-soft-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.2);
}

.ax-form-group {
  margin-bottom: 18px;
}

.ax-label {
  display: block;
  margin-bottom: 8px;
  color: var(--axion-muted);
  font-size: 12px;
  font-weight: 700;
}

.ax-input,
.ax-select,
.ax-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--axion-border-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--axion-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.ax-textarea {
  min-height: 112px;
  resize: vertical;
}

.ax-input:focus,
.ax-select:focus,
.ax-textarea:focus {
  border-color: rgba(47, 105, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 105, 255, 0.08);
}

.ax-input::placeholder,
.ax-textarea::placeholder {
  color: #98a2b3;
}

.ax-table-wrap {
  border: 1px solid var(--axion-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

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

.ax-table thead tr {
  background: #f8fafc;
}

.ax-table th {
  padding: 14px 16px;
  color: var(--axion-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--axion-border);
}

.ax-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  color: var(--axion-text);
  vertical-align: middle;
}

.ax-table tbody tr:last-child td {
  border-bottom: none;
}

.ax-table tbody tr:hover td {
  background: #fbfcff;
}

.ax-metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  background: #fff;
  border: 1px solid var(--axion-border);
  border-left: 3px solid var(--axion-primary);
  border-radius: var(--axion-radius);
  padding: 20px 22px;
  box-shadow: var(--axion-shadow-soft);
}

.ax-metric-card.primary { border-left-color: var(--axion-primary); }
.ax-metric-card.success { border-left-color: var(--axion-success); }
.ax-metric-card.warning { border-left-color: var(--axion-warning); }
.ax-metric-card.danger { border-left-color: var(--axion-danger); }
.ax-metric-card.info { border-left-color: var(--axion-info); }
.ax-metric-card.purple { border-left-color: var(--axion-purple); }

.metric-label {
  color: var(--axion-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  color: var(--axion-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
}

.metric-sub {
  color: var(--axion-muted);
  font-size: 12px;
}

.ax-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ax-stat-stack span {
  color: var(--axion-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ax-stat-stack strong {
  color: var(--axion-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.ax-tabs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ax-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ax-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--axion-border);
  background: #fff;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ax-tab-link.active,
.ax-tab-link:hover {
  background: #eef2ff;
  border-color: rgba(47, 105, 255, 0.24);
  color: var(--axion-primary);
}

.ax-toolbar-end {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ax-stack-md {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ax-modal {
  width: min(560px, calc(100vw - 32px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
}

.ax-modal-wide {
  width: min(860px, calc(100vw - 32px));
}

.ax-modal-tall {
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.ax-modal::backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.ax-modal-card {
  padding: 22px;
  background: #fff;
}

.ax-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.ax-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: axionSpin 0.7s linear infinite;
}

@keyframes axionSpin {
  to { transform: rotate(360deg); }
}

.ax-chart-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ax-chart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.ax-chart-canvas-wrap {
  min-height: 320px;
  border: 1px solid var(--axion-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  padding: 16px;
}

.ax-metric-inline-list {
  display: grid;
  gap: 12px;
}

.ax-metric-inline-item {
  border: 1px solid var(--axion-border);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.ax-metric-inline-item strong {
  display: block;
  margin-top: 4px;
  color: var(--axion-text);
  font-size: 24px;
  font-weight: 800;
}

.ax-metric-inline-item span {
  color: var(--axion-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ax-chart-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ax-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--axion-muted);
  font-size: 12px;
  font-weight: 600;
}

.ax-chart-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.process-detail-backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--axion-muted);
  font-size: 12px;
  font-weight: 700;
}

.process-detail-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.process-detail-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.process-action-btn {
  min-width: 148px;
}

.process-title-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.process-title-inline h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.process-title-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--axion-muted);
  font-size: 13px;
}

.process-detail-hero {
  align-items: stretch;
}

.process-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 18px;
}

.process-business-status-note {
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--axion-muted);
  font-size: 12px;
}

.process-detail-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.ax-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--axion-border-strong);
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.ax-status-btn:hover {
  transform: translateY(-1px);
}

.process-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-tabs-nav {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.process-tab-trigger {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--axion-border);
  background: #fff;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.process-tab-trigger.active {
  background: #eef2ff;
  border-color: rgba(47, 105, 255, 0.24);
  color: var(--axion-primary);
}

[data-tab-panel] {
  display: none;
}

[data-tab-panel].active {
  display: block;
}

.process-history-toolbar,
.process-defendants-tools,
.process-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.process-defendant-list,
.process-phone-list,
.process-timeline {
  display: grid;
  gap: 16px;
}

.process-defendant-card {
  border: 1px solid var(--axion-border);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.process-defendant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.process-defendant-head h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.process-defendant-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
}

.process-phone-card {
  border: 1px solid var(--axion-border);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

.process-phone-number {
  color: var(--axion-text);
  font-size: 18px;
  font-weight: 800;
}

.process-phone-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: var(--axion-muted);
  font-size: 12px;
}

.process-phone-note {
  margin-top: 8px;
  color: var(--axion-muted);
  font-size: 12px;
}

.process-phone-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ax-icon-btn,
.ax-icon-btn-form .ax-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  border: 1px solid var(--axion-border-strong);
  background: #fff;
  color: #475467;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.ax-icon-btn:hover,
.ax-icon-btn-form .ax-icon-btn:hover {
  background: #f8fafc;
}

.ax-icon-btn.success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.22);
  color: #047857;
}

.ax-icon-btn.warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.22);
  color: #b45309;
}

.ax-icon-btn.danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
  color: #dc2626;
}

.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(47, 105, 255, 0.24), rgba(14, 165, 233, 0.08));
}

.process-timeline-item {
  position: relative;
  padding-left: 46px;
}

.process-timeline-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
  border: 4px solid #c7d2fe;
  box-shadow: 0 0 0 4px rgba(47, 105, 255, 0.08);
}

.process-timeline-item.inbound::before {
  border-color: rgba(16, 185, 129, 0.48);
}

.process-timeline-card {
  border: 1px solid var(--axion-border);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

.process-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.process-timeline-text {
  color: var(--axion-text);
  line-height: 1.6;
  font-size: 14px;
}

.ax-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ax-page-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ax-page-title-group h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ax-page-title-group p {
  margin: 0;
  color: var(--axion-muted);
}

.ax-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ax-stepper-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--axion-border);
  border-radius: 16px;
  background: #fff;
}

.ax-stepper-index {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: var(--axion-primary);
  font-size: 13px;
  font-weight: 800;
}

.ax-stepper-item.active {
  border-color: rgba(47, 105, 255, 0.24);
  box-shadow: var(--axion-shadow-soft);
}

.ax-stepper-item.done .ax-stepper-index {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.ax-stepper-title {
  display: block;
  color: var(--axion-text);
  font-size: 13px;
  font-weight: 800;
}

.ax-stepper-sub {
  display: block;
  color: var(--axion-muted);
  font-size: 11px;
}

.ax-search-compact {
  max-width: 380px;
}

.ax-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.ax-info-card {
  border: 1px solid var(--axion-border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.ax-info-card strong {
  display: block;
  margin-top: 8px;
  color: var(--axion-text);
  font-size: 24px;
  font-weight: 800;
}

.axion-login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(47, 105, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.06), transparent 26%),
    var(--axion-bg);
}

.axion-login-card {
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--axion-border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--axion-shadow);
}

.axion-login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.axion-login-logo img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.axion-login-logo h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
}

.axion-login-logo p {
  margin: 0;
  color: var(--axion-muted);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .ax-chart-shell,
  .process-detail-hero,
  .process-defendant-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-stepper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .process-meta-grid {
    grid-template-columns: 1fr !important;
  }

  .process-detail-toolbar-actions,
  .process-defendants-tools,
  .process-toolbar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .process-detail-toolbar-actions .ax-btn,
  .process-detail-toolbar-actions form,
  .process-defendants-tools .ax-btn,
  .process-defendants-tools form,
  .process-toolbar-actions .ax-btn,
  .process-toolbar-actions form {
    flex: 1 1 100%;
  }

  .process-title-inline h2,
  .ax-page-title-group h2 {
    font-size: 24px;
  }

  .ax-card {
    padding: 18px;
  }
}
