.bold-actions form,
.bold-client-actions form {
  display: inline-flex;
  margin: 0;
}

/* UI/UX foundation pass - shared tokens, accessibility, and responsive patterns */
:root {
  --aroute-color-primary: #2457c5;
  --aroute-color-primary-strong: #1745a8;
  --aroute-color-bg: #f6f8fb;
  --aroute-color-surface: #ffffff;
  --aroute-color-surface-muted: #f8faff;
  --aroute-color-border: #e4eaf2;
  --aroute-color-text: #101828;
  --aroute-color-muted: #667085;
  --aroute-color-success: #067647;
  --aroute-color-warning: #b54708;
  --aroute-color-danger: #b42318;
  --aroute-radius-sm: 8px;
  --aroute-radius-md: 12px;
  --aroute-radius-lg: 14px;
  --aroute-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.04);
  --aroute-focus: 0 0 0 3px rgba(36, 87, 197, 0.22);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--aroute-radius-sm);
  color: #fff;
  background: var(--aroute-color-primary);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--aroute-focus);
}

#main-content:focus {
  outline: none;
}

.bold-shell.clean-shell :focus-visible {
  outline: none;
  box-shadow: var(--aroute-focus);
}

.bold-shell.clean-shell .bold-page-title {
  display: grid;
  gap: 4px;
}

.bold-shell.clean-shell .bold-page-title p {
  max-width: 760px;
  margin: 0;
  color: var(--aroute-color-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bold-shell.clean-shell .bold-alert,
.bold-shell.clean-shell .admin-alert,
.bold-shell.clean-shell .validation-summary-errors {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--aroute-color-border);
  border-radius: var(--aroute-radius-md);
  color: var(--aroute-color-text);
  background: var(--aroute-color-surface);
}

.bold-shell.clean-shell .bold-alert.success,
.bold-shell.clean-shell .admin-alert.success {
  border-color: #abefc6;
  color: var(--aroute-color-success);
  background: #f6fef9;
}

.bold-shell.clean-shell .bold-alert.error,
.bold-shell.clean-shell .admin-alert.error,
.bold-shell.clean-shell .validation-summary-errors {
  border-color: #fecdca;
  color: var(--aroute-color-danger);
  background: #fffbfa;
}

.bold-shell.clean-shell .admin-empty-state,
.bold-shell.clean-shell .forms-empty {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 20px;
  border: 1px dashed #cfd9ea;
  border-radius: var(--aroute-radius-lg);
  color: var(--aroute-color-muted);
  background: var(--aroute-color-surface-muted);
}

.bold-shell.clean-shell .admin-empty-state strong,
.bold-shell.clean-shell .forms-empty strong {
  color: var(--aroute-color-text);
  font-size: 1rem;
}

.bold-shell.clean-shell .status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  color: #1745a8;
  background: #eef4ff;
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1;
}

.bold-shell.clean-shell .staff-table-head,
.bold-shell.clean-shell .staff-table-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(180px, 1.2fr) minmax(120px, 1fr) 90px 110px minmax(220px, auto);
}

.bold-shell.clean-shell .customer-table-head,
.bold-shell.clean-shell .customer-table-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(180px, 1.2fr) minmax(120px, 1fr) minmax(100px, .8fr) 90px minmax(220px, auto);
}

@media (max-width: 760px) {
  .bold-shell.clean-shell .staff-table,
  .bold-shell.clean-shell .customer-table,
  .bold-shell.clean-shell .bold-client-list {
    overflow-x: visible;
  }

  .bold-shell.clean-shell .staff-table-head,
  .bold-shell.clean-shell .customer-table-head {
    display: none;
  }

  .bold-shell.clean-shell .staff-table-row,
  .bold-shell.clean-shell .customer-table-row {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 8px;
  }

  .bold-shell.clean-shell .staff-table-row > *,
  .bold-shell.clean-shell .customer-table-row > * {
    min-width: 0;
  }

  .bold-shell.clean-shell .staff-table-row > span,
  .bold-shell.clean-shell .customer-table-row > span {
    display: grid;
    gap: 2px;
    color: var(--aroute-color-text);
  }

  .bold-shell.clean-shell .staff-table-row > span::before,
  .bold-shell.clean-shell .customer-table-row > span::before {
    color: var(--aroute-color-muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .bold-shell.clean-shell .staff-table-row > span:nth-of-type(1)::before { content: "Email"; }
  .bold-shell.clean-shell .staff-table-row > span:nth-of-type(2)::before { content: "Roles"; }
  .bold-shell.clean-shell .staff-table-row > span:nth-of-type(3)::before { content: "Status"; }
  .bold-shell.clean-shell .staff-table-row > span:nth-of-type(4)::before { content: "Updated"; }

  .bold-shell.clean-shell .customer-table-row > span:nth-of-type(1)::before { content: "Contact"; }
  .bold-shell.clean-shell .customer-table-row > span:nth-of-type(2)::before { content: "Assigned"; }
  .bold-shell.clean-shell .customer-table-row > span:nth-of-type(3)::before { content: "Source"; }
  .bold-shell.clean-shell .customer-table-row > span:nth-of-type(4)::before { content: "Status"; }

  .bold-shell.clean-shell .bold-client-row {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .bold-shell.clean-shell .bold-content {
    padding: 10px;
  }

  .bold-shell.clean-shell .bold-page-title h1 {
    font-size: 1.28rem;
  }

  .bold-shell.clean-shell .bold-hero-widget h2,
  .bold-shell.clean-shell .bold-widget-head h2 {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.bold-client-actions a,
.bold-client-actions button,
.bold-client-actions .admin-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #dce5f7;
  border-radius: 9px;
  color: #2457c5;
  background: #eef4ff;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.bold-client-actions a:hover,
.bold-client-actions button:hover {
  border-color: #bfd0f4;
  color: #1946aa;
  background: #e5edff;
}

.bold-client-actions .is-danger,
.plan-feature-form .is-danger {
  border-color: #f2d1d6;
  color: #b42f43;
  background: #fff3f5;
}

.bold-client-actions .is-danger:hover,
.plan-feature-form .is-danger:hover {
  border-color: #e9aeb8;
  color: #982438;
  background: #ffe7eb;
}

.bold-client-row > div:nth-child(2),
.bold-panel,
.bold-hero-widget,
.bold-quick-actions,
.bold-stat-card {
  min-width: 0;
}

.bold-client-row small {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.bold-actions {
  flex-wrap: wrap;
}

.plan-feature-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 92px auto auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  background: #f8faff;
}

.plan-feature-form.is-new {
  grid-template-columns: minmax(220px, 1fr) 92px auto auto;
  background: #ffffff;
}

.plan-feature-form .form-control {
  min-width: 0;
  min-height: 40px;
  border-radius: 9px;
}

.plan-feature-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.82rem;
  white-space: nowrap;
}

.plan-feature-form .admin-row-action {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #dce5f7;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.plan-feature-form .is-primary {
  border-color: #2457c5;
  color: #ffffff;
  background: #2457c5;
}

.bold-client-actions .is-primary {
  border-color: #2457c5;
  color: #ffffff;
  background: #2457c5;
}

.bold-client-actions .is-primary:hover {
  border-color: #1946aa;
  color: #ffffff;
  background: #1946aa;
}

@media (max-width: 1199.98px) {
  .bold-client-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .bold-client-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .bold-team-list,
  .bold-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan-feature-form,
  .plan-feature-form.is-new {
    grid-template-columns: minmax(0, 1fr) 92px auto;
  }

  .plan-feature-check {
    grid-column: 1;
  }
}

@media (max-width: 700px) {
  .bold-topbar {
    position: relative;
    grid-template-columns: 1fr;
  }

  .bold-search,
  .bold-actions,
  .bold-user {
    grid-column: 1;
    grid-row: auto;
  }

  .bold-actions,
  .bold-user {
    justify-content: flex-start;
  }

  .bold-team-list,
  .bold-menu,
  .bold-action-grid,
  .bold-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-feature-form,
  .plan-feature-form.is-new {
    grid-template-columns: 1fr 86px;
  }

  .plan-feature-check {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .bold-main,
  .bold-sidebar {
    padding: 14px;
  }

  .bold-team-list,
  .bold-menu,
  .bold-action-grid,
  .bold-stat-row {
    grid-template-columns: 1fr;
  }

  .bold-client-row {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px;
  }

  .bold-client-icon {
    width: 42px;
    height: 42px;
  }

  .bold-client-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .bold-client-actions form,
  .bold-client-actions a,
  .bold-client-actions button {
    width: 100%;
  }

  .plan-feature-form,
  .plan-feature-form.is-new {
    grid-template-columns: 1fr;
  }
}

/* Cleaner tenant workspace UI */
.bold-shell:has(.tenant-sidebar) {
  grid-template-columns: 272px minmax(0, 1fr);
  color: #1f2937;
  background: #f6f8fb;
}

.tenant-sidebar {
  padding: 22px 16px;
  background: #ffffff;
  border-right: 1px solid #e6ebf2;
  box-shadow: none;
}

.tenant-sidebar .bold-logo {
  min-height: 46px;
  padding: 0 8px;
}

.tenant-sidebar .bold-logo strong {
  overflow: hidden;
  color: #111827;
  font-size: 1rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-sidebar .brand-orb {
  width: 22px;
  height: 22px;
  border: 0;
  background: #2457c5;
  box-shadow: none;
}

.tenant-sidebar .brand-orb::after {
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
}

.tenant-sidebar .bold-sidebar-block {
  margin: 18px 0 22px;
  padding: 16px;
  color: #111827;
  background: #f7f9fc;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow: none;
}

.tenant-sidebar .bold-sidebar-block span,
.tenant-sidebar .bold-sidebar-block small,
.tenant-sidebar .bold-menu-title {
  color: #7b8798;
  letter-spacing: 0.03em;
}

.tenant-sidebar .bold-sidebar-block strong {
  overflow: hidden;
  color: #111827;
  font-size: 1rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-sidebar .bold-platform-return {
  min-height: 42px;
  margin-bottom: 18px;
  background: #111827;
  border-radius: 12px;
  box-shadow: none;
}

.tenant-sidebar .bold-menu-title {
  margin: 18px 10px 8px;
  font-size: 0.68rem;
}

.tenant-sidebar .bold-menu {
  gap: 4px;
}

.tenant-sidebar .bold-menu a {
  min-height: 42px;
  padding: 9px 11px;
  color: #4b5563;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
}

.tenant-sidebar .bold-menu a:hover {
  color: #2457c5;
  background: #f0f5ff;
}

.tenant-sidebar .bold-menu a.is-active {
  color: #1745a8;
  background: #eaf1ff;
  border-color: #d6e4ff;
  box-shadow: none;
}

.tenant-sidebar .bold-menu a.is-active small {
  color: #5f77a8;
}

.tenant-sidebar .bold-menu a span {
  font-size: 0.9rem;
  font-weight: 720;
}

.tenant-sidebar .bold-menu a small {
  color: #9aa4b2;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.bold-shell:has(.tenant-sidebar) .bold-main {
  padding: 24px;
}

.bold-shell:has(.tenant-sidebar) .bold-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  min-height: 68px;
  padding: 0 0 18px;
  background: rgba(246, 248, 251, 0.94);
  backdrop-filter: blur(14px);
}

.bold-shell:has(.tenant-sidebar) .bold-page-title h1 {
  color: #111827;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.bold-shell:has(.tenant-sidebar) .bold-page-title span,
.bold-shell:has(.tenant-sidebar) .bold-kicker {
  color: #7b8798;
  font-size: 0.72rem;
  font-weight: 750;
}

.bold-shell:has(.tenant-sidebar) .bold-actions a,
.bold-shell:has(.tenant-sidebar) .bold-actions button,
.bold-shell:has(.tenant-sidebar) .bold-hero-widget a,
.bold-shell:has(.tenant-sidebar) .bold-widget-head a,
.bold-shell:has(.tenant-sidebar) .bold-client-actions a,
.bold-shell:has(.tenant-sidebar) .bold-client-actions button {
  min-height: 38px;
  padding: 8px 12px;
  color: #2457c5;
  background: #eef4ff;
  border: 1px solid #dce7fb;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: none;
}

.bold-shell:has(.tenant-sidebar) .bold-actions button {
  color: #4b5563;
  background: #ffffff;
  border-color: #e2e8f0;
}

.bold-shell:has(.tenant-sidebar) .bold-user {
  min-width: 0;
}

.bold-shell:has(.tenant-sidebar) .bold-user > span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #2457c5;
}

.bold-shell:has(.tenant-sidebar) .bold-dashboard-grid {
  gap: 18px;
}

.bold-shell:has(.tenant-sidebar) .bold-sidebar-block,
.bold-shell:has(.tenant-sidebar) .bold-hero-widget,
.bold-shell:has(.tenant-sidebar) .bold-quick-actions,
.bold-shell:has(.tenant-sidebar) .bold-stat-card,
.bold-shell:has(.tenant-sidebar) .bold-panel,
.bold-shell:has(.tenant-sidebar) .bold-role-card,
.bold-shell:has(.tenant-sidebar) .bold-client-row,
.bold-shell:has(.tenant-sidebar) .notification-summary-card,
.bold-shell:has(.tenant-sidebar) .notification-slide {
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.bold-shell:has(.tenant-sidebar) .bold-hero-widget {
  min-height: 188px;
  padding: 24px;
  background:
    radial-gradient(circle at 94% 12%, rgba(36, 87, 197, 0.11), transparent 15rem),
    #ffffff;
}

.bold-shell:has(.tenant-sidebar) .bold-hero-widget h2 {
  margin: 8px 0 10px;
  color: #111827;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.bold-shell:has(.tenant-sidebar) .bold-hero-widget p,
.bold-shell:has(.tenant-sidebar) .bold-card p,
.bold-shell:has(.tenant-sidebar) .bold-panel p {
  color: #667085;
}

.bold-shell:has(.tenant-sidebar) .bold-widget-head h2,
.bold-shell:has(.tenant-sidebar) .bold-app-card strong,
.bold-shell:has(.tenant-sidebar) .bold-stat-card strong,
.bold-shell:has(.tenant-sidebar) .bold-client-row strong,
.bold-shell:has(.tenant-sidebar) .bold-activity strong {
  color: #111827;
  font-weight: 740;
}

.bold-shell:has(.tenant-sidebar) .bold-action-grid a,
.bold-shell:has(.tenant-sidebar) .bold-app-card,
.bold-shell:has(.tenant-sidebar) .bold-progress-list div {
  color: #1f2937;
  background: #f7f9fc;
  border: 1px solid #edf1f6;
  border-radius: 14px;
}

.bold-shell:has(.tenant-sidebar) .bold-action-grid a:hover,
.bold-shell:has(.tenant-sidebar) .bold-app-card:hover {
  color: #2457c5;
  background: #eef4ff;
  border-color: #d8e5fb;
}

.bold-shell:has(.tenant-sidebar) .bold-app-card:hover small {
  color: #667085;
}

.bold-shell:has(.tenant-sidebar) .bold-app-card > span,
.bold-shell:has(.tenant-sidebar) .bold-client-icon {
  background: #2457c5;
  border-radius: 12px;
}

.bold-shell:has(.tenant-sidebar) .bold-stat-card {
  min-height: 118px;
  padding: 20px;
}

.bold-shell:has(.tenant-sidebar) .bold-stat-card strong {
  margin: 10px 0 4px;
  font-size: 2rem;
}

.bold-shell:has(.tenant-sidebar) .bold-panel,
.bold-shell:has(.tenant-sidebar) .bold-quick-actions {
  padding: 20px;
}

.bold-shell:has(.tenant-sidebar) .bold-activity > div > span {
  background: #2457c5;
}

/* Unified tenant app surface */
.bold-shell:has(.minimal-tenant-sidebar) .bold-main {
  min-width: 0;
  background: #f6f8fb;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-content {
  display: grid;
  gap: 16px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-content > .bold-page-title {
  margin: 0;
  padding: 2px 0 4px;
  border-bottom: 0;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-page-title h1 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  line-height: 1.2;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-page-title p {
  max-width: 760px;
  margin: 6px 0 0;
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-dashboard-grid,
.bold-shell:has(.minimal-tenant-sidebar) .clean-dashboard-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-hero-widget {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: auto;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-hero-widget h2 {
  max-width: 820px;
  margin: 4px 0 6px;
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-hero-widget p {
  max-width: 760px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-hero-widget a,
.bold-shell:has(.minimal-tenant-sidebar) .bold-widget-head a,
.bold-shell:has(.minimal-tenant-sidebar) .admin-row-action,
.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions a,
.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions button {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 760;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-panel,
.bold-shell:has(.minimal-tenant-sidebar) .bold-quick-actions,
.bold-shell:has(.minimal-tenant-sidebar) .clean-panel,
.bold-shell:has(.minimal-tenant-sidebar) .bold-stat-card {
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-panel,
.bold-shell:has(.minimal-tenant-sidebar) .bold-quick-actions,
.bold-shell:has(.minimal-tenant-sidebar) .clean-panel {
  padding: 16px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-widget-head,
.bold-shell:has(.minimal-tenant-sidebar) .clean-panel-head {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-widget-head h2,
.bold-shell:has(.minimal-tenant-sidebar) .clean-panel-head h2 {
  margin: 3px 0 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-quick-actions {
  display: grid;
  gap: 12px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-action-grid a,
.bold-shell:has(.minimal-tenant-sidebar) .clean-link-grid a,
.bold-shell:has(.minimal-tenant-sidebar) .clean-link-list a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 760;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-stat-row,
.bold-shell:has(.minimal-tenant-sidebar) .clean-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-stat-card,
.bold-shell:has(.minimal-tenant-sidebar) .clean-metric {
  min-height: auto;
  padding: 14px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-stat-card strong,
.bold-shell:has(.minimal-tenant-sidebar) .clean-metric strong {
  margin: 5px 0 2px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-list,
.bold-shell:has(.minimal-tenant-sidebar) .staff-table,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table {
  display: grid;
  gap: 9px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-row,
.bold-shell:has(.minimal-tenant-sidebar) .staff-table-row,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-row {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-row {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
}

.bold-shell:has(.minimal-tenant-sidebar) .staff-table-head,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-head {
  padding: 0 12px 4px;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bold-shell:has(.minimal-tenant-sidebar) .staff-table-row,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-row {
  align-items: center;
  gap: 10px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.bold-shell:has(.minimal-tenant-sidebar) .admin-form-grid {
  gap: 14px;
}

.bold-shell:has(.minimal-tenant-sidebar) .admin-field {
  gap: 6px;
}

.bold-shell:has(.minimal-tenant-sidebar) .form-control,
.bold-shell:has(.minimal-tenant-sidebar) .form-select {
  min-height: 42px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .bold-shell:has(.minimal-tenant-sidebar) .bold-hero-widget,
  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-row {
    grid-template-columns: 1fr;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-icon {
    display: none;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .bold-shell:has(.minimal-tenant-sidebar) .bold-main {
    padding: 0;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .bold-content {
    padding: 12px;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .bold-panel,
  .bold-shell:has(.minimal-tenant-sidebar) .bold-quick-actions,
  .bold-shell:has(.minimal-tenant-sidebar) .clean-panel {
    padding: 14px;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .bold-widget-head,
  .bold-shell:has(.minimal-tenant-sidebar) .clean-panel-head,
  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions a,
  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions button,
  .bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions form,
  .bold-shell:has(.minimal-tenant-sidebar) .bold-hero-widget a {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .bold-shell:has(.tenant-sidebar) {
    grid-template-columns: 1fr;
  }

  .tenant-sidebar {
    position: relative;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid #e6ebf2;
  }

  .tenant-sidebar .bold-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bold-shell:has(.tenant-sidebar) .bold-topbar {
    grid-template-columns: 1fr;
  }

  .bold-shell:has(.tenant-sidebar) .bold-actions,
  .bold-shell:has(.tenant-sidebar) .bold-user {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .bold-shell:has(.tenant-sidebar) .bold-main {
    padding: 16px;
  }

  .tenant-sidebar .bold-menu {
    grid-template-columns: 1fr;
  }

  .bold-shell:has(.tenant-sidebar) .bold-hero-widget {
    align-items: flex-start;
    flex-direction: column;
  }
}

.subscription-lock-card {
  align-items: center;
  gap: 28px;
}

.platform-sidebar {
  align-content: start;
}

.platform-nav-group {
  margin: 6px 0;
}

.platform-nav-group summary {
  display: grid;
  gap: 2px;
  position: relative;
  padding: 11px 34px 11px 12px;
  border-radius: 8px;
  color: #19345f;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.platform-nav-group summary::-webkit-details-marker {
  display: none;
}

.platform-nav-group summary::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #60738e;
  border-bottom: 2px solid #60738e;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 160ms ease;
}

.platform-nav-group[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.platform-nav-group summary:hover,
.platform-nav-group[open] summary {
  background: #f1f5fc;
}

.platform-nav-group summary > span {
  font-size: 0.88rem;
  font-weight: 700;
}

.platform-nav-group summary > small {
  color: #7a899e;
  font-size: 0.72rem;
}

.platform-submenu {
  margin: 5px 0 8px;
  padding-left: 10px;
  border-left: 2px solid #e3eaf5;
}

.platform-register-main {
  min-width: 0;
}

.platform-register-page {
  min-height: 100vh;
  padding: 32px;
}

.platform-register-page .register-shell {
  width: min(1120px, 100%);
}

@media (max-width: 700px) {
  .platform-register-page {
    min-height: 0;
    padding: 16px 0;
  }
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subscription-actions a,
.subscription-actions button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  color: #19345f;
  background: #fff;
  font-weight: 650;
  text-decoration: none;
}

.subscription-actions button:disabled {
  color: #78869b;
  background: #f2f5fa;
}

.subscription-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.subscription-detail-grid > div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e0e7f2;
  border-radius: 8px;
  background: #f8faff;
}

.subscription-detail-grid span,
.conversation-message small,
.permission-plan-grid small {
  color: #6f7f95;
  font-size: .78rem;
}

.status-pill {
  padding: 7px 11px;
  border-radius: 999px;
  color: #17478f;
  background: #eaf1ff;
  font-size: .78rem;
}

.permission-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.permission-plan-grid fieldset {
  padding: 14px;
  border: 1px solid #dde6f4;
  border-radius: 8px;
}

.permission-plan-grid legend {
  float: none;
  width: auto;
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
}

.permission-plan-grid label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 9px 0;
}

.permission-plan-grid label span,
.conversation-message {
  display: grid;
  gap: 3px;
}

.conversation-thread {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.conversation-message {
  max-width: 760px;
  padding: 14px 16px;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #f7f9fd;
}

.conversation-message.is-admin {
  margin-left: auto;
  background: #eaf1ff;
}

.notification-form textarea {
  min-height: 150px;
  resize: vertical;
}

.notification-target[hidden] {
  display: none;
}

.notification-submit-row {
  margin-top: 18px;
}

.notification-admin-list {
  display: grid;
  gap: 12px;
}

.notification-admin-row {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e6ecf7;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(25, 52, 95, 0.05);
}

.notification-admin-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.notification-admin-row h3 {
  margin: 4px 0 6px;
  color: #14233f;
  font-size: 1rem;
}

.notification-admin-row small {
  color: #6b7890;
}

.notification-admin-stats {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: #51627c;
  font-size: 0.86rem;
  white-space: nowrap;
}

.notification-admin-stats strong {
  color: #2457c5;
}

.notification-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.notification-admin-actions a,
.notification-admin-actions button,
.client-notification-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  background: #ffffff;
  color: #243553;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}

.notification-admin-actions button,
.client-notification-actions button {
  cursor: pointer;
}

.client-notification-list {
  display: grid;
  gap: 12px;
}

.client-notification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e2eaf6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 52, 95, 0.04);
}

.client-notification-row:has(img) {
  grid-template-columns: 120px minmax(0, 1fr) auto;
}

.client-notification-row.is-unread {
  border-color: rgba(47, 112, 255, 0.32);
  background: #f7faff;
}

.client-notification-row img {
  width: 120px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

.client-notification-row h3,
.client-notification-row p {
  margin: 0;
}

.client-notification-row h3 {
  color: #14233f;
}

.client-notification-row p {
  margin-top: 6px;
  color: #34435c;
  line-height: 1.55;
}

.client-notification-row small {
  display: block;
  margin-top: 6px;
  color: #687890;
}

.client-notification-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  color: #687890;
  font-weight: 750;
}

.notification-dashboard-panel .bold-widget-head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #2457c5;
  background: #edf4ff;
  font-size: 0.8rem;
}

.notification-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 16px;
}

.notification-showcase-main,
.notification-carousel {
  min-width: 0;
}

.notification-carousel {
  position: relative;
  overflow: hidden;
}

.notification-slide {
  display: none;
  min-height: 300px;
  gap: 18px;
  align-content: end;
  padding: 22px;
  border-color: #bfd0f4;
  border-radius: 14px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 35, 63, 0.92), rgba(36, 87, 197, 0.78)),
    #2457c5;
  box-shadow: 0 18px 42px rgba(25, 52, 95, 0.16);
}

.notification-slide.is-active {
  display: grid;
}

.notification-slide.is-read {
  opacity: 0.78;
}

.notification-slide.has-image {
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: end;
}

.notification-slide img {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 180px;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  background: #eef3fb;
  box-shadow: 0 18px 34px rgba(10, 20, 40, 0.24);
}

.notification-slide h3 {
  margin: 5px 0 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.notification-slide p {
  max-width: 760px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.notification-slide small {
  color: rgba(255, 255, 255, 0.72);
}

.notification-slide .bold-kicker {
  color: #dfe8ff;
}

.notification-slide form {
  margin: 0;
}

.notification-slide button,
.notification-carousel-controls button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.notification-carousel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.notification-carousel-controls > div {
  display: flex;
  gap: 7px;
  align-items: center;
}

.notification-carousel-controls [data-notification-dot] {
  width: 9px;
  min-width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  border-radius: 999px;
  border-color: #c4d3f0;
  background: #dce6f8;
}

.notification-carousel-controls [data-notification-dot].is-active {
  width: 24px;
  background: #2457c5;
}

.notification-summary-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid #e6ecf7;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 52, 95, 0.06);
}

.notification-summary-card h3 {
  margin: 0;
  color: #14233f;
  font-size: 1.08rem;
}

.notification-summary-card p,
.notification-summary-card small {
  margin: 0;
  color: #61708a;
  line-height: 1.5;
}

.notification-summary-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f6f9ff;
}

.notification-summary-card > div span {
  color: #61708a;
  font-size: 0.82rem;
}

.notification-summary-card > div strong {
  color: #2457c5;
  font-size: 1.1rem;
}

.staff-table {
  display: grid;
  gap: 10px;
}

.staff-table-head,
.staff-table-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.1fr) minmax(170px, 1.25fr) minmax(140px, 1fr) 92px 110px minmax(220px, auto);
  gap: 12px;
  align-items: center;
}

.staff-table-head {
  padding: 0 14px;
  color: #6a7890;
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.staff-table-row {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4ebf6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 52, 95, 0.04);
}

.staff-table-row > span,
.staff-table-row > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.staff-form .admin-form-grid {
  margin-bottom: 18px;
}

.admin-check-row {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  color: #19345f;
  font-size: 0.9rem;
  font-weight: 650;
}

.staff-role-picker {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #e2eaf6;
  border-radius: 12px;
  background: #f8fbff;
}

.staff-role-picker h3 {
  margin: 0 0 4px;
  color: #14233f;
  font-size: 1rem;
}

.staff-role-picker label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px;
  border: 1px solid #e3ebf6;
  border-radius: 10px;
  background: #ffffff;
}

.staff-role-picker label span {
  display: grid;
  gap: 3px;
}

.staff-role-picker small,
.staff-muted-note {
  color: #687890;
  line-height: 1.5;
}

.staff-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.staff-detail-grid > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e2eaf6;
  border-radius: 12px;
  background: #f8fbff;
}

.staff-detail-grid span {
  color: #6a7890;
  font-size: 0.78rem;
}

.staff-detail-grid strong {
  color: #14233f;
  overflow-wrap: anywhere;
}

.settings-form-section {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #e3ebf6;
  border-radius: 12px;
  background: #f8fbff;
}

.settings-form-section .admin-form-grid {
  margin: 0;
}

.customer-table {
  display: grid;
  gap: 10px;
}

.customer-table-head,
.customer-table-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.15fr) minmax(170px, 1.2fr) minmax(130px, 1fr) 95px 90px minmax(220px, auto);
  gap: 12px;
  align-items: center;
}

.customer-table-head {
  padding: 0 14px;
  color: #6a7890;
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.customer-table-row {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4ebf6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 52, 95, 0.04);
}

.customer-table-row > span,
.customer-table-row > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-table-row small {
  display: block;
  margin-top: 4px;
  color: #687890;
}

.customer-placeholder {
  display: grid;
  gap: 8px;
  min-height: 128px;
  align-content: center;
  padding: 16px;
  border: 1px dashed #cdd9ec;
  border-radius: 12px;
  background: #f8fbff;
}

.customer-placeholder strong {
  color: #14233f;
}

.customer-placeholder span {
  color: #687890;
  line-height: 1.5;
}

.customer-placeholder.compact {
  min-height: auto;
}

.compact-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.compact-form textarea {
  resize: vertical;
}

.customer-assignment-card,
.customer-note,
.customer-link-list a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2eaf6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 52, 95, 0.04);
}

.customer-assignment-card strong,
.customer-note strong,
.customer-link-list strong,
.customer-timeline strong {
  color: #14233f;
  overflow-wrap: anywhere;
}

.customer-assignment-card span,
.customer-assignment-card small,
.customer-note span,
.customer-note small,
.customer-link-list span,
.customer-timeline small {
  color: #687890;
}

.customer-note-list,
.customer-link-list,
.customer-timeline {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.customer-note p,
.customer-timeline p {
  margin: 0;
  color: #34435c;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.customer-link-list a {
  text-decoration: none;
}

.customer-timeline article {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
}

.customer-timeline article > span {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: #2f70ff;
  box-shadow: 0 0 0 5px rgba(47, 112, 255, 0.12);
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34435c;
  font-weight: 700;
}

.submission-detail-grid,
.submission-match-list {
  display: grid;
  gap: 12px;
}

.submission-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.submission-detail-grid > div,
.submission-match-list a {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2eaf6;
  border-radius: 12px;
  background: #f8fbff;
  text-decoration: none;
}

.submission-detail-grid span,
.submission-detail-grid small,
.submission-match-list span {
  color: #687890;
  font-size: 0.82rem;
}

.submission-detail-grid strong,
.submission-match-list strong {
  color: #14233f;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .permission-plan-grid,
  .subscription-detail-grid,
  .notification-showcase-grid,
  .notification-slide.has-image {
    grid-template-columns: 1fr;
  }

  .notification-admin-row {
    grid-template-columns: 1fr;
  }

  .client-notification-row,
  .client-notification-row:has(img) {
    grid-template-columns: 1fr;
  }

  .notification-slide img {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 190px;
  }

  .notification-admin-stats {
    justify-items: start;
  }

  .client-notification-actions {
    justify-items: start;
  }

  .staff-table-head {
    display: none;
  }

  .staff-table-row,
  .customer-table-row {
    grid-template-columns: 1fr;
  }

  .customer-table-head {
    display: none;
  }

  .staff-detail-grid {
    grid-template-columns: 1fr;
  }

  .submission-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Super Admin homepage content manager */
.content-admin-topbar .bold-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.content-admin-hero,
.content-admin-appearance,
.content-admin-section,
.content-editor-panel,
.content-editor-preview {
  border: 1px solid #e3e9f4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.06);
}

.content-admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at 92% 16%, rgba(36, 87, 197, 0.14), transparent 18rem),
    #ffffff;
}

.content-admin-hero h2,
.content-admin-appearance h2,
.content-admin-section h2,
.content-editor-help h2,
.content-editor-preview h2 {
  margin: 6px 0 0;
  color: #101828;
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  line-height: 1.08;
}

.content-admin-hero p,
.content-admin-appearance p,
.content-admin-row p,
.content-editor-help p,
.content-editor-preview p {
  margin: 10px 0 0;
  color: #667085;
  line-height: 1.65;
}

.content-admin-score {
  min-width: 130px;
  padding: 18px;
  border: 1px solid #dfe7f3;
  border-radius: 16px;
  background: #f7faff;
  text-align: center;
}

.content-admin-score strong {
  display: block;
  color: #2457c5;
  font-size: 2.6rem;
  line-height: 1;
}

.content-admin-score span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 750;
}

.content-admin-appearance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px;
}

.content-swatches {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.content-swatches span {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid #d7e0ef;
  border-radius: 14px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.32);
}

.content-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.content-admin-section {
  min-width: 0;
  padding: 20px;
}

.content-admin-section header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.content-admin-section header small,
.content-admin-row span {
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 750;
}

.content-admin-list {
  display: grid;
  gap: 10px;
}

.content-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  background: #fbfcff;
}

.content-admin-row.is-inactive {
  opacity: 0.58;
}

.content-admin-row strong {
  display: block;
  color: #101828;
  font-size: 0.98rem;
}

.content-admin-row p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
}

.content-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 18px;
  margin-top: 20px;
}

.content-editor-panel,
.content-editor-preview {
  padding: 24px;
}

.content-editor-help {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f7;
}

.content-editor-check {
  display: flex;
  align-items: end;
}

.content-editor-check label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #344054;
  font-weight: 750;
}

.content-editor-check input {
  width: 18px;
  height: 18px;
  accent-color: #2457c5;
}

.content-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.content-editor-preview {
  position: sticky;
  top: 24px;
  height: fit-content;
}

@media (max-width: 1199.98px) {
  .content-admin-grid,
  .content-editor-layout {
    grid-template-columns: 1fr;
  }

  .content-editor-preview {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .content-admin-hero,
  .content-admin-appearance {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-admin-section header,
  .content-admin-row {
    grid-template-columns: 1fr;
  }
}

/* Clean dashboard system */
.bold-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.bold-nav.clean-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 0 0 16px;
  background: rgba(245, 247, 251, 0.94);
  border: 0;
  backdrop-filter: blur(14px);
}

.bold-nav.clean-topbar .bold-actions {
  justify-self: end;
}

.bold-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.bold-content > .bold-page-title {
  margin-bottom: 0;
}

.content-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.content-title-row .bold-actions,
.content-title-row .clean-actions {
  justify-self: end;
}

.clean-shell {
  min-height: 100vh;
  grid-template-columns: 272px minmax(0, 1fr);
  color: #1f2937;
  background: #f5f7fb;
}

.clean-shell .bold-main {
  min-width: 0;
  padding: 24px;
}

.clean-shell .bold-nav.clean-topbar,
.clean-shell .bold-topbar.clean-topbar {
  z-index: 20;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 72px;
  padding: 0 0 18px;
}

.bold-nav.app-topbar,
.clean-shell .bold-nav.app-topbar {
  z-index: 30;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 58px;
  margin: 0;
  padding: 4px;
  background: rgba(245, 247, 251, 0.96);
}

.tenant-topbar-space {
  min-width: 0;
  min-height: 1px;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.topbar-notification-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid #d9e3f1;
  border-radius: 999px;
  color: #2457c5;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.topbar-notification-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar-notification-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: #dc2626;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
}

.topbar-notification-button:hover {
  color: #1745a8;
  background: #f3f7ff;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(248, 250, 252, 0.96);
}

.rich-editor-toolbar button {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  min-height: 32px;
  padding: 6px 10px;
  background: #ffffff;
  color: #243044;
  font-size: 0.82rem;
  font-weight: 700;
}

.rich-editor-toolbar button:hover {
  border-color: rgba(36, 87, 197, 0.35);
  color: #2457c5;
}

.rich-editor-surface {
  min-height: 260px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0 0 10px 10px;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.65;
  outline: none;
}

.rich-editor-surface:focus {
  border-color: rgba(36, 87, 197, 0.42);
  box-shadow: 0 0 0 4px rgba(36, 87, 197, 0.08);
}

.notification-rich-text {
  color: #4b5563;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.notification-rich-text p {
  margin: 0 0 0.55rem;
}

.notification-rich-text ul,
.notification-rich-text ol {
  margin: 0.3rem 0 0.6rem;
  padding-left: 1.25rem;
}

.notification-inbox-panel .bold-widget-head {
  align-items: flex-start;
  gap: 14px;
}

.notification-panel-subtitle {
  margin: 4px 0 0;
  color: #667085;
  font-size: 0.9rem;
}

.notification-compose-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: start;
}

.notification-compose-panel {
  min-width: 0;
}

.notification-compose-aside {
  display: grid;
  gap: 12px;
}

.notification-tip-card {
  padding: 16px;
  border: 1px solid #e3eaf5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.notification-tip-card span {
  display: block;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.notification-tip-card strong {
  display: block;
  margin-top: 5px;
  color: #101828;
  font-size: 1rem;
}

.notification-tip-card p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.55;
}

.notification-form .admin-form-grid {
  gap: 16px;
}

.notification-form .form-control,
.notification-form .form-select {
  min-height: 44px;
}

.notification-submit-row {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.notification-submit-row a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  color: #344054;
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.client-notification-list {
  gap: 14px;
}

.client-notification-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #e5ecf6;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.client-notification-row:has(img) {
  grid-template-columns: 180px minmax(0, 1fr);
}

.client-notification-media {
  min-width: 0;
  background: #f4f7fb;
}

.client-notification-row img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 0;
}

.client-notification-card-body {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.client-notification-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.client-notification-card-head h3 {
  margin: 4px 0 0;
  color: #101828;
  font-size: 1.08rem;
  line-height: 1.35;
}

.notification-subject {
  color: #2457c5;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.notification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: max-content;
}

.notification-priority,
.notification-state {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.notification-priority {
  color: #1745a8;
  background: #eaf1ff;
}

.notification-priority.priority-high {
  color: #92400e;
  background: #fdecc8;
}

.notification-priority.priority-critical {
  color: #991b1b;
  background: #fee2e2;
}

.notification-priority.priority-low {
  color: #475467;
  background: #f2f4f7;
}

.notification-state {
  color: #344054;
  background: #f2f4f7;
}

.notification-state.is-unread {
  color: #2457c5;
  background: #edf4ff;
}

.notification-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #667085;
  font-size: 0.84rem;
}

.client-notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  color: #667085;
  font-weight: 750;
}

.client-notification-actions form {
  margin: 0;
}

.client-notification-actions .admin-row-action,
.notification-admin-actions .admin-row-action,
.notification-admin-actions a,
.notification-admin-actions button {
  min-height: 36px;
  border-radius: 10px;
  white-space: nowrap;
}

.admin-row-action.is-danger {
  border-color: #fecaca;
  color: #b42318;
  background: #fff5f5;
}

@media (max-width: 991.98px) {
  .notification-compose-shell,
  .client-notification-row:has(img) {
    grid-template-columns: 1fr;
  }

  .notification-compose-aside {
    order: -1;
  }

  .client-notification-row img {
    max-height: 220px;
    min-height: 180px;
  }
}

@media (max-width: 575.98px) {
  .notification-inbox-panel .bold-widget-head,
  .client-notification-card-head,
  .notification-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .notification-badges {
    justify-content: flex-start;
    min-width: 0;
  }

  .client-notification-card-body {
    padding: 15px;
  }

  .client-notification-actions,
  .bold-client-actions {
    width: 100%;
  }

  .client-notification-actions form,
  .client-notification-actions .admin-row-action,
  .bold-client-actions form,
  .bold-client-actions .admin-row-action,
  .notification-submit-row a {
    width: 100%;
  }

  .rich-editor-toolbar {
    gap: 5px;
    padding: 8px;
  }

  .rich-editor-toolbar button {
    flex: 1 1 calc(50% - 6px);
  }

  .rich-editor-surface {
    min-height: 210px;
  }
}

.audit-filter-form {
  margin-top: 8px;
}

.audit-log-list {
  display: grid;
  gap: 10px;
}

.audit-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5eaf2;
  border-left: 4px solid #2457c5;
  border-radius: 12px;
  background: #ffffff;
}

.audit-log-row.severity-warning {
  border-left-color: #d97706;
  background: #fffbeb;
}

.audit-log-row.severity-error {
  border-left-color: #dc2626;
  background: #fff1f2;
}

.audit-severity {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #1745a8;
  background: #eaf1ff;
  font-size: 0.72rem;
  font-weight: 850;
}

.severity-warning .audit-severity {
  color: #92400e;
  background: #fdecc8;
}

.severity-error .audit-severity {
  color: #991b1b;
  background: #fee2e2;
}

.audit-log-main h3 {
  margin: 8px 0 4px;
  color: #101828;
  font-size: 1rem;
}

.audit-log-main p,
.audit-log-main small {
  margin: 0;
  color: #667085;
}

.audit-log-meta {
  display: grid;
  gap: 8px;
  color: #475467;
  font-size: 0.86rem;
}

.audit-log-meta span {
  display: grid;
  gap: 2px;
}

.audit-log-meta strong {
  color: #101828;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audit-log-values {
  grid-column: 1 / -1;
}

.audit-log-values summary {
  cursor: pointer;
  color: #2457c5;
  font-weight: 800;
}

.audit-log-values pre {
  overflow: auto;
  margin: 8px 0 0;
  padding: 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #344054;
  white-space: pre-wrap;
}

.clean-shell .bold-page-title {
  min-width: 0;
}

.clean-shell .bold-page-title span,
.clean-panel-head span,
.clean-metric span,
.clean-notice-panel > div > span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clean-shell .bold-page-title h1 {
  margin: 4px 0 0;
  color: #101828;
  font-size: clamp(1.5rem, 2vw, 2.05rem);
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.clean-shell .bold-page-title p {
  max-width: 720px;
  margin: 6px 0 0;
  color: #667085;
  font-size: 0.94rem;
  line-height: 1.5;
}

.clean-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: flex-end;
}

.clean-actions a,
.clean-actions button,
.clean-panel-head a,
.clean-row-actions a,
.clean-notice-panel > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d9e3f1;
  border-radius: 10px;
  color: #2457c5;
  background: #ffffff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.clean-actions .is-primary,
.clean-row-actions a:first-child {
  border-color: #2457c5;
  color: #ffffff;
  background: #2457c5;
}

.clean-actions form {
  margin: 0;
}

.clean-actions button {
  color: #475467;
}

.clean-shell .bold-user {
  min-width: 0;
  padding: 7px 10px 7px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: none;
}

.clean-shell .bold-user > span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #2457c5;
}

.clean-shell .bold-user strong,
.clean-shell .bold-user small {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-menu {
  position: relative;
  justify-self: end;
  min-width: 0;
}

.admin-user-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  max-width: 230px;
  padding: 5px 12px 5px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #101828;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
  user-select: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.admin-user-menu summary::-webkit-details-marker {
  display: none;
}

.admin-user-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #2457c5;
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-user-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 6px;
  width: 220px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.admin-user-dropdown-head {
  display: grid;
  gap: 2px;
  padding: 9px 10px 10px;
  border-bottom: 1px solid #eef2f7;
}

.admin-user-dropdown-head strong,
.admin-user-dropdown-head small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-dropdown-head strong {
  color: #101828;
  font-size: 0.88rem;
}

.admin-user-dropdown-head small {
  color: #667085;
  font-size: 0.74rem;
}

.admin-user-dropdown a,
.admin-user-dropdown button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: #344054;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 740;
  text-align: left;
  text-decoration: none;
}

.admin-user-dropdown a:hover,
.admin-user-dropdown button:hover {
  color: #2457c5;
  background: #f3f7ff;
}

.admin-user-dropdown form {
  margin: 0;
}

.clean-sidebar {
  padding: 22px 16px;
  background: #ffffff;
  border-right: 1px solid #e6ebf2;
  box-shadow: none;
}

.clean-sidebar .bold-logo {
  min-height: 46px;
  padding: 0 8px;
}

.clean-sidebar .bold-logo strong {
  color: #101828;
  font-size: 1.02rem;
  font-weight: 780;
}

.clean-sidebar .brand-orb,
.tenant-sidebar .brand-orb {
  width: 22px;
  height: 22px;
  border: 0;
  background: #2457c5;
  box-shadow: none;
}

.clean-sidebar .brand-orb::after,
.tenant-sidebar .brand-orb::after {
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
}

.clean-sidebar .bold-sidebar-block,
.tenant-sidebar .bold-sidebar-block {
  margin: 18px 0 20px;
  padding: 13px 14px;
  color: #101828;
  background: #f7f9fc;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow: none;
}

.clean-sidebar .bold-sidebar-block span,
.clean-sidebar .bold-sidebar-block small,
.clean-sidebar .bold-menu-title,
.tenant-sidebar .bold-sidebar-block span,
.tenant-sidebar .bold-sidebar-block small,
.tenant-sidebar .bold-menu-title {
  color: #7b8798;
}

.clean-sidebar .bold-sidebar-block strong,
.tenant-sidebar .bold-sidebar-block strong {
  overflow: hidden;
  color: #101828;
  font-size: 1rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clean-sidebar .bold-menu,
.tenant-sidebar .bold-menu {
  gap: 4px;
}

.clean-sidebar .bold-menu a,
.tenant-sidebar .bold-menu a {
  position: relative;
  min-height: 42px;
  padding: 9px 11px;
  color: #475467;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
}

.clean-sidebar .bold-menu a:hover,
.tenant-sidebar .bold-menu a:hover {
  color: #2457c5;
  background: #f0f5ff;
}

.clean-sidebar .bold-menu a.is-active,
.tenant-sidebar .bold-menu a.is-active {
  color: #1745a8;
  background: #eaf1ff;
  border-color: #d6e4ff;
  box-shadow: none;
}

.clean-sidebar .bold-menu a.is-active::before,
.tenant-sidebar .bold-menu a.is-active::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: #2457c5;
}

.tenant-nav-group {
  margin-bottom: 12px;
}

.tenant-nav-group.is-active .bold-menu-title,
.platform-nav-group.is-active summary > span {
  color: #2457c5;
}

.clean-sidebar .bold-menu a span,
.tenant-sidebar .bold-menu a span {
  font-size: 0.9rem;
  font-weight: 740;
}

.clean-sidebar .bold-menu a small,
.tenant-sidebar .bold-menu a small {
  color: #98a2b3;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.clean-sidebar .platform-nav-group summary {
  padding: 10px 34px 10px 11px;
  border-radius: 11px;
  color: #344054;
}

.clean-sidebar .platform-nav-group summary:hover,
.clean-sidebar .platform-nav-group[open] summary {
  background: #f3f6fb;
}

.clean-sidebar .platform-nav-group summary > span {
  font-size: 0.86rem;
  font-weight: 780;
}

.clean-sidebar .platform-submenu {
  margin: 4px 0 10px;
  padding-left: 8px;
  border-left: 1px solid #e6ebf2;
}

.clean-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.clean-metric,
.clean-panel,
.clean-notice-panel {
  min-width: 0;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.clean-metric {
  display: grid;
  gap: 4px;
  min-height: 116px;
  align-content: center;
  padding: 18px;
}

.clean-metric strong {
  color: #101828;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 780;
  line-height: 1;
}

.clean-metric small,
.clean-row small,
.clean-link-list small,
.clean-link-grid small,
.clean-activity small,
.clean-empty span,
.clean-notice-list small {
  color: #667085;
  line-height: 1.45;
}

.clean-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.clean-side-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.clean-panel {
  padding: 20px;
}

.clean-panel-large {
  min-height: 440px;
}

.clean-panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.clean-panel-head h2 {
  margin: 3px 0 0;
  color: #101828;
  font-size: 1.12rem;
  font-weight: 780;
}

.clean-list,
.clean-link-list,
.clean-link-grid,
.clean-activity {
  display: grid;
  gap: 10px;
}

.clean-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clean-row,
.clean-link-list a,
.clean-link-grid a {
  min-width: 0;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  background: #fbfcff;
  text-decoration: none;
}

.clean-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.clean-row-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: #2457c5;
  font-weight: 800;
}

.clean-row strong,
.clean-link-list strong,
.clean-link-grid strong,
.clean-activity strong,
.clean-empty strong,
.clean-notice-list strong {
  display: block;
  color: #101828;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.clean-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.clean-link-list a,
.clean-link-grid a {
  display: grid;
  gap: 4px;
  padding: 14px;
  color: #101828;
}

.clean-link-list a:hover,
.clean-link-grid a:hover {
  border-color: #d8e5fb;
  background: #f2f6ff;
}

.clean-activity > div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
}

.clean-activity > div > span {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: #2457c5;
  box-shadow: 0 0 0 5px rgba(36, 87, 197, 0.11);
}

.clean-activity p {
  margin: 0;
}

.clean-empty {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px dashed #ccd6e6;
  border-radius: 14px;
  background: #f8fbff;
}

.clean-notice-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
}

.clean-notice-panel > div > strong {
  display: block;
  margin-top: 2px;
  color: #101828;
  font-size: 1rem;
}

.clean-notice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.clean-notice-list article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 12px;
  background: #fbfcff;
}

.clean-notice-list article.is-unread {
  border-color: #c9daf8;
  background: #f1f6ff;
}

@media (max-width: 1199.98px) {
  .clean-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clean-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .clean-panel-large {
    min-height: 0;
  }
}

@media (max-width: 991.98px) {
  .clean-shell {
    grid-template-columns: 1fr;
  }

  .clean-sidebar,
  .tenant-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e6ebf2;
  }

  .clean-shell .bold-nav.clean-topbar,
  .clean-shell .bold-topbar.clean-topbar,
  .clean-notice-panel {
    grid-template-columns: 1fr;
  }

  .bold-nav.app-topbar,
  .clean-shell .bold-nav.app-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .clean-actions,
  .clean-shell .bold-user {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .clean-shell .bold-main {
    padding: 16px;
  }

  .clean-metric-grid,
  .clean-link-grid,
  .clean-notice-list {
    grid-template-columns: 1fr;
  }

  .clean-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .clean-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .clean-actions a,
  .clean-actions form,
  .clean-actions button,
  .clean-row-actions a {
    width: 100%;
  }
}

/* Minimal tenant sidebar */
.bold-shell:has(.minimal-tenant-sidebar) {
  grid-template-columns: 236px minmax(0, 1fr);
}

.minimal-tenant-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 14px;
  background: #ffffff;
  border-right: 1px solid #e6ebf2;
  box-shadow: none;
}

.tenant-sidebar-brand {
  display: block;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  color: #101828;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none;
}

.tenant-sidebar-brand span:last-child {
  display: block;
  min-width: 0;
}

.tenant-sidebar-brand strong {
  overflow: hidden;
  color: #101828;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-platform-link {
  display: block;
  padding: 10px 12px;
  border: 1px solid #dfe8f7;
  border-radius: 12px;
  color: #2457c5;
  background: #f4f8ff;
  text-decoration: none;
}

.tenant-platform-link span {
  font-size: 0.86rem;
  font-weight: 800;
}

.tenant-nav-list {
  display: grid;
  gap: 3px;
  margin-top: 4px;
}

.tenant-nav-link {
  position: relative;
  display: block;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #475467;
  background: transparent;
  text-decoration: none;
}

.tenant-nav-link:hover {
  color: #2457c5;
  background: #f3f7ff;
}

.tenant-nav-link.is-active {
  color: #1745a8;
  background: #eaf1ff;
  border-color: #d7e5ff;
}

.tenant-nav-link.is-active::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: #2457c5;
}

.tenant-nav-text {
  display: block;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 780;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tenant workspace consistency layer */
.bold-shell:has(.minimal-tenant-sidebar) {
  align-items: stretch;
  min-height: 100vh;
  background: #f6f8fb;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  padding: 0;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-nav.app-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 50px;
  padding: 4px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  background: rgba(246, 248, 251, 0.96);
  backdrop-filter: blur(12px);
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-content {
  gap: 14px;
  max-width: 1220px;
  padding: 14px 16px 22px;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-page-title span,
.bold-shell:has(.minimal-tenant-sidebar) .bold-kicker,
.bold-shell:has(.minimal-tenant-sidebar) .clean-panel-head span {
  color: #667085;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bold-shell:has(.minimal-tenant-sidebar) .clean-dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: 14px;
}

.bold-shell:has(.minimal-tenant-sidebar) .clean-side-stack {
  gap: 14px;
}

.bold-shell:has(.minimal-tenant-sidebar) .clean-panel-large {
  min-height: auto;
}

.bold-shell:has(.minimal-tenant-sidebar) .clean-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.bold-shell:has(.minimal-tenant-sidebar) .clean-link-grid small,
.bold-shell:has(.minimal-tenant-sidebar) .clean-link-list small {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
}

.bold-shell:has(.minimal-tenant-sidebar) .clean-panel-note {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 760;
}

.bold-shell:has(.minimal-tenant-sidebar) .staff-table-head,
.bold-shell:has(.minimal-tenant-sidebar) .staff-table-row,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-head,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-row {
  grid-template-columns: minmax(150px, 1.15fr) minmax(170px, 1.2fr) minmax(130px, 0.95fr) minmax(82px, 0.55fr) minmax(90px, 0.65fr) minmax(180px, auto);
}

.bold-shell:has(.minimal-tenant-sidebar) .staff-table-row > span,
.bold-shell:has(.minimal-tenant-sidebar) .staff-table-row > strong,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-row > span,
.bold-shell:has(.minimal-tenant-sidebar) .customer-table-row > strong {
  color: #344054;
  font-size: 0.88rem;
  line-height: 1.35;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions a,
.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions button,
.bold-shell:has(.minimal-tenant-sidebar) .admin-row-action {
  border: 1px solid #d9e3f1;
  color: #2457c5;
  background: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions a:hover,
.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions button:hover,
.bold-shell:has(.minimal-tenant-sidebar) .admin-row-action:hover {
  border-color: #bdd1f3;
  color: #1745a8;
  background: #f3f7ff;
}

.bold-shell:has(.minimal-tenant-sidebar) .bold-client-actions button.is-danger {
  border-color: #fecaca;
  color: #b42318;
  background: #fff7f7;
}

.bold-shell:has(.minimal-tenant-sidebar) .status-pill {
  justify-self: start;
  white-space: nowrap;
}

.bold-shell:has(.minimal-tenant-sidebar) .admin-empty-state {
  padding: 18px;
  border-radius: 12px;
  background: #f8fafc;
}

/* Notification UX polish */
.notification-page-shell .bold-content {
  gap: 14px;
}

.notification-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.notification-summary-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.notification-summary-grid span {
  color: #667085;
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notification-summary-grid strong {
  display: block;
  margin-top: 6px;
  color: #101828;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1;
}

.notification-summary-grid small {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 0.82rem;
}

.notification-workspace-grid {
  gap: 14px;
}

.notification-broadcast-card {
  min-height: auto;
}

.notification-inbox-panel,
.platform-notification-page .bold-panel {
  padding: 16px;
}

.notification-inbox-panel .bold-widget-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}

.notification-empty-state {
  display: grid;
  gap: 5px;
  min-height: 120px;
  place-content: center;
  text-align: center;
}

.client-notification-list,
.notification-admin-list {
  display: grid;
  gap: 10px;
}

.client-notification-row {
  border-radius: 14px;
  box-shadow: none;
}

.client-notification-row.is-unread {
  border-color: #bdd1f3;
  background: #fbfdff;
}

.client-notification-row.is-unread::before {
  content: "";
  grid-row: 1;
  width: 4px;
  background: #2457c5;
}

.client-notification-row.is-unread:not(:has(img)) {
  grid-template-columns: 4px minmax(0, 1fr);
}

.client-notification-row.is-unread:not(:has(img)) .client-notification-card-body {
  grid-column: 2;
}

.client-notification-row:has(img).is-unread {
  grid-template-columns: 4px 170px minmax(0, 1fr);
}

.client-notification-row:has(img).is-unread .client-notification-media {
  grid-column: 2;
}

.client-notification-row:has(img).is-unread .client-notification-card-body {
  grid-column: 3;
}

.client-notification-card-body {
  padding: 16px;
}

.notification-rich-text {
  max-width: 860px;
  color: #475467;
  font-size: 0.92rem;
}

.notification-rich-text > :last-child {
  margin-bottom: 0;
}

.notification-meta-line {
  padding-top: 2px;
}

.client-notification-actions,
.notification-admin-actions {
  padding-top: 2px;
}

.notification-admin-row {
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  padding: 14px;
  border-radius: 14px;
  box-shadow: none;
}

.notification-admin-row.is-archived {
  opacity: 0.72;
}

.notification-admin-row h3 {
  margin-bottom: 7px;
}

.notification-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 7px;
  color: #667085;
  font-size: 0.82rem;
}

.notification-admin-meta > span:not(.notification-priority) {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f2f4f7;
  font-weight: 760;
}

.notification-admin-stats {
  gap: 7px;
  align-content: center;
  justify-items: end;
}

.notification-admin-stats .notification-state {
  justify-self: end;
}

.notification-state.is-active {
  color: #067647;
  background: #ecfdf3;
}

.notification-state.is-inactive {
  color: #92400e;
  background: #fffaeb;
}

.notification-state.is-archived {
  color: #475467;
  background: #f2f4f7;
}

.notification-admin-actions {
  justify-content: flex-end;
}

.notification-compose-shell {
  gap: 14px;
}

.notification-compose-panel,
.notification-compose-aside .notification-tip-card {
  border-radius: 14px;
  box-shadow: none;
}

.rich-editor-toolbar {
  gap: 6px;
  padding: 8px;
}

.rich-editor-toolbar button {
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.78rem;
}

.rich-editor-surface {
  min-height: 220px;
  padding: 14px;
}

@media (max-width: 1100px) {
  .bold-shell:has(.minimal-tenant-sidebar) .staff-table-head,
  .bold-shell:has(.minimal-tenant-sidebar) .customer-table-head {
    display: none;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .staff-table-row,
  .bold-shell:has(.minimal-tenant-sidebar) .customer-table-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .bold-shell:has(.minimal-tenant-sidebar) .staff-table-row .bold-client-actions,
  .bold-shell:has(.minimal-tenant-sidebar) .customer-table-row .bold-client-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .notification-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notification-admin-row {
    grid-template-columns: 1fr;
  }

  .notification-admin-stats,
  .notification-admin-stats .notification-state,
  .notification-admin-actions {
    justify-items: start;
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .bold-shell:has(.minimal-tenant-sidebar) {
    grid-template-columns: 1fr;
  }

  .minimal-tenant-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e6ebf2;
  }

  .tenant-nav-link {
    text-align: center;
  }

  .client-notification-row:has(img).is-unread {
    grid-template-columns: 4px minmax(0, 1fr);
  }

  .client-notification-row:has(img).is-unread .client-notification-media,
  .client-notification-row:has(img).is-unread .client-notification-card-body {
    grid-column: 2;
  }
}

@media (max-width: 575.98px) {
  .tenant-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tenant-nav-link {
    min-height: 42px;
    padding: 10px 8px;
  }

  .tenant-sidebar-brand {
    min-height: 42px;
  }

  .notification-summary-grid {
    grid-template-columns: 1fr;
  }

  .notification-summary-grid article {
    padding: 12px;
  }

  .notification-inbox-panel,
  .platform-notification-page .bold-panel {
    padding: 14px;
  }

  .notification-admin-actions,
  .notification-admin-actions form,
  .notification-admin-actions a,
  .notification-admin-actions button {
    width: 100%;
  }
}

/* Final after-login layout and button consistency */
.bold-shell.clean-shell {
  min-height: 100vh;
  background: #f6f8fb;
}

.bold-shell.clean-shell .bold-main {
  min-width: 0;
  padding: 0;
  background: #f6f8fb;
}

.bold-shell.clean-shell .bold-content {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 16px 18px 24px;
}

.bold-shell.clean-shell .bold-page-title {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 2px 0 4px;
}

.bold-shell.clean-shell .bold-page-title h1 {
  margin: 0;
  color: #101828;
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  font-weight: 820;
  line-height: 1.18;
  letter-spacing: 0;
}

.bold-shell.clean-shell .bold-page-title p {
  max-width: 760px;
  margin: 0;
  color: #667085;
  font-size: 0.93rem;
  line-height: 1.5;
}

.bold-shell.clean-shell .bold-dashboard-grid,
.bold-shell.clean-shell .clean-dashboard-grid {
  gap: 14px;
}

.bold-shell.clean-shell .bold-panel,
.bold-shell.clean-shell .bold-quick-actions,
.bold-shell.clean-shell .bold-hero-widget,
.bold-shell.clean-shell .bold-stat-card,
.bold-shell.clean-shell .bold-role-card,
.bold-shell.clean-shell .clean-panel,
.bold-shell.clean-shell .clean-metric,
.bold-shell.clean-shell .clean-notice-panel,
.bold-shell.clean-shell .notification-summary-grid article {
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.bold-shell.clean-shell .bold-panel,
.bold-shell.clean-shell .bold-quick-actions,
.bold-shell.clean-shell .clean-panel {
  padding: 16px;
}

.bold-shell.clean-shell .bold-hero-widget {
  min-height: auto;
  padding: 16px;
}

.bold-shell.clean-shell .bold-hero-widget h2,
.bold-shell.clean-shell .bold-widget-head h2,
.bold-shell.clean-shell .clean-panel-head h2 {
  color: #101828;
  font-size: clamp(1.02rem, 1.25vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.bold-shell.clean-shell .bold-hero-widget p,
.bold-shell.clean-shell .bold-panel p,
.bold-shell.clean-shell .clean-panel p {
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.55;
}

.bold-shell.clean-shell .admin-row-action,
.bold-shell.clean-shell .bold-client-actions a,
.bold-shell.clean-shell .bold-client-actions button,
.bold-shell.clean-shell .bold-widget-head a,
.bold-shell.clean-shell .bold-hero-widget a,
.bold-shell.clean-shell .clean-actions a,
.bold-shell.clean-shell .clean-actions button,
.bold-shell.clean-shell .notification-submit-row a,
.bold-shell.clean-shell .notification-admin-actions a,
.bold-shell.clean-shell .notification-admin-actions button,
.bold-shell.clean-shell .subscription-actions a,
.bold-shell.clean-shell .subscription-actions button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #d9e3f1;
  border-radius: 10px;
  color: #2457c5;
  background: #ffffff;
  font-size: 0.83rem;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

.bold-shell.clean-shell .admin-row-action:hover,
.bold-shell.clean-shell .bold-client-actions a:hover,
.bold-shell.clean-shell .bold-client-actions button:hover,
.bold-shell.clean-shell .bold-widget-head a:hover,
.bold-shell.clean-shell .bold-hero-widget a:hover,
.bold-shell.clean-shell .clean-actions a:hover,
.bold-shell.clean-shell .clean-actions button:hover,
.bold-shell.clean-shell .notification-submit-row a:hover,
.bold-shell.clean-shell .notification-admin-actions a:hover,
.bold-shell.clean-shell .notification-admin-actions button:hover,
.bold-shell.clean-shell .subscription-actions a:hover,
.bold-shell.clean-shell .subscription-actions button:hover {
  border-color: #bdd1f3;
  color: #1745a8;
  background: #f3f7ff;
}

.bold-shell.clean-shell .is-primary,
.bold-shell.clean-shell .admin-row-action.is-primary,
.bold-shell.clean-shell .bold-client-actions .is-primary,
.bold-shell.clean-shell .clean-actions .is-primary,
.bold-shell.clean-shell .bold-hero-widget > a {
  border-color: #2457c5;
  color: #ffffff;
  background: #2457c5;
}

.bold-shell.clean-shell .is-primary:hover,
.bold-shell.clean-shell .admin-row-action.is-primary:hover,
.bold-shell.clean-shell .bold-client-actions .is-primary:hover,
.bold-shell.clean-shell .clean-actions .is-primary:hover,
.bold-shell.clean-shell .bold-hero-widget > a:hover {
  border-color: #1745a8;
  color: #ffffff;
  background: #1745a8;
}

.bold-shell.clean-shell .is-danger,
.bold-shell.clean-shell .admin-row-action.is-danger,
.bold-shell.clean-shell button.is-danger {
  border-color: #fecaca;
  color: #b42318;
  background: #fff7f7;
}

.bold-shell.clean-shell .is-danger:hover,
.bold-shell.clean-shell .admin-row-action.is-danger:hover,
.bold-shell.clean-shell button.is-danger:hover {
  border-color: #fca5a5;
  color: #991b1b;
  background: #fff1f1;
}

.bold-shell.clean-shell .bold-client-actions,
.bold-shell.clean-shell .notification-admin-actions,
.bold-shell.clean-shell .subscription-actions,
.bold-shell.clean-shell .clean-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bold-shell.clean-shell .admin-form-grid {
  gap: 14px;
}

.bold-shell.clean-shell .form-control,
.bold-shell.clean-shell .form-select,
.bold-shell.clean-shell input,
.bold-shell.clean-shell select,
.bold-shell.clean-shell textarea {
  max-width: 100%;
}

.bold-shell.clean-shell .form-control,
.bold-shell.clean-shell .form-select {
  min-height: 42px;
  border-color: #d8e0ec;
  border-radius: 10px;
}

.bold-shell.clean-shell .admin-field span,
.bold-shell.clean-shell label > span {
  color: #344054;
  font-size: 0.82rem;
  font-weight: 760;
}

.bold-shell.clean-shell .bold-alert,
.bold-shell.clean-shell .admin-alert {
  border-radius: 12px;
}

.bold-shell.clean-shell .staff-table,
.bold-shell.clean-shell .customer-table,
.bold-shell.clean-shell .bold-client-list,
.bold-shell.clean-shell .notification-admin-list,
.bold-shell.clean-shell .client-notification-list {
  overflow-x: auto;
}

.bold-shell.clean-shell .staff-table-head,
.bold-shell.clean-shell .staff-table-row,
.bold-shell.clean-shell .customer-table-head,
.bold-shell.clean-shell .customer-table-row {
  min-width: 880px;
}

.bold-shell.clean-shell .bold-role-card,
.bold-shell.clean-shell .bold-client-row,
.bold-shell.clean-shell .notification-admin-row,
.bold-shell.clean-shell .client-notification-row {
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.bold-shell.clean-shell .bold-role-card:hover,
.bold-shell.clean-shell .bold-client-row:hover,
.bold-shell.clean-shell .notification-admin-row:hover,
.bold-shell.clean-shell .client-notification-row:hover {
  border-color: #d8e5fb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

@media (max-width: 991.98px) {
  .bold-shell.clean-shell {
    grid-template-columns: 1fr;
  }

  .bold-shell.clean-shell .bold-content {
    padding: 14px 14px 22px;
  }

  .bold-shell.clean-shell .clean-dashboard-grid,
  .bold-shell.clean-shell .notification-compose-shell {
    grid-template-columns: 1fr;
  }

  .bold-shell.clean-shell .clean-panel-large {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .bold-shell.clean-shell .bold-content {
    padding: 12px;
  }

  .bold-shell.clean-shell .bold-panel,
  .bold-shell.clean-shell .bold-quick-actions,
  .bold-shell.clean-shell .clean-panel,
  .bold-shell.clean-shell .bold-hero-widget {
    padding: 14px;
  }

  .bold-shell.clean-shell .bold-client-actions,
  .bold-shell.clean-shell .notification-admin-actions,
  .bold-shell.clean-shell .subscription-actions,
  .bold-shell.clean-shell .clean-actions,
  .bold-shell.clean-shell .notification-submit-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .bold-shell.clean-shell .bold-client-actions form,
  .bold-shell.clean-shell .notification-admin-actions form,
  .bold-shell.clean-shell .subscription-actions form,
  .bold-shell.clean-shell .bold-client-actions a,
  .bold-shell.clean-shell .bold-client-actions button,
  .bold-shell.clean-shell .notification-admin-actions a,
  .bold-shell.clean-shell .notification-admin-actions button,
  .bold-shell.clean-shell .subscription-actions a,
  .bold-shell.clean-shell .subscription-actions button,
  .bold-shell.clean-shell .notification-submit-row a,
  .bold-shell.clean-shell .notification-submit-row button {
    width: 100%;
  }
}
