.admin-shell {
  --bg: #fbfcff;
  --panel: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #d9dee8;
  --brand: #0d6f63;
  --brand-deep: #084f48;
  --nav-hover: #e8f4f2;
  margin: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Avenir Next", "Nunito", "Segoe UI", sans-serif;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 90px;
  padding: 0 2rem;
  background:
    linear-gradient(90deg, rgba(13, 111, 99, 0.24), rgba(79, 70, 229, 0.16) 58%, rgba(255, 255, 255, 0.92)),
    #f0fbf8;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02), 0 12px 28px rgba(8, 79, 72, 0.04);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.admin-setup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1.2rem;
  background: #fff4d7;
  border-bottom: 1px solid #e8d9ae;
  color: #5f4200;
  font-weight: 700;
}

.admin-setup-banner-link {
  color: #0b5b52;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.admin-setup-banner-link:hover {
  text-decoration: underline;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.admin-brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(220px, 50vw);
}

.admin-tenant-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0 0.9rem;
  border-radius: 10px;
  background: #f4f6fb;
  color: #2f3a4f;
  text-decoration: none;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(216, 222, 234, 0.34);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.admin-global-search {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: min(330px, 28vw);
  min-height: 46px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #667085;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.admin-global-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.admin-global-search kbd {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.35rem;
  border-radius: 6px;
  background: #f1f3f7;
  color: #667085;
  font: 700 0.78rem/1 "Avenir Next", "Nunito", "Segoe UI", sans-serif;
}

.admin-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #526071;
  cursor: pointer;
  font-size: 1.05rem;
}

.admin-icon-button:hover {
  background: #f4f6fb;
}

.admin-user-email {
  font-size: 0.95rem;
  color: #344054;
}

.admin-user-menu {
  position: relative;
}

.admin-user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.15rem 0.2rem 0.2rem;
  cursor: pointer;
  font: inherit;
}

.admin-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6e5ff, #c7c5ff);
  color: #3440a1;
  font-weight: 800;
}

.admin-user-menu-caret {
  font-size: 0.78rem;
  color: #667085;
}

.admin-user-menu-trigger:hover {
  background: #f7f9fc;
}

.admin-user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 24px rgba(8, 31, 44, 0.15);
  padding: 0.35rem;
  z-index: 50;
}

.admin-user-menu-link {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.admin-user-menu-link:hover {
  background: #f3f8ff;
}

.admin-user-menu-form {
  margin: 0;
}

.admin-user-menu-logout {
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8f1f28;
  font: inherit;
  cursor: pointer;
}

.admin-user-menu-logout:hover {
  background: #fff1f2;
}

.admin-body {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  height: calc(100vh - 90px);
  min-height: 0;
  overflow: hidden;
}

.admin-sidebar {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #d4eee8;
  padding: 2.25rem 2rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.admin-nav-section {
  display: grid;
  gap: 0.6rem;
}

.admin-nav-heading {
  margin: 0 0 0.2rem;
  padding: 0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #667085;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.admin-nav-link:hover {
  color: var(--brand-deep);
}

.admin-nav-link.is-active {
  background: rgba(13, 111, 99, 0.2);
  color: var(--brand-deep);
  font-weight: 650;
}

.admin-nav-group {
  display: grid;
  gap: 0.25rem;
}

.admin-nav-group-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  gap: 0.25rem;
  align-items: center;
}

.admin-nav-link-main {
  min-width: 0;
}

.admin-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #56708f;
  cursor: pointer;
}

.admin-nav-toggle:hover {
  background: #f3f6f9;
}

.admin-nav-toggle i {
  transition: transform 0.16s ease;
}

.admin-nav-toggle[aria-expanded="true"] i {
  transform: rotate(90deg);
}

.admin-nav-submenu {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.15rem;
}

.admin-nav-submenu[hidden] {
  display: none;
}

.admin-nav-sublink {
  font-size: 0.92rem;
  padding-block: 0.5rem;
  padding-inline: 0.8rem;
  font-weight: 500;
}

.admin-nav-icon {
  width: 1rem;
  text-align: center;
  color: currentColor;
}

.admin-nav-label {
  line-height: 1.2;
}

.admin-content {
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: none;
  padding: 2.55rem 3.4rem;
}

.admin-content h1 {
  margin-top: 0;
}

.admin-content a {
  color: var(--brand-deep);
}

.site-show {
  display: grid;
  gap: 1rem;
}

.resource-index-page,
.resource-show-page {
  display: grid;
  gap: 1rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.settings-domain-section {
  display: grid;
  gap: 0.75rem;
}

.settings-domain-section h2 {
  margin: 0;
  font-size: 1rem;
}

.settings-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}

.settings-card:hover {
  background: #f7fbff;
}

.settings-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: #e8f4f2;
  color: var(--brand-deep);
}

.settings-card strong,
.settings-card small {
  display: block;
}

.settings-card strong {
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.settings-card small {
  color: var(--muted);
  line-height: 1.35;
}

.settings-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.settings-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.settings-panel-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.settings-panel-header p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.resource-table-wrapper {
  overflow-x: auto;
}

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

.resource-table th,
.resource-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.resource-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.admin-tabs {
  display: grid;
  gap: 1rem;
}

.admin-tab-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.admin-tab-button {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.75rem 0.2rem;
}

.admin-tab-button:hover {
  color: var(--brand-deep);
}

.admin-tab-button.is-active {
  border-bottom-color: var(--brand);
  color: var(--brand-deep);
}

.admin-tab-panel {
  min-width: 0;
}

.unit-drawer-tabs {
  margin-top: 1rem;
}

.unit-drawer-tabs .admin-tab-list {
  overflow-x: auto;
}

.admin-accordion {
  display: grid;
  gap: 0.75rem;
}

.admin-accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.2rem;
  padding: 0 1rem;
  border: 0;
  background: #fff;
  color: #10182b;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-accordion-trigger i {
  color: #68728a;
  transition: transform 0.16s ease;
}

.admin-accordion-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.admin-accordion-panel {
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-page-header h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.15;
}

.admin-page-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.site-page-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.site-page-meta p {
  margin: 0;
}

.site-timezone-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0 0.65rem;
  border: 1px solid #bfd7d1;
  border-radius: 999px;
  background: #e7f5f2;
  color: #084f48;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-users-search-form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-search-field {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: min(330px, 100%);
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #6b7588;
}

.admin-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.admin-filter-select {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 0.65rem;
}

.admin-filter-button,
.admin-action-button,
.admin-invite-button,
.admin-resend-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-filter-button {
  min-height: 2.6rem;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.admin-action-button {
  min-height: 2.6rem;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.admin-action-button:hover {
  background: #f7fbfa;
  border-color: #bfd7d1;
  color: var(--brand);
}

.admin-action-button-compact {
  min-height: 0;
  height: 1.75rem;
  box-sizing: border-box;
  padding: 0 0.55rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
}

.admin-invite-button {
  min-height: 2.6rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.admin-users-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(31, 45, 61, 0.04);
}

.admin-users-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-users-card-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-users-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #f3f5f9;
  color: #3d4659;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-users-table {
  margin-top: 0;
}

.admin-users-table th,
.admin-users-table td {
  padding: 0.95rem 0.85rem;
  text-align: left;
}

.admin-users-table th {
  color: #354059;
  font-weight: 800;
}

.admin-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.55rem;
  border-radius: 8px;
  background: #dff1ed;
  color: #0b5b52;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-users-actions-cell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

.admin-table-actions {
  text-align: right;
  white-space: nowrap;
}

.resource-link {
  color: #0b5b52;
  font-weight: 800;
  text-decoration: none;
}

.resource-link:hover {
  text-decoration: underline;
}

.admin-muted-value {
  color: #68728a;
}

.admin-server-table-card {
  position: relative;
}

.admin-server-table-card.is-loading {
  opacity: 0.72;
}

.admin-server-table-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-server-table-toolbar h2 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-server-table-toolbar p,
.admin-server-table-footer p {
  margin: 0.3rem 0 0;
  color: #68728a;
}

.admin-server-table-controls {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 640px;
}

.admin-server-table-search {
  position: relative;
  flex: 0 1 320px;
  min-width: min(280px, 100%);
  max-width: 360px;
}

.admin-server-table-search i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: #6f7a91;
}

.admin-server-table-search input {
  width: 100%;
  min-height: 2.8rem;
  padding: 0 0.9rem 0 2.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #10182b;
  font: inherit;
}

.admin-server-table-search input:focus,
.admin-server-table-page-size select:focus {
  outline: none;
  border-color: #0b6f63;
  box-shadow: 0 0 0 3px rgba(11, 111, 99, 0.12);
}

.admin-server-table-page-size {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.8rem;
  color: #354059;
  font-weight: 800;
  white-space: nowrap;
}

.admin-server-table-page-size select {
  min-height: 2.8rem;
  padding: 0 2rem 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #10182b;
  font: inherit;
  font-weight: 700;
}

.admin-server-table-wrap {
  overflow-x: auto;
}

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

.admin-server-table thead th {
  border-bottom: 1px solid var(--line);
}

.admin-server-table-subtext {
  display: block;
  margin-top: 0.2rem;
  color: #68728a;
  font-size: 0.86rem;
}

.admin-server-table tbody tr[data-href],
.admin-server-table-open-row {
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.admin-server-table tbody tr[data-href]:hover,
.admin-server-table-open-row:hover {
  background: #f4f8f7;
}

.admin-server-table tbody tr[data-href]:focus-visible,
.admin-server-table-open-row:focus-visible {
  outline: 2px solid #0b6f63;
  outline-offset: -2px;
}

.admin-server-table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #354059;
  text-decoration: none;
}

.admin-server-table-sort:hover {
  color: #0b5b52;
}

.companies-server-table {
  border-collapse: separate;
  border-spacing: 0;
}

.companies-server-table thead th {
  position: relative;
  padding: 0;
  border: 1px solid #e1e6ef;
  border-left-width: 0;
  background: #fbfcff;
}

.companies-server-table thead th:first-child {
  border-left-width: 1px;
  border-top-left-radius: 8px;
}

.companies-server-table thead th:last-child {
  border-top-right-radius: 8px;
}

.companies-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 2.7rem;
  padding: 0.55rem 0.65rem;
}

.companies-column-head > span {
  color: #354059;
  font-weight: 700;
}

.companies-column-filter {
  position: relative;
}

.companies-column-filter summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 7px;
  color: #7b8497;
  cursor: pointer;
  list-style: none;
}

.companies-column-filter summary::-webkit-details-marker {
  display: none;
}

.companies-column-filter summary:hover,
.companies-column-filter[open] summary {
  background: #eef4f3;
  color: #0b5b52;
}

.companies-column-filter.is-filtered summary {
  background: #e9e5ff;
  color: #4f2df0;
}

.companies-column-filter-popover {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 20;
  min-width: 250px;
  padding: 0.75rem;
  border: 1px solid #cfd7e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.companies-column-filter-left .companies-column-filter-popover {
  left: 0;
  right: auto;
}

.companies-column-filter-search {
  position: relative;
}

.companies-column-filter-search i {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3b4;
}

.companies-column-filter-search input {
  width: 100%;
  min-height: 2.65rem;
  box-sizing: border-box;
  border: 1px solid #cfd7e4;
  border-radius: 7px;
  padding: 0.5rem 0.65rem 0.5rem 2rem;
  font: inherit;
  font-weight: 400;
}

.companies-column-filter-search input:focus {
  outline: 2px solid #9fd1ff;
  border-color: #75b7f5;
}

.company-detail-list {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.company-detail-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
}

.company-detail-list div + div {
  border-top: 1px solid var(--line);
}

.company-detail-list span {
  color: var(--muted);
  font-weight: 650;
}

.company-detail-list strong {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.companies-page-v2 {
  max-width: none;
}

.companies-page-v2 .admin-page-header {
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.companies-page-v2 .admin-page-header h1 {
  font-size: 2.15rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.companies-page-v2 .admin-page-header p {
  margin-top: 0.55rem;
  color: #59657c;
  font-size: 1.02rem;
}

.companies-page-v2 .admin-page-actions {
  gap: 0.75rem;
}

.companies-export-button,
.companies-new-button,
.companies-filter-button,
.companies-status-button {
  min-height: 2.9rem;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.companies-export-button,
.companies-new-button {
  border-color: #4b24e8;
  background: linear-gradient(135deg, #4f35f5, #3514d9);
  color: #fff;
  box-shadow: 0 10px 26px rgba(67, 42, 224, 0.25);
}

.companies-export-button:hover,
.companies-export-button:focus-visible,
.companies-new-button:hover,
.companies-new-button:focus-visible {
  background: linear-gradient(135deg, #5a42ff, #3d19e8);
  color: #fff;
}

[data-pdf-open-when-ready].is-loading {
  pointer-events: none;
  opacity: 0.82;
}

.companies-list-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.45rem;
}

.device-activation-grid {
  grid-template-columns: minmax(0, 1fr);
}

.device-activation-field {
  max-width: 24rem;
}

.tenant-form-field .device-activation-code-input[type="text"] {
  min-height: 4.6rem;
  border-width: 2px;
  border-color: rgba(0, 112, 91, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f5fbf9);
  color: #064e45;
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(0, 112, 91, 0.08);
}

.tenant-form-field .device-activation-code-input[type="text"]::placeholder {
  color: rgba(6, 78, 69, 0.32);
}

.tenant-form-field .device-activation-code-input[type="text"]:focus {
  outline: 3px solid rgba(0, 112, 91, 0.16);
  border-color: #00705b;
  box-shadow: 0 0 0 5px rgba(0, 112, 91, 0.08), 0 12px 28px rgba(0, 112, 91, 0.12);
}

.companies-list-controls .admin-server-table-search {
  width: min(100%, 430px);
  max-width: 430px;
  min-height: 3rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.companies-list-controls .admin-server-table-search input {
  min-height: 3rem;
  font-size: 1rem;
}

.companies-filter-button,
.companies-status-button {
  border: 1px solid #d8deea;
  background: #fff;
  color: #101b36;
}

.companies-filter-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #ebe8ff;
  color: #4f35f5;
  font-size: 0.82rem;
}

.companies-status-button {
  min-width: 190px;
  justify-content: space-between;
}

.companies-table-card {
  padding: 0;
  overflow: visible;
  border: 1px solid #dbe2ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.companies-table-bulkbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.8rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #dde4ef;
}

.companies-table-selected,
.companies-table-actions,
.companies-table-bulk-left,
.companies-table-topline,
.companies-table-rows {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.companies-table-selected {
  color: #33405f;
  font-weight: 650;
}

.companies-table-selected input,
.companies-checkbox-cell input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #4f35f5;
}

.companies-table-actions .btn {
  min-height: 2.35rem;
  border-radius: 8px;
  background: #fff;
}

.companies-table-topline {
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  color: #52607a;
}

.companies-table-rows .admin-server-table-page-size {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.companies-page-v2 .admin-server-table-wrap {
  overflow: visible;
}

.companies-page-v2 .admin-server-table {
  border-collapse: collapse;
}

.companies-server-table thead th {
  border-top: 1px solid #e3e8f0;
  border-bottom: 1px solid #e3e8f0;
  background: #fbfcff;
}

.companies-server-table thead th:first-child {
  border-top-left-radius: 0;
}

.companies-server-table thead th:last-child {
  border-top-right-radius: 0;
}

.companies-server-table th,
.companies-server-table td {
  padding: 0;
}

.companies-server-table tbody td {
  padding: 1.05rem 0.75rem;
  border-bottom: 1px solid #edf1f6;
  color: #27324a;
}

.companies-server-table tbody tr:last-child td {
  border-bottom: 0;
}

.companies-server-table tbody tr:hover {
  background: #f8f9ff;
}

.companies-column-head {
  min-height: 3.35rem;
  padding: 0.7rem 0.75rem;
}

.companies-column-head .admin-server-table-sort,
.companies-column-head > span {
  color: #5a657c;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.companies-column-filter summary {
  color: #8993a7;
}

.companies-checkbox-cell {
  width: 56px;
  text-align: center;
}

.companies-primary-cell {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.companies-primary-cell .resource-link {
  display: block;
  color: #101b36;
  font-weight: 800;
  text-decoration: none;
}

.companies-primary-cell small {
  display: block;
  margin-top: 0.2rem;
  color: #65718b;
}

.companies-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef5ff, #ebe8ff);
  color: #4f35f5;
  font-weight: 850;
}

.companies-row-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #65718b;
  cursor: pointer;
}

.companies-row-menu:hover {
  background: #eef2f8;
  color: #101b36;
}

.companies-page-v2 .admin-server-table-footer {
  min-height: 4.8rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e3e8f0;
}

.companies-page-v2 .admin-server-table-pagination {
  gap: 0.55rem;
}

.companies-page-v2 .admin-server-table-pagination .btn {
  min-width: 2.55rem;
  min-height: 2.55rem;
  border-radius: 8px;
}

.companies-page-v2 .admin-server-table-pagination span {
  color: #101b36;
  font-weight: 500;
}

.companies-page-v2 .site-index-empty {
  margin: 0.8rem;
  border-radius: 10px;
}

.companies-page-v2 {
  --companies-ink: #081535;
  --companies-muted: #59657d;
  --companies-line: #dfe4ed;
  --companies-purple: #4f2df0;
  padding: 0.064rem 0 0;
  background: #fbfcff;
}

.companies-page-v2 .admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.companies-page-v2 .admin-page-header h1 {
  margin: 0;
  color: var(--companies-ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.08;
}

.companies-page-v2 .admin-page-header p {
  margin: 0.45rem 0 0;
  color: var(--companies-muted);
  font-size: 1rem;
}

.companies-page-v2 .admin-page-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.companies-export-button,
.companies-new-button {
  box-sizing: border-box;
  height: 3rem;
  min-height: 3rem;
  border-radius: 7px;
  padding: 0 1.15rem;
  font-size: 0.98rem;
  font-weight: 750;
}

.companies-page-v2 .companies-export-button,
.companies-page-v2 .companies-new-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  background: #fff;
  color: #0b5b52;
  box-shadow: 0 12px 24px rgba(79, 45, 240, 0.16);
}

.companies-page-v2 .companies-export-button:hover,
.companies-page-v2 .companies-export-button:focus-visible,
.companies-page-v2 .companies-new-button:hover,
.companies-page-v2 .companies-new-button:focus-visible {
  background: #fff;
  color: #0b5b52;
  border-color: rgba(11, 91, 82, 0.12);
}

.companies-list-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.companies-list-controls .admin-server-table-search {
  width: 430px;
  max-width: 100%;
  min-height: 3.25rem;
  border: 1px solid var(--companies-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.companies-list-controls .admin-server-table-search input {
  min-height: 3.25rem;
  color: var(--companies-ink);
  font-size: 1rem;
}

.companies-filter-button,
.companies-status-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  height: 3.25rem;
  min-height: 3.25rem;
  border: 1px solid var(--companies-line);
  border-radius: 8px;
  background: #fff;
  color: var(--companies-ink);
  font-size: 1rem;
  font-weight: 750;
  box-shadow: none;
}

.companies-filter-button {
  flex: 0 0 145px;
  width: 145px;
  justify-content: center;
  padding-inline: 1.15rem;
  line-height: 1;
}

.companies-filter-button > i {
  width: 1.2rem;
  text-align: center;
  line-height: 1;
}

.companies-filter-button.is-active,
.companies-filter-button.is-active:hover,
.companies-filter-button.is-active:focus-visible {
  border-color: var(--companies-line);
  background: #fff;
  box-shadow: none;
  color: #0b5b52;
}

.companies-filter-button.is-active {
  justify-content: center;
}

.companies-filter-button span {
  align-self: center;
  min-width: 1.35rem;
  height: 1.35rem;
  background: #e9e5ff;
  color: var(--companies-purple);
  line-height: 1;
}

.companies-status-button {
  width: 315px;
  min-width: 315px;
  justify-content: space-between;
  padding-inline: 1.15rem;
  appearance: none;
  cursor: pointer;
}

.companies-status-form {
  width: 315px;
}

.companies-status-form .select2-container {
  width: 315px !important;
}

.companies-status-form .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  height: 3.25rem;
  border: 1px solid var(--companies-line);
  border-radius: 8px;
  background: #fff;
  color: var(--companies-ink);
  box-shadow: none;
}

.companies-status-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  flex: 1;
  padding-left: 1.15rem;
  padding-right: 2.4rem;
  color: var(--companies-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 3.25rem;
}

.companies-status-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
}

.companies-status-form .select2-container--default.select2-container--focus .select2-selection--single,
.companies-status-form .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #a895ff;
  box-shadow: 0 0 0 3px rgba(79, 45, 240, 0.12);
}

.companies-table-card {
  overflow: visible;
  border: 1px solid var(--companies-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.companies-table-bulkbar {
  min-height: 5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--companies-line);
}

.companies-table-selected {
  color: #34405d;
  font-size: 1rem;
}

.companies-select-all-records {
  appearance: none;
  border: 0;
  background: transparent;
  color: #0b5b52;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.companies-select-all-records:hover,
.companies-select-all-records:focus-visible {
  text-decoration: underline;
}

.companies-table-bulk-left {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.companies-table-actions .btn {
  min-height: 2.55rem;
  border: 1px solid var(--companies-line);
  border-radius: 7px;
  padding-inline: 0.9rem;
  color: var(--companies-ink);
  font-weight: 650;
}

.companies-table-actions .companies-bulk-danger {
  color: #dc2626;
}

.companies-bulk-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #101b36;
  cursor: pointer;
}

.companies-bulk-close:hover {
  background: #f1f4f9;
}

.companies-page-v2 .admin-server-table-wrap {
  overflow: visible;
}

.companies-server-table {
  border-collapse: collapse;
}

.companies-server-table thead th {
  border: 0;
  border-bottom: 1px solid var(--companies-line);
  border-right: 1px solid var(--companies-line);
  background: #fbfcff;
}

.companies-server-table thead th:last-child {
  border-right: 0;
}

.companies-column-head {
  min-height: 3.75rem;
  padding: 0 0.7rem;
}

.companies-column-head .admin-server-table-sort,
.companies-column-head > span {
  color: #66728b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.companies-column-filter summary {
  width: 1.8rem;
  height: 1.8rem;
  color: #8a94a9;
}

.companies-column-filter summary:hover,
.companies-column-filter[open] summary {
  background: #f1f4f9;
  color: var(--companies-purple);
}

.companies-column-filter.is-filtered summary,
.companies-column-filter.is-filtered summary:hover,
.companies-column-filter.is-filtered[open] summary {
  background: #e9e5ff;
  color: var(--companies-purple);
}

.companies-server-table tbody td {
  height: 2.85rem;
  padding: 0.28rem 0.7rem;
  border-bottom: 1px solid #edf1f6;
  color: #2b3650;
  font-size: 0.98rem;
}

.companies-server-table tbody tr:hover {
  background: #fafbff;
}

.companies-checkbox-cell {
  width: 4.25rem;
  min-width: 4.25rem;
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
}

.companies-checkbox-cell .companies-column-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.companies-server-table tbody .companies-checkbox-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.85rem;
}

.companies-table-selected input,
.companies-checkbox-cell input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--companies-purple);
}

.companies-primary-cell {
  gap: 0.85rem;
}

.companies-avatar {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 8px;
  background: #f0f3fa;
  color: var(--companies-purple);
  font-weight: 850;
}

.companies-primary-cell .resource-link {
  color: var(--companies-ink);
  font-size: 1rem;
  font-weight: 800;
}

.companies-primary-cell small {
  color: #66728b;
  font-size: 0.92rem;
}

.companies-row-menu {
  color: #66728b;
}

.companies-page-v2 .admin-server-table-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 1.2rem 0.75rem;
  border-top: 1px solid var(--companies-line);
  background: #fbfcff;
}

.companies-page-v2 .admin-server-table-footer > p {
  margin: 0;
  color: #52607a;
}

.companies-page-v2 .admin-server-table-pagination {
  justify-content: center;
  gap: 0.65rem;
}

.companies-page-v2 .admin-server-table-pagination .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  width: 2.75rem;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 8px;
  font-size: 0;
  line-height: 1;
}

.companies-page-v2 .admin-server-table-pagination .btn:first-child::before {
  content: "\f104";
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.companies-page-v2 .admin-server-table-pagination .btn:last-child::before {
  content: "\f105";
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.companies-page-jump {
  display: inline-flex;
}

.companies-page-number {
  min-width: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #a895ff;
  border-radius: 8px;
  background: #fff;
  color: var(--companies-purple) !important;
  font: inherit;
  font-weight: 500;
  text-align: center;
}

.companies-page-number:focus {
  outline: none;
  border-color: var(--companies-purple);
  box-shadow: 0 0 0 3px rgba(79, 45, 240, 0.14);
}

.companies-page-number::-webkit-outer-spin-button,
.companies-page-number::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.companies-page-number {
  -moz-appearance: textfield;
  appearance: textfield;
}

.companies-table-rows {
  justify-content: flex-end;
}

.companies-table-rows .admin-server-table-page-size {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.companies-table-rows .admin-server-table-page-size label {
  color: #52607a;
  font-weight: 500;
}

.companies-table-rows .admin-server-table-page-size select {
  min-width: 76px;
  min-height: 2.75rem;
  border: 1px solid var(--companies-line);
  border-radius: 8px;
  background: #fff;
  color: var(--companies-ink);
  font-weight: 500;
}

.admin-server-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-server-table-pagination {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-server-table-pagination span {
  color: #354059;
  font-weight: 500;
}

.admin-server-table-pagination .is-disabled {
  pointer-events: none;
  opacity: 0.52;
}

.companies-page-v2 .admin-server-table-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  flex-wrap: nowrap;
}

.admin-index-page {
  --admin-index-ink: #081535;
  --admin-index-muted: #59657d;
  --admin-index-line: #dfe4ed;
  --admin-index-purple: #4f2df0;
  max-width: none;
  padding: 0.064rem 0 0;
  background: #fbfcff;
}

.admin-index-page .admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.admin-index-page .admin-page-header h1 {
  margin: 0;
  color: var(--admin-index-ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.08;
}

.admin-index-page .admin-page-header p {
  margin: 0.45rem 0 0;
  color: var(--admin-index-muted);
  font-size: 1rem;
}

.admin-index-page .admin-page-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-index-action-button,
.admin-index-page .admin-page-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  height: 3rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  color: #0b5b52;
  padding: 0 1.15rem;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(79, 45, 240, 0.16);
}

.companies-page-v2.admin-index-page .companies-new-button {
  font-weight: 800;
}

.companies-page-v2 .admin-page-actions .companies-export-button,
.companies-page-v2 .admin-page-actions .companies-new-button {
  font-weight: 800;
}

.admin-index-action-button:hover,
.admin-index-action-button:focus-visible,
.admin-index-page .admin-page-actions .btn:hover,
.admin-index-page .admin-page-actions .btn:focus-visible {
  border-color: rgba(11, 91, 82, 0.12);
  background: #fff;
  color: #0b5b52;
}

.admin-index-page .admin-server-table-card {
  display: block;
  gap: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--admin-index-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.admin-index-page .admin-server-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-index-page .admin-server-table-toolbar > div:first-child {
  display: none;
}

.admin-index-page .admin-server-table-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex: 1 1 auto;
}

.admin-index-page .admin-server-table-search {
  flex: 0 0 430px;
  width: 430px;
  max-width: 100%;
  min-height: 3.25rem;
  border: 1px solid var(--admin-index-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.admin-index-page .admin-server-table-search input {
  min-height: 3.25rem;
  color: var(--admin-index-ink);
  font-size: 1rem;
}

.admin-index-page .admin-users-search-form {
  width: 430px;
  max-width: 100%;
}

.admin-index-page .admin-search-field {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0 0.95rem;
  border: 1px solid var(--admin-index-line);
  border-radius: 8px;
  background: #fff;
  color: #6f7a91;
  box-sizing: border-box;
}

.admin-index-page .admin-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--admin-index-ink);
  font: inherit;
  font-size: 1rem;
}

.admin-index-page .admin-server-table-page-size {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.25rem;
  min-height: 3.25rem;
  color: var(--admin-index-ink);
  font-size: 1rem;
  font-weight: 500;
}

.admin-index-page .admin-server-table-page-size label {
  color: #52607a;
  font-weight: 500;
}

.admin-index-page .admin-server-table-page-size select {
  min-width: 76px;
  min-height: 2.75rem;
  border: 1px solid var(--admin-index-line);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-index-ink);
  font-weight: 500;
}

.admin-index-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  flex: 0 0 145px;
  width: 145px;
  height: 3.25rem;
  min-height: 3.25rem;
  border: 1px solid var(--admin-index-line);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-index-ink);
  padding-inline: 1.15rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1;
  box-shadow: none;
}

.admin-index-filter-button > i {
  width: 1.2rem;
  text-align: center;
  line-height: 1;
}

.admin-index-page .admin-server-table-wrap {
  overflow: visible;
}

.admin-index-page .admin-server-table {
  border-collapse: collapse;
}

.admin-index-page .admin-server-table thead th {
  height: 3.75rem;
  padding: 0 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--admin-index-line);
  border-right: 1px solid var(--admin-index-line);
  background: #fbfcff;
  color: #66728b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
}

.admin-index-page .admin-server-table thead th:last-child {
  border-right: 0;
}

.admin-index-page .admin-server-table tbody td {
  height: 2.85rem;
  padding: 0.28rem 0.7rem;
  border-bottom: 1px solid #edf1f6;
  color: #2b3650;
  font-size: 0.98rem;
  vertical-align: middle;
}

.admin-index-page .admin-server-table tbody tr:hover {
  background: #fafbff;
}

.admin-index-page .admin-server-table-sort {
  color: #66728b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-index-page .resource-link {
  color: #0b5b52;
  font-weight: 800;
  text-decoration: none;
}

.admin-index-page .admin-table-actions,
.admin-index-page .admin-users-actions-cell {
  justify-content: flex-end;
}

.admin-index-page .admin-server-table-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 1.2rem 0.75rem;
  border-top: 1px solid var(--admin-index-line);
  background: #fbfcff;
  flex-wrap: nowrap;
}

.admin-index-page .admin-server-table-footer > p {
  margin: 0;
  color: #52607a;
}

.admin-index-page .admin-server-table-pagination {
  justify-content: center;
  gap: 0.65rem;
}

.admin-index-page .admin-server-table-pagination .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  width: 2.75rem;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 8px;
  font-size: 0;
  line-height: 1;
}

.admin-index-page .admin-server-table-pagination .btn:first-child::before {
  content: "\f104";
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.admin-index-page .admin-server-table-pagination .btn:last-child::before {
  content: "\f105";
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.admin-index-page .admin-server-table-pagination span {
  color: #101b36;
  font-weight: 500;
}

.admin-index-page .site-index-empty {
  margin: 0.8rem;
  border-radius: 10px;
}

.sites-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sites-index-page > .admin-server-table-toolbar {
  margin-bottom: 0;
}

.companies-page-v2 .companies-list-controls .admin-server-table-search {
  flex: 0 0 301px;
  width: 301px;
  max-width: 100%;
}

[data-card-index-search-item][hidden],
[data-card-index-search-empty][hidden] {
  display: none !important;
}

.site-index-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 45, 61, 0.04);
}

.site-index-card-link {
  color: inherit;
  text-decoration: none;
}

.site-index-card-link:hover {
  border-color: #bfd7d1;
  box-shadow: 0 14px 30px rgba(31, 45, 61, 0.08);
}

.site-index-card-link:focus-visible {
  outline: 3px solid rgba(13, 111, 99, 0.22);
  outline-offset: 2px;
}

.site-index-card-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #eef4f2;
}

.site-index-card-photo-empty {
  display: grid;
  place-items: center;
  color: #55756e;
  font-size: 2rem;
}

.site-index-card-body {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.site-index-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.site-index-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.site-index-card-head h3 {
  color: var(--ink);
}

.site-index-card-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-index-card-meta {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.site-index-card-meta div {
  display: grid;
  gap: 0.2rem;
}

.site-index-card-meta dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.site-index-card-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-index-card-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.units-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

.unit-index-card {
  display: grid;
  grid-template-rows: 130px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 45, 61, 0.04);
}

.unit-index-card-button {
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.unit-index-card-button:hover {
  border-color: #bfd7d1;
  box-shadow: 0 14px 30px rgba(31, 45, 61, 0.08);
}

.unit-index-card-button:focus-visible {
  outline: 3px solid rgba(13, 111, 99, 0.22);
  outline-offset: 2px;
}

.unit-index-card-photo {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: #eef4f2;
}

.unit-index-card-photo-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(13, 111, 99, 0.13), transparent 2.8rem),
    #eef4f2;
  color: #0d6f63;
  font-size: 1.85rem;
}

.unit-index-card-body {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
}

.unit-index-card-type,
.unit-index-card-space {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.unit-index-card-space {
  color: #0d6f63;
  font-weight: 700;
}

.unit-index-card h3 {
  margin: 0.12rem 0;
  font-size: 1rem;
}

.unit-index-card h3 {
  color: var(--ink);
}

.unit-index-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #f7f9fd;
}

.unit-index-card-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.unit-index-card-meta strong {
  color: var(--ink);
}

.unit-index-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.unit-detail-section {
  margin-top: 1rem;
}

.unit-detail-section h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: #1f2937;
}

.unit-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.unit-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.8rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #e8f4f2;
  color: #0b5b52;
  font-weight: 800;
  font-size: 0.86rem;
}

.unit-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.unit-type-filter-badges {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.unit-search-field {
  min-width: min(280px, 100%);
  margin-left: auto;
}

.unit-type-filter-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
}

.unit-type-filter-badge:hover {
  border-color: #bfd7d1;
  background: #f7fbfa;
  color: var(--brand-deep);
}

.unit-type-filter-badge.is-active {
  border-color: #0d6f63;
  background: #e7f5f2;
  color: #084f48;
}

.unit-drawer-photo {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.unit-drawer-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-index-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.space-pill-tabs {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.space-pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(31, 45, 61, 0.04);
}

.space-pill-tab:hover {
  border-color: #bfd7d1;
  background: #f7fbfa;
}

.space-pill-tab.is-active {
  border-color: #0d6f63;
  background: #e7f5f2;
  color: #084f48;
}

.space-pill-tab span {
  font-weight: 800;
  white-space: nowrap;
}

.space-pill-tab small,
.space-pill-tab strong {
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.2;
  opacity: 0.82;
  white-space: nowrap;
}

.site-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 1;
  transition: opacity 180ms ease, backdrop-filter 180ms ease;
}

.site-offcanvas-backdrop.is-fading {
  opacity: 0;
  backdrop-filter: blur(0);
}

.drawer-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e8edf5;
}

.drawer-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: drawer-skeleton-shimmer 1.15s infinite;
}

.drawer-skeleton-label {
  width: 4rem;
  height: 0.85rem;
  margin-bottom: 0.65rem;
}

.drawer-skeleton-title {
  width: 12rem;
  height: 1.8rem;
}

.drawer-skeleton-button {
  width: 5.5rem;
  height: 2.6rem;
}

.drawer-skeleton-card {
  gap: 1.1rem;
}

.drawer-skeleton-line {
  width: 70%;
  height: 1rem;
}

.drawer-skeleton-line-wide {
  width: 100%;
}

.drawer-skeleton-line-short {
  width: 42%;
}

.drawer-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.drawer-skeleton-field {
  height: 4.25rem;
}

@keyframes drawer-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.site-offcanvas-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(760px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(223, 241, 237, 0.72), transparent 15rem),
    linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(246, 250, 249, 0.96));
  border-left: 1px solid var(--line);
  box-shadow: -22px 0 42px rgba(15, 23, 42, 0.14);
  z-index: 90;
}

#lazy-company-show-drawer {
  width: min(1140px, 100vw);
}

.agreement-drawer-panel,
.site-offcanvas-panel:has(.agreement-drawer-layout) {
  width: min(1080px, 100vw);
}

.site-offcanvas-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(223, 241, 237, 0.92), transparent 15rem),
    linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(248, 251, 250, 0.96));
  border-bottom: 1px solid rgba(219, 226, 238, 0.78);
}

.site-offcanvas-head h2 {
  margin: 0.25rem 0 0;
}

.site-offcanvas-head-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.building-library-subtitle {
  flex: 0 0 auto;
  margin: 0 1.5rem 1.25rem;
  max-width: 38rem;
  color: var(--muted);
}

.admin-form-drawer .admin-users-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin: 0 1.5rem;
  padding: 1.25rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.88);
  align-content: start;
}

.admin-form-drawer .admin-tabs {
  gap: 0.75rem;
  align-content: start;
}

.admin-form-drawer .unit-drawer-tabs {
  margin-top: 0;
}

.company-drawer-layout {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.company-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-bottom: 0;
}

.company-drawer-footer,
.site-offcanvas-panel .tenant-form-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid rgba(219, 226, 238, 0.86);
  background: rgba(251, 253, 255, 0.96);
  backdrop-filter: blur(8px);
}

.site-offcanvas-panel > .tenant-form-actions {
  margin-top: auto;
}

@media (max-width: 1180px) {
  .sites-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .units-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sites-card-grid {
    grid-template-columns: 1fr;
  }

  .units-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .units-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-resend-button {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.admin-row-menu {
  color: #3d4659;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-show-notice {
  margin: 0;
  padding: 0.65rem 0.8rem;
  background: #e8fbf0;
  border: 1px solid #bce7cb;
  border-radius: 8px;
}

.site-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #0b5b52, #0d6f63);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.site-hero-kicker {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.site-hero h1 {
  margin: 0.2rem 0;
}

.site-hero-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-icon i {
  font-size: 1.2rem;
}

.hero-icon-sites {
  background: linear-gradient(135deg, #2a7de2, #2258b8);
}

.hero-icon-gates {
  background: linear-gradient(135deg, #ef8f18, #bf5b08);
}

.hero-icon-rates {
  background: linear-gradient(135deg, #7a44d2, #4b2f9e);
}

.site-hero-subtitle {
  margin: 0;
  opacity: 0.9;
}

.site-hero-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: #fff;
  color: #0b5b52;
}

.btn-ghost {
  background: #f7f9fd;
  border-color: var(--line);
  color: var(--ink);
}

.btn-danger {
  background: #9f2f2f;
  color: #fff;
}

.companies-page-v2 .companies-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.site-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.resource-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.site-stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
}

.site-stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-stat-value {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.resource-detail-value {
  font-size: 0.98rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.resource-detail-logo {
  margin-bottom: 1rem;
}

.resource-detail-logo img {
  display: block;
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem;
}

.plan-show-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 245, 242, 0.58));
}

.plan-show-summary h3 {
  margin: 0.15rem 0 0.45rem;
  color: var(--ink);
  font-size: 1.25rem;
}

.plan-show-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 12px 26px rgba(0, 102, 87, 0.18);
}

.plan-show-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.agreement-wizard-form {
  display: block;
}

.agreement-wizard {
  display: grid;
  gap: 1.25rem;
}

.agreement-wizard-steps {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0.55rem 0.2rem 0.95rem;
  list-style: none;
  border: 0;
  border-bottom: 1px solid rgba(214, 222, 234, 0.86);
  border-radius: 0;
  background: transparent;
  overflow-x: auto;
  box-shadow: none;
}

.agreement-wizard-steps li {
  position: relative;
  flex: 1 0 6.7rem;
}

.agreement-wizard-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: calc(50% + 1.05rem);
  right: calc(-50% + 1.05rem);
  height: 2px;
  background: #d6dee9;
}

.agreement-wizard-steps li:has(.agreement-wizard-step.is-complete)::after {
  background: var(--brand);
}

.agreement-wizard-step {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 4.2rem;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
  padding: 0;
  text-align: center;
  font: inherit;
  transition: color 0.16s ease;
}

.agreement-wizard-step:hover {
  color: var(--brand-deep);
}

.agreement-wizard-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid #d6dee9;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.agreement-wizard-step strong {
  display: block;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.15;
}

.agreement-wizard-step.is-active {
  color: var(--brand-deep);
}

.agreement-wizard-step.is-active span,
.agreement-wizard-step.is-complete span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.agreement-wizard-step.is-complete {
  color: var(--brand-deep);
}

.agreement-wizard-panel {
  min-width: 0;
}

.agreement-wizard-panel-error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #9f1239;
  font-weight: 650;
}

.agreement-pricing-row {
  transition: border-color 0.16s ease, background 0.16s ease;
}

.agreement-pricing-row.is-stepped-pricing {
  border-color: rgba(79, 70, 229, 0.2);
  background: #fbfbff;
}

.agreement-pricing-mode-note {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(217, 222, 232, 0.9);
  border-radius: 10px;
  background: #f8fafc;
  color: #53627a;
  font-size: 0.92rem;
}

.agreement-pricing-row.is-stepped-pricing .agreement-pricing-mode-note {
  background: #f3f0ff;
  border-color: #ddd6fe;
  color: #4c3d89;
}

.agreement-step-heading {
  margin-bottom: 1rem;
}

.agreement-step-heading.compact {
  margin-bottom: 0.75rem;
}

.agreement-step-heading h3 {
  margin: 0.15rem 0 0.25rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.agreement-step-heading h4 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.agreement-step-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.agreement-review-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.agreement-review-card p {
  margin: 0;
  color: #334155;
}

.commercial-structure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.34fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.commercial-component-selector,
.commercial-summary-card,
.commercial-component-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.commercial-component-selector,
.commercial-summary-card {
  padding: 1rem;
}

.commercial-component-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.commercial-component-option {
  display: grid;
  gap: 0.2rem;
  min-height: 5rem;
  padding: 0.8rem;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.commercial-component-option:hover {
  border-color: rgba(9, 107, 93, 0.32);
  background: #eef8f6;
  transform: translateY(-1px);
}

.commercial-component-option strong {
  color: var(--brand-deep);
  font-weight: 750;
}

.commercial-component-option span {
  color: var(--muted);
  font-size: 0.86rem;
}

.commercial-summary-card {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.commercial-summary-card-static {
  position: static;
  box-shadow: none;
}

.commercial-summary-card h4 {
  margin: 0;
  color: var(--ink);
}

.commercial-summary-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid #edf2f7;
}

.commercial-summary-card span {
  color: var(--muted);
}

.commercial-summary-card strong {
  color: var(--ink);
}

.commercial-component-section {
  padding: 1rem;
  margin-top: 1rem;
  min-width: 0;
  overflow: hidden;
}

.commercial-component-row {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.commercial-component-card-inline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: auto;
  max-width: 100%;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfa 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.commercial-component-card-main {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.commercial-component-card-main strong,
.commercial-component-card-side strong {
  color: var(--ink);
  font-weight: 800;
}

.commercial-component-card-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.commercial-component-card-badge {
  width: fit-content;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(9, 107, 93, 0.1);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.commercial-component-card-side {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}

.commercial-component-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.commercial-component-row.is-collapsed {
  display: block;
  padding: 0;
}

.commercial-component-row.is-collapsed > :not(.commercial-component-card-inline) {
  display: none !important;
}

.commercial-component-row:not(.is-collapsed) > .commercial-component-card-inline {
  display: none;
}

.stepped-pricing-steps {
  display: grid;
  gap: 0.75rem;
}

.stepped-pricing-step-list {
  display: grid;
  gap: 0.45rem;
}

.stepped-pricing-step {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stepped-pricing-step:not(:first-child) {
  padding-top: 0.15rem;
}

.stepped-pricing-step:not(:first-child) .field-label-with-help,
.stepped-pricing-step:not(:first-child) .tenant-form-field > label {
  display: none;
}

.stepped-pricing-step-action {
  align-self: end;
  min-height: auto;
}

@media (max-width: 900px) {
  .stepped-pricing-step {
    grid-template-columns: 1fr;
  }
}

.commercial-summary-components {
  display: grid !important;
  gap: 0.35rem;
  justify-content: stretch !important;
}

.commercial-summary-components[hidden] {
  display: none !important;
}

.commercial-summary-components span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .commercial-structure-grid {
    grid-template-columns: 1fr;
  }

  .commercial-summary-card {
    position: static;
  }
}

.agreement-default-toggle-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #f8fafc;
  margin-bottom: 1rem;
}

.agreement-default-toggle-card .tenant-checkbox-field {
  margin: 0;
}

.agreement-default-toggle-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.agreement-default-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.agreement-default-summary div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.75rem;
}

.agreement-default-summary dt {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.agreement-default-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 760px) {
  .agreement-default-summary {
    grid-template-columns: 1fr;
  }
}

.agreement-wizard-footer {
  align-items: center;
}

.agreement-wizard-footer-spacer {
  flex: 1 1 auto;
}

.resource-detail-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.resource-detail-section h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.company-contact-heading {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.resource-detail-list {
  display: grid;
  gap: 0.45rem;
}

.resource-detail-list p {
  margin: 0;
  color: #334155;
}

.tenant-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.45rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: #e9f5f2;
  color: #0b5b52;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-stat-muted {
  margin: 0;
  color: var(--muted);
}

.site-gates,
.site-danger-zone {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.gate-qr-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.gate-qr-card h3 {
  margin: 0 0 0.35rem;
}

.gate-qr-svg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem;
  line-height: 0;
}

.gate-qr-svg svg {
  display: block;
  width: 176px;
  height: 176px;
}

.site-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.site-section-head h2 {
  margin: 0;
}

.site-table-wrap {
  overflow-x: auto;
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.site-table th,
.site-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.6rem 0.5rem;
}

.site-table tbody tr[data-href] {
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.site-table tbody tr[data-href]:hover {
  background: #edf4ff;
}

.site-table tbody tr[data-href]:focus-visible {
  outline: 2px solid #2f6fed;
  outline-offset: -2px;
}

.site-direction {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-direction-entry {
  background: #dff4ff;
  color: #0d4f76;
}

.site-direction-exit {
  background: #ffe9db;
  color: #83400c;
}

.admin-status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: #edf2f7;
  color: #334155;
  white-space: nowrap;
}

.admin-status-pill-requires_payment {
  background: #fff4d6;
  color: #8a4b08;
}

.admin-status-pill-payment_authorised,
.admin-status-pill-active {
  background: #dcfce7;
  color: #166534;
}

.admin-status-pill-completed_manual,
.admin-status-pill-completed_auto_close {
  background: #dbeafe;
  color: #1e3a8a;
}

.admin-status-pill-failed_payment,
.admin-status-pill-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.site-empty {
  color: var(--muted);
}

.intercom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.85rem;
}

.intercom-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

.intercom-meta {
  margin: 0;
  color: var(--muted);
}

.intercom-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.intercom-photo-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  background: #fcfdff;
}

.intercom-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-top: 0.35rem;
}

.attendance-photo {
  height: 280px;
}

.intercom-image-actions {
  margin-top: 0.5rem;
}

.image-modal-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 20, 0.75);
}

.image-modal-dialog {
  position: absolute;
  inset: 3vh 3vw;
  background: #10141b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.image-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.image-modal-zoom-controls,
.image-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.image-modal-toolbar .btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5fb;
  border-color: rgba(255, 255, 255, 0.22);
}

.image-modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 0.8rem;
}

.image-modal-image {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transition: transform 80ms ease;
}

.intercom-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.2rem;
}

.intercom-actions .btn {
  width: min(100%, 360px);
  text-align: center;
  padding: 1rem 1.4rem;
  font-size: 1.08rem;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(13, 111, 99, 0.26);
}

.intercom-actions .btn-primary {
  background: linear-gradient(135deg, #0d6f63, #0a564e);
  color: #fff;
  border-color: #0a564e;
}

.intercom-actions .btn:hover {
  transform: translateY(-1px);
}

.status-help-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-help-trigger {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
}

.status-help-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
}

.status-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 20, 0.6);
}

.status-help-dialog {
  position: relative;
  width: min(700px, calc(100% - 2rem));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d9e2ec;
  padding: 1rem;
  max-height: 84vh;
  overflow: auto;
}

.status-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.status-help-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.status-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.status-help-item {
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.status-help-item strong {
  margin-right: 0.45rem;
}

.status-help-item p {
  margin: 0.35rem 0 0;
  color: #334155;
}

.site-danger-zone h3 {
  margin-top: 0;
}

.site-action-sep {
  color: var(--muted);
  margin: 0 0.25rem;
}

.table-warning-icon {
  color: #b45309;
  font-size: 1rem;
}

.tenant-form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.tenant-form-section + .tenant-form-section {
  margin-top: 1rem;
}

.tenant-form-section h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.2;
  color: #1f3b63;
}

.tenant-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.nested-form-row {
  padding: 0.85rem;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  background: #fbfcff;
}

.nested-form-row + .nested-form-row {
  margin-top: 0.75rem;
}

.nested-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.tenant-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tenant-checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
}

.tenant-checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
}

.tenant-checkbox-field label {
  margin: 0;
}

.field-label-with-help {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.field-label-with-help label {
  margin-bottom: 0;
}

.field-help-popover {
  position: relative;
}

.field-help-popover summary {
  list-style: none;
  cursor: pointer;
  color: #2456b5;
}

.field-help-popover summary::-webkit-details-marker {
  display: none;
}

.field-help-popover-content {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 280px;
  max-width: 360px;
  z-index: 40;
  background: #fff;
  border: 1px solid #d6deea;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  padding: 0.6rem 0.7rem;
}

.field-help-popover-content p {
  margin: 0;
  font-size: 0.88rem;
  color: #334155;
}

.field-help-popover-content p + p {
  margin-top: 0.35rem;
}

.tenant-form-field input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.tenant-form-field input[type="email"],
.tenant-form-field input[type="file"],
.tenant-form-field input[type="password"],
.tenant-form-field input[type="number"],
.tenant-form-field input[type="tel"],
.tenant-form-field input[type="date"],
.tenant-form-field input[type="datetime-local"],
.tenant-form-field input[type="url"],
.tenant-form-field textarea,
.tenant-form-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.tenant-form-field input[type="text"]:focus {
  outline: 2px solid #9fd1ff;
  border-color: #75b7f5;
}

.tenant-form-field input[type="email"]:focus,
.tenant-form-field input[type="file"]:focus,
.tenant-form-field input[type="password"]:focus,
.tenant-form-field input[type="number"]:focus,
.tenant-form-field input[type="tel"]:focus,
.tenant-form-field input[type="date"]:focus,
.tenant-form-field input[type="datetime-local"]:focus,
.tenant-form-field input[type="url"]:focus,
.tenant-form-field textarea:focus,
.tenant-form-field select:focus {
  outline: 2px solid #9fd1ff;
  border-color: #75b7f5;
}

.tenant-form-field textarea {
  resize: vertical;
}

.tenant-form-field input[type="date"] {
  min-height: 42px;
  color-scheme: light;
}

.tenant-form-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.7;
  filter: invert(31%) sepia(13%) saturate(1012%) hue-rotate(177deg) brightness(88%) contrast(87%);
}

.date-placeholder-wrap {
  position: relative;
  display: block;
}

.date-placeholder-label {
  position: absolute;
  top: 50%;
  left: 0.65rem;
  transform: translateY(-50%);
  color: #7a8699;
  pointer-events: none;
  line-height: 1;
}

.date-placeholder-wrap:not(.has-value) input[type="date"] {
  color: transparent;
}

.date-placeholder-wrap.has-value input[type="date"] {
  color: var(--ink);
}

.date-placeholder-wrap.has-value .date-placeholder-label {
  display: none;
}

.tenant-form-field.has-field-error input,
.tenant-form-field.has-field-error select,
.tenant-form-field.has-field-error textarea,
.tenant-form-field.has-field-error .select2-container--default .select2-selection--single,
.tenant-form-field .is-invalid {
  border-color: #f43f5e;
}

.tenant-form-field.has-field-error input:focus,
.tenant-form-field.has-field-error select:focus,
.tenant-form-field.has-field-error textarea:focus,
.tenant-form-field.has-field-error .select2-container--default.select2-container--focus .select2-selection--single,
.tenant-form-field.has-field-error .select2-container--default.select2-container--open .select2-selection--single {
  outline-color: #fecdd3;
  border-color: #f43f5e;
}

.person-phone-field {
  display: grid;
  gap: 0.5rem;
}

.person-phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.5rem;
}

.person-phone-remove {
  min-height: 2.45rem;
  margin-bottom: 0;
}

.person-phone-add {
  justify-self: start;
}

.tenant-form-help {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.wysiwyg {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.wysiwyg-toolbar {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem;
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
}

.wysiwyg-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.wysiwyg-btn:hover {
  background: #eef5ff;
}

.wysiwyg-editor {
  min-height: 170px;
  padding: 0.65rem;
  line-height: 1.5;
}

.wysiwyg-editor:focus {
  outline: 2px solid #9fd1ff;
  outline-offset: -2px;
}

.wysiwyg-editor p {
  margin: 0 0 0.55rem;
}

.wysiwyg-editor h1,
.wysiwyg-editor h2,
.wysiwyg-editor h3 {
  margin: 0.2rem 0 0.55rem;
  line-height: 1.25;
}

.wysiwyg-editor h1 {
  font-size: 1.4rem;
}

.wysiwyg-editor h2 {
  font-size: 1.2rem;
}

.wysiwyg-editor h3 {
  font-size: 1.05rem;
}

.wysiwyg-editor ul,
.wysiwyg-editor ol {
  margin: 0 0 0.55rem 1.15rem;
}

.wysiwyg-editor hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.7rem 0;
}

.wysiwyg-source {
  display: none;
}

.tenant-form-field input[type="color"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.2rem;
  background: #fff;
  cursor: pointer;
}

.tenant-form-field-wide {
  grid-column: 1 / -1;
}

.resource-detail-full {
  grid-column: 1 / -1;
}

.branding-swatch {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  vertical-align: middle;
  margin-right: 0.45rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 700;
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.58rem 0.68rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form-field input[type="color"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.2rem;
  background: #fff;
}

.form-field .select2-container {
  width: 100% !important;
}

.form-field .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.form-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  flex: 1;
  padding: 0.58rem 2.15rem 0.58rem 0.68rem;
  color: var(--ink);
  font: inherit;
  line-height: 1.35;
}

.form-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 0.62rem;
  transform: translateY(-50%);
}

.form-field .select2-container--default.select2-container--focus .select2-selection--single,
.form-field .select2-container--default.select2-container--open .select2-selection--single {
  outline: 2px solid #9fd1ff;
  border-color: #75b7f5;
}

.form-field small,
.form-hint {
  color: var(--muted);
}

.admin-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.admin-checkbox-row input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.kiosk-color-grid,
.kiosk-flow-editor,
.kiosk-preview-frame,
.drawer-form-actions {
  grid-column: 1 / -1;
}

.kiosk-color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.kiosk-preview-frame {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
  background: #eaf1f7;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.kiosk-preview-ipad {
  --ipad-bezel: clamp(12px, 1.8vw, 24px);
  --ipad-side-bezel: clamp(44px, 5vw, 76px);
  position: relative;
  width: min(100%, 1180px);
  box-sizing: border-box;
  margin: 0 auto;
  padding:
    var(--ipad-bezel)
    var(--ipad-side-bezel)
    var(--ipad-bezel)
    var(--ipad-bezel);
  border-radius: clamp(34px, 4vw, 58px);
  background: #101318;
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.kiosk-preview-ipad::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.kiosk-preview-camera {
  position: absolute;
  top: 50%;
  right: calc(var(--ipad-side-bezel) / 2);
  z-index: 2;
  width: clamp(5px, 0.7vw, 9px);
  height: clamp(5px, 0.7vw, 9px);
  border-radius: 999px;
  background: #020617;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.kiosk-preview-screen {
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border: 0;
  border-radius: clamp(20px, 2.5vw, 34px);
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--kiosk-text);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--kiosk-secondary) 75%, transparent), transparent 22rem),
    var(--kiosk-bg);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-family: var(--kiosk-font), var(--font-sans);
  overflow: hidden;
}

.kiosk-preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.kiosk-preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 60%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 900;
}

.kiosk-preview-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.kiosk-preview-brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--kiosk-primary);
  color: #fff;
}

.kiosk-preview-time {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  color: var(--kiosk-text);
  font-size: 0.8rem;
}

.kiosk-preview-time strong {
  font-size: 1rem;
}

.kiosk-preview-copy {
  margin-top: min(9rem, 16vh);
  max-width: 640px;
}

.kiosk-preview-copy p {
  margin: 0 0 0.65rem;
  color: var(--kiosk-primary);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kiosk-preview-copy h2 {
  margin: 0;
  color: var(--kiosk-text);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.kiosk-preview-copy span {
  display: block;
  margin-top: 1rem;
  color: color-mix(in srgb, var(--kiosk-text) 70%, white);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.kiosk-preview-copy button {
  margin-top: 2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  background: var(--kiosk-primary);
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.kiosk-flow-editor {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.kiosk-flow-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fbfcff;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.kiosk-flow-row.is-dragging {
  opacity: 0.55;
}

.kiosk-flow-drag-handle {
  width: 34px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  cursor: grab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kiosk-flow-drag-handle:active {
  cursor: grabbing;
}

.kiosk-flow-drag-handle:hover {
  color: var(--ink);
  border-color: #cbd5e1;
}

.kiosk-flow-row-main,
.kiosk-flow-row-options {
  display: grid;
  gap: 0.55rem;
  grid-column: 2;
}

.kiosk-flow-row-main {
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1fr) minmax(0, 1.4fr);
}

.kiosk-flow-row-options {
  grid-template-columns: minmax(180px, 1fr) 72px 72px minmax(120px, auto);
  margin-top: 0.55rem;
}

.kiosk-flow-row input[type="text"],
.kiosk-flow-row select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  font: inherit;
  background: #fff;
}

.kiosk-flow-row input[type="color"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.18rem;
  background: #fff;
}

.kiosk-flow-color-field {
  display: grid;
  gap: 0.25rem;
}

.kiosk-flow-color-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.concierge-theme-manager {
  margin-bottom: 1rem;
}

.concierge-theme-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.concierge-theme-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 78px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.concierge-theme-card:hover,
.concierge-theme-card.is-active {
  border-color: var(--theme-primary);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.concierge-theme-card strong,
.concierge-theme-card small {
  display: block;
}

.concierge-theme-card small {
  color: var(--muted);
  margin-top: 0.2rem;
}

.concierge-theme-card i {
  color: var(--theme-primary);
}

.concierge-theme-swatch {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(135deg, var(--theme-primary) 0 48%, transparent 48%),
    var(--theme-bg);
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--theme-text) 8%, transparent);
}

@media (max-width: 900px) {
  .admin-form-grid,
  .kiosk-preview-frame,
  .kiosk-color-grid,
  .concierge-theme-list,
  .kiosk-flow-row-main,
  .kiosk-flow-row-options {
    grid-template-columns: 1fr;
  }
}

.tenant-terms-content {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.5;
}

.tenant-terms-content p {
  margin: 0 0 0.6rem;
}

.tenant-terms-content h1,
.tenant-terms-content h2,
.tenant-terms-content h3 {
  margin: 0.2rem 0 0.55rem;
  line-height: 1.25;
  font-weight: 700;
}

.tenant-terms-content h1 {
  font-size: 1.4rem;
}

.tenant-terms-content h2 {
  font-size: 1.2rem;
}

.tenant-terms-content h3 {
  font-size: 1.05rem;
}

.tenant-terms-content ul,
.tenant-terms-content ol {
  margin: 0 0 0.6rem 1.15rem;
}

.tenant-terms-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.75rem 0;
}

.tenant-form-hint {
  margin: -0.15rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.agreement-terms-pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.tenant-form-field .select2-container {
  width: 100% !important;
}

.tenant-form-field .select2-container--default .select2-selection--single {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 2rem 0.55rem 0.65rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.tenant-form-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.4;
  color: var(--ink);
  padding: 0;
}

.tenant-form-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.45rem;
}

.tenant-form-field .select2-container--default.select2-container--focus .select2-selection--single,
.tenant-form-field .select2-container--default.select2-container--open .select2-selection--single {
  outline: 2px solid #9fd1ff;
  border-color: #75b7f5;
}

.select2-container--default .select2-dropdown {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.select2-container--open {
  z-index: 1000;
}

.select2-container--default .select2-search--dropdown {
  padding: 0.6rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  outline: 2px solid #9fd1ff;
  border-color: #75b7f5;
}

.select2-container--default .select2-results__option {
  padding: 0.55rem 0.7rem;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: #eef5f3;
  color: #0f3f3a;
}

.select2-icon-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.select2-icon-option i {
  width: 1.15rem;
  text-align: center;
  color: #0b5b52;
}

.tenant-form-actions {
  margin-top: 0.9rem;
}

.tenant-submit {
  border: 1px solid #0a5b52;
  background: linear-gradient(135deg, #0d6f63, #0a5b52);
  color: #fff;
  cursor: pointer;
}

.tenant-submit:hover {
  background: linear-gradient(135deg, #0c665b, #084d46);
}

.tenant-form-errors {
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #f2bcc2;
  border-radius: 10px;
  background: #fff4f6;
  color: #9a1f2f;
}

.tenant-form-errors h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.occupancy-widget-summary {
  margin: 0.2rem 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.occupancy-widget-progress {
  height: 0.75rem;
  border-radius: 999px;
  background: #e7edf7;
  overflow: hidden;
}

.occupancy-widget-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 220ms ease;
}

.occupancy-widget-progress-fill.is-low {
  background: #16a34a;
}

.occupancy-widget-progress-fill.is-medium {
  background: #d97706;
}

.occupancy-widget-progress-fill.is-high {
  background: #dc2626;
}

.occupancy-widget-meta {
  margin: 0.6rem 0 0;
  color: #334155;
}

.tenant-form-errors ul {
  margin: 0;
  padding-left: 1.15rem;
}

.profile-help {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 920px) {
  .admin-shell {
    height: auto;
    overflow: auto;
  }

  .admin-topbar {
    flex-wrap: wrap;
    min-height: auto;
    padding: 1rem;
  }

  .admin-topbar-left,
  .admin-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-global-search {
    width: min(100%, 360px);
  }

  .admin-setup-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-body {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .admin-sidebar {
    height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem;
  }

  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .admin-nav-link {
    white-space: nowrap;
  }

  .admin-content {
    overflow: visible;
    padding: 1rem;
  }

  .site-stats {
    grid-template-columns: 1fr;
  }

  .resource-detail-grid {
    grid-template-columns: 1fr;
  }

  .site-hero {
    flex-direction: column;
  }

  .tenant-form-grid {
    grid-template-columns: 1fr;
  }

  .gate-qr-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.setup-steps {
  display: grid;
  gap: 0.75rem;
}

.setup-step-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.setup-step-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.setup-step-number {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: #e5eefb;
  color: #1b4e8e;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.setup-step-meta h2 {
  margin: 0;
  font-size: 1rem;
}

.setup-step-meta p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.setup-step-pill {
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.setup-step-pill.is-complete {
  background: #e7f8ef;
  color: #0b7c49;
  border: 1px solid #b5e8cc;
}

.setup-step-pill.is-pending {
  background: #fff5dd;
  color: #8d5a00;
  border: 1px solid #f2db9a;
}

.setup-step-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.setup-step-check {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #0d6f63;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.free-period-schedule {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: auto;
  max-height: 420px;
}

.free-period-grid {
  min-width: 780px;
}

.free-period-schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.free-period-schedule-table th,
.free-period-schedule-table td {
  border: 1px solid #ebeff6;
  padding: 0;
  text-align: center;
}

.free-period-schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6f9ff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #42526b;
  padding: 0.35rem;
}

.free-period-time-cell {
  width: 74px;
  min-width: 74px;
  background: #fafcff;
  color: #5d6f8a;
  font-size: 0.76rem;
  font-weight: 600;
}

.free-period-slot-cell {
  display: block;
  width: 100%;
  min-width: 72px;
  height: 18px;
  border: 0;
  background: #fff;
  cursor: crosshair;
}

.free-period-slot-cell:hover {
  background: #eef5ff;
}

.free-period-slot-cell.is-active {
  background: linear-gradient(180deg, #2f80ff, #1f66d3);
}

.dashboard-trend {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-trend.is-up {
  color: #0a7a47;
}

.dashboard-trend.is-down {
  color: #ab1f2e;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.dashboard-occupancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.dashboard-occupancy-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: #fbfdff;
}

.dashboard-occupancy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.dashboard-occupancy-head h3 {
  margin: 0;
  font-size: 1rem;
}

.dashboard-occupancy-head span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}

.dashboard-occupancy-summary {
  margin: 0.4rem 0 0.5rem;
  font-weight: 650;
}

.dashboard-occupancy-meta {
  margin: 0.5rem 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.dashboard-chart-card {
  display: grid;
  gap: 0.8rem;
}

.dashboard-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.dashboard-chart-head h2 {
  margin: 0;
}

.dashboard-chart-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-bars {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: end;
  gap: 0.55rem;
  min-height: 200px;
  background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
  border: 1px solid #e8edf5;
  border-radius: 10px;
  padding: 0.65rem 0.65rem 0.55rem;
}

.dashboard-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  height: 170px;
}

.dashboard-bar {
  width: 100%;
  max-width: 34px;
  min-height: 4px;
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.25);
}

.dashboard-bar-revenue {
  background: linear-gradient(180deg, #0f8e7f, #0c675d);
}

.dashboard-bar-sessions {
  background: linear-gradient(180deg, #3479f2, #2456b5);
}

.dashboard-bar-label {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 700;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.8rem;
}

.integrations-card {
  --integration-accent: #0d6f63;
  --integration-ink: #16453e;
  --integration-live-bg: #dcf7e5;
  --integration-live-ink: #125834;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  background: #fff;
  display: grid;
  gap: 0.75rem;
  overflow: hidden;
}

.integrations-card-banner {
  height: 12px;
  background: linear-gradient(90deg, var(--integration-accent), color-mix(in srgb, var(--integration-accent) 55%, #ffffff 45%));
}

.integrations-card > :not(.integrations-card-banner) {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

.integrations-card > .integrations-card-head {
  padding-top: 0.85rem;
}

.integrations-card > .btn {
  margin: 0 0.95rem 0.95rem;
}

.integrations-card .btn-primary {
  background: #fff;
  color: var(--integration-ink);
  border: 1px solid color-mix(in srgb, var(--integration-accent) 58%, #ffffff 42%);
}

.integrations-card .btn-primary:hover {
  background: color-mix(in srgb, var(--integration-accent) 12%, #ffffff 88%);
  border-color: var(--integration-accent);
}

.integrations-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.integrations-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--integration-ink);
}

.integrations-card-body {
  margin: 0;
  color: var(--muted);
}

.integrations-card-meta {
  margin: 0;
  font-size: 0.92rem;
  color: #42526b;
}

.integrations-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.16rem 0.56rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integrations-status-live {
  background: var(--integration-live-bg);
  color: var(--integration-live-ink);
}

.integrations-status-soon {
  background: #eef3ff;
  color: #314f97;
}

.integrations-card-attendant {
  --integration-accent: #0f8e7f;
  --integration-ink: #14554c;
  --integration-live-bg: #daf6ef;
  --integration-live-ink: #115947;
}

.integrations-card-vehicle-id {
  --integration-accent: #c96d0f;
  --integration-ink: #6a3f10;
  --integration-live-bg: #fff0dd;
  --integration-live-ink: #804b11;
}

.ai-attendant-settings-list {
  display: grid;
  gap: 0.8rem;
}

.ai-attendant-site-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.ai-attendant-site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ai-attendant-site-head h3 {
  margin: 0;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-actions-spaced {
  margin-top: 0.45rem;
}

.resource-json {
  margin: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.integration-instructions {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.55rem 0.7rem;
}

.integration-instructions summary {
  cursor: pointer;
  font-weight: 700;
  color: #244c8c;
}

.integration-instructions[open] summary {
  margin-bottom: 0.5rem;
}

.integration-instructions ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.integration-link-list {
  margin: 0 0 0.55rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.32rem;
}

.integration-link-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.credential-copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}


.credential-grid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.credential-row {
  display: grid;
  gap: 0.25rem;
}

.credential-label {
  font-size: 0.85rem;
  color: #42526b;
  font-weight: 700;
}

.credential-password-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.credential-reveal-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.credential-password-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.48rem 0.58rem;
  background: #fff;
}

.credential-password-input-compact {
  flex: 0 1 440px;
  width: 100%;
  max-width: 440px;
}

.credential-password-input-plain {
  display: none;
}

.credential-reveal-toggle:checked ~ .credential-password-input-masked {
  display: none;
}

.credential-reveal-toggle:checked ~ .credential-password-input-plain {
  display: block;
}

.btn-sm {
  padding: 0.38rem 0.62rem;
  font-size: 0.86rem;
}

.btn-icon-copy {
  flex: 0 0 2rem;
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 8px;
}

.btn-icon-copy i {
  display: block;
  line-height: 1;
}

.credential-reveal-label {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.credential-reveal-icon-hide {
  display: none;
}

.credential-reveal-toggle:checked ~ .credential-reveal-label .credential-reveal-icon-show {
  display: none;
}

.credential-reveal-toggle:checked ~ .credential-reveal-label .credential-reveal-icon-hide {
  display: block;
}

.integration-link-item > .btn-icon-copy {
  margin-top: 0.08rem;
}

@media (max-width: 760px) {
  .setup-step-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .setup-step-actions {
    width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .intercom-photos {
    grid-template-columns: 1fr;
  }

}

.companies-page-v2 .admin-page-actions .companies-export-button,
.companies-page-v2 .admin-page-actions .companies-new-button,
.admin-index-page .admin-page-actions .companies-export-button,
.admin-index-page .admin-page-actions .companies-new-button,
.admin-index-page .admin-page-actions .admin-index-action-button {
  font-weight: 800;
}

.integrations-page {
  --integration-line: #d9e2ee;
  --integration-muted: #64748b;
  --integration-ink: #172033;
}

.admin-form-card {
  border: 1px solid var(--integration-line, #d9e2ee);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.admin-form-field {
  display: grid;
  gap: 0.4rem;
}

.admin-form-field label {
  color: #172033;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-form-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--integration-line, #d9e2ee);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.admin-form-input:focus {
  border-color: #0b5b52;
  outline: 2px solid rgba(11, 91, 82, 0.14);
  outline-offset: 0;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-form-error {
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 0.85rem;
  font-weight: 700;
}

.integrations-installed,
.integration-edit-layout {
  display: grid;
  gap: 1rem;
}

.integrations-installed {
  padding: 1rem;
  border: 1px solid var(--integration-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.integrations-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.integrations-section-head h2 {
  margin: 0.15rem 0 0;
  color: var(--integration-ink);
  font-size: 1.15rem;
}

.integration-card-grid,
.integration-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.integration-card,
.integration-gallery-card,
.integration-status-card,
.empty-state-card {
  min-width: 0;
  border: 1px solid var(--integration-line);
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
}

.integration-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.integration-card:hover,
.integration-gallery-card:hover {
  border-color: #b8c7d9;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.integration-logo {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--integration-line);
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  color: #0b5b52;
  font-weight: 900;
}

.integration-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.integration-card-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.integration-card-copy strong,
.integration-status-card strong,
.integration-gallery-card h3 {
  margin: 0;
  color: var(--integration-ink);
  font-weight: 850;
}

.integration-card-copy small,
.integration-gallery-card p,
.integration-status-card p,
.empty-state-card span,
.integration-card-meta,
.integration-form-section p,
.admin-form-help {
  margin: 0;
  color: var(--integration-muted);
  font-size: 0.92rem;
}

.integration-card-status,
.integration-required-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.integration-card-status.is-enabled {
  background: #dcfce7;
  color: #166534;
}

.integration-card-status.is-disabled,
.integration-required-chip {
  background: #eef2f7;
  color: #475569;
}

.integration-gallery-panel {
  --integration-gallery-inset: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  align-content: start;
  gap: 1rem;
  overflow-y: auto;
  padding-bottom: var(--integration-gallery-inset);
}

.integration-gallery-panel > .integration-search-field,
.integration-gallery-panel > .integration-gallery-grid,
.integration-gallery-panel > .empty-state-card {
  margin-inline: var(--integration-gallery-inset);
}

.integration-gallery-card {
  display: grid;
  gap: 0.85rem;
}

.integration-gallery-card-head,
.integration-status-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.integration-gallery-card-head h3 {
  font-size: 1rem;
}

.integration-search-field {
  margin: 0;
}

.empty-state-card {
  display: grid;
  gap: 0.25rem;
  background: #f8fafc;
}

.integration-edit-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.integration-edit-main,
.integration-edit-side,
.integration-form,
.integration-form-section,
.integration-status-card {
  display: grid;
  gap: 1rem;
}

.integration-form-section {
  padding-top: 1rem;
  border-top: 1px solid var(--integration-line);
}

.integration-form-section h2 {
  margin: 0 0 0.25rem;
  color: var(--integration-ink);
  font-size: 1rem;
}

.integration-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.integration-site-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  border: 1px solid var(--integration-line);
  border-radius: 9px;
  padding: 0.8rem;
  background: #f8fafc;
}

.integration-site-pill input {
  margin-top: 0.2rem;
}

.integration-site-pill span {
  display: grid;
  min-width: 0;
}

.integration-site-pill strong {
  color: var(--integration-ink);
}

.integration-site-pill small {
  color: var(--integration-muted);
}

.integration-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--integration-line);
  padding-top: 0.85rem;
}

.integration-switch {
  position: relative;
  display: inline-flex;
  width: 3.1rem;
  height: 1.7rem;
}

.integration-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.integration-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.16s ease;
}

.integration-switch span::before {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  left: 0.22rem;
  top: 0.22rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.22);
  transition: transform 0.16s ease;
}

.integration-switch input:checked + span {
  background: #0b5b52;
}

.integration-switch input:checked + span::before {
  transform: translateX(1.4rem);
}

.integration-status-message {
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: #eef2f7;
  color: #334155;
  font-size: 0.9rem;
}

.integration-status-message[data-tone="success"] {
  background: #dcfce7;
  color: #166534;
}

.integration-status-message[data-tone="error"] {
  background: #fee2e2;
  color: #991b1b;
}

.integration-status-message[data-tone="working"] {
  background: #e0f2fe;
  color: #075985;
}

.integration-api-test-card {
  align-content: start;
}

.integration-query-input {
  min-height: 8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.integration-api-result {
  overflow: auto;
  max-height: 18rem;
  margin: 0;
  border: 1px solid var(--integration-line);
  border-radius: 8px;
  background: #0f172a;
  color: #dbeafe;
  padding: 0.75rem;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .integration-edit-layout {
    grid-template-columns: 1fr;
  }

  .integration-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .integration-card-status {
    grid-column: 2;
    justify-self: start;
  }
}

/* HTML template integration: keep the Rails admin shell compatible with the vendored Velzon assets. */
.admin-shell {
  --vz-vertical-menu-bg: #111827;
  --vz-vertical-menu-item-color: #adb5bd;
  --vz-vertical-menu-item-hover-color: #ffffff;
  --vz-vertical-menu-item-active-color: #ffffff;
  --vz-header-bg: #ffffff;
  --vz-body-bg: #f3f3f9;
  --vz-body-color: #212529;
  --vz-border-color: #e9ebec;
  --ff-primary: #405189;
  --ff-primary-dark: #2f3d6e;
  --ff-accent: #0d6f63;
  --ff-page-pad: clamp(1.25rem, 1.6vw, 2rem);
  --ff-sidebar-width: 260px;
  background: var(--vz-body-bg);
  color: var(--vz-body-color);
  font-family: "hkgrotesk", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
}

.admin-shell .admin-topbar {
  min-height: 70px;
  padding: 0 var(--ff-page-pad);
  background: var(--vz-header-bg);
  border-bottom: 1px solid var(--vz-border-color);
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
}

.admin-shell .admin-topbar-left {
  gap: 2rem;
}

.admin-shell .admin-body {
  grid-template-columns: var(--ff-sidebar-width) minmax(0, 1fr);
  height: calc(100vh - 70px);
  min-width: 0;
}

.admin-shell .admin-sidebar {
  background: var(--vz-vertical-menu-bg);
  border-right: 0;
  padding: 1.25rem 0.75rem;
}

.admin-shell .admin-nav {
  gap: 1.25rem;
}

.admin-shell .admin-nav-heading {
  color: #838fb9;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0 1rem;
}

.admin-shell .admin-nav-link,
.admin-shell .admin-nav-link-main,
.admin-shell .admin-nav-sublink {
  min-height: 42px;
  border-radius: 0.35rem;
  color: var(--vz-vertical-menu-item-color);
  font-size: 0.94rem;
  padding: 0.62rem 1rem;
}

.admin-shell .admin-nav-link:hover,
.admin-shell .admin-nav-link-main:hover,
.admin-shell .admin-nav-sublink:hover {
  color: var(--vz-vertical-menu-item-hover-color);
  background: rgba(255, 255, 255, 0.08);
}

.admin-shell .admin-nav-link.is-active,
.admin-shell .admin-nav-link-main.is-active,
.admin-shell .admin-nav-sublink.is-active {
  color: var(--vz-vertical-menu-item-active-color);
  background: linear-gradient(90deg, rgba(64, 81, 137, 0.95), rgba(64, 81, 137, 0.5));
}

.admin-shell .admin-nav-icon {
  width: 1.25rem;
  color: inherit;
  font-size: 1.08rem;
}

.admin-shell .admin-nav-toggle {
  color: #adb5bd;
}

.admin-shell .admin-nav-submenu {
  border-left-color: rgba(255, 255, 255, 0.14);
  margin-left: 1.55rem;
}

.admin-shell .admin-content {
  box-sizing: border-box;
  background: #ffffff;
  min-width: 0;
  overflow-x: clip;
  padding: var(--ff-page-pad);
}

.admin-shell .resource-index-page,
.admin-shell .resource-show-page {
  box-sizing: border-box;
  width: min(100%, 1720px);
  min-width: 0;
  margin: 0 auto;
  background: transparent;
}

.admin-shell .admin-brand-logo {
  height: 38px;
}

.admin-shell .admin-tenant-switcher,
.admin-shell .admin-global-search {
  background: #f3f3f9;
  border-color: transparent;
  box-shadow: none;
}

.admin-shell .admin-icon-button,
.admin-shell .admin-user-menu-trigger {
  color: #495057;
}

.admin-shell .admin-user-avatar {
  background: #405189;
  color: #fff;
}

.admin-shell .card {
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
}

.admin-shell .site-stat-card,
.admin-shell .admin-users-card,
.admin-shell .companies-table-card,
.admin-shell .admin-server-table-card {
  border: 1px solid var(--vz-border-color);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.08);
}

.admin-shell .card-title {
  font-size: 1rem;
}

.admin-shell .btn {
  border-radius: 0.25rem;
  font-weight: 500;
}

.admin-shell .btn-primary {
  --vz-btn-bg: var(--ff-primary);
  --vz-btn-border-color: var(--ff-primary);
  --vz-btn-hover-bg: #364574;
  --vz-btn-hover-border-color: #33416e;
  background: var(--ff-primary);
  border-color: var(--ff-primary);
  color: #fff;
}

.admin-shell .btn-primary:hover,
.admin-shell .btn-primary:focus-visible {
  background: var(--ff-primary-dark);
  border-color: var(--ff-primary-dark);
  color: #fff;
}

.admin-shell .tenant-submit,
.admin-shell .company-drawer-footer .btn-primary,
.admin-shell .site-offcanvas-head-actions .btn-primary {
  background: var(--ff-primary);
  border-color: var(--ff-primary);
  color: #fff;
}

.admin-shell .tenant-submit:hover,
.admin-shell .tenant-submit:focus-visible,
.admin-shell .company-drawer-footer .btn-primary:hover,
.admin-shell .company-drawer-footer .btn-primary:focus-visible,
.admin-shell .site-offcanvas-head-actions .btn-primary:hover,
.admin-shell .site-offcanvas-head-actions .btn-primary:focus-visible {
  background: var(--ff-primary-dark);
  border-color: var(--ff-primary-dark);
  color: #fff;
}

.admin-shell .admin-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 1rem;
  min-width: 0;
  margin-bottom: 1rem;
  padding: 0.25rem 0 0;
}

.admin-shell .admin-page-header > div:first-child {
  min-width: 0;
}

.admin-shell .admin-page-header h1 {
  margin: 0;
  color: #07133a;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0;
}

.admin-shell .admin-page-header p {
  max-width: 62rem;
  margin: 0.45rem 0 0;
  color: #68758f;
  font-size: 0.98rem;
}

.admin-shell .admin-page-actions {
  align-items: center;
  gap: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
  max-width: 100%;
}

.admin-shell .admin-page-actions .btn,
.admin-shell .companies-page-v2 .admin-page-actions .companies-export-button,
.admin-shell .companies-page-v2 .admin-page-actions .companies-new-button,
.admin-shell .admin-index-page .admin-page-actions .admin-index-action-button {
  min-height: 42px;
  border-radius: 0.35rem;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 6px 14px rgba(64, 81, 137, 0.1);
}

.admin-shell .companies-page-v2 .admin-page-actions .companies-new-button,
.admin-shell .admin-index-page .admin-page-actions .companies-new-button {
  background: var(--ff-primary);
  border-color: var(--ff-primary);
  color: #fff;
}

.admin-shell .companies-page-v2 .admin-page-actions .companies-export-button {
  background: #fff;
  border: 1px solid var(--vz-border-color);
  color: #405189;
}

.admin-shell .admin-server-table-toolbar,
.admin-shell .companies-list-controls {
  margin-bottom: 0.85rem;
  padding: 0;
  background: transparent;
}

.admin-shell .admin-server-table-search,
.admin-shell .admin-search-field,
.admin-shell .companies-list-controls select,
.admin-shell .companies-filter-button {
  border-radius: 0.5rem;
  border-color: #dce1ea;
  background: #fff;
  box-shadow: none;
}

.admin-shell .admin-server-table thead th {
  background: #f8f9fc;
  color: #6b7892;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.admin-shell .admin-server-table tbody td {
  color: #2f3a55;
}

.admin-shell .admin-index-page,
.admin-shell .companies-page-v2 {
  background: transparent;
}

.admin-shell .admin-index-page .admin-server-table-card,
.admin-shell .companies-table-card.admin-server-table-card {
  box-shadow: none;
}

.admin-shell .admin-index-page .admin-server-table thead th,
.admin-shell .admin-server-table thead th {
  background: #f7f8fb;
}

.admin-shell .admin-index-page .admin-server-table-footer {
  background: #fff;
}

.admin-shell .companies-export-button,
.admin-shell .companies-new-button,
.admin-shell .admin-index-action-button {
  background-image: none;
}

.admin-shell .companies-column-filter.is-filtered summary,
.admin-shell .companies-column-filter summary:hover,
.admin-shell .admin-server-table-sort:hover,
.admin-shell .admin-server-table-sort:focus-visible {
  color: var(--ff-primary);
}

.admin-shell .companies-table-card input[type="checkbox"],
.admin-shell .admin-server-table input[type="checkbox"] {
  accent-color: var(--ff-primary);
}

.admin-shell .site-offcanvas-panel {
  background: #fff;
  border-left-color: var(--vz-border-color);
  box-shadow: -18px 0 36px rgba(15, 23, 42, 0.14);
}

.admin-shell .site-offcanvas-head {
  background: #fff;
}

.admin-shell .company-drawer-footer,
.admin-shell .site-offcanvas-panel .tenant-form-actions {
  background: #fff;
}

.admin-shell .setup-step-check,
.admin-shell .integration-switch input:checked + span {
  background: var(--ff-primary);
}

.admin-shell .select2-icon-option i,
.admin-shell .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.admin-shell .branding-swatch + strong,
.admin-shell .tenant-form-actions a,
.admin-shell .site-show-notice a {
  color: var(--ff-primary);
}

.admin-shell .intercom-actions .btn-primary,
.admin-shell .integrations-card .btn-primary {
  background: var(--ff-primary);
  border-color: var(--ff-primary);
  color: #fff;
}

.admin-shell .intercom-actions .btn-primary:hover,
.admin-shell .integrations-card .btn-primary:hover {
  background: var(--ff-primary-dark);
  border-color: var(--ff-primary-dark);
}

/* Theme-native admin controls: keep legacy class hooks for JS, but let Velzon/Bootstrap own the look. */
.admin-shell .btn,
.admin-shell .admin-page-actions .btn,
.admin-shell .companies-page-v2 .admin-page-actions .companies-export-button,
.admin-shell .companies-page-v2 .admin-page-actions .companies-new-button,
.admin-shell .admin-index-page .admin-page-actions .admin-index-action-button,
.admin-shell .companies-filter-button,
.admin-shell .tenant-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: auto;
  height: auto;
  border-radius: var(--vz-border-radius, 0.25rem);
  padding: 0.47rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: none;
}

.admin-shell .btn-primary,
.admin-shell .companies-new-button.btn-primary,
.admin-shell .admin-index-action-button.btn-primary,
.admin-shell .tenant-submit {
  background: var(--ff-primary);
  border-color: var(--ff-primary);
  color: #fff;
}

.admin-shell .btn-primary:hover,
.admin-shell .btn-primary:focus-visible,
.admin-shell .companies-new-button.btn-primary:hover,
.admin-shell .companies-new-button.btn-primary:focus-visible,
.admin-shell .admin-index-action-button.btn-primary:hover,
.admin-shell .admin-index-action-button.btn-primary:focus-visible,
.admin-shell .tenant-submit:hover,
.admin-shell .tenant-submit:focus-visible {
  background: var(--ff-primary-dark);
  border-color: var(--ff-primary-dark);
  color: #fff;
}

.admin-shell .btn-light,
.admin-shell .btn-ghost,
.admin-shell .companies-export-button,
.admin-shell .companies-filter-button {
  background: #f3f6f9;
  border-color: #e9ebec;
  color: #495057;
}

.admin-shell .btn-light:hover,
.admin-shell .btn-light:focus-visible,
.admin-shell .btn-ghost:hover,
.admin-shell .btn-ghost:focus-visible,
.admin-shell .companies-export-button:hover,
.admin-shell .companies-export-button:focus-visible,
.admin-shell .companies-filter-button:hover,
.admin-shell .companies-filter-button:focus-visible {
  background: #e9ebec;
  border-color: #dde1e6;
  color: #212529;
}

.admin-shell .companies-filter-button.is-active {
  background: rgba(64, 81, 137, 0.1);
  border-color: rgba(64, 81, 137, 0.22);
  color: var(--ff-primary);
}

.admin-shell .admin-server-table-card {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--vz-border-color);
  border-radius: var(--vz-border-radius, 0.25rem);
  background: #fff;
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.08);
}

.admin-shell .admin-server-table-wrap {
  overflow-x: auto;
}

.admin-shell .admin-server-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  color: var(--vz-body-color);
}

.admin-shell .admin-server-table thead th {
  height: auto;
  padding: 0.75rem 0.75rem;
  border-right: 0;
  border-bottom: 1px solid var(--vz-border-color);
  background: #f3f6f9;
  color: #878a99;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: middle;
}

.admin-shell .admin-server-table tbody td {
  height: auto;
  padding: 0.75rem;
  border-bottom: 1px solid var(--vz-border-color);
  color: #495057;
  font-size: 0.875rem;
  line-height: 1.45;
  vertical-align: middle;
}

.admin-shell .admin-server-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-shell .admin-server-table tbody tr:hover {
  background: #f8f9fa;
}

.admin-shell .admin-server-table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #878a99;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-shell .admin-server-table-sort:hover,
.admin-shell .admin-server-table-sort:focus-visible,
.admin-shell .resource-link {
  color: var(--ff-primary);
}

.admin-shell .companies-column-head {
  min-height: 0;
  gap: 0.45rem;
}

.admin-shell .companies-column-filter summary {
  color: #878a99;
}

.admin-shell .companies-column-filter.is-filtered summary {
  color: var(--ff-primary);
}

.admin-shell .companies-list-controls,
.admin-shell .admin-server-table-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.admin-shell .admin-server-table-search,
.admin-shell .admin-search-field {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 38px;
  width: min(430px, 100%);
  border: 1px solid var(--vz-border-color);
  border-radius: var(--vz-border-radius, 0.25rem);
  background: #fff;
  color: #878a99;
  padding: 0 0.75rem;
  box-shadow: none;
}

.admin-shell .admin-server-table-search input,
.admin-shell .admin-search-field input {
  min-height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #495057;
  font-size: 0.875rem;
}

.admin-shell .companies-status-form .select2-container .select2-selection--single,
.admin-shell .admin-server-table-page-size select,
.admin-shell .companies-page-number {
  min-height: 38px;
  border-color: var(--vz-border-color);
  border-radius: var(--vz-border-radius, 0.25rem);
  background: #fff;
  color: #495057;
  box-shadow: none;
}

.admin-shell .admin-server-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: auto;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--vz-border-color);
  background: #fff;
  flex-wrap: wrap;
}

.admin-shell .admin-server-table-footer > p {
  margin: 0;
  color: #878a99;
  font-size: 0.875rem;
}

.admin-shell .admin-server-table-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.admin-shell .admin-server-table-pagination .btn {
  min-width: auto;
  width: auto;
  min-height: auto;
  height: auto;
  padding: 0.35rem 0.65rem;
  border-radius: var(--vz-border-radius, 0.25rem);
  font-size: 0.875rem;
}

.admin-shell .admin-server-table-pagination .btn:first-child::before,
.admin-shell .admin-server-table-pagination .btn:last-child::before {
  content: none;
}

.admin-shell .admin-server-table-pagination .is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.admin-shell .companies-page-jump,
.admin-shell .companies-table-rows,
.admin-shell .admin-server-table-page-size {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #878a99;
  font-size: 0.875rem;
}

/* Final table composition: theme classes provide the base, these rules restore the admin-table structure. */
.admin-shell .resource-index-page {
  padding-top: 0.75rem;
}

.admin-shell .admin-page-header {
  margin-bottom: 1.35rem;
}

.admin-shell .companies-list-controls,
.admin-shell .admin-server-table-toolbar {
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-shell .admin-server-table-search,
.admin-shell .admin-search-field,
.admin-shell .companies-status-form .select2-container .select2-selection--single,
.admin-shell .companies-filter-button {
  min-height: 42px;
  border-radius: 0.35rem;
}

.admin-shell .admin-server-table-search,
.admin-shell .admin-search-field {
  width: min(329px, 100%);
}

.admin-shell .admin-server-table-search input,
.admin-shell .admin-search-field input {
  min-height: 40px;
}

.admin-shell .companies-filter-button {
  min-width: 150px;
}

.admin-shell .admin-server-table-card {
  border: 1px solid #e9ebec;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
}

.admin-shell .admin-server-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 0.5rem 0.5rem 0 0;
}

.admin-shell .admin-server-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.admin-shell .admin-server-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cfd5e1;
}

.admin-shell .admin-server-table-wrap::-webkit-scrollbar-track {
  background: #f3f6f9;
}

.admin-shell .companies-server-table {
  min-width: 1220px;
}

.admin-shell .admin-server-table:not(.companies-server-table) {
  min-width: 920px;
}

.admin-shell .admin-server-table thead th {
  padding: 0.68rem 0.75rem;
  background: #f3f6f9;
  color: #495057;
  font-size: 0.72rem;
  font-weight: 600;
}

.admin-shell .admin-server-table tbody td {
  padding: 0.64rem 0.75rem;
  color: #495057;
}

.admin-shell .admin-server-table .companies-checkbox-cell {
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  padding-right: 0.35rem;
  padding-left: 0.35rem;
  text-align: center;
}

.admin-shell .admin-server-table .companies-checkbox-cell .companies-column-head {
  justify-content: center;
}

.admin-shell .admin-server-table input[type="checkbox"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
}

.admin-shell .admin-server-table-sort {
  color: #495057;
}

.admin-shell .admin-server-table-sort:hover,
.admin-shell .admin-server-table-sort:focus-visible,
.admin-shell .companies-column-filter.is-filtered summary,
.admin-shell .resource-link,
.admin-shell .admin-content a.resource-link {
  color: var(--ff-primary);
}

.admin-shell .admin-server-table-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 58px;
  padding: 0.65rem 1rem;
}

.admin-shell .admin-server-table-footer > p {
  justify-self: start;
}

.admin-shell .companies-table-rows {
  justify-self: end;
}

.admin-shell .admin-server-table-pagination .btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 0;
}

.admin-shell .admin-server-table-pagination .btn:first-child::before,
.admin-shell .admin-server-table-pagination .btn:last-child::before {
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

.admin-shell .admin-server-table-pagination .btn:first-child::before {
  content: "\f104";
}

.admin-shell .admin-server-table-pagination .btn:last-child::before {
  content: "\f105";
}

.admin-shell .companies-page-number {
  width: 42px;
  min-height: 36px;
  padding: 0.35rem;
  text-align: center;
}

.admin-shell .admin-server-table-page-size select {
  min-height: 36px;
}

.admin-shell .resource-link,
.admin-shell .admin-content a:not(.btn):not(.admin-nav-link):not(.admin-nav-sublink):not(.admin-nav-link-main) {
  color: var(--ff-primary);
}

.admin-shell .resource-detail-grid {
  gap: 0.9rem;
}

.admin-shell .resource-detail-grid .site-stat-card {
  min-height: 84px;
  padding: 1rem;
}

.admin-shell .site-stat-label {
  color: #68758f;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-shell .site-stat-value {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
}

.admin-shell .resource-detail-value {
  font-size: 0.98rem;
  line-height: 1.45;
}

.ff-dashboard-page .page-title-box {
  padding: 0 0 1.25rem;
}

.ff-dashboard-page .page-title-box h1 {
  font-size: 1.35rem;
  font-weight: 600;
}

.ff-dashboard-page {
  max-width: 1720px;
}

.ff-dashboard-page .row {
  --vz-gutter-x: 1.1rem;
  --vz-gutter-y: 1.1rem;
}

.ff-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  border: 1px solid #dfe3ed;
  border-radius: 0.6rem;
  background:
    linear-gradient(90deg, rgba(64, 81, 137, 0.1), rgba(13, 111, 99, 0.07)),
    #fff;
  padding: clamp(1rem, 1.4vw, 1.35rem);
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.08);
}

.ff-dashboard-hero h1 {
  margin: 0;
  color: #07133a;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-weight: 700;
}

.ff-dashboard-hero p {
  margin: 0.4rem 0 0;
  color: #68758f;
}

.ff-dashboard-kicker {
  margin: 0 0 0.2rem !important;
  color: var(--ff-accent) !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ff-dashboard-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ff-dashboard-hero-stat {
  display: grid;
  min-width: 92px;
  gap: 0.1rem;
  border: 1px solid #e5e8f0;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 0.65rem 0.8rem;
}

.ff-dashboard-hero-stat span {
  color: #68758f;
  font-size: 0.78rem;
}

.ff-dashboard-hero-stat strong {
  color: #07133a;
  font-size: 1.25rem;
}

.ff-dashboard-page .ff-stat-card {
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ff-dashboard-page .ff-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(30, 32, 37, 0.12);
}

.ff-dashboard-page .ff-stat-card .card-body {
  min-height: 156px;
}

.ff-dashboard-page .ff-metric-tile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 96px;
  border: 1px dashed var(--vz-border-color);
  border-radius: 0.35rem;
  padding: 1rem;
  background: #fff;
}

.ff-dashboard-page .ff-metric-tile .avatar-title {
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
}

.ff-dashboard-page .ff-metric-tile h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
}

.ff-dashboard-page .ff-capacity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--vz-border-color);
  border-radius: 0.35rem;
  background: var(--vz-border-color);
}

.ff-dashboard-page .ff-capacity-strip > div {
  display: grid;
  gap: 0.25rem;
  background: #fff;
  padding: 0.9rem;
}

.ff-dashboard-page .ff-capacity-strip strong {
  font-size: 1.15rem;
}

.ff-dashboard-page .ff-unit-mix {
  display: grid;
  gap: 1rem;
}

.ff-dashboard-page .ff-setup-steps {
  gap: 1rem;
}

.ff-dashboard-page .setup-step-card {
  border-color: var(--vz-border-color);
  border-radius: 0.35rem;
  box-shadow: none;
}

.ff-dashboard-page .setup-step-title-row h3 {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .admin-shell {
    overflow: auto;
  }

  .admin-shell .admin-topbar {
    min-height: auto;
    padding: 1rem;
  }

  .admin-shell .admin-body {
    display: block;
    height: auto;
  }

  .admin-shell .admin-sidebar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    overflow-x: auto;
  }

  .admin-shell .admin-nav {
    flex-direction: row;
  }

  .admin-shell .admin-content {
    padding: 1rem;
  }

  .admin-shell .admin-page-header,
  .ff-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell .admin-page-actions,
  .ff-dashboard-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ff-dashboard-page .ff-capacity-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1500px) {
  .admin-shell .admin-page-header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .admin-shell .admin-page-actions {
    justify-self: start;
  }

  .admin-shell .companies-list-controls,
  .admin-shell .admin-server-table-toolbar {
    align-items: stretch;
  }
}

/* Final responsive table corrections. Keep the theme look, but prevent legacy
   company-table rules from forcing the layout wider than the content pane. */
.admin-shell .admin-content {
  width: 100%;
  max-width: calc(100vw - var(--ff-sidebar-width));
  min-width: 0;
  overflow-x: hidden;
}

.admin-shell .resource-index-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.admin-shell .companies-list-controls {
  display: grid;
  grid-template-columns: minmax(220px, 329px) minmax(220px, 315px) 145px;
  align-items: center;
  max-width: 100%;
}

.admin-shell .companies-list-controls .admin-server-table-search,
.admin-shell .companies-status-form,
.admin-shell .companies-status-form .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.admin-shell .companies-table-card.admin-server-table-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.admin-shell .companies-page-v2 .admin-server-table-wrap,
.admin-shell .admin-server-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}

.admin-shell .companies-server-table {
  width: 100%;
  min-width: 1240px;
  table-layout: fixed;
}

.admin-shell .companies-server-table th:nth-child(1),
.admin-shell .companies-server-table td:nth-child(1) {
  width: 56px;
}

.admin-shell .companies-server-table th:nth-child(2),
.admin-shell .companies-server-table td:nth-child(2) {
  width: 23%;
}

.admin-shell .companies-server-table th:nth-child(3),
.admin-shell .companies-server-table td:nth-child(3) {
  width: 27%;
}

.admin-shell .companies-server-table th:nth-child(4),
.admin-shell .companies-server-table td:nth-child(4),
.admin-shell .companies-server-table th:nth-child(5),
.admin-shell .companies-server-table td:nth-child(5) {
  width: 12%;
}

.admin-shell .companies-server-table th:nth-child(6),
.admin-shell .companies-server-table td:nth-child(6) {
  width: 16%;
}

.admin-shell .companies-server-table th:nth-child(7),
.admin-shell .companies-server-table td:nth-child(7) {
  width: 128px;
}

.admin-shell .companies-server-table thead th,
.admin-shell .companies-server-table tbody td {
  box-sizing: border-box;
}

.admin-shell .companies-server-table tbody td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell .companies-server-table th.companies-checkbox-cell,
.admin-shell .companies-server-table td.companies-checkbox-cell,
.admin-shell .companies-server-table tbody .companies-checkbox-cell {
  display: table-cell;
  height: auto;
  min-width: 56px;
  max-width: 56px;
  padding: 0.62rem 0.5rem !important;
  text-align: center;
  vertical-align: middle;
}

.admin-shell .companies-server-table .companies-checkbox-cell .companies-column-head {
  display: flex;
  min-height: 0;
  padding: 0;
  justify-content: center;
}

.admin-shell .companies-server-table .companies-checkbox-cell input {
  display: block;
  margin: 0 auto;
}

.admin-shell .companies-server-table .companies-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.admin-shell .companies-server-table .admin-server-table-sort,
.admin-shell .companies-server-table .companies-column-head > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell .companies-server-table .companies-column-filter {
  flex: 0 0 auto;
}

@media (max-width: 1280px) {
  .admin-shell .companies-list-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-shell .companies-filter-button {
    width: max-content;
  }
}

@media (max-width: 760px) {
  .admin-shell .admin-page-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-shell .admin-page-actions {
    justify-content: flex-start;
    justify-self: start;
  }

  .admin-shell .admin-server-table-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .admin-shell .companies-table-rows {
    justify-self: start;
  }
}

/* Companies index layout polish. Keep desktop actions on the right, make table
   overflow usable, and restore balanced header cell padding. */
.admin-shell .companies-page-v2 .admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-shell .companies-page-v2 .admin-page-actions {
  flex: 0 1 auto;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  max-width: min(100%, 28rem);
  margin-left: auto;
  flex-wrap: wrap;
}

.admin-shell .companies-page-v2 .admin-page-header > div:first-child {
  min-width: 0;
}

.admin-shell .companies-page-v2 .admin-server-table-wrap {
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: auto;
  max-height: calc(100vh - 39rem);
  min-height: 18rem;
}

.admin-shell .companies-server-table {
  min-width: 1320px;
}

.admin-shell .companies-server-table thead th {
  padding: 0;
  vertical-align: middle;
}

.admin-shell .companies-server-table thead th .companies-column-head {
  min-height: 3.25rem;
  padding: 0.85rem 0.75rem;
}

.admin-shell .companies-server-table thead th.companies-checkbox-cell {
  padding: 0.85rem 0.5rem !important;
}

.admin-shell .companies-server-table tbody td.companies-checkbox-cell,
.admin-shell .companies-server-table tbody .companies-checkbox-cell {
  padding-top: 0.64rem !important;
  padding-bottom: 0.64rem !important;
}

@media (max-height: 900px) {
  .admin-shell .companies-page-v2 .admin-server-table-wrap {
    max-height: calc(100vh - 34rem);
  }
}

@media (max-width: 980px) {
  .admin-shell {
    --ff-sidebar-width: 0px;
  }

  .admin-shell .admin-content {
    max-width: 100vw;
  }

  .admin-shell .companies-page-v2 .admin-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .admin-shell .companies-page-v2 .admin-page-actions {
    justify-self: start;
    justify-content: flex-start;
    width: 100%;
  }
}

/* Hard bounds for the Rails admin two-column shell. Several legacy table rules
   use large min-widths, so the content pane must be viewport-sized instead of
   content-sized or right-side controls get pushed off canvas. */
.admin-shell {
  --ff-sidebar-width: 304px;
}

.admin-shell .admin-body {
  width: 100vw;
  max-width: 100vw;
  grid-template-columns: var(--ff-sidebar-width) minmax(0, calc(100vw - var(--ff-sidebar-width)));
  overflow: hidden;
}

.admin-shell .admin-content {
  width: auto;
  max-width: none;
  min-width: 0;
  overflow-x: hidden;
}

.admin-shell .companies-page-v2 {
  box-sizing: border-box;
  width: min(100%, calc(100vw - var(--ff-sidebar-width) - var(--ff-page-pad) - var(--ff-page-pad))) !important;
  max-width: min(100%, calc(100vw - var(--ff-sidebar-width) - var(--ff-page-pad) - var(--ff-page-pad))) !important;
  min-width: 0;
  overflow: hidden;
}

.admin-shell .companies-page-v2 .admin-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.admin-shell .companies-page-v2 .admin-page-actions {
  justify-self: end;
  margin-left: 0;
  max-width: 100%;
}

.admin-shell .companies-page-v2 .admin-server-table-wrap {
  max-height: none;
  min-height: 0;
  overflow-x: auto;
  overflow-y: visible;
}

.admin-shell .companies-page-v2 .admin-server-table-footer {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 980px) {
  .admin-shell {
    --ff-sidebar-width: 0px;
  }

  .admin-shell .admin-body {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .admin-shell .companies-page-v2 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Container-query correction for the companies index. This avoids fragile
   viewport/sidebar math and sizes the page to the actual admin content pane. */
.admin-shell .admin-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.admin-shell .companies-page-v2 {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  overflow: hidden;
}

.admin-shell .companies-page-v2 .admin-page-header,
.admin-shell .companies-page-v2 .companies-list-controls,
.admin-shell .companies-page-v2 .companies-table-card.admin-server-table-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.admin-shell .companies-page-v2 .admin-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  overflow: hidden;
}

.admin-shell .companies-page-v2 .admin-page-actions {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  max-width: 100%;
}

.admin-shell .companies-page-v2 .admin-server-table-wrap {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  overflow-y: visible;
}

.admin-shell .companies-page-v2 .companies-server-table {
  width: 1320px;
  min-width: 1320px;
  max-width: none;
}

.admin-shell .admin-body {
  grid-template-columns: 260px minmax(0, 1fr);
}

/* Final table polish shared by Companies/People and the other server tables. */
.admin-shell .companies-list-controls {
  align-items: center;
}

.admin-shell .companies-filter-button {
  height: 46px !important;
  min-height: 46px !important;
  padding-block: 0 !important;
  align-self: center;
}

.admin-shell .admin-server-table-search,
.admin-shell .companies-status-form .select2-container--default .select2-selection--single {
  height: 46px;
  min-height: 46px;
}

.admin-shell .admin-server-table-search input,
.admin-shell .companies-status-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  min-height: 44px;
  line-height: 44px;
}

.admin-shell .admin-server-table thead th,
.admin-shell .companies-server-table thead th {
  height: 56px;
  padding: 0 !important;
  vertical-align: middle !important;
}

.admin-shell .admin-server-table thead th .companies-column-head,
.admin-shell .companies-server-table thead th .companies-column-head {
  box-sizing: border-box;
  min-height: 56px;
  height: 56px;
  padding: 0 0.75rem !important;
  align-items: center;
}

.admin-shell .admin-server-table thead .admin-server-table-sort,
.admin-shell .admin-server-table thead .companies-column-head > span,
.admin-shell .companies-server-table thead .admin-server-table-sort,
.admin-shell .companies-server-table thead .companies-column-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  line-height: 1;
}

.admin-shell .admin-server-table thead .admin-server-table-sort i,
.admin-shell .companies-server-table thead .admin-server-table-sort i {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.admin-shell .admin-server-table thead .companies-column-filter summary,
.admin-shell .companies-server-table thead .companies-column-filter summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.admin-shell .admin-server-table thead th.companies-checkbox-cell,
.admin-shell .admin-server-table tbody td.companies-checkbox-cell,
.admin-shell .companies-server-table thead th.companies-checkbox-cell,
.admin-shell .companies-server-table tbody td.companies-checkbox-cell {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  inline-size: 58px !important;
  padding: 0 0.75rem !important;
}

.admin-shell .admin-server-table thead th.companies-checkbox-cell .companies-column-head,
.admin-shell .companies-server-table thead th.companies-checkbox-cell .companies-column-head {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0 !important;
  justify-content: center;
}

.admin-shell .admin-server-table tbody td.companies-checkbox-cell,
.admin-shell .companies-server-table tbody td.companies-checkbox-cell {
  text-align: center;
  vertical-align: middle;
}

.admin-shell .admin-server-table .companies-checkbox-cell input[type="checkbox"] {
  display: block;
  margin: 0 auto;
}

.admin-shell .admin-server-table-footer,
.admin-shell .companies-page-v2 .admin-server-table-footer,
.admin-shell .admin-index-page .admin-server-table-footer {
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: relative;
  z-index: 1;
  margin-top: 1rem !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.75rem !important;
}

/* Header alignment: let the table cell padding define vertical rhythm instead
   of using a shorter fixed-height wrapper inside a taller table row. */
.admin-shell .admin-server-table thead th,
.admin-shell .companies-server-table thead th {
  height: auto !important;
  padding: 1rem 0.75rem !important;
  vertical-align: middle !important;
}

.admin-shell .admin-server-table thead th .companies-column-head,
.admin-shell .companies-server-table thead th .companies-column-head {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  align-items: center !important;
}

.admin-shell .admin-server-table thead .admin-server-table-sort,
.admin-shell .admin-server-table thead .companies-column-head > span,
.admin-shell .companies-server-table thead .admin-server-table-sort,
.admin-shell .companies-server-table thead .companies-column-head > span {
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

.admin-shell .admin-server-table thead th.companies-checkbox-cell,
.admin-shell .companies-server-table thead th.companies-checkbox-cell {
  padding: 1rem 0.75rem !important;
}

/* Any server table with a checkbox selector column gets the same fixed first
   column width, independent of the page-specific table column layout. */
.admin-shell .admin-server-table th.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table td.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table tr > th.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table tr > td.companies-checkbox-cell:first-child {
  box-sizing: border-box !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  inline-size: 58px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
}

.admin-shell .admin-server-table th.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table tr > th.companies-checkbox-cell:first-child {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.admin-shell .admin-server-table td.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table tr > td.companies-checkbox-cell:first-child {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.admin-shell .admin-server-table th.companies-checkbox-cell:first-child .companies-column-head {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-content: flex-start !important;
}

.admin-shell .admin-server-table td.companies-checkbox-cell:first-child input[type="checkbox"],
.admin-shell .admin-server-table th.companies-checkbox-cell:first-child input[type="checkbox"] {
  display: block !important;
  margin-right: 0 !important;
  margin-left: 0.75rem !important;
}

/* Checkbox tables use nested header content for sort and filter controls. Keep
   vertical rhythm on the wrapper, not split between th padding and flex items. */
.admin-shell .admin-server-table.companies-server-table thead tr {
  height: 56px !important;
}

.admin-shell .admin-server-table.companies-server-table thead th {
  height: 56px !important;
  padding: 0 !important;
  vertical-align: middle !important;
  line-height: 1.2 !important;
}

.admin-shell .admin-server-table.companies-server-table thead th > .companies-column-head {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  height: 56px !important;
  padding: 0 0.75rem !important;
}

.admin-shell .admin-server-table.companies-server-table thead th.companies-checkbox-cell > .companies-column-head {
  justify-content: flex-start !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.admin-shell .admin-server-table.companies-server-table thead .admin-server-table-sort,
.admin-shell .admin-server-table.companies-server-table thead .companies-column-head > span,
.admin-shell .admin-server-table.companies-server-table thead .companies-column-filter summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

/* Final header centering pass: table-cell positioning is inconsistent across
   browsers, so keep the wrapper in normal flow and apply a small optical nudge
   for uppercase label/font-icon metrics. */
.admin-shell .admin-server-table.companies-server-table thead th {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  vertical-align: middle !important;
}

.admin-shell .admin-server-table.companies-server-table thead th > .companies-column-head {
  position: static !important;
  min-height: 0 !important;
  height: 56px !important;
  padding: 0 0.75rem !important;
  transform: translateY(10px) !important;
}

.admin-shell .admin-server-table.companies-server-table thead th.companies-checkbox-cell > .companies-column-head {
  padding-right: 0 !important;
  padding-left: 0 !important;
  transform: translateY(8px) !important;
}

/* Selector-column inset: keep the checkbox inside the table border with the
   same visual padding as the row vertical rhythm. This must sit last because
   the table/header polish above intentionally overrides checkbox cells. */
.admin-shell .admin-server-table.companies-server-table tr > th.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table.companies-server-table tr > td.companies-checkbox-cell:first-child {
  box-sizing: border-box !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  inline-size: 58px !important;
  padding-left: 22px !important;
  padding-right: 2px !important;
  text-align: left !important;
}

.admin-shell .admin-server-table.companies-server-table tr > th.companies-checkbox-cell:first-child > .companies-column-head {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  justify-content: flex-start !important;
}

.admin-shell .admin-server-table.companies-server-table tr > th.companies-checkbox-cell:first-child input[type="checkbox"],
.admin-shell .admin-server-table.companies-server-table tr > td.companies-checkbox-cell:first-child input[type="checkbox"] {
  display: block !important;
  margin: 0 !important;
}

.admin-shell .companies-page-v2 .admin-server-table-wrap {
  background: linear-gradient(to bottom, #f3f6f9 0 56px, #ffffff 56px);
}

.admin-shell .admin-server-table.companies-server-table tr > th.companies-checkbox-cell:first-child,
.admin-shell .admin-server-table.companies-server-table tr > td.companies-checkbox-cell:first-child {
  padding-left: 33px !important;
  padding-right: 0 !important;
}

/* Shared resource-table sizing. Individual pages should not need custom table
   CSS: the selector column is fixed and data columns size from content. */
.admin-shell .companies-page-v2 .companies-server-table {
  width: 100% !important;
  min-width: 980px !important;
  table-layout: auto !important;
}

.admin-shell .companies-page-v2 .companies-server-table th,
.admin-shell .companies-page-v2 .companies-server-table td {
  width: auto !important;
}

.admin-shell .companies-page-v2 .companies-server-table tr > th.companies-checkbox-cell:first-child,
.admin-shell .companies-page-v2 .companies-server-table tr > td.companies-checkbox-cell:first-child {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  inline-size: 58px !important;
}
.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle; }
  .select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
    -webkit-user-select: none; }
    .select2-container .select2-selection--single .select2-selection__rendered {
      display: block;
      padding-left: 8px;
      padding-right: 20px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .select2-container .select2-selection--single .select2-selection__clear {
      position: relative; }
  .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px; }
  .select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 32px;
    user-select: none;
    -webkit-user-select: none; }
    .select2-container .select2-selection--multiple .select2-selection__rendered {
      display: inline-block;
      overflow: hidden;
      padding-left: 8px;
      text-overflow: ellipsis;
      white-space: nowrap; }
  .select2-container .select2-search--inline {
    float: left; }
    .select2-container .select2-search--inline .select2-search__field {
      box-sizing: border-box;
      border: none;
      font-size: 100%;
      margin-top: 5px;
      padding: 0; }
      .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
        -webkit-appearance: none; }

.select2-dropdown {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051; }

.select2-results {
  display: block; }

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0; }

.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none; }
  .select2-results__option[aria-selected] {
    cursor: pointer; }

.select2-container--open .select2-dropdown {
  left: 0; }

.select2-container--open .select2-dropdown--above {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--open .select2-dropdown--below {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-search--dropdown {
  display: block;
  padding: 4px; }
  .select2-search--dropdown .select2-search__field {
    padding: 4px;
    width: 100%;
    box-sizing: border-box; }
    .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
      -webkit-appearance: none; }
  .select2-search--dropdown.select2-search--hide {
    display: none; }

.select2-close-mask {
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
  opacity: 0;
  z-index: 99;
  background-color: #fff;
  filter: alpha(opacity=0); }

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important; }

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px; }
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; }
  .select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold; }
  .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px; }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
      border-color: #888 transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  left: 1px;
  right: auto; }

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #eee;
  cursor: default; }
  .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
    display: none; }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px; }

.select2-container--default .select2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text; }
  .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%; }
    .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
      list-style: none; }
  .select2-container--default .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
    padding: 1px; }
  .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #333; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
  float: right; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: solid black 1px;
  outline: 0; }

.select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #eee;
  cursor: default; }

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
  display: none; }

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa; }

.select2-container--default .select2-search--inline .select2-search__field {
  background: transparent;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: textfield; }

.select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--default .select2-results__option[role=group] {
  padding: 0; }

.select2-container--default .select2-results__option[aria-disabled=true] {
  color: #999; }

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #ddd; }

.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 1em; }
  .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
    padding-left: 0; }
  .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -1em;
    padding-left: 2em; }
    .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
      margin-left: -2em;
      padding-left: 3em; }
      .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
        margin-left: -3em;
        padding-left: 4em; }
        .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
          margin-left: -4em;
          padding-left: 5em; }
          .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
            margin-left: -5em;
            padding-left: 6em; }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #5897fb;
  color: white; }

.select2-container--default .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--classic .select2-selection--single {
  background-color: #f7f7f7;
  border: 1px solid #aaa;
  border-radius: 4px;
  outline: 0;
  background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
  background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
  .select2-container--classic .select2-selection--single:focus {
    border: 1px solid #5897fb; }
  .select2-container--classic .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; }
  .select2-container--classic .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-right: 10px; }
  .select2-container--classic .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--classic .select2-selection--single .select2-selection__arrow {
    background-color: #ddd;
    border: none;
    border-left: 1px solid #aaa;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
    .select2-container--classic .select2-selection--single .select2-selection__arrow b {
      border-color: #888 transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  border: none;
  border-right: 1px solid #aaa;
  border-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  left: 1px;
  right: auto; }

.select2-container--classic.select2-container--open .select2-selection--single {
  border: 1px solid #5897fb; }
  .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
    background: transparent;
    border: none; }
    .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
      border-color: transparent transparent #888 transparent;
      border-width: 0 4px 5px 4px; }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
  background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
  background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }

.select2-container--classic .select2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text;
  outline: 0; }
  .select2-container--classic .select2-selection--multiple:focus {
    border: 1px solid #5897fb; }
  .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
    list-style: none;
    margin: 0;
    padding: 0 5px; }
  .select2-container--classic .select2-selection--multiple .select2-selection__clear {
    display: none; }
  .select2-container--classic .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #555; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  float: right;
  margin-left: 5px;
  margin-right: auto; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--classic.select2-container--open .select2-selection--multiple {
  border: 1px solid #5897fb; }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--classic .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  outline: 0; }

.select2-container--classic .select2-search--inline .select2-search__field {
  outline: 0;
  box-shadow: none; }

.select2-container--classic .select2-dropdown {
  background-color: white;
  border: 1px solid transparent; }

.select2-container--classic .select2-dropdown--above {
  border-bottom: none; }

.select2-container--classic .select2-dropdown--below {
  border-top: none; }

.select2-container--classic .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--classic .select2-results__option[role=group] {
  padding: 0; }

.select2-container--classic .select2-results__option[aria-disabled=true] {
  color: grey; }

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
  background-color: #3875d7;
  color: white; }

.select2-container--classic .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--classic.select2-container--open .select2-dropdown {
  border-color: #5897fb; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

body {
  margin: 0;
  font-family: "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0 0, #d9f0ec 0, transparent 28rem),
    radial-gradient(circle at 100% 100%, #dbe7ff 0, transparent 26rem),
    #f4f6fb;
  color: #1d2433;
}

[hidden] {
  display: none !important;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid #d8deea;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(16, 29, 61, 0.12);
  padding: 1.5rem;
}

.auth-kicker {
  margin: 0 0 0.35rem 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6478;
}

.auth-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.auth-subtitle {
  margin: 0 0 1rem 0;
  color: #5a6478;
}

.auth-form {
  display: grid;
  gap: 0.9rem;
}

.auth-field {
  display: grid;
  gap: 0.35rem;
}

.auth-field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-field small {
  color: #5a6478;
  font-size: 0.8rem;
}

.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"] {
  width: 100%;
  border: 1px solid #cfd8e9;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  box-sizing: border-box;
  background: #fff;
}

.auth-field input:focus {
  outline: none;
  border-color: #0d6f63;
  box-shadow: 0 0 0 3px rgba(13, 111, 99, 0.15);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #4c576d;
  font-size: 0.9rem;
}

.auth-btn {
  border: 0;
  border-radius: 10px;
  padding: 0.62rem 0.8rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #0b5b52, #0d6f63);
  cursor: pointer;
}

.auth-btn:hover {
  background: linear-gradient(120deg, #094a43, #0b5f56);
}

.auth-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
}

.auth-links a {
  color: #0b5b52;
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-errors {
  margin: 0 0 1rem 0;
  border: 1px solid #efc3c6;
  background: #fff4f5;
  color: #7f1d27;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.auth-errors h2 {
  margin: 0 0 0.45rem 0;
  font-size: 0.95rem;
}

.auth-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.auth-flash {
  margin: 0 0 0.9rem 0;
  border: 1px solid #bce7cb;
  background: #e8fbf0;
  color: #0a5e31;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
}

@media (max-width: 540px) {
  .auth-card {
    padding: 1.15rem;
  }
}

/* Marketing website styles */
.landing-site {
  --site-bg: #f5f8f6;
  --site-panel: #ffffff;
  --site-ink: #13203b;
  --site-muted: #5a6885;
  --site-line: #d5deeb;
  --site-brand: #0f6d63;
  --site-brand-deep: #094d46;
  --site-highlight: #0f4fbe;
  color: var(--site-ink);
  font-family: "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  overflow-x: hidden;
  overflow-x: clip;
}

.landing-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.landing-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 248, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(213, 222, 235, 0.8);
}

.landing-nav {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
}

.landing-brand {
  color: var(--site-ink);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}

.landing-brand-logo {
  width: auto;
  height: clamp(30px, 2.2vw, 40px);
  max-width: 220px;
  display: block;
}

.landing-nav-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.landing-nav-links a,
.landing-footer a,
.landing-text-link {
  color: #1f3760;
  text-decoration: none;
  font-weight: 600;
}

.landing-nav-links a:hover,
.landing-footer a:hover,
.landing-text-link:hover {
  text-decoration: underline;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.landing-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #c8d8f0;
  background: #f7fbff;
  color: #1f3760;
  font-size: 1rem;
  cursor: pointer;
}

.landing-nav-menu {
  display: contents;
}

.landing-btn {
  display: inline-block;
  border-radius: 11px;
  padding: 0.6rem 1rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.landing-btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--site-brand-deep), var(--site-brand));
}

.landing-btn-primary:hover {
  filter: brightness(0.96);
}

.landing-btn-secondary,
.landing-btn-ghost {
  color: #103a78;
  border-color: #bdd0ef;
  background: #f7fbff;
}

.landing-btn-secondary:hover,
.landing-btn-ghost:hover {
  background: #edf4ff;
}

.landing-hero-block {
  background:
    radial-gradient(900px 360px at 20% -20%, rgba(20, 146, 132, 0.18), transparent),
    radial-gradient(780px 320px at 100% 0%, rgba(15, 79, 190, 0.14), transparent),
    var(--site-bg);
  padding: 3.4rem 0 2.2rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.1rem;
  align-items: center;
}

.landing-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 800;
  color: #34558f;
}

.landing-hero-grid h1 {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  max-width: 18ch;
}

.landing-subtitle {
  margin: 0;
  max-width: 58ch;
  color: var(--site-muted);
  font-size: 1.05rem;
}

.landing-hero-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.landing-hero-meta {
  margin: 1rem 0 0;
  color: var(--site-muted);
  font-size: 0.93rem;
}

.landing-hero-panel {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 16px 34px rgba(17, 34, 66, 0.12);
}

.landing-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 16px 34px rgba(17, 34, 66, 0.16);
  border: 1px solid #cfdaeb;
  background: #dce7f7;
}

.landing-hero-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.landing-hero-panel-below {
  margin-top: 1rem;
}

.landing-panel-title {
  margin: 1rem 0 0;
  font-weight: 800;
}

.landing-hero-panel ul {
  margin: 0.75rem 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--site-muted);
}

.landing-hero-panel strong {
  color: var(--site-ink);
}

.landing-operator-cards {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.landing-operator-card {
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.8rem;
}

.landing-operator-card h3 {
  margin: 0;
  font-size: 0.96rem;
}

.landing-operator-card p {
  margin: 0.35rem 0 0;
  color: var(--site-muted);
  font-size: 0.92rem;
}

.landing-proof-bar {
  background: #10284e;
  color: #dce8ff;
  padding: 0.9rem 0;
}

.landing-proof-bar p {
  margin: 0;
  text-align: center;
  font-weight: 600;
}

.landing-section {
  padding: 4rem 0;
  background: #fff;
}

.landing-section-alt {
  background: linear-gradient(180deg, #f6fbff, #f9fcfb);
}

.landing-section-head h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
}

.landing-feature-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.landing-feature-grid article,
.landing-faq-grid article {
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  padding: 1rem;
}

.landing-feature-grid article {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.landing-feature-icon {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 5.04rem;
  line-height: 1;
  color: rgba(15, 79, 190, 0.09);
  z-index: 0;
  pointer-events: none;
}

.landing-feature-grid h3,
.landing-faq-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1rem;
}

.landing-feature-grid p,
.landing-faq-grid p {
  position: relative;
  z-index: 1;
  margin: 0.45rem 0 0;
  color: var(--site-muted);
}

.landing-pricing-layout {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.landing-pricing-grid {
  display: grid;
  gap: 0.8rem;
}

.landing-plan-card {
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  padding: 1rem;
}

.landing-plan-card[data-calculator-plan-card] {
  cursor: pointer;
}

.landing-plan-card.featured {
  border-color: #83adf3;
  box-shadow: 0 14px 24px rgba(16, 77, 186, 0.15);
}

.landing-plan-card.is-selected {
  border-color: #0f4fbe;
  box-shadow: 0 16px 28px rgba(16, 77, 186, 0.2);
}

.landing-plan-badge {
  margin: 0 0 0.3rem;
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ebf2ff;
  color: #2d57ab;
  font-size: 0.72rem;
  font-weight: 800;
}

.landing-plan-selected-badge {
  display: inline-block;
  margin: 0 0 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #0f4fbe;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: fit-content;
  visibility: hidden;
}

.landing-plan-card.is-selected .landing-plan-selected-badge {
  visibility: visible;
}

.landing-plan-name {
  margin: 0;
  font-weight: 700;
}

.landing-plan-price {
  margin: 0.4rem 0 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.landing-plan-price span {
  font-size: 0.92rem;
  color: var(--site-muted);
}

.landing-plan-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  color: var(--site-muted);
}

.landing-calculator {
  border: 1px solid #c9d8f0;
  border-radius: 14px;
  background: #fcfeff;
  padding: 1rem;
}

.landing-calculator-head h3 {
  margin: 0;
}

.landing-calculator-head p {
  margin: 0.3rem 0 0;
  color: var(--site-muted);
}

.landing-calculator-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.landing-calculator-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.landing-calculator-grid input[type="range"],
.landing-calculator-grid input[type="number"] {
  width: 100%;
}

.landing-calculator-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.45rem;
}

.landing-addon-checklist {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.landing-calculator-result {
  margin-top: 0.8rem;
  border-top: 1px solid #dbe5f6;
  padding-top: 0.75rem;
}

.landing-calculator-result p,
.landing-calculator-result small {
  margin: 0;
  color: var(--site-muted);
}

.landing-calculator-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.landing-calculator-total-box {
  border: 1px solid #d6e3f6;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.65rem 0.75rem;
}

.landing-calculator-total-box p {
  margin: 0;
}

.landing-calculator-total-box h4 {
  margin: 0.15rem 0 0;
}

.landing-calculator-result h4 {
  margin: 0.2rem 0;
  font-size: 1.9rem;
}

.landing-faq-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.landing-cta {
  background: linear-gradient(130deg, #0f2e5c, #134b83 55%, #0e6f64);
  color: #eef4ff;
  padding: 3.4rem 0;
}

.landing-cta-partners {
  margin-top: 1.2rem;
}

.landing-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.landing-cta-grid h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
}

.landing-cta-grid p {
  margin: 0;
  color: #dae5ff;
}

.landing-contact-card {
  border: 1px solid rgba(206, 224, 255, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.landing-contact-card p {
  margin: 0.45rem 0;
}

.landing-contact-actions {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.landing-footer {
  background: #0a1831;
  color: #c5d6f8;
  padding: 1rem 0;
}

.landing-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.landing-footer p {
  margin: 0;
}

.landing-footer div {
  display: flex;
  gap: 0.8rem;
}

.landing-footer a {
  color: #d9e6ff;
}

@media (max-width: 980px) {
  .landing-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    row-gap: 0.5rem;
  }

  .landing-nav-toggle {
    display: inline-flex;
  }

  .landing-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 60;
    background: #ffffff;
    border: 1px solid #d9e4f5;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 16px 32px rgba(16, 38, 76, 0.16);
    gap: 0.75rem;
  }

  .landing-nav.is-open .landing-nav-menu {
    display: grid;
  }

  .landing-nav-menu .landing-nav-links {
    display: grid;
    gap: 0.6rem;
    justify-content: start;
  }

  .landing-nav-menu .landing-nav-actions {
    display: grid;
    gap: 0.55rem;
    justify-content: start;
  }

  .landing-nav-menu .landing-btn {
    width: fit-content;
  }

  .landing-pricing-layout,
  .landing-hero-grid,
  .landing-cta-grid {
    grid-template-columns: 1fr;
  }

  .landing-feature-grid,
  .landing-faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-hero-media,
  .landing-hero-image {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .landing-brand-logo {
    height: 32px;
    width: auto;
    max-width: 180px;
  }

  .landing-wrap,
  .landing-nav {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .landing-btn {
    padding: 0.58rem 0.85rem;
  }

  .landing-section,
  .landing-hero-block,
  .landing-cta {
    padding: 2.5rem 0;
  }

  .landing-feature-grid,
  .landing-faq-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer-inner {
    display: grid;
    justify-content: start;
  }
}

.landing-long-copy {
  margin-top: 1rem;
  max-width: 78ch;
  color: var(--site-muted);
  display: grid;
  gap: 0.65rem;
}

.landing-long-copy p {
  margin: 0;
}

.landing-controller-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: center;
}

.landing-controller-section {
  background: linear-gradient(140deg, #0d2142, #123a67 55%, #0b5a52);
  color: #eaf3ff;
}

.landing-controller-section .landing-kicker {
  color: #9fc5ff;
}

.landing-controller-section h2,
.landing-controller-section strong {
  color: #ffffff;
}

.landing-controller-section .landing-subtitle,
.landing-controller-section .landing-controller-features {
  color: #d6e4fb;
}

.landing-controller-media {
  background: linear-gradient(155deg, #f5f9ff, #eff8f4);
  border: 1px solid #d4e0f3;
  border-radius: 16px;
  padding: 0.8rem;
}

.landing-controller-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.landing-controller-features {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--site-muted);
  display: grid;
  gap: 0.45rem;
}

.landing-controller-features strong {
  color: var(--site-ink);
}

.landing-controller-section .landing-controller-features strong {
  color: #ffffff;
}

.landing-partners-search {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.landing-partners-search label {
  font-weight: 700;
}

.landing-partners-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.landing-partners-search-row input {
  border: 1px solid #c9d8f0;
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font: inherit;
  color: var(--site-ink);
  background: #fff;
}

.landing-partner-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.landing-partner-card {
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.landing-partner-card h3 {
  margin: 0;
}

.landing-partner-logo-wrap {
  height: 34px;
  margin-bottom: 0.55rem;
}

.landing-partner-logo {
  height: 100%;
  width: auto;
  display: block;
}

.landing-partner-card p {
  margin: 0.5rem 0 0;
  color: var(--site-muted);
}

.landing-partner-card strong {
  color: var(--site-ink);
}

.landing-usecase-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-usecase-grid article {
  position: relative;
  background: linear-gradient(145deg, #ffffff 10%, #f4f8ff 55%, #eef7f3 100%);
  border: 1px solid #cfdcf1;
  border-radius: 14px;
  padding: 1.1rem;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(11, 40, 86, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.landing-usecase-grid article::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(15, 79, 190, 0.11), transparent 70%);
  pointer-events: none;
}

.landing-usecase-grid article:hover {
  transform: translateY(-2px);
  border-color: #9fb9e4;
  box-shadow: 0 14px 28px rgba(11, 40, 86, 0.12);
}

.landing-usecase-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15, 79, 190, 0.13), rgba(15, 109, 99, 0.13));
  color: #1e4f98;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.landing-usecase-grid h3 {
  margin: 0;
  position: relative;
  z-index: 1;
}

.landing-usecase-grid p {
  margin: 0.45rem 0 0;
  color: var(--site-muted);
  position: relative;
  z-index: 1;
}

.landing-pricing-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  margin-bottom: 1.1rem;
}

.landing-calculator-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-calculator-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-calculator-lines {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: var(--site-muted);
  display: grid;
  gap: 0.25rem;
}

.landing-calculator-note {
  margin-top: 0.55rem;
  color: #8b5f00;
  font-size: 0.9rem;
}

.landing-screenshot-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.landing-screenshot-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-shot-card {
  border: 1px dashed #aac1e5;
  border-radius: 14px;
  min-height: 160px;
  background: linear-gradient(145deg, #f8fbff, #f2f8f5);
  display: grid;
  place-items: center;
  text-align: center;
  color: #35547d;
  font-weight: 700;
  padding: 0.7rem;
  margin: 0;
  overflow: hidden;
}

.landing-shot-image {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d5dfef;
}

.landing-shot-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: #35547d;
  text-align: left;
  width: 100%;
}

.landing-shot-tall {
  min-height: 220px;
}

@media (max-width: 980px) {
  .landing-usecase-grid,
  .landing-pricing-grid-3,
  .landing-controller-grid,
  .landing-partner-grid,
  .landing-operator-cards,
  .landing-calculator-grid-2,
  .landing-calculator-grid-3,
  .landing-screenshot-grid,
  .landing-screenshot-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .landing-calculator-totals {
    grid-template-columns: 1fr;
  }

  .landing-usecase-grid,
  .landing-pricing-grid-3,
  .landing-controller-grid,
  .landing-partner-grid,
  .landing-operator-cards,
  .landing-calculator-grid-2,
  .landing-calculator-grid-3,
  .landing-screenshot-grid,
  .landing-screenshot-grid-2 {
    grid-template-columns: 1fr;
  }

  .landing-partners-search-row {
    grid-template-columns: 1fr;
  }
}

.companies-page-v2 .admin-page-actions .companies-export-button,
.companies-page-v2 .admin-page-actions .companies-new-button,
.admin-index-page .admin-page-actions .companies-export-button,
.admin-index-page .admin-page-actions .companies-new-button,
.admin-index-page .admin-page-actions .admin-index-action-button {
  font-family: "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
}
