/* ==========================================================================
   PAINEL ADMINISTRATIVO MODERNO (/fefunck/)
   Sidebar escura elegante, Dashboard com métricas ao vivo, Transações PIX,
   Gateway BSPay e Editor 100% completo do site.
   ========================================================================== */

.admin-standalone-body {
  background: #f1f5f9;
  color: #0f172a;
  margin: 0;
}

.adm-app {
  min-height: 100vh;
  background: #f3f5f9;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   PIN LOCK SCREEN
   ========================================================================== */

.adm-lock-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 15, 133, 0.28), transparent 46%),
    radial-gradient(circle at 82% 80%, rgba(16, 185, 129, 0.16), transparent 44%),
    #080d1a;
}

.adm-lock-card {
  width: 100%;
  max-width: 410px;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px 28px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.adm-lock-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #000f85, #1e3a8a);
  color: #ffffff;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 15, 133, 0.35);
}

.adm-lock-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.adm-lock-sub {
  margin: 0 0 22px;
  font-size: 0.88rem;
  color: #64748b;
}

.adm-pin-slots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
}

.adm-pin-slots.is-shake {
  animation: admShake 0.36s ease-in-out;
}

@keyframes admShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.adm-pin-slot {
  width: 46px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.45rem;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.adm-pin-slot:focus {
  outline: none;
  border-color: #000f85;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 15, 133, 0.16);
}

.adm-pin-slot.is-filled {
  border-color: #000f85;
  background: #eef2ff;
}

.adm-pin-error {
  min-height: 20px;
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #dc2626;
}

.adm-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.adm-key {
  height: 52px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  transition: background-color 0.12s ease, transform 0.1s ease;
}

.adm-key:hover {
  background: #e2e8f0;
}

.adm-key:active {
  transform: scale(0.95);
}

.adm-key--action {
  font-size: 0.84rem;
  font-weight: 700;
  color: #475569;
}

.adm-lock-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  background: none;
  border: none;
}

.adm-lock-footer-link:hover {
  color: #0f172a;
}

/* ==========================================================================
   SAAS SHELL: FIXED LEFT SIDEBAR + HEADER + WORKSPACE
   ========================================================================== */

.adm-shell {
  display: flex;
  min-height: 100vh;
}

.adm-sidebar {
  width: 266px;
  background: #0b1120;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateX(-100%);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.adm-sidebar.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .adm-sidebar {
    transform: translateX(0);
  }
}

.adm-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 26, 0.55);
  backdrop-filter: blur(3px);
  z-index: 55;
}

@media (min-width: 1024px) {
  .adm-sidebar-overlay {
    display: none !important;
  }
}

.adm-sidebar__head {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.adm-sidebar__logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #000f85, #3b82f6);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.adm-sidebar__name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.adm-sidebar__slug {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 2px;
}

.adm-sidebar__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 20px;
}

.adm-nav-group + .adm-nav-group {
  margin-top: 18px;
}

.adm-nav-group__label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 12px 8px;
}

.adm-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.adm-nav-btn__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-nav-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.adm-nav-btn.is-active {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.08));
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #3b82f6;
}

.adm-nav-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.adm-sidebar__footer {
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Main Column */
.adm-content-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .adm-content-col {
    margin-left: 266px;
  }
}

.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 1024px) {
  .adm-topbar {
    padding: 14px 28px;
  }
}

.adm-topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .adm-menu-toggle {
    display: none;
  }
}

.adm-topbar__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.adm-topbar__sub {
  font-size: 0.76rem;
  color: #64748b;
}

.adm-topbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.adm-status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.adm-status-pill.is-dirty {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.adm-main {
  padding: 20px 16px 70px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .adm-main {
    padding: 26px 28px 80px;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.14s ease;
  text-decoration: none;
}

.adm-btn--primary {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 6px 14px -4px rgba(16, 185, 129, 0.45);
}

.adm-btn--primary:hover {
  background: #059669;
}

.adm-btn--royal {
  background: #000f85;
  color: #ffffff;
  box-shadow: 0 6px 14px -4px rgba(0, 15, 133, 0.4);
}

.adm-btn--royal:hover {
  background: #000a63;
}

.adm-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
}

.adm-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

.adm-btn--outline {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.adm-btn--outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.adm-btn--danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.adm-btn--danger:hover {
  background: #fee2e2;
}

.adm-btn--sm {
  padding: 6px 11px;
  font-size: 0.78rem;
  border-radius: 8px;
}

/* ==========================================================================
   DASHBOARD KPI CARDS, LIVE PULSE & CHARTS
   ========================================================================== */

.adm-live-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.adm-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.adm-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: admLivePulse 1.8s infinite;
}

@keyframes admLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.adm-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .adm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .adm-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.adm-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.adm-kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--kpi-accent, #000f85);
}

.adm-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-kpi-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
}

.adm-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--kpi-soft, #eef2ff);
  color: var(--kpi-accent, #000f85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.adm-kpi-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.adm-kpi-sub {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.adm-kpi-sub strong {
  color: #0f172a;
}

.adm-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 1100px) {
  .adm-dash-grid {
    grid-template-columns: 1.55fr 1fr;
  }
}

/* Hourly Bar Chart */
.adm-chart-wrap {
  width: 100%;
  overflow-x: auto;
}

.adm-bar-chart {
  display: grid;
  grid-template-columns: repeat(24, minmax(12px, 1fr));
  align-items: end;
  gap: 5px;
  height: 170px;
  padding-top: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.adm-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 5px;
}

.adm-bar-fill {
  width: 100%;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #3b82f6, #000f85);
  transition: height 0.3s ease;
}

.adm-bar-fill--zero {
  background: #e2e8f0;
}

.adm-bar-hour {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Online Visitors Feed */
.adm-online-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.adm-online-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  font-size: 0.82rem;
}

.adm-online-item__page {
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm-online-item__meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: #64748b;
}

/* Conversion Bars */
.adm-funnel-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.adm-funnel-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.adm-progress-track {
  height: 10px;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}

.adm-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.35s ease;
}

/* ==========================================================================
   TRANSACTIONS TABLE & STATUS PILLS
   ========================================================================== */

.adm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.adm-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.adm-table th {
  text-align: left;
  padding: 11px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.adm-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  vertical-align: middle;
}

.adm-table tbody tr:hover {
  background: #f8fafc;
}

.adm-tx-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.adm-tx-pill--paid {
  background: #dcfce7;
  color: #166534;
}

.adm-tx-pill--pending {
  background: #fef3c7;
  color: #92400e;
}

.adm-tx-pill--expired {
  background: #f1f5f9;
  color: #475569;
}

.adm-tx-pill--failed {
  background: #fee2e2;
  color: #991b1b;
}

.adm-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

/* ==========================================================================
   CARDS, FORMS, UPLOADS & REPEATERS (SITE EDITOR & GATEWAY)
   ========================================================================== */

.adm-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.adm-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.adm-card__title {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.adm-card__desc {
  margin: 0;
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.45;
}

.adm-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.adm-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 720px) {
  .adm-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.adm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adm-field + .adm-field {
  margin-top: 12px;
}

.adm-grid-2 .adm-field + .adm-field,
.adm-grid-3 .adm-field + .adm-field {
  margin-top: 0;
}

.adm-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.adm-hint {
  font-size: 0.74rem;
  color: #64748b;
}

.adm-input,
.adm-select,
.adm-textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.adm-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.adm-input:focus,
.adm-select:focus,
.adm-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #000f85;
  box-shadow: 0 0 0 3px rgba(0, 15, 133, 0.12);
}

.adm-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-color-picker {
  width: 44px;
  height: 40px;
  padding: 2px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.adm-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.adm-switch-row strong {
  display: block;
  font-size: 0.86rem;
  color: #0f172a;
}

.adm-switch-row span {
  font-size: 0.76rem;
  color: #64748b;
}

.adm-switch {
  width: 44px;
  height: 25px;
  accent-color: #000f85;
  cursor: pointer;
  flex-shrink: 0;
}

.adm-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.adm-seg-btn {
  padding: 8px 14px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.adm-seg-btn.is-active {
  background: #ffffff;
  color: #000f85;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.adm-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 18px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.adm-upload-box.is-dragover {
  border-color: #000f85;
  background: #eef2ff;
}

.adm-upload-preview {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: repeating-conic-gradient(#e2e8f0 0% 25%, #ffffff 0% 50%) 50% / 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  max-height: 220px;
  padding: 8px;
}

.adm-upload-preview img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

.adm-upload-preview--empty {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}

.adm-upload-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.adm-file-input {
  display: none;
}

.adm-repeater {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-item-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fafbfd;
  overflow: hidden;
}

.adm-item-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
}

.adm-item-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
}

.adm-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.adm-item-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-sublist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.adm-sublist__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.adm-sublist__label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
}

.adm-subrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.adm-inline-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.adm-divider {
  height: 1px;
  background: #eef2f6;
  margin: 18px 0;
}

.adm-callout {
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.83rem;
  line-height: 1.5;
}

.adm-callout--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.adm-callout--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.adm-callout--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.adm-empty-state {
  text-align: center;
  padding: 36px 20px;
  color: #64748b;
  font-size: 0.88rem;
}
