/*
 * Monitor Cen - wyglad spojny z aplikacja "Subskrypcje Targowe" (subskrypcje-crm-php):
 * barwy marki Militaria Tylice (czern/grafit + czerwien #cd1916), ciemny sidebar,
 * czerwony gradient aktywnej pozycji, akcent pod topbarem, karty z cieniem.
 * Plik ladowany przez render hook (bez kroku budowania), nadpisuje klasy Filamenta.
 */
:root {
  --mc-brand-50: #fde8e8;
  --mc-brand-100: #fad2d1;
  --mc-brand-200: #f5a4a3;
  --mc-brand-300: #f07775;
  --mc-brand-500: #cd1916;
  --mc-brand-600: #b91613;
  --mc-brand-700: #8a110f;
  --mc-brand-800: #5c0b0a;

  --mc-gray-50: #f0f2f4;
  --mc-gray-100: #e2e5e9;
  --mc-gray-200: #c5cbd3;
  --mc-gray-400: #8b97a7;
  --mc-gray-500: #6e7d91;
  --mc-gray-600: #586474;
  --mc-gray-700: #424b57;
  --mc-gray-800: #2c323a;
  --mc-gray-900: #16191d;

  --mc-radius: 12px;
  --mc-shadow: 0 1px 3px rgba(22, 25, 29, .08), 0 1px 2px rgba(22, 25, 29, .06);
  --mc-shadow-lg: 0 20px 45px rgba(22, 25, 29, .18);
  --mc-ease: cubic-bezier(.22, 1, .36, 1);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

html, body, .fi-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.fi-body { background: var(--mc-gray-50); color: var(--mc-gray-900); }

@keyframes mcFadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mcPulseRing { 0% { box-shadow: 0 0 0 0 rgba(205, 25, 22, .35); } 100% { box-shadow: 0 0 0 14px rgba(205, 25, 22, 0); } }

/* ---------- Logo / marka ---------- */
.mc-brand { display: inline-flex; align-items: center; gap: 12px; height: 100%; }
.mc-brand-logo { height: 30px; width: auto; display: block; }
.mc-brand-app {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--mc-gray-500); padding-left: 12px; border-left: 1px solid var(--mc-gray-200);
  line-height: 1.2; white-space: nowrap;
}

/* ---------- Sidebar (ciemny, jak w CRM) ---------- */
.fi-sidebar,
.fi-sidebar-header,
.fi-sidebar-nav { background: var(--mc-gray-900) !important; }
.fi-sidebar { border-inline-end: 0 !important; box-shadow: none !important; }
.fi-sidebar-header {
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
.fi-sidebar .mc-brand-logo { filter: brightness(0) invert(1); height: 26px; }
.fi-sidebar .mc-brand-app { color: rgba(255, 255, 255, .5); border-left-color: rgba(255, 255, 255, .18); }
.fi-sidebar-header .fi-icon-btn,
.fi-sidebar-header button { color: rgba(255, 255, 255, .6) !important; }
.fi-sidebar-header .fi-icon-btn:hover { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }

.fi-sidebar-nav { padding: 14px 14px 10px !important; }
.fi-sidebar-nav-groups { gap: 10px !important; margin-inline: 0 !important; }

/* Wyszukiwarka w ciemnym sidebarze */
.fi-sidebar .fi-input-wrp {
  background: rgba(255, 255, 255, .06) !important;
  box-shadow: none !important; outline: 1px solid rgba(255, 255, 255, .1);
}
.fi-sidebar .fi-input-wrp:focus-within { outline-color: var(--mc-brand-500); }
.fi-sidebar .fi-input { color: #fff !important; }
.fi-sidebar .fi-input::placeholder { color: rgba(255, 255, 255, .4) !important; }
.fi-sidebar .fi-input-wrp .fi-icon { color: rgba(255, 255, 255, .45) !important; }
.fi-sidebar-footer .fi-icon-btn,
.fi-sidebar-footer button.fi-icon-btn { color: rgba(255, 255, 255, .45) !important; }
.fi-sidebar-group-label,
.fi-sidebar-group-btn .fi-sidebar-group-label {
  color: rgba(255, 255, 255, .38) !important;
  font-size: 11px !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: .06em;
}
.fi-sidebar-group-btn .fi-icon,
.fi-sidebar-group-collapse-btn { color: rgba(255, 255, 255, .38) !important; }

.fi-sidebar-item-btn {
  border-radius: 9px !important;
  padding-block: 9px !important;
  transition: background .15s, color .15s, box-shadow .15s;
}
.fi-sidebar-item-btn,
.fi-sidebar-item-label { color: rgba(255, 255, 255, .7) !important; font-weight: 500 !important; }
.fi-sidebar-item-icon { color: rgba(255, 255, 255, .55) !important; }
.fi-sidebar-item-btn:hover { background: rgba(255, 255, 255, .06) !important; }
.fi-sidebar-item-btn:hover .fi-sidebar-item-label,
.fi-sidebar-item-btn:hover .fi-sidebar-item-icon { color: #fff !important; }

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
  background: linear-gradient(135deg, var(--mc-brand-600), var(--mc-brand-800)) !important;
  box-shadow: 0 4px 14px rgba(205, 25, 22, .35);
}
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-label,
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-icon { color: #fff !important; }
.fi-sidebar-item-badge-ctn .fi-badge {
  background: rgba(255, 255, 255, .14) !important; color: #fff !important; box-shadow: none !important;
}
.fi-sidebar-item.fi-active .fi-sidebar-item-badge-ctn .fi-badge { background: rgba(255, 255, 255, .22) !important; }

/* Uzytkownik na dole sidebara */
.mc-user-box {
  display: flex; gap: 11px; align-items: flex-start;
  margin: 10px 14px 16px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #fff; font-size: 13px;
}
.mc-user-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: linear-gradient(135deg, var(--mc-brand-500), var(--mc-brand-700));
  box-shadow: 0 4px 12px rgba(205, 25, 22, .3);
}
.mc-user-meta { min-width: 0; }
.mc-user-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-user-role { color: rgba(255, 255, 255, .55); font-size: 12px; margin-bottom: 6px; }
.mc-user-links { display: flex; gap: 12px; flex-wrap: wrap; }
.mc-user-links a,
.mc-user-links button {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: rgba(255, 255, 255, .72); font-size: 12.5px; text-decoration: none;
}
.mc-user-links a:hover,
.mc-user-links button:hover { color: #fff; text-decoration: underline; }
.fi-sidebar:not(.fi-sidebar-open) .mc-user-meta { display: none; }
.fi-sidebar:not(.fi-sidebar-open) .mc-user-box { justify-content: center; margin-inline: 8px; }

/* ---------- Topbar z czerwonym akcentem ---------- */
.fi-topbar {
  position: relative;
  background: #fff !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--mc-gray-100);
}
.fi-topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--mc-brand-600), var(--mc-brand-300) 35%, transparent 70%);
  pointer-events: none;
}

/* Bez topbara: czerwony akcent (jak pod topbarem w CRM) na gorze obszaru tresci */
.fi-main-ctn { position: relative; }
.fi-main-ctn::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 5;
  background: linear-gradient(90deg, var(--mc-brand-600), var(--mc-brand-300) 35%, transparent 70%);
  pointer-events: none;
}

/* ---------- Naglowki stron ---------- */
.fi-header-heading { font-weight: 800 !important; letter-spacing: -.01em; color: var(--mc-gray-900); }
.fi-header-subheading { color: var(--mc-gray-500); }
.fi-breadcrumbs-item-label { color: var(--mc-gray-500); }
.fi-page-main, .fi-page-content { animation: mcFadeInUp .45s var(--mc-ease) both; }

/* ---------- Panele: sekcje, tabele, widgety ---------- */
.fi-section,
.fi-ta-ctn,
.fi-wi-widget .fi-section,
.fi-modal-window {
  border-radius: var(--mc-radius) !important;
}
.fi-section:not(.fi-section-not-contained),
.fi-ta-ctn {
  background: #fff;
  box-shadow: var(--mc-shadow) !important;
  outline: 1px solid var(--mc-gray-100);
  outline-offset: -1px;
}
.fi-section-header-heading { font-weight: 700 !important; }
.fi-section-header-description { color: var(--mc-gray-500); }

/* Tabele: naglowki jak w CRM - male, wersaliki, szare tlo */
.fi-ta-header-cell {
  background: var(--mc-gray-50) !important;
  font-size: 11.5px !important; text-transform: uppercase; letter-spacing: .04em;
  color: var(--mc-gray-500) !important; font-weight: 700 !important; white-space: nowrap;
}
.fi-ta-header-cell .fi-ta-header-cell-sort-btn,
.fi-ta-header-cell span { color: inherit !important; font-weight: inherit !important; }
.fi-ta-row { transition: background .12s; }
.fi-ta-row:hover { background: var(--mc-gray-50) !important; }
.fi-ta-table > tbody > tr > td { border-color: var(--mc-gray-100); }
.fi-ta-header { border-bottom: 1px solid var(--mc-gray-100); }

/* Odznaki - zaokraglone "pigulki" */
.fi-badge { border-radius: 999px !important; font-weight: 700 !important; }

/* ---------- Przyciski ---------- */
.fi-btn { border-radius: 9px !important; font-weight: 700 !important; transition: transform .12s var(--mc-ease), box-shadow .15s, opacity .15s; }
.fi-btn:active { transform: scale(.97); }
.fi-btn.fi-color-primary:not(.fi-outlined):not(.fi-disabled):not([disabled]) {
  background-image: linear-gradient(135deg, var(--mc-brand-500), var(--mc-brand-700)) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(205, 25, 22, .28) !important;
  border: 0;
}
.fi-btn.fi-color-primary:not(.fi-outlined):not(.fi-disabled):not([disabled]):hover {
  box-shadow: 0 10px 26px rgba(205, 25, 22, .36) !important; opacity: .95;
}
.fi-btn.fi-color-primary .fi-icon { color: #fff !important; }
.fi-btn.fi-disabled, .fi-btn[disabled] { opacity: .55; }

/* Pola formularzy - fokus w kolorze marki */
.fi-input-wrp { border-radius: 9px !important; }
.fi-input-wrp:focus-within { box-shadow: 0 0 0 3px var(--mc-brand-100), 0 0 0 1px var(--mc-brand-500) inset !important; }

/* Kolumna "Wlasna cena" w tabeli - wyrozniona */
.fi-ta-text-input .fi-input-wrp { background: var(--mc-brand-50); }

/* ---------- Karty statystyk (pulpit) - jak .stat-card w CRM ---------- */
.mc-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.mc-stat-card {
  background: #fff; border: 1px solid var(--mc-gray-100); border-radius: var(--mc-radius);
  padding: 18px 20px; box-shadow: var(--mc-shadow);
  display: flex; flex-direction: column; gap: 14px;
  color: inherit; text-decoration: none;
  transition: transform .15s var(--mc-ease), box-shadow .15s;
  animation: mcFadeInUp .5s var(--mc-ease) both;
}
.mc-stat-card:nth-child(2) { animation-delay: .06s; }
.mc-stat-card:nth-child(3) { animation-delay: .12s; }
.mc-stat-card:nth-child(4) { animation-delay: .18s; }
.mc-stat-card:hover { transform: translateY(-2px); box-shadow: var(--mc-shadow-lg); }
.mc-icon-circle { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.mc-icon-circle svg { width: 19px; height: 19px; }
.mc-tone-brand { background: linear-gradient(135deg, var(--mc-brand-500), var(--mc-brand-700)); }
.mc-tone-gray { background: linear-gradient(135deg, var(--mc-gray-600), var(--mc-gray-800)); }
.mc-tone-info { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.mc-tone-success { background: linear-gradient(135deg, #22b366, #146430); }
.mc-stat-label { font-size: 12.5px; color: var(--mc-gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.mc-stat-value { font-size: 28px; font-weight: 800; margin-top: 2px; line-height: 1.2; color: var(--mc-gray-900); }
.mc-stat-hint { font-size: 12.5px; color: var(--mc-gray-500); margin-top: 4px; }

/* ---------- Logowanie: podzielony ekran jak w CRM ---------- */
.fi-simple-layout:has(.mc-auth-aside) {
  display: grid !important;
  grid-template-columns: 1fr;
  min-height: 100vh; min-height: 100dvh;
  padding: 0 !important;
  align-items: stretch !important; justify-items: stretch !important;
}
.fi-simple-layout:has(.mc-auth-aside) .fi-logo .mc-brand-logo { height: 40px; }
.fi-simple-layout:has(.mc-auth-aside) .fi-input-wrp-actions .fi-icon-btn { color: var(--mc-gray-500) !important; }
@media (min-width: 900px) {
  .fi-simple-layout:has(.mc-auth-aside) { grid-template-columns: 1fr 1fr; }
}
.fi-simple-layout:has(.mc-auth-aside) .fi-simple-main-ctn {
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 32px 24px; min-height: 100%;
}
.fi-simple-layout:has(.mc-auth-aside) .fi-simple-main {
  background: transparent !important; box-shadow: none !important; outline: 0 !important;
  border: 0 !important; padding: 0 !important; margin: 0 !important;
  width: 100%; max-width: 400px !important;
  animation: mcFadeInUp .7s var(--mc-ease) both;
}
.fi-simple-layout:has(.mc-auth-aside) .fi-simple-header { align-items: flex-start !important; text-align: left !important; }
.fi-simple-layout:has(.mc-auth-aside) .fi-simple-header .fi-logo { margin-bottom: 18px; justify-content: flex-start; }
.fi-simple-layout:has(.mc-auth-aside) .fi-simple-header-heading { font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.01em; }
.fi-simple-layout:has(.mc-auth-aside) .fi-simple-header-subheading { color: var(--mc-gray-500); font-size: 14px; }
.fi-simple-layout:has(.mc-auth-aside) .fi-btn { width: 100%; padding-block: 11px !important; font-size: 14.5px !important; }

.mc-auth-aside {
  display: none; position: relative; overflow: hidden; color: #fff;
  padding: 60px; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100dvh;
  background:
    radial-gradient(circle at 15% 20%, rgba(205, 25, 22, .35), transparent 45%),
    linear-gradient(150deg, var(--mc-gray-900), #000 120%);
}
@media (min-width: 900px) { .mc-auth-aside { display: flex; } }
.mc-auth-aside::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mc-auth-aside::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: linear-gradient(100deg, transparent 45%, rgba(205, 25, 22, .35) 50%, transparent 55%);
}
.mc-auth-aside > * { position: relative; z-index: 1; }
.mc-auth-aside h2 { font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; max-width: 460px; margin: 0; }
.mc-desc { font-size: 15px; color: rgba(255, 255, 255, .75); max-width: 440px; margin: 14px 0 28px; line-height: 1.55; }
.mc-live-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 14px; border-radius: 999px; font-size: 12px; margin-bottom: 22px;
}
.mc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mc-brand-300); animation: mcPulseRing 1.8s ease-out infinite; }
.mc-feature-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.mc-feature-pills span {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 14px; border-radius: 8px; font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Alerty (jak .alert w CRM) ---------- */
.mc-alert { padding: 12px 14px; border-radius: 9px; font-size: 13.5px; margin-bottom: 18px; line-height: 1.5; }
.mc-alert a { color: inherit; font-weight: 700; text-decoration: underline; }
.mc-alert-error { background: var(--mc-brand-50); color: var(--mc-brand-700); border: 1px solid var(--mc-brand-200); }
.mc-alert-success { background: #eaf7ee; color: #146430; border: 1px solid #bfe6cb; }
.mc-alert-warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* ---------- Zakladka Licencja ---------- */
.mc-license { display: flex; flex-direction: column; gap: 20px; }
.mc-license-hero {
  position: relative; overflow: hidden; border-radius: var(--mc-radius); color: #fff;
  padding: 28px 30px; box-shadow: var(--mc-shadow-lg);
  background:
    radial-gradient(circle at 12% 25%, rgba(205, 25, 22, .45), transparent 42%),
    linear-gradient(135deg, var(--mc-gray-900), #000 130%);
  animation: mcFadeInUp .5s var(--mc-ease) both;
}
.mc-license-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 20px 20px;
}
.mc-license-hero > * { position: relative; }
.mc-license-hero.is-expired { background: linear-gradient(135deg, var(--mc-brand-700), #2e0605 130%); }
.mc-license-type { font-size: 28px; font-weight: 800; letter-spacing: -.01em; margin-top: 4px; }
.mc-license-until { font-size: 18px; margin-top: 6px; color: rgba(255, 255, 255, .9); }
.mc-license-days { font-size: 13.5px; margin-top: 10px; color: rgba(255, 255, 255, .7); }
.mc-license-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.mc-panel { background: #fff; border: 1px solid var(--mc-gray-100); border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); }
.mc-panel-header { padding: 16px 20px; border-bottom: 1px solid var(--mc-gray-100); }
.mc-panel-header h2 { font-size: 16px; font-weight: 700; margin: 0; }
.mc-panel-body { padding: 20px; font-size: 14px; }
.mc-licensee { line-height: 1.7; }
.mc-licensee-name { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.mc-licensee-nip { margin-top: 8px; }
.mc-detail-list { display: grid; gap: 12px; margin: 0; }
.mc-detail-list > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--mc-gray-50); padding-bottom: 10px; }
.mc-detail-list dt { font-size: 12px; color: var(--mc-gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.mc-detail-list dd { margin: 0; font-weight: 600; text-align: right; }
.mc-mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.mc-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.mc-pill-ok { background: #eaf7ee; color: #146430; }
.mc-pill-bad { background: var(--mc-brand-50); color: var(--mc-brand-700); }
.mc-muted { color: var(--mc-gray-500); }
.mc-license-note { font-size: 12.5px; margin: 16px 0 0; line-height: 1.55; }

/* ---------- Strona aktywacji licencji (bez panelu) ---------- */
.mc-standalone { margin: 0; background: var(--mc-gray-50); color: var(--mc-gray-900); }
.mc-activate-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.mc-activate-card { width: 100%; max-width: 520px; background: #fff; border-radius: 20px; box-shadow: var(--mc-shadow-lg); padding: 32px; animation: mcFadeInUp .6s var(--mc-ease) both; }
.mc-activate-card h1 { font-size: 24px; font-weight: 800; margin: 22px 0 16px; }
.mc-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--mc-gray-700); }
.mc-textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--mc-gray-200); border-radius: 9px; font: 13px ui-monospace, Consolas, monospace; background: var(--mc-gray-50); resize: vertical; }
.mc-textarea:focus { outline: none; border-color: var(--mc-brand-500); box-shadow: 0 0 0 3px var(--mc-brand-100); background: #fff; }
.mc-field-error { font-size: 12.5px; color: var(--mc-brand-700); font-weight: 700; margin-top: 6px; }
.mc-btn-primary {
  margin-top: 16px; width: 100%; border: 0; cursor: pointer; border-radius: 9px; padding: 12px 20px;
  font-size: 14.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--mc-brand-500), var(--mc-brand-700));
  box-shadow: 0 8px 20px rgba(205, 25, 22, .28);
}
.mc-activate-foot { text-align: center; margin: 18px 0 0; font-size: 13px; }
.mc-activate-foot a, .mc-activate-card .mc-alert a { color: var(--mc-brand-700); }

/* ---------- Zakladka Aktualizacje ---------- */
.mc-upd-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 9px;
  padding: 10px 18px; font-size: 14px; font-weight: 700; background: var(--mc-gray-100); color: var(--mc-gray-700);
  transition: transform .12s var(--mc-ease), box-shadow .15s, opacity .15s;
}
.mc-upd-btn:active { transform: scale(.97); }
.mc-upd-btn:disabled { opacity: .5; cursor: not-allowed; }
.mc-upd-btn-primary { color: #fff; background: linear-gradient(135deg, var(--mc-brand-500), var(--mc-brand-700)); box-shadow: 0 8px 20px rgba(205, 25, 22, .28); margin-top: 6px; }
.mc-upd-btn-danger { color: #fff; background: var(--mc-brand-600); }
.mc-changelog { margin: 0 0 6px; padding-left: 18px; line-height: 1.7; }
.mc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.mc-checks li { display: flex; gap: 10px; align-items: flex-start; }
.mc-checks small { display: block; color: var(--mc-gray-500); font-size: 12px; }
.mc-check-icon { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.mc-checks .is-ok .mc-check-icon { background: #eaf7ee; color: #146430; }
.mc-checks .is-bad .mc-check-icon { background: var(--mc-brand-50); color: var(--mc-brand-700); }
.mc-upd-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.mc-upd-steps li { padding: 10px 12px 10px 38px; border-radius: 9px; background: var(--mc-gray-50); position: relative; color: var(--mc-gray-500); }
.mc-upd-steps li::before { content: "○"; position: absolute; left: 14px; font-weight: 800; }
.mc-upd-steps li.is-running { color: var(--mc-gray-900); background: #fffbeb; }
.mc-upd-steps li.is-running::before { content: "◌"; color: #b45309; animation: mcSpin 1s linear infinite; }
.mc-upd-steps li.is-done { color: #146430; background: #eaf7ee; }
.mc-upd-steps li.is-done::before { content: "✓"; }
.mc-upd-steps li.is-failed { color: var(--mc-brand-700); background: var(--mc-brand-50); }
.mc-upd-steps li.is-failed::before { content: "✕"; }
@keyframes mcSpin { to { transform: rotate(360deg); } }
.mc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mc-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--mc-gray-500); padding: 10px 20px; background: var(--mc-gray-50); border-bottom: 1px solid var(--mc-gray-100); white-space: nowrap; }
.mc-table td { padding: 12px 20px; border-bottom: 1px solid var(--mc-gray-100); vertical-align: top; }
.mc-table tr:last-child td { border-bottom: 0; }
.mc-app-version { margin: -6px 14px 14px; font-size: 11px; color: rgba(255, 255, 255, .35); letter-spacing: .03em; }
.fi-sidebar:not(.fi-sidebar-open) .mc-app-version { display: none; }
