a {
  color: inherit;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(217, 231, 235, 0.92);
}

.brand-lockup {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.brand-logo {
  width: min(156px, 100%);
  height: auto;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sidebar-context,
.sidebar-group,
.sidebar-footer {
  display: grid;
  gap: 10px;
}

.sidebar-context {
  padding: 2px 2px 8px;
}

.sidebar-section-title {
  padding: 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sidebar-tenant-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(24, 195, 203, 0.1) 0%, rgba(255, 255, 255, 0.96) 100%);
  border: 1px solid rgba(24, 195, 203, 0.14);
  box-shadow: 0 10px 24px rgba(19, 41, 61, 0.05);
}

.sidebar-tenant-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
}

.sidebar-tenant-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  place-items: center;
  background: var(--factly-gradient);
  color: #fff;
  font-family: var(--factly-font-brand);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 24px rgba(12, 122, 143, 0.2);
}

.sidebar-tenant-logo {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(217, 231, 235, 0.95);
  box-shadow: 0 10px 22px rgba(19, 41, 61, 0.08);
}

html[data-tenant-logo-state="has-logo"] .sidebar-tenant-card .sidebar-tenant-logo {
  display: block;
}

html[data-tenant-logo-state="has-logo"] .sidebar-tenant-card .sidebar-tenant-avatar {
  display: none;
}

html[data-tenant-logo-state="no-logo"] .sidebar-tenant-card .sidebar-tenant-logo {
  display: none;
}

html[data-tenant-logo-state="no-logo"] .sidebar-tenant-card .sidebar-tenant-avatar {
  display: grid;
}

.sidebar-tenant-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.sidebar-tenant-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--factly-wordmark);
  font-size: 14px;
  font-weight: 800;
}

.sidebar-tenant-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  min-height: 0;
}

.sidebar-group {
  padding-top: 2px;
  gap: 12px;
}

.sidebar-group-config {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 231, 235, 0.92);
}

.sidebar-group.is-current-group .sidebar-section-title {
  color: var(--factly-teal-dark);
}

.sidebar-note {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 195, 203, 0.12) 0%, rgba(255, 255, 255, 0.84) 100%);
  border: 1px solid rgba(217, 231, 235, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-footer {
  margin-top: auto;
}

.sidebar-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--factly-wordmark);
}

.menu {
  display: grid;
  gap: 8px;
}

.menu-group {
  display: grid;
  gap: 8px;
}

.menu-item,
.menu-group-toggle,
.submenu-item {
  border-radius: 16px;
  text-decoration: none;
}

.menu-item,
.menu-group-toggle {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 13px 14px;
  position: relative;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.menu-group-toggle {
  justify-content: space-between;
}

.menu-item:hover,
.menu-group-toggle:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(217, 231, 235, 0.92);
  color: var(--factly-wordmark);
}

.menu-item.is-active,
.menu-group-toggle.is-active,
.menu-item[aria-current="page"] {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(217, 231, 235, 0.9);
  box-shadow: 0 10px 26px rgba(19, 41, 61, 0.08);
  color: var(--factly-ink);
}

.menu-item.is-active::before,
.menu-group-toggle.is-active::before,
.menu-item[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--factly-gradient);
}

.menu-group-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.menu-label {
  flex: 1 1 auto;
  text-align: left;
  white-space: nowrap;
  font-family: var(--factly-font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(24, 195, 203, 0.14);
  box-shadow: none;
  flex: 0 0 auto;
}

.menu-item.is-active .menu-icon,
.menu-group-toggle.is-active .menu-icon,
.menu-item[aria-current="page"] .menu-icon {
  background: rgba(24, 195, 203, 0.18);
}

.menu-caret {
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.menu-caret::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg) translateY(-1px);
}

.menu-group.is-open .menu-caret {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  gap: 4px;
  margin-top: -2px;
  margin-left: 18px;
  padding: 4px 0 0 14px;
  border-left: 1px solid rgba(217, 231, 235, 0.92);
}

.menu-group.is-open .submenu {
  display: grid;
}

.submenu-item {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px 9px 14px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--factly-font-ui);
  letter-spacing: -0.01em;
  text-align: left;
  position: relative;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.submenu-item:hover {
  background: rgba(255, 255, 255, 0.78);
  color: var(--factly-ink);
}

.submenu-item.is-active {
  background: var(--surface);
  color: var(--factly-ink);
  box-shadow: inset 0 0 0 1px rgba(24, 195, 203, 0.18);
}

.submenu-item.is-active::before,
.submenu-item[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--factly-gradient);
}

.topbar-search {
  position: relative;
}

.topbar-search .input {
  min-height: 52px;
  padding-left: 48px;
  padding-right: 18px;
  border-radius: 18px;
  font-size: 14px;
}

.mobile-header {
  display: none;
}

.mobile-toggle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(217, 231, 235, 0.95);
  background: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.mobile-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--factly-ink);
}

.topbar-search::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(91, 109, 121, 0.55);
  border-radius: 999px;
  transform: translateY(-58%);
}

.topbar-search::after {
  content: "";
  position: absolute;
  left: 31px;
  top: calc(50% + 5px);
  width: 7px;
  height: 2px;
  background: rgba(91, 109, 121, 0.55);
  transform: rotate(45deg);
  transform-origin: left center;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-actions .btn {
  white-space: nowrap;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 231, 235, 0.92);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(31, 141, 99, 0.12);
}

@media (max-width: 1080px) {
  .mobile-header {
    display: inline-flex;
    justify-content: flex-start;
    width: auto;
    flex: 0 0 auto;
  }

  .mobile-toggle {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .topbar-search .input {
    min-height: 48px;
    padding-left: 46px;
  }

  .topbar-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .topbar-status {
    width: 100%;
    justify-content: center;
  }
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--factly-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-radius: 16px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: #90a1ab;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(84, 187, 198, 0.78);
  box-shadow: 0 0 0 4px rgba(84, 187, 198, 0.14);
  background: #fff;
}

.input.is-locked {
  background: #f2f6f8;
  color: #5f707c;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: var(--factly-wordmark);
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(84, 187, 198, 0.18);
}

.btn-primary {
  background: var(--factly-gradient);
  color: #fff;
  box-shadow: 0 16px 36px rgba(60, 150, 178, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(60, 150, 178, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--factly-border);
  color: var(--factly-wordmark);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--factly-wordmark);
}

.btn-danger {
  background: #fff;
  border-color: #f2c7ce;
  color: var(--error);
}

.btn-sm {
  padding: 9px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card,
.panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(217, 231, 235, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -15% -55% auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(117, 217, 214, 0.12);
}

.card-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card h2 {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--factly-wordmark);
  margin-bottom: 14px;
}

.panel {
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 6px 16px;
}

.panel-head h3,
.panel-head h4 {
  color: var(--factly-wordmark);
}

.panel-body {
  display: grid;
  gap: 14px;
  padding: 0 6px 6px;
}

.factly-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 248, 249, 0.95) 50%, rgba(230, 245, 248, 0.92) 100%);
  border: 1px solid rgba(217, 231, 235, 0.95);
  box-shadow: var(--shadow-md);
}

.factly-hero-panel::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -36px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(84, 187, 198, 0.14);
}

.factly-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: end;
}

.factly-hero-copy {
  display: grid;
  gap: 14px;
}

.factly-hero-copy p {
  max-width: 60ch;
}

.factly-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.factly-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.factly-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(217, 231, 235, 0.92);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.factly-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--factly-teal-main);
  flex: 0 0 auto;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}

.table thead th {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(217, 231, 235, 0.92);
  background: rgba(247, 251, 252, 0.92);
}

.table thead th:first-child {
  border-top-left-radius: 16px;
}

.table thead th:last-child {
  border-top-right-radius: 16px;
}

.table tbody td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(217, 231, 235, 0.7);
  vertical-align: top;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.table tbody tr:hover td {
  background: rgba(247, 251, 252, 0.98);
}

.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-draft {
  background: #edf4f7;
  color: #6a7b86;
}

.badge-queued {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge-approved {
  background: var(--success-soft);
  color: var(--success);
}

.badge-rejected {
  background: var(--error-soft);
  color: var(--error);
}

.invoice-status-stack {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.invoice-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(24, 195, 203, 0.1);
  border: 1px solid rgba(24, 195, 203, 0.18);
  color: var(--factly-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.invoice-live-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--factly-teal-main);
  box-shadow: 0 0 0 0 rgba(24, 195, 203, 0.36);
  animation: factlyInvoicePulse 1.5s ease-out infinite;
}

@keyframes factlyInvoicePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 195, 203, 0.34);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(24, 195, 203, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 195, 203, 0);
  }
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  padding: 28px 18px;
  color: var(--text-soft);
}

.pager {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(19, 41, 61, 0.42);
  backdrop-filter: blur(12px);
  z-index: 120;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  width: min(760px, 100%);
  max-height: min(88vh, 980px);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(217, 231, 235, 0.95);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.factly-modal {
  scrollbar-gutter: stable;
}

.modal-header,
.modal-body {
  padding: 20px 22px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(217, 231, 235, 0.88);
}

.modal-header h3 {
  color: var(--factly-wordmark);
}

.modal-body {
  display: grid;
  gap: 18px;
}

.toast-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 260px;
  max-width: 380px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(19, 41, 61, 0.94);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.alert-inline {
  padding: 13px 14px;
  border: 1px solid rgba(217, 231, 235, 0.95);
  border-radius: 18px;
  background: var(--surface-muted);
}

@media (max-width: 980px) {
  .factly-hero-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .factly-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .panel {
    padding: 16px;
  }

  .panel-head,
  .panel-body {
    padding-left: 0;
    padding-right: 0;
  }

  .panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .factly-hero-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .factly-hero-actions {
    width: 100%;
  }

  .factly-hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-actions > * {
    width: 100%;
  }

  .form-grid {
    gap: 14px;
  }

  .factly-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .factly-toolbar > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .pager {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .pager > * {
    flex: 1 1 calc(50% - 8px);
  }

  .factly-mobile-table-wrap {
    overflow: visible;
  }

  .factly-mobile-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .factly-mobile-table thead {
    display: none;
  }

  .factly-mobile-table tbody {
    display: grid;
    gap: 12px;
  }

  .factly-mobile-table tbody tr {
    display: block;
    padding: 14px;
    border: 1px solid rgba(217, 231, 235, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
  }

  .factly-mobile-table tbody td {
    display: grid;
    grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    align-items: start;
  }

  .factly-mobile-table tbody tr:hover td {
    background: transparent;
  }

  .factly-mobile-table tbody td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .factly-mobile-table tbody td.text-right {
    text-align: left;
  }

  .factly-mobile-table tbody td[colspan] {
    display: block;
    padding: 2px 0;
  }

  .factly-mobile-table tbody td[colspan]::before {
    display: none;
  }

  .factly-mobile-table tbody tr:last-child td:first-child,
  .factly-mobile-table tbody tr:last-child td:last-child {
    border-radius: 0;
  }

  .factly-mobile-table .btn-icon {
    width: 38px;
    height: 38px;
  }

  .modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }

  .modal,
  .factly-modal,
  .factly-modal-wide {
    width: 100% !important;
    max-height: min(92vh, 1000px);
    border-radius: 22px 22px 0 0;
  }

  .modal-header,
  .modal-body {
    padding: 16px;
  }

  .modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
  }

  .modal-header .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-body {
    gap: 14px;
  }

  .modal-body .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-body .inline-actions > * {
    width: 100%;
  }

  .factly-mobile-edit-table tbody td {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .factly-mobile-edit-table tbody td::before {
    font-size: 10px;
  }
}
