:root {
  /* Stitch Design System Colors - BLUE THEME */
  --skai-primary: #2563eb;
  --skai-accent: #3b82f6;
  --skai-accent-2: #1d4ed8;
  --skai-ink: #0f172a;
  --skai-muted: #64748b;
  --skai-background-light: #f8fafc;
  --skai-background-dark: #0f172a;
  --skai-surface: #ffffff;
  --skai-border: #e2e8f0;
  --skai-border-light: #f1f5f9;
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Vibrant Extension Tokens */
  --skai-vibrant-blue: #2563eb;
  --skai-vibrant-indigo: #4f46e5;
  --skai-vibrant-emerald: #10b981;
  --skai-vibrant-rose: #f43f5e;
  --skai-vibrant-amber: #f59e0b;
  --skai-vibrant-purple: #8b5cf6;
}

/* Vibrant Hero Component */
.skai-vibrant-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.skai-vibrant-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: 0;
}

/* Flash Card Component */
.skai-card-flash {
  position: relative;
  border-top-width: 4px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skai-card-flash.blue { border-top-color: var(--skai-vibrant-blue) !important; background: linear-gradient(180deg, #eff6ff 0%, #ffffff 40px); }
.skai-card-flash.emerald { border-top-color: var(--skai-vibrant-emerald) !important; background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 40px); }
.skai-card-flash.rose { border-top-color: var(--skai-vibrant-rose) !important; background: linear-gradient(180deg, #fff1f2 0%, #ffffff 40px); }
.skai-card-flash.amber { border-top-color: var(--skai-vibrant-amber) !important; background: linear-gradient(180deg, #fffbeb 0%, #ffffff 40px); }
.skai-card-flash.purple { border-top-color: var(--skai-vibrant-purple) !important; background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 40px); }

.skai-card-flash:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.12);
}

/* Tab Navigation System */
.skai-tabs {
  display: flex;
  gap: 2px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 14px;
  width: fit-content;
}

.skai-tab-item {
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  user-select: none;
}

.skai-tab-item:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.5);
}

.skai-tab-item.active {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Glassmorphism Accents */
.skai-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

body {
  font-family: var(--font-inter);
}

/* Material Symbols for stitch-like icon styling */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  line-height: 1;
}

.skai-rail-item .material-symbols-outlined {
  font-size: 22px;
}

.skai-side-link .material-symbols-outlined {
  font-size: 20px;
}

/* Stitch-like button styles */
.btn-primary {
  background: linear-gradient(180deg, var(--skai-accent), var(--skai-accent-2));
  border: none;
  border-radius: 12px;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-outline-primary {
  border: 2px solid var(--skai-accent);
  color: var(--skai-accent);
  border-radius: 12px;
  font-weight: 600;
  padding: 8px 18px;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background: var(--skai-accent);
  color: #fff;
}

/* Form input styling to match stitch */
.form-control {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--skai-accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  outline: none;
}

/* Card styling */
.card {
  border: 1px solid #e6edf7;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  border-radius: 20px 20px 0 0 !important;
  padding: 16px 20px;
  font-weight: 600;
}

.card-body {
  padding: 20px;
}

/* Badge styling */
.badge {
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 0.75rem;
}

.badge.bg-primary {
  background: var(--skai-accent) !important;
}

/* Table styling to match stitch */
.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  background: #f8fafc;
  border-bottom: 2px solid #e6edf7;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
}

.table tbody td {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.table tbody tr {
  transition: background 0.15s ease;
}

.table tbody tr:hover {
  background: #f8fafc;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* KPI Card styling from stitch */
.skai-kpi-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 20px;
  padding: 20px;
  transition: all 0.2s ease;
}

.skai-kpi-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Stitch Super Admin KPI Card */
.skai-super-kpi-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.skai-super-kpi-card .skai-kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.skai-super-kpi-card .skai-kpi-icon-wrap.primary {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.skai-super-kpi-card .skai-kpi-icon-wrap.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.skai-super-kpi-card .skai-kpi-icon-wrap.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.skai-super-kpi-card .skai-kpi-icon-wrap.orange {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.skai-super-kpi-card .skai-kpi-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 4px;
}

.skai-super-kpi-card .skai-kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.skai-super-kpi-card .skai-kpi-delta {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.skai-super-kpi-card .skai-kpi-delta.positive {
  color: #10b981;
}

.skai-super-kpi-card .skai-kpi-delta.negative {
  color: #ef4444;
}

/* Stitch Status Pill */
.skai-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.skai-status-pill.ok,
.skai-status-pill.active,
.skai-status-pill.Completed {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.skai-status-pill.ok .skai-status-dot,
.skai-status-pill.active .skai-status-dot,
.skai-status-pill.Completed .skai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.skai-status-pill.warn,
.skai-status-pill.Pending,
.skai-status-pill.Grace {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.skai-status-pill.warn .skai-status-dot,
.skai-status-pill.Pending .skai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}

.skai-status-pill.danger,
.skai-status-pill.Suspended,
.skai-status-pill.Expiring {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.skai-status-pill.danger .skai-status-dot,
.skai-status-pill.Suspended .skai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

/* Stitch Plan Tag */
.skai-plan-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.skai-plan-tag.Enterprise {
  background: rgba(168, 85, 247, 0.15);
  color: #9333ea;
}

.skai-plan-tag.Professional {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.skai-plan-tag.Starter {
  background: rgba(100, 116, 139, 0.15);
  color: #475569;
}

.skai-plan-tag.Custom {
  background: rgba(236, 91, 19, 0.15);
  color: #ea580c;
}

/* Stitch Timeline Activity Feed */
.skai-timeline {
  position: relative;
  padding-left: 32px;
}

.skai-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e2e8f0;
}

.skai-timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.skai-timeline-item:last-child {
  padding-bottom: 0;
}

.skai-timeline-icon {
  position: absolute;
  left: -32px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.skai-timeline-icon.add {
  background: rgba(236, 91, 19, 0.1);
  color: #ec5b13;
}

.skai-timeline-icon.upgrade {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.skai-timeline-icon.warning {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.skai-timeline-icon.info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.skai-timeline-content {
  padding-left: 8px;
}

.skai-timeline-title {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

.skai-timeline-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.skai-timeline-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Stitch Quick Action Button */
.skai-quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s ease;
}

.skai-quick-action:hover {
  border-color: #ec5b13;
  background: rgba(236, 91, 19, 0.02);
}

.skai-quick-action:hover .skai-quick-action-arrow {
  color: #ec5b13;
  transform: translateX(4px);
}

.skai-quick-action-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skai-quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(236, 91, 19, 0.1);
  color: #ec5b13;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skai-quick-action strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.skai-quick-action .meta {
  font-size: 12px;
  color: #64748b;
}

.skai-quick-action-arrow {
  color: #94a3b8;
  transition: all 0.2s ease;
}

/* Stitch Infrastructure Health */
.skai-health-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.skai-health-item:last-child {
  border-bottom: none;
}

.skai-health-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skai-health-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skai-health-icon.ok {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.skai-health-icon.warn {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.skai-health-icon.danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.skai-health-label {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.skai-health-value {
  font-size: 12px;
  font-weight: 600;
}

.skai-health-value.ok {
  color: #10b981;
}

.skai-health-value.warn {
  color: #f59e0b;
}

.skai-health-value.danger {
  color: #ef4444;
}

/* Stitch System Stable Badge */
.skai-system-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.skai-system-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: skai-pulse 2s infinite;
}

@keyframes skai-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Stitch Table */
.skai-stitch-table {
  width: 100%;
  border-collapse: collapse;
}

.skai-stitch-table th {
  background: #f8fafc;
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 2px solid #e2e8f0;
}

.skai-stitch-table td {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #0f172a;
}

.skai-stitch-table tbody tr:hover {
  background: #f8fafc;
}

.skai-stitch-table tbody tr:last-child td {
  border-bottom: none;
}

/* Company Avatar */
.skai-company-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

/* Map placeholder */
.skai-map-placeholder {
  width: 100%;
  aspect-ratio: 2/1;
  background: #f1f5f9;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.skai-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.skai-map-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ec5b13;
  box-shadow: 0 0 20px rgba(236, 91, 19, 0.5);
  animation: skai-pulse 2s infinite;
}

.skai-map-marker:nth-child(1) {
  top: 25%;
  left: 25%;
}

.skai-map-marker:nth-child(2) {
  top: 33%;
  left: 50%;
  width: 20px;
  height: 20px;
}

.skai-map-marker:nth-child(3) {
  top: 75%;
  left: 66%;
}

.skai-map-label {
  position: relative;
  z-index: 1;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

/* Coverage Cards */
.skai-coverage-card-stitch {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}

.skai-coverage-card-stitch h4 {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.skai-metric-row-stitch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.skai-metric-row-stitch:last-child {
  border-bottom: none;
}

.skai-metric-row-stitch span {
  font-size: 14px;
  color: #475569;
}

.skai-metric-row-stitch strong {
  font-size: 14px;
  font-weight: 600;
}

.skai-metric-row-stitch strong.tone-ok {
  color: #10b981;
}

.skai-metric-row-stitch strong.tone-warn {
  color: #f59e0b;
}

.skai-metric-row-stitch strong.tone-danger {
  color: #ef4444;
}

.skai-metric-row-stitch strong.tone-info {
  color: #3b82f6;
}

.skai-metric-row-stitch strong.tone-neutral {
  color: #64748b;
}

/* Operations Focus List */
.skai-ops-list-stitch {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skai-ops-list-stitch li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.skai-ops-list-stitch li:last-child {
  border-bottom: none;
}

.skai-ops-list-stitch strong {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.skai-ops-list-stitch span {
  font-size: 13px;
  color: #64748b;
}

/* KPI Card styling from stitch */
.skai-kpi-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 20px;
  padding: 20px;
  transition: all 0.2s ease;
}

.skai-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.skai-kpi-label {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
}

.skai-kpi-value {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.skai-kpi-meta {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 4px;
}

.skai-page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1.1rem 0 1rem
}

.skai-page-head h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--skai-ink)
}

.skai-page-head p {
  margin: .35rem 0 0;
  color: var(--skai-muted)
}

.skai-page-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: #334155;
  font-weight: 600
}

.skai-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .06)
}

.skai-panel-header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #eef2f7
}

.skai-panel-body {
  padding: 1.15rem
}

.skai-response-box {
  min-height: 220px;
  max-height: 420px;
  overflow: auto;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  margin: 0
}

.skai-code-box {
  width: 100%;
  min-height: 260px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical
}

.skai-kbd {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-bottom-width: 2px;
  border-radius: 8px;
  padding: .1rem .45rem;
  background: #fff;
  color: #334155;
  font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
}

.skai-auth-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 48%, #eff6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px
}

.skai-auth-shell {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12)
}

.skai-auth-side {
  padding: 42px;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, .18), transparent 34%), linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.skai-auth-side h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 12px
}

.skai-auth-side p {
  color: rgba(255, 255, 255, .78);
  max-width: 42ch
}

.skai-auth-bullets {
  display: grid;
  gap: 14px;
  margin-top: 20px
}

.skai-auth-bullet {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05)
}

.skai-auth-form {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.skai-auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px
}

.skai-auth-brand img {
  height: 42px;
  width: auto
}

.skai-auth-title {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a
}

.skai-auth-sub {
  margin: .5rem 0 0;
  color: #64748b
}

.skai-auth-form .form-control {
  min-height: 48px;
  border-radius: 14px
}

.skai-auth-form .btn-primary {
  min-height: 48px;
  border: none;
  background: linear-gradient(180deg, var(--skai-accent), var(--skai-accent-2));
  box-shadow: 0 12px 24px rgba(249, 115, 22, .22)
}

.skai-auth-footer {
  margin-top: 18px;
  color: #64748b;
  font-size: .95rem
}

.skai-auth-alert {
  padding: .9rem 1rem;
  border-radius: 14px;
  margin: 0 0 1rem
}

.skai-auth-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b
}

.skai-auth-alert-warn {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  white-space: pre-wrap
}

@media (max-width: 991px) {
  .skai-auth-shell {
    grid-template-columns: 1fr
  }

  .skai-auth-side,
  .skai-auth-form {
    padding: 28px
  }
}

:root {
  --skai-font-scale: 1;
}

.skai-page-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 28px 30px;
  border: 1px solid #d6dfec;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
  margin-bottom: 20px;
}

.skai-page-eyebrow,
.skai-page-hero__eyebrow {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 8px;
}

.skai-page-title,
.skai-page-hero h1,
.skai-page-hero h2 {
  margin: 0;
  color: #07152f;
  font-weight: 800;
}

.skai-page-subtitle,
.skai-page-hero p {
  max-width: 70ch;
  color: #475569;
  font-size: 1.02rem;
  margin: .7rem 0 0;
}

.skai-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.skai-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.skai-kpi-card {
  background: #fff;
  border: 1px solid #d6dfec;
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.skai-kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.skai-kpi-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  font-weight: 700;
}

.skai-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e8f0ff;
  color: #2457d6;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.skai-kpi-meta {
  color: #64748b;
}

.skai-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr);
  gap: 18px;
}

.skai-surface,
.skai-section-card,
.crm-filter-panel .card,
.crm-data-panel .card {
  background: #fff;
  border: 1px solid #d6dfec;
  border-radius: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.skai-list-card,
.skai-table-card {
  padding: 22px;
}

.skai-list-head,
.skai-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.skai-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  background: #fff;
  margin-top: 12px;
}

.skai-list-item-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  color: #2457d6;
  font-weight: 800;
  flex: 0 0 auto;
}

.skai-soft-note {
  color: #64748b;
}

.skai-status-list {
  display: grid;
  gap: 14px;
}

.skai-status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
}

.skai-status-row:last-child {
  border-bottom: 0;
}

.skai-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}

.skai-status-pill.ok {
  background: #e8f7ec;
  color: #1d7f3b;
}

.skai-status-pill.info {
  background: #e8f0ff;
  color: #2457d6;
}

.skai-status-pill.warn {
  background: #fff5dc;
  color: #c07a00;
}

.skai-status-pill.neutral {
  background: #eef2f7;
  color: #475569;
}

.skai-pos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 18px;
}

.skai-pos-scan,
.skai-terminal {
  padding: 22px;
}

.skai-scan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 180px;
  gap: 14px;
  align-items: end;
}

.skai-toolbar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.skai-total-panel {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0b1f3b 0%, #13315c 100%);
  color: #fff;
  margin-bottom: 16px;
}

.crm-page-grid {
  align-items: start;
}

.crm-filter-panel .card,
.crm-data-panel .card {
  height: 100%;
}

.crm-filter-panel .card-header,
.crm-data-panel .card-header {
  background: #fff;
  border-bottom: 1px solid #e5edf7;
  border-radius: 24px 24px 0 0;
}

.skai-settings-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.skai-settings-tabs button {
  border: 1px solid #cbd8ea;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  color: #334155;
}

.skai-settings-tabs button.active {
  background: #2457d6;
  color: #fff;
  border-color: #2457d6;
}

.skai-settings-note {
  background: #f8fbff;
  border: 1px solid #d7e4f5;
  border-radius: 18px;
  padding: 16px;
}

.skai-auth-brand img {
  height: 64px;
}

.skai-auth-side .skai-auth-brand img {
  height: 58px;
}

.skai-auth-side strong {
  font-size: 1.8rem;
  letter-spacing: .01em;
}

.skai-font-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0 4px;
}

.skai-font-preview .sample {
  padding: 8px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
}

@media (max-width: 1200px) {
  .skai-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skai-grid-2,
  .skai-pos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .skai-page-hero {
    padding: 20px;
    border-radius: 22px
  }

  .skai-kpi-grid {
    grid-template-columns: 1fr;
  }

  .skai-scan-row {
    grid-template-columns: 1fr;
  }

  .skai-auth-brand img {
    height: 56px;
  }
}


/* Phase 47: super admin dashboard completion + brand lock */
.skai-rail-brand img,
.skai-auth-brand img,
.skai-brand-lock img,
.navbar-brand .skai-rail-brand img {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.skai-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr);
  gap: 18px;
  align-items: start
}

.skai-dashboard-grid--super {
  grid-template-columns: minmax(0, 1.7fr) minmax(330px, .9fr)
}

.skai-dashboard-main,
.skai-dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.skai-kpi-card--rich {
  padding: 20px 22px 18px
}

.skai-kpi-card--rich .skai-kpi-value {
  margin: .4rem 0 .35rem;
  font-size: clamp(1.85rem, 1.5rem + .6vw, 2.35rem);
  line-height: 1.05;
  color: #07152f;
  font-weight: 800
}

.skai-growth-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff4ec;
  color: #c2410c;
  font-size: .84rem;
  font-weight: 800;
  border: 1px solid #ffe2cf;
  white-space: nowrap
}

.skai-surface--large {
  padding: 22px
}

.skai-table-responsive {
  overflow: auto
}

.skai-table-clean {
  width: 100%;
  border-collapse: collapse
}

.skai-table-clean th {
  font-size: .77rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  font-weight: 800;
  padding: 13px 14px;
  border-bottom: 1px solid #e6edf7;
  background: #f8fbff
}

.skai-table-clean td {
  padding: 15px 14px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle
}

.skai-table-clean tbody tr:last-child td {
  border-bottom: 0
}

.skai-company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px
}

.skai-company-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eef2f7;
  color: #0f172a;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .82rem;
  flex: 0 0 auto
}

.skai-company-name {
  font-weight: 700;
  color: #0f172a
}

.skai-company-meta {
  color: #64748b;
  font-size: .88rem
}

.skai-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2457d6;
  font-weight: 700;
  font-size: .8rem
}

.skai-empty-panel {
  padding: 26px;
  border: 1px dashed #d7e3f3;
  border-radius: 18px;
  background: #fbfdff;
  text-align: center
}

.skai-empty-panel strong {
  display: block;
  color: #0f172a;
  margin-bottom: 6px
}

.skai-empty-panel p {
  margin: 0;
  color: #64748b
}

.skai-coverage-panel {
  padding: 22px
}

.skai-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.skai-coverage-card {
  border: 1px solid #e6edf7;
  border-radius: 20px;
  background: #fff;
  padding: 18px
}

.skai-coverage-card h4 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800
}

.skai-coverage-card--highlight {
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border-color: #fed7aa
}

.skai-metric-stack {
  display: grid;
  gap: 12px
}

.skai-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eff4fa
}

.skai-metric-row:last-child {
  padding-bottom: 0;
  border-bottom: 0
}

.tone-ok {
  color: #15803d
}

.tone-warn {
  color: #b45309
}

.tone-danger {
  color: #b91c1c
}

.tone-info {
  color: #1d4ed8
}

.tone-neutral {
  color: #475569
}

.skai-ops-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px
}

.skai-ops-list li {
  display: grid;
  gap: 3px
}

.skai-ops-list strong {
  font-size: 1.55rem;
  line-height: 1;
  color: #0f172a
}

.skai-ops-list span {
  color: #64748b
}

.skai-mini-list {
  display: grid;
  gap: 12px
}

.skai-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 16px;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: .18s ease
}

.skai-mini-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  border-color: #c8d8eb
}

.skai-mini-row strong {
  display: block;
  color: #0f172a;
  font-size: 1rem
}

.skai-mini-row .meta {
  margin-top: 4px;
  color: #64748b;
  font-size: .9rem;
  max-width: 28ch
}

.skai-mini-row>span {
  color: #2457d6;
  font-weight: 700;
  white-space: nowrap
}

.skai-feed-stack {
  display: grid;
  gap: 12px
}

.skai-feed-card {
  padding: 16px;
  border: 1px solid #e4ecf7;
  border-radius: 18px;
  background: #fff
}

.skai-feed-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px
}

.skai-feed-card__top strong {
  color: #0f172a
}

.skai-feed-card__top span {
  font-size: .82rem;
  color: #64748b;
  white-space: nowrap
}

.skai-feed-meta {
  color: #64748b;
  font-size: .92rem
}

.skai-status-pill.danger {
  background: #fef2f2;
  color: #b91c1c
}

.skai-status-pill.warn {
  background: #fff7ed;
  color: #b45309
}

.skai-status-pill.info {
  background: #eef4ff;
  color: #1d4ed8
}

.skai-status-pill.neutral {
  background: #eef2f7;
  color: #475569
}

.skai-status-pill.ok {
  background: #eaf7ef;
  color: #15803d
}

@media (max-width: 1280px) {

  .skai-dashboard-grid,
  .skai-dashboard-grid--super {
    grid-template-columns: 1fr
  }

  .skai-coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width: 767px) {
  .skai-coverage-grid {
    grid-template-columns: 1fr
  }

  .skai-table-clean th,
  .skai-table-clean td {
    padding: 12px 10px
  }

  .skai-mini-row {
    padding: 14px
  }

  .skai-growth-pill {
    font-size: .78rem;
    padding: 6px 10px
  }
}


/* Phase 49: final super admin dashboard polish */
body.skai-super-dashboard .skai-main {
  min-width: 0
}

body.skai-super-dashboard .skai-sidebar {
  width: 270px;
  min-width: 270px
}

.skai-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px 18px;
  border-bottom: 1px solid #e8eef7;
  margin-bottom: 8px
}

.skai-sidebar-brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
  border: 1px solid #e6edf7;
  overflow: hidden;
  flex: 0 0 auto
}

.skai-sidebar-brand__logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: none !important
}

.skai-sidebar-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.skai-sidebar-brand__text strong {
  font-size: 1.05rem;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: .01em
}

.skai-sidebar-brand__text span {
  margin-top: 3px;
  color: #64748b;
  font-size: .9rem
}

body.skai-super-dashboard .skai-side-head {
  padding-top: 6px
}

body.skai-super-dashboard .skai-side-link {
  color: #24364b !important;
  font-weight: 700;
  text-decoration: none
}

body.skai-super-dashboard .skai-side-link .icon {
  font-size: 1rem;
  opacity: .9
}

body.skai-super-dashboard .skai-side-link.active {
  background: #fff2eb;
  border-color: #ffd9c7;
  color: #b45309 !important;
  box-shadow: none
}

body.skai-super-dashboard .skai-side-title {
  color: #7c8ea7
}

body.skai-super-dashboard .skai-topbar .navbar-brand .skai-rail-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain
}

body.skai-super-dashboard .skai-topbar .navbar-brand .skai-rail-brand {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important
}

body.skai-super-dashboard .skai-table-clean thead th {
  background: #f4f8fd;
  color: #5b6f87;
  font-size: .76rem
}

body.skai-super-dashboard .skai-table-clean tbody tr {
  transition: background .18s ease
}

body.skai-super-dashboard .skai-table-clean tbody tr:hover {
  background: #fbfdff
}

body.skai-super-dashboard .skai-table-clean th:nth-child(4),
body.skai-super-dashboard .skai-table-clean th:nth-child(5),
body.skai-super-dashboard .skai-table-clean td:nth-child(4),
body.skai-super-dashboard .skai-table-clean td:nth-child(5) {
  text-align: right;
  white-space: nowrap
}

body.skai-super-dashboard .skai-company-cell {
  min-width: 260px
}

body.skai-super-dashboard .skai-coverage-card {
  min-height: 210px
}

body.skai-super-dashboard .skai-page-eyebrow {
  color: #73859c
}

body.skai-super-dashboard .skai-mini-row strong {
  color: #1e40af
}

@media (max-width: 991px) {
  body.skai-super-dashboard .skai-sidebar {
    width: 100%;
    min-width: 0
  }

  .skai-sidebar-brand {
    padding: 18px 16px 14px
  }
}

/* Phase 66: super shell navigation recovery + Stitch token cleanup */
:root {
  --skai-stitch-primary: #F15A24;
  --skai-stitch-bg: #F8FAFC;
  --skai-stitch-surface: #FFFFFF;
  --skai-stitch-nav: #0F172A;
  --skai-stitch-text: #0F172A;
  --skai-stitch-muted: #475569;
  --skai-stitch-line: #E2E8F0;
}

body.skai-super-shell {
  background: var(--skai-stitch-bg)
}

body.skai-super-shell .skai-sidebar {
  background: var(--skai-stitch-nav);
  border-right: 1px solid rgba(255, 255, 255, .06);
}

body.skai-super-shell .skai-sidebar-brand {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 12px;
}

body.skai-super-shell .skai-sidebar-brand__logo {
  background: #fff1eb;
  border: 1px solid rgba(241, 90, 36, .24);
  box-shadow: none;
}

body.skai-super-shell .skai-sidebar-brand__logo img {
  width: 26px;
  height: 26px
}

body.skai-super-shell .skai-sidebar-brand__text,
body.skai-super-shell .skai-sidebar-brand__text:hover {
  text-decoration: none
}

body.skai-super-shell .skai-sidebar-brand__text strong {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -0.03em
}

body.skai-super-shell .skai-sidebar-brand__text span {
  color: #94a3b8;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700
}

body.skai-super-shell .skai-side-app {
  color: #cbd5e1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem
}

body.skai-super-shell .skai-side-head .text-muted {
  color: #64748b !important;
  display: none
}

body.skai-super-shell .skai-side-title {
  color: #94a3b8;
  padding: 0 12px;
  margin-top: 16px;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800
}

body.skai-super-shell .skai-side-items {
  gap: 6px;
  padding: 0 8px
}

body.skai-super-shell .skai-side-link {
  color: #e2e8f0 !important;
  border-radius: 16px;
  min-height: 44px;
  padding: 11px 14px;
  font-size: .97rem;
  font-weight: 700;
}

body.skai-super-shell .skai-side-link:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff !important
}

body.skai-super-shell .skai-side-link .icon {
  opacity: 1;
  width: 22px
}

body.skai-super-shell .skai-side-link.active {
  background: rgba(255, 255, 255, .10);
  color: #fff !important;
  border-left: 4px solid var(--skai-stitch-primary);
  padding-left: 10px;
}

body.skai-super-shell .skai-main {
  background: var(--skai-stitch-bg)
}

body.skai-super-shell .skai-topbar {
  background: rgba(248, 250, 252, .92);
  border-bottom: 1px solid var(--skai-stitch-line);
}

body.skai-super-shell .skai-topbar-inner {
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px
}

body.skai-super-shell .navbar-brand .fw-semibold {
  font-size: 24px;
  letter-spacing: -0.025em;
  font-weight: 600 !important;
  color: var(--skai-stitch-text) !important
}

body.skai-super-shell .navbar-brand .text-muted.small {
  font-size: 14px !important;
  color: var(--skai-stitch-muted) !important
}

body.skai-super-shell .skai-pill {
  border-radius: 999px;
  border-color: #cbd5e1 !important;
  background: #fff;
  font-size: 14px;
  font-weight: 600
}

body.skai-super-shell .page-body {
  padding-top: 22px
}

body.skai-super-shell .btn-primary {
  background: var(--skai-stitch-primary);
  border-color: var(--skai-stitch-primary)
}

body.skai-super-shell .btn-primary:hover,
body.skai-super-shell .btn-primary:focus {
  background: #d94f1b;
  border-color: #d94f1b
}

body.skai-super-shell .table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  letter-spacing: .12em
}

body.skai-super-shell .table td {
  font-size: 14px
}

body.skai-super-shell .metric,
.skai-stitch-card,
.skai-kpi-card,
.skai-surface,
.skai-table-card {
  border-radius: 12px
}

body.skai-super-shell .metric .v,
.skai-kpi-value {
  font-size: 32px;
  font-weight: 800
}

body.skai-super-shell .skai-mini-row strong {
  color: var(--skai-stitch-text)
}

body.skai-super-shell .skai-sidebar::-webkit-scrollbar {
  width: 8px
}

body.skai-super-shell .skai-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14);
  border-radius: 999px
}

/* Phase 67: super admin dashboard sidebar hard reset */
body.skai-super-shell,
body.skai-super-shell .skai-shell {
  background: #f8fafc !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.skai-super-shell .skai-shell {
  align-items: stretch !important;
  gap: 0 !important;
}

body.skai-super-shell .skai-sidebar {
  width: 280px !important;
  min-width: 280px !important;
  flex: 0 0 280px !important;
  margin: 0 !important;
  padding: 0 !important;
  left: 0 !important;
  background: #0b1730 !important;
  border-right: 1px solid rgba(255, 255, 255, .06) !important;
  box-shadow: none !important;
}

body.skai-super-shell .skai-sidebar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 18px 18px 16px !important;
  margin: 0 0 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
}

body.skai-super-shell .skai-sidebar-brand__logo {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: #fff1eb !important;
  border: 1px solid rgba(241, 90, 36, .22) !important;
  box-shadow: none !important;
}

body.skai-super-shell .skai-sidebar-brand__logo img {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  filter: none !important;
}

body.skai-super-shell .skai-sidebar-brand__text strong {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
}

body.skai-super-shell .skai-sidebar-brand__text span {
  color: #94a3b8 !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body.skai-super-shell .skai-side-head {
  padding: 0 18px 6px !important;
}

body.skai-super-shell .skai-side-app {
  color: #e2e8f0 !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

body.skai-super-shell .skai-side-title {
  color: #9fb0c9 !important;
  padding: 0 18px !important;
  margin: 16px 0 8px !important;
  font-size: .76rem !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}

body.skai-super-shell .skai-side-items {
  display: grid !important;
  gap: 8px !important;
  padding: 0 10px 8px !important;
}

body.skai-super-shell .skai-side-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  padding: 11px 14px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .10) !important;
  color: #ffffff !important;
  font-size: .98rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  border: 1px solid rgba(255, 255, 255, .04) !important;
}

body.skai-super-shell .skai-side-link .icon {
  width: 20px !important;
  min-width: 20px !important;
  text-align: center !important;
  opacity: 1 !important;
  font-size: 1rem !important;
}

body.skai-super-shell .skai-side-link:hover {
  background: rgba(255, 255, 255, .16) !important;
  color: #ffffff !important;
}

body.skai-super-shell .skai-side-link.active {
  background: #24324d !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .06) !important;
  box-shadow: inset 3px 0 0 #f15a24 !important;
}

body.skai-super-shell .skai-main {
  margin: 0 !important;
  padding: 0 !important;
  background: #f8fafc !important;
}

body.skai-super-shell .skai-topbar {
  margin: 0 !important;
  left: auto !important;
}

body.skai-super-shell .skai-topbar .navbar-brand {
  display: none !important;
}

@media (max-width: 991.98px) {
  body.skai-super-shell .skai-sidebar {
    width: min(88vw, 320px) !important;
    min-width: min(88vw, 320px) !important;
    flex: 0 0 min(88vw, 320px) !important;
  }
}

/* --- PREMIUM POLISH & MICRO-INTERACTIONS --- */

.skai-hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.skai-hover-lift:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.skai-glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.skai-text-gradient {
  background: linear-gradient(135deg, var(--skai-primary), var(--skai-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skai-tracking-tightest {
  letter-spacing: -0.05em !important;
}

.skai-focus-ring:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
  border-color: var(--skai-primary) !important;
}

/* Custom Scrollbar for modern feel */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}