:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #25231f;
  background: #f4f5f2;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f4f5f2;
}

button,
input {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(30, 104, 73, 0.28);
  outline-offset: 2px;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: #eef1ed;
}

.login-panel {
  width: min(100%, 420px);
  padding: 32px;
  border: 1px solid #d7dcd5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 39, 34, 0.09);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #1e6849;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 700;
}

.product-name,
.eyebrow {
  margin: 18px 0 6px;
  color: #7a6425;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-panel h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
}

.login-subtitle {
  margin: 8px 0 24px;
  color: #696b66;
  font-size: 14px;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 9px;
}

.activate-form[hidden] {
  display: none;
}

.recovery-form[hidden],
.reset-password-form[hidden],
.activate-login-link[hidden] {
  display: none;
}

.activate-login-link {
  display: block;
  margin-top: 20px;
  color: #1e6849;
  text-align: center;
  line-height: 1.5;
}

.activate-login-link.primary-button {
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
}

.login-form label:not(.show-password) {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
}

.login-form input[type='email'],
.login-form input[type='password'],
.login-form input[type='text'] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #bfc7be;
  border-radius: 5px;
  color: #25231f;
  background: #ffffff;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input[type='password'],
.password-field input[type='text'] {
  padding-right: 66px;
}

.toggle-password {
  position: absolute;
  top: 5px;
  right: 5px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #b9c5bc;
  border-radius: 5px;
  color: #24563f;
  background: #f4f7f3;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0 10px;
  color: #555951;
  font-size: 13px;
}

.primary-button,
.logout-button {
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.primary-button {
  color: #ffffff;
  background: #1e6849;
  font-weight: 700;
}

.primary-button:disabled,
.logout-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status,
.page-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: #6b6f69;
  font-size: 13px;
}

.error-text {
  color: #a22a23;
}

.success-text {
  color: #17613f;
}

.form-status.error-text {
  padding: 11px 12px;
  border: 1px solid #e2b4af;
  border-left: 4px solid #a22a23;
  border-radius: 6px;
  color: #8f241e;
  background: #fff0ee;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.recovery-result.success-text {
  min-height: 0;
  margin: 18px 0 0;
  padding: 17px 16px;
  border: 1px solid #bdd8c8;
  border-left: 4px solid #1e6849;
  border-radius: 7px;
  color: #194f38;
  background: #edf7f1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.app-shell {
  min-height: 100vh;
  padding-top: 68px;
}

.app-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 68px;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #d8ddd6;
  background: #ffffff;
}

.header-left,
.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.header-actions {
  justify-content: flex-end;
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 9px;
  border: 1px solid #c8d0c7;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #28513f;
}

.app-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.app-brand strong,
.app-brand small {
  display: block;
}

.app-brand img.brand-mark {
  display: block;
  object-fit: cover;
  background: transparent;
}

.app-brand strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
}

.app-brand small {
  margin-top: 2px;
  color: #72756f;
  font-size: 11px;
}

.logout-button {
  padding: 0 16px;
  border: 1px solid #c9cec7;
  color: #393b37;
  background: #ffffff;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: calc(100vh - 68px);
}

.app-sidebar {
  position: sticky;
  grid-column: 2;
  grid-row: 1;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  border-left: 1px solid #d8ddd6;
  background: #ffffff;
}

.sidebar-profile {
  padding: 22px 20px 18px;
  border-bottom: 1px solid #e2e6e0;
}

.sidebar-profile span,
.sidebar-profile strong,
.sidebar-profile small {
  display: block;
}

.sidebar-profile span {
  color: #7a6425;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-profile strong {
  margin-top: 7px;
  color: #25231f;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}

.sidebar-profile small {
  margin-top: 6px;
  color: #6b7069;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.sidebar-nav span {
  margin: 18px 8px 6px;
  padding: 6px 0 6px 10px;
  border-left: 3px solid #c6ad5a;
  color: #7a6425;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-nav span:nth-of-type(2) {
  border-left-color: #1e6849;
  color: #1e6849;
}

.sidebar-nav span:nth-of-type(3) {
  border-left-color: #8b3a32;
  color: #8b3a32;
}

.sidebar-nav button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #444942;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.sidebar-nav button:hover,
.sidebar-nav button.active {
  border-color: #d7e3da;
  color: #1e6849;
  background: #edf5f0;
}

body[data-page='client'] .sidebar-nav span {
  margin-top: 15px;
  padding: 10px 8px 5px;
  border: 0;
  border-top: 1px solid #e6e9e4;
  color: #747a73;
  font-size: 9px;
  letter-spacing: 0.11em;
}

body[data-page='client'] .sidebar-nav button.active {
  border-color: #c9ded0;
  box-shadow: inset 3px 0 0 #1e6849;
}

body[data-page='master'] .sidebar-nav span {
  margin-top: 15px;
  padding: 10px 8px 5px;
  border: 0;
  border-top: 1px solid #e6e9e4;
  color: #747a73;
  font-size: 9px;
  letter-spacing: 0.11em;
}

body[data-page='master'] .sidebar-nav button.active {
  border-color: #c9ded0;
  box-shadow: inset 3px 0 0 #1e6849;
}

.sidebar-logout {
  width: 100%;
  margin-top: 18px;
  justify-content: flex-start;
  border-color: #cfd6ce;
  text-align: left;
}

.sidebar-logout:hover {
  border-color: #b8c5bb;
  color: #1e6849;
  background: #f4f7f3;
}

.app-shell.sidebar-collapsed .workspace {
  grid-template-columns: minmax(0, 1fr) 0;
}

.app-shell.sidebar-collapsed .app-sidebar {
  visibility: hidden;
  transform: translateX(100%);
}

.sidebar-backdrop {
  display: none;
}

.dashboard {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 30px clamp(18px, 3vw, 42px) 54px;
}

.dashboard-content {
  width: min(100%, 1260px);
}

.page-heading,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.page-heading .eyebrow {
  margin: 0 0 5px;
}

.page-heading h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
}

.user-email,
.current-user {
  color: #696d67;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.account-identity {
  display: grid;
  gap: 3px;
  text-align: right;
}

.user-name {
  color: #353a34;
  font-size: 14px;
}

.page-tabs {
  display: flex;
  gap: 4px;
  margin-top: 24px;
  border-bottom: 1px solid #ced4cc;
}

.page-tabs button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #626660;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.page-tabs button.active {
  border-bottom-color: #1e6849;
  color: #1e6849;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.metrics article {
  min-height: 108px;
  padding: 20px;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.metrics span,
.metrics strong,
.metrics small {
  display: block;
}

.metrics span {
  color: #6b6f69;
  font-size: 13px;
}

.metrics strong {
  margin-top: 10px;
  color: #1e6849;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
}

.metrics small {
  margin-top: 5px;
  color: #6b6f69;
  font-size: 11px;
}

body[data-page="client"] .metrics article {
  padding: 0;
  overflow: hidden;
}

.client-metric-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 126px;
  padding: 20px;
  border: 0;
  border-radius: inherit;
  background: #ffffff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.client-metric-link:hover {
  background: #eef6ef;
}

.client-metric-link:focus-visible {
  outline: 3px solid #23815a;
  outline-offset: -3px;
}

.client-payment-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 18px 0 10px;
}

.client-payment-filters label {
  display: grid;
  flex: 1 1 150px;
  gap: 6px;
  font-size: 13px;
}

.client-payment-filters input,
.client-payment-filters select {
  width: 100%;
  min-height: 42px;
  padding: 9px;
  border: 1px solid #d8ddd6;
  border-radius: 6px;
  background: #fff;
  color: #202720;
  font: inherit;
}

.session-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid #dce2dc;
  border-radius: 8px;
  background: #f8faf8;
}

.session-filters label {
  display: grid;
  align-content: end;
  gap: 6px;
  color: #555b55;
  font-size: 12px;
  font-weight: 700;
}

.session-filters input,
.session-filters select {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #cfd7d0;
  border-radius: 6px;
  color: #242a25;
  background: #ffffff;
  font: inherit;
}

.session-search {
  grid-column: span 2;
}

.session-filter-actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

.session-filter-actions button {
  min-height: 42px;
}

.session-list-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #606760;
  font-size: 12px;
}

.session-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.session-pagination span {
  color: #5d645e;
  font-size: 12px;
}

.session-pagination button:disabled {
  cursor: default;
  opacity: 0.45;
}

@media (max-width: 640px) {
  .session-filters {
    grid-template-columns: 1fr;
  }

  .session-search {
    grid-column: auto;
  }

  .session-filter-actions {
    flex-wrap: wrap;
  }

  .session-pagination {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.client-payment-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.client-payment-summary > div {
  padding: 16px;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #fff;
}

.client-payment-summary span,
.client-payment-summary strong { display: block; }
.client-payment-summary span { color: #6b6f69; font-size: 13px; }
.client-payment-summary strong { margin-top: 8px; color: #1e6849; font-size: 21px; }
.client-payment-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.client-payment-pagination button:disabled { opacity: .45; cursor: default; }
.receipt-delete-button { display:inline-grid; width:32px; height:32px; margin-left:7px; padding:0; place-items:center; border:1px solid #b42318; border-radius:6px; color:#b42318; background:#fff; cursor:pointer; vertical-align:middle; }
.receipt-delete-button:hover:not(:disabled) { color:#fff; background:#b42318; }
.receipt-delete-button:disabled { opacity:.5; cursor:wait; }
.receipt-delete-button svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }

.client-refund-dialog { max-height: 90vh; overflow: auto; }
.client-refund-dialog .client-refund-form,
.client-receive-dialog .client-receive-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.client-refund-dialog h2 { margin: 0; font-size: 21px; }
.client-refund-dialog label { display: grid; gap: 8px; }
.client-refund-dialog textarea { width: 100%; padding: 10px; border: 1px solid #d8ddd6; border-radius: 6px; font: inherit; resize: vertical; }
.client-refund-dialog label:has(input[type="checkbox"]) { display: flex; align-items: start; }
.client-refund-dialog input[type="checkbox"] { width: auto; min-height: 0; margin-top: 3px; }
.client-refund-dialog .app-notice-actions { flex-wrap: wrap; padding: 0; }

@media (max-width: 640px) {
  .client-metric-link {
    min-height: 112px;
    padding: 13px;
  }
}

.data-section {
  padding-top: 18px;
}

.dashboard-shortcuts {
  margin-top: 30px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.shortcut-card {
  min-height: 118px;
  padding: 18px;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  color: #2f342e;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(31, 39, 34, 0.05);
}

.shortcut-card:hover,
.shortcut-card.active {
  border-color: #9cb7a8;
  box-shadow: 0 12px 28px rgba(31, 39, 34, 0.09);
}

body[data-page='client'] .shortcut-card-primary {
  border-color: #c6ddce;
  border-left: 4px solid #1e6849;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
}

body[data-page='master'] .shortcut-card-primary {
  border-color: #c6ddce;
  border-left: 4px solid #1e6849;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
}

.shortcut-card strong,
.shortcut-card span {
  display: block;
}

.shortcut-card strong {
  color: #1e6849;
  font-size: 15px;
}

.shortcut-card span {
  margin-top: 8px;
  color: #626760;
  font-size: 12px;
  line-height: 1.5;
}

.saas-panel {
  padding-top: 26px;
}

.saas-heading {
  margin-bottom: 18px;
}

.saas-heading .eyebrow {
  margin: 0 0 4px;
}

.saas-heading h2,
.saas-panel h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}

.saas-heading h2 {
  font-size: 24px;
}

.saas-panel h3 {
  font-size: 18px;
}

.saas-clients-list-heading {
  margin-bottom: 13px;
}

.saas-panel[data-view-panel="clients"] {
  padding-top: 10px;
}

.saas-panel[data-view-panel="clients"] > .data-section {
  padding-top: 0;
}

.saas-clients-list-heading h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.saas-clients-list-heading .saas-summary {
  color: #677167;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
}

.saas-summary,
.saas-heading > span,
.saas-heading-actions span,
.saas-plans-section .section-heading span {
  color: #676c65;
  font-size: 12px;
}

.saas-heading-actions {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.saas-client-form {
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.saas-client-form fieldset {
  margin: 0;
  padding: 20px;
  border: 0;
}

.saas-client-form legend {
  padding: 0;
  color: #3d413b;
  font-size: 14px;
  font-weight: 700;
}

.saas-client-form label,
.saas-site-form label,
.client-site-form label {
  display: grid;
  gap: 6px;
  color: #5b5f58;
  font-size: 12px;
  font-weight: 700;
}

.saas-client-form input,
.saas-client-form select,
.saas-site-form input,
.saas-site-form select,
.client-site-form input,
.client-site-form select,
.plan-price-input {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #bdc6bc;
  border-radius: 5px;
  color: #292c27;
  background: #ffffff;
}

.saas-plans-form .table-wrap { overflow-x: auto; border: 1px solid #d8ddd6; border-radius: 10px; background: #fff; }
.saas-plans-form table { width: 100%; min-width: 0; table-layout: fixed; }
.saas-plans-form th, .saas-plans-form td { padding: 14px 16px; vertical-align: middle; }
.saas-plans-form th { background: #f5f7f3; color: #555d51; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.saas-plans-form tbody tr + tr td { border-top: 1px solid #edf0eb; }
.saas-plans-form tbody td:first-child { width: 27%; color: #252a24; font-weight: 700; white-space: normal; overflow-wrap: break-word; }
.saas-plans-form .plan-price-input, .saas-plans-form .plan-discount-input { box-sizing: border-box; height: 42px; min-width: 0; padding: 0 11px; border: 1px solid #bdc6bc; border-radius: 5px; background: #fff; color: #292c27; font-size: 15px; font-weight: 600; }
.saas-plans-form .plan-price-input { width: min(146px, 100%); }
.saas-plans-form .plan-discount-input { width: min(74px, 100%); }
.saas-plans-form tbody td:nth-child(1) { width: 26%; }
.saas-plans-form tbody td:nth-child(2) { width: 12%; }
.saas-plans-form tbody td:nth-child(3) { width: 18%; }
.saas-plans-form tbody td:nth-child(4) { width: 14%; }
.saas-plans-form tbody td:nth-child(5) { width: 14%; }
.saas-plans-form tbody td:nth-child(6) { width: 7%; }
.saas-plans-form tbody td:nth-child(7) { width: 9%; }
.saas-plans-form .plan-discount-input { margin-left: 0; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-actions .secondary-button, .plan-actions .danger-button { min-width: 0; height: 34px; padding: 0 9px; font-size: 11px; }
.plan-final-value { color: #18794e; white-space: nowrap; }
.client-plan-price-preview { margin-top: 8px; color: #18794e; font-size: 14px; }
.client-plan-price-preview .client-plan-name { display: block; margin-bottom: 3px; color: #292c27; font-weight: 400; }
.client-plan-price-preview .old-price { margin-right: 6px; color: #858b82; text-decoration: line-through; }
.client-plan-price-preview small { margin-left: 5px; color: #18794e; font-weight: 400; }

.saas-sites-section,
.saas-plans-section {
  margin-top: 26px;
  padding-top: 2px;
}

.saas-sites-section .section-heading,
.saas-plans-section .section-heading {
  margin-bottom: 13px;
}

.saas-site-form,
.client-site-form {
  align-items: end;
  margin-top: 0;
  padding: 18px;
  border-top: 1px solid #d8ddd6;
  border-bottom: 1px solid #d8ddd6;
}

.view-panel > .saas-site-form,
.view-panel > .client-site-form {
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.saas-inline-action {
  display: flex;
  height: 42px;
  align-items: end;
}

.saas-inline-action button {
  width: 100%;
}

@media (min-width: 641px) {
  .client-site-form .client-plan-field,
  .client-site-form .saas-inline-action,
  .client-site-form .client-site-status {
    grid-column: 1 / -1;
  }

  .client-site-form .saas-inline-action {
    height: auto;
    margin-top: -2px;
  }
}

.saas-site-status,
.client-site-status {
  min-height: 18px;
  margin: 0;
  color: #636861;
  font-size: 12px;
}

.field-hint {
  color: #747871;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.saas-form-status,
.saas-plans-status {
  min-height: 18px;
  margin: 0 auto 0 0;
  font-size: 13px;
}

.saas-clients-body td {
  white-space: normal;
  vertical-align: top;
}

.saas-clients-body td:nth-child(1) { width: 12%; font-weight: 700; }
.saas-clients-body td:nth-child(2) { width: 22%; }
.saas-clients-body td:nth-child(3) { width: 28%; }
.saas-clients-body td:nth-child(4) { width: 20%; }
.saas-clients-body td:nth-child(5) { width: 18%; }

.saas-sites-list,
.saas-subscriptions-list {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.saas-site-item,
.saas-subscription-item {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #e0e6df;
  border-radius: 7px;
  background: #f8faf7;
}

.saas-site-item > span,
.saas-subscription-item > span:first-child {
  color: #29322b;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.saas-site-item small {
  color: #676c65;
  font-size: 11px;
}

.saas-site-item .delete-site-inline {
  justify-self: start;
  margin-top: 2px;
  padding: 7px 10px;
  font-size: 11px;
}

.saas-subscription-item .status-badge {
  justify-self: start;
}

.saas-client-actions {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.saas-client-actions .secondary-button,
.saas-client-actions .danger-button {
  width: 100%;
  max-width: 142px;
  margin: 0;
}

.saas-list {
  display: grid;
  gap: 5px;
  min-width: 150px;
}

.saas-list span {
  overflow-wrap: anywhere;
}

.saas-list small {
  color: #676c65;
  font-size: 11px;
}

.saas-list .delete-site-inline {
  justify-self: start;
  padding: 7px 10px;
  font-size: 11px;
}

.resend-invite {
  white-space: nowrap;
}

.saas-clients-body .edit-client,
.saas-clients-body .resend-invite,
.saas-clients-body .delete-client {
  margin: 0 6px 6px 0;
}

.client-access-status {
  display: block;
  color: #17613f;
  font-size: 12px;
  font-weight: 700;
}

/* Diretório de empresas SaaS: cartões compactos, legíveis e responsivos. */
.saas-client-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 14px;
}

.saas-client-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e1d7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 55, 38, .05);
}

.saas-client-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px 13px;
  border-bottom: 1px solid #edf1ec;
}

.saas-client-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.saas-client-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #17613f;
  background: #e5f1e8;
  font-size: 12px;
  font-weight: 800;
}

.saas-client-company {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.saas-client-company strong {
  overflow: hidden;
  color: #263329;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-client-company span {
  overflow: hidden;
  color: #687068;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-client-company .saas-client-trial-meta {
  color: #8a681c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.saas-client-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.saas-client-detail {
  min-width: 0;
  padding: 12px 16px;
}

.saas-client-detail + .saas-client-detail {
  border-left: 1px solid #edf1ec;
}

.saas-client-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  color: #667066;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.saas-client-detail-heading strong {
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  color: #17613f;
  background: #eaf4ec;
  font-size: 11px;
}

.saas-client-card .saas-sites-list,
.saas-client-card .saas-subscriptions-list {
  gap: 6px;
}

.saas-client-card .saas-site-item,
.saas-client-card .saas-subscription-item {
  gap: 3px;
  padding: 8px 9px;
  border-color: #e4ebe3;
  border-radius: 7px;
  background: #fafcf9;
}

.saas-client-card .saas-site-item > span,
.saas-client-card .saas-subscription-item > span:first-child {
  font-size: 12px;
}

.saas-client-card .saas-site-item .delete-site-inline {
  margin-top: 4px;
  padding: 5px 7px;
  font-size: 10px;
}

.saas-client-card .saas-client-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-top: 1px solid #edf1ec;
  background: #fcfdfb;
}

.saas-client-card .saas-client-actions .secondary-button,
.saas-client-card .saas-client-actions .danger-button {
  width: auto;
  max-width: none;
  min-height: 32px;
  margin: 0;
  padding: 0 9px;
  font-size: 11px;
}

.saas-client-card .saas-client-actions .client-access-status,
.saas-client-card .saas-client-actions .invite-status {
  flex-basis: 100%;
  margin: 0;
}

.saas-client-empty-state {
  margin: 0;
  padding: 24px 18px;
  border: 1px dashed #cdd8cc;
  border-radius: 10px;
  color: #687068;
  background: #fbfdfb;
  font-size: 13px;
  text-align: center;
}

/* Lista operacional: cada site permanece alinhado à sua assinatura. */
.saas-client-directory {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.saas-client-site-list {
  min-width: 0;
}

.saas-client-site-list-head,
.saas-client-site-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.saas-client-site-list-head {
  padding: 9px 16px;
  color: #697568;
  background: #f7faf6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.saas-client-site-row {
  min-height: 72px;
  padding: 11px 16px;
  border-top: 1px solid #edf1ec;
}

.saas-client-site-row:nth-child(odd) {
  background: #fafcf9;
}

.saas-client-site-info,
.saas-client-subscription-info {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.saas-client-site-info strong,
.saas-client-subscription-item strong {
  overflow-wrap: anywhere;
  color: #28342a;
  font-size: 13px;
  line-height: 1.25;
}

.saas-client-site-info > span {
  overflow-wrap: anywhere;
  color: #4f5d50;
  font-size: 12px;
}

.saas-client-subscription-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.saas-client-subscription-item + .saas-client-subscription-item {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #edf1ec;
}

.saas-no-subscription {
  color: #788178;
  font-size: 12px;
}

.saas-client-site-row .delete-site-inline {
  min-height: 31px;
  margin: 0;
  padding: 0 9px;
  font-size: 11px;
  white-space: nowrap;
}

.saas-client-subscription-item .status-pendente {
  color: #9a332b;
  background: #fbe9e7;
}

.saas-client-no-sites {
  margin: 0;
  padding: 17px 16px;
  color: #788178;
  font-size: 13px;
}

.saas-client-toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #e0e7df;
  border-radius: 10px;
  background: #fafcf9;
}

.saas-client-search,
.saas-client-filter {
  display: grid;
  gap: 5px;
  color: #657064;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.saas-client-search {
  flex: 1 1 280px;
}

.saas-client-filter {
  flex: 0 0 150px;
}

.saas-client-search input,
.saas-client-filter select {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd6ca;
  border-radius: 7px;
  color: #29322b;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.saas-client-search input:focus,
.saas-client-filter select:focus {
  outline: 2px solid rgba(30, 104, 73, .2);
  outline-offset: 1px;
  border-color: #398260;
}

.saas-client-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 16px;
}

.saas-page-button {
  display: grid;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid #cbd6ca;
  border-radius: 7px;
  color: #3e4e41;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.saas-page-button:hover:not(:disabled),
.saas-page-button.active {
  border-color: #1e6849;
  color: #fff;
  background: #1e6849;
}

.saas-page-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.danger-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #922c25;
  border-radius: 5px;
  color: #ffffff;
  background: #922c25;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.danger-button:hover:not(:disabled) {
  background: #741f1a;
}

.danger-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.saas-edit-dialog,
.saas-delete-dialog,
.saas-plan-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid #aeb8ad;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(17, 27, 21, 0.3);
}

.saas-edit-dialog::backdrop,
.saas-delete-dialog::backdrop,
.saas-plan-dialog::backdrop {
  background: rgba(18, 25, 21, 0.62);
}

.saas-edit-form > header,
.saas-delete-form > header,
.saas-plan-form > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #dce1da;
}

.saas-edit-form > header strong,
.saas-edit-form > header span,
.saas-delete-form > header strong,
.saas-delete-form > header span,
.saas-plan-form > header strong,
.saas-plan-form > header span {
  display: block;
}

.saas-edit-form > header span,
.saas-delete-form > header span,
.saas-plan-form > header span {
  margin-top: 4px;
  color: #676c65;
  font-size: 12px;
}

.saas-edit-form fieldset,
.saas-plan-form fieldset {
  margin: 0;
  padding: 20px;
  border: 0;
}

.saas-edit-form label,
.saas-plan-form label {
  display: grid;
  gap: 6px;
  color: #5b5f58;
  font-size: 12px;
  font-weight: 700;
}

.saas-edit-form input,
.saas-edit-form select,
.saas-plan-form input:not([type="checkbox"]),
.saas-plan-form select {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #bdc6bc;
  border-radius: 5px;
  color: #292c27;
  background: #ffffff;
}

.saas-delete-warning {
  margin: 18px 20px;
  padding: 12px;
  border-left: 3px solid #922c25;
  color: #69251f;
  background: #f8e7e4;
  font-size: 13px;
  line-height: 1.5;
}

.saas-delete-client-name {
  margin: 18px 20px;
  font-size: 16px;
  font-weight: 700;
}

.saas-edit-form .form-actions,
.saas-delete-form .form-actions,
.saas-plan-form .form-actions {
  padding: 0 20px 20px;
}

.saas-plan-form .saas-plan-active {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
}

.site-settings {
  padding-top: 26px;
}

.settings-heading {
  align-items: end;
  margin-bottom: 22px;
}

.settings-heading .eyebrow {
  margin: 0 0 4px;
}

.settings-heading h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
}

.site-picker-label {
  display: grid;
  min-width: min(100%, 330px);
  gap: 5px;
  color: #5f635d;
  font-size: 12px;
  font-weight: 700;
}

.client-guidance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-left: 3px solid #1e6849;
  color: #555a53;
  background: #edf5f0;
  font-size: 12px;
  line-height: 1.45;
}

.client-guidance strong {
  flex: 0 0 auto;
  color: #1d563d;
}

.site-form,
.site-form fieldset {
  margin: 0;
}

.site-form {
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.settings-toolbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e6e0;
}

.settings-toolbar strong,
.settings-toolbar span {
  display: block;
}

.settings-toolbar strong {
  font-size: 14px;
}

.settings-toolbar .last-update {
  margin-top: 3px;
  color: #747871;
  font-size: 11px;
}

.switch-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #333630;
  font-size: 13px;
  font-weight: 700;
}

.switch-control input {
  width: 19px;
  height: 19px;
  accent-color: #1e6849;
}

.site-form fieldset {
  padding: 20px;
  border: 0;
  border-bottom: 1px solid #e2e6e0;
}

.site-settings .site-form fieldset {
  margin: 0 20px 20px;
  padding: 20px;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.site-settings .site-form fieldset:first-of-type {
  margin-top: 20px;
}

.guided-settings .advanced-settings {
  margin: 0 20px 20px;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.guided-settings .advanced-settings fieldset {
  margin: 0;
  border: 0;
  border-top: 1px solid #e2e6e0;
  border-radius: 0;
}

.site-form legend {
  padding: 0;
  color: #3d413b;
  font-size: 14px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.form-grid.plan-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-form label:not(.switch-control) {
  display: grid;
  gap: 6px;
  color: #5b5f58;
  font-size: 12px;
  font-weight: 700;
}

.field-label {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 6px;
}

.help-wrap {
  position: relative;
  display: inline-flex;
  font-weight: 400;
}

.help-button {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  padding: 0;
  border: 1px solid #8e9b90;
  border-radius: 50%;
  color: #315d48;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.help-popover {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: min(260px, calc(100vw - 54px));
  padding: 10px 11px;
  border: 1px solid #d7c47d;
  border-radius: 5px;
  color: #ffffff;
  background: #173d2e;
  box-shadow: 0 12px 30px rgba(18, 31, 24, 0.34);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.client-widget-preview {
  --preview-color: #9f1d2d;
  margin-top: 2px;
}

.preview-label {
  color: #5b5f58;
  font-size: 12px;
  font-weight: 700;
}

.preview-stage {
  position: relative;
  height: 190px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid #cbd2ca;
  border-radius: 6px;
  background: #eef0ed;
}

.preview-panel {
  position: absolute;
  top: 22px;
  right: 18px;
  width: min(250px, calc(100% - 36px));
  min-height: 72px;
  padding: 14px;
  border: 1px solid #d7c47d;
  border-top: 8px solid var(--preview-color);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(36, 40, 36, 0.13);
}

.preview-left .preview-panel {
  right: auto;
  left: 18px;
}

.preview-panel strong,
.preview-panel span {
  display: block;
}

.preview-panel strong {
  color: #2c302b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
}

.preview-panel span {
  margin-top: 3px;
  color: #6b7069;
  font-size: 11px;
}

.preview-launcher {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #d7c47d;
  border-radius: 50%;
  color: #ffffff;
  background: var(--preview-color);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

.preview-left .preview-launcher {
  right: auto;
  left: 16px;
}

.preview-open-button {
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid #8da096;
  border-radius: 5px;
  color: #24563f;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.widget-preview-dialog {
  --preview-color: #9f1d2d;
  width: min(880px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid #aeb8ad;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(17, 27, 21, 0.3);
}

.widget-preview-dialog::backdrop {
  background: rgba(18, 25, 21, 0.7);
}

.preview-dialog-window > header {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #dce1da;
}

.preview-dialog-window > header strong,
.preview-dialog-window > header span {
  display: block;
}

.preview-dialog-window > header strong {
  color: #2f342e;
  font-size: 15px;
}

.preview-dialog-window > header span {
  margin-top: 3px;
  color: #6b7069;
  font-size: 11px;
}

.preview-close-button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #aeb8ad;
  border-radius: 50%;
  color: #3d443e;
  background: #ffffff;
  font-size: 24px;
  line-height: 34px;
  cursor: pointer;
}

.preview-site-canvas {
  position: relative;
  height: min(560px, calc(100vh - 130px));
  min-height: 390px;
  overflow: hidden;
  background: #eef0ed;
}

.preview-fake-header {
  display: flex;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #3f443e;
  background: #ffffff;
}

.preview-fake-header span {
  width: 145px;
  height: 9px;
  background: #d9ded7;
}

.preview-fake-content {
  display: grid;
  gap: 13px;
  width: min(520px, calc(100% - 48px));
  margin: 45px auto 0;
}

.preview-fake-content span {
  height: 13px;
  background: #d8ddd6;
}

.preview-fake-content span:nth-child(2) {
  width: 82%;
}

.preview-fake-content span:nth-child(3) {
  width: 66%;
}

.preview-widget-window {
  position: absolute;
  right: 22px;
  bottom: 86px;
  width: 340px;
  height: 360px;
  overflow: hidden;
  border: 1px solid #c6b36e;
  border-radius: 7px;
  background: #fffdf8;
  box-shadow: 0 16px 45px rgba(25, 32, 27, 0.24);
}

.preview-left .preview-widget-window {
  right: auto;
  left: 22px;
}

.preview-size-small .preview-widget-window {
  width: 300px;
  height: 320px;
}

.preview-size-large .preview-widget-window {
  width: 390px;
  height: 405px;
}

.preview-widget-header {
  padding: 14px 16px;
  color: #ffffff;
  background: var(--preview-color);
}

.preview-widget-header strong,
.preview-widget-header span {
  display: block;
}

.preview-widget-header strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
}

.preview-widget-header span {
  margin-top: 2px;
  font-size: 11px;
}

.preview-widget-body {
  padding: 18px;
  color: #555a53;
  font-size: 12px;
}

.preview-widget-body p {
  width: 80%;
  padding: 11px;
  background: #edf1ec;
  line-height: 1.45;
}

.preview-widget-body span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 11px;
  border: 1px solid #ced5cc;
  color: #898e87;
  background: #ffffff;
}

.preview-dialog-launcher {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid #d7c47d;
  border-radius: 50%;
  color: #ffffff;
  background: var(--preview-color);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

.preview-left .preview-dialog-launcher {
  right: auto;
  left: 22px;
}

.advanced-settings {
  border-bottom: 1px solid #e2e6e0;
}

.advanced-settings summary {
  padding: 17px 20px;
  color: #3d413b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.advanced-settings fieldset {
  border-top: 1px solid #eef0ed;
  border-bottom: 0;
}

.full-field {
  grid-column: 1 / -1;
}

.site-form input[type='text'],
.site-form input[type='number'],
.site-form select,
.site-form textarea,
.site-picker {
  width: 100%;
  border: 1px solid #bdc6bc;
  border-radius: 5px;
  color: #292c27;
  background: #ffffff;
}

.site-form input[type='text'],
.site-form input[type='number'],
.site-form select,
.site-picker {
  height: 42px;
  padding: 0 11px;
}

.site-form input[readonly] {
  color: #686c66;
  background: #f1f3f0;
}

.site-form textarea {
  min-height: 128px;
  resize: vertical;
  padding: 10px 11px;
  line-height: 1.5;
}

.color-control {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid #bdc6bc;
  border-radius: 5px;
  background: #ffffff;
}

.color-control input[type='color'] {
  width: 34px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.color-control output {
  color: #4d514b;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.form-actions {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 14px 20px;
}

.form-actions .save-status {
  margin: 0 auto 0 0;
  font-size: 13px;
}

.form-actions .save-status.error-text,
.form-actions .save-status.success-text {
  min-width: min(100%, 280px);
  padding: 10px 12px;
  border: 1px solid;
  border-left-width: 4px;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.4;
}

.form-actions .save-status.error-text {
  border-color: #dfaaa4;
  border-left-color: #a22a23;
  background: #fff1ef;
  color: #8d1d18;
}

.form-actions .save-status.success-text {
  border-color: #a9d1bb;
  border-left-color: #17613f;
  background: #edf8f1;
  color: #125333;
}

.save-site {
  min-width: 170px;
  padding: 0 18px;
}

.installation-section {
  margin-top: 28px;
  padding-top: 2px;
}

.installation-section h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
}

.installation-guide-intro {
  padding: 15px 17px;
  border-left: 4px solid #1e6849;
  color: #4d524b;
  background: #edf5f0;
  font-size: 12px;
  line-height: 1.55;
}

.installation-guide-intro strong {
  color: #24563f;
  font-size: 14px;
}

.installation-guide-intro ul {
  margin: 10px 0;
  padding-left: 20px;
}

.installation-guide-intro li + li {
  margin-top: 5px;
}

.installation-guide-intro p {
  margin: 0;
}

.install-tabs {
  display: inline-flex;
  gap: 3px;
  margin: 16px 0;
  padding: 3px;
  border: 1px solid #d2d8d0;
  border-radius: 6px;
  background: #e9ede8;
}

.install-tabs button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 4px;
  color: #5d625b;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.install-tabs button.active {
  color: #1e6849;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(35, 43, 37, 0.12);
}

.install-panel {
  padding: 18px;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

.install-platform-help {
  margin-bottom: 18px;
  border-top: 1px solid #dfe4dd;
  border-bottom: 1px solid #dfe4dd;
}

.install-platform-help summary {
  padding: 12px 2px;
  color: #24563f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.install-platform-help div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: #f4f7f3;
  font-size: 12px;
  line-height: 1.5;
}

.install-platform-help div + div {
  margin-top: 6px;
}

.install-platform-help div strong {
  color: #30342e;
}

.install-platform-help div span,
.install-platform-help p {
  color: #626760;
}

.install-platform-help p {
  margin: 9px 0 12px;
  font-size: 11px;
  line-height: 1.5;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  position: relative;
  min-height: 98px;
  padding: 13px 13px 13px 44px;
  border-left: 3px solid #1e6849;
  background: #f4f7f3;
  counter-increment: install-step;
}

.install-steps li::before {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #1e6849;
  content: counter(install-step);
  font-size: 11px;
  font-weight: 700;
}

.install-steps strong,
.install-steps span {
  display: block;
}

.install-steps strong {
  color: #30342e;
  font-size: 12px;
}

.install-steps span {
  margin-top: 5px;
  color: #676c65;
  font-size: 11px;
  line-height: 1.45;
}

.install-note,
.install-warning {
  color: #5d625b;
  background: #f5f1e6;
  font-size: 12px;
  line-height: 1.5;
}

.install-note {
  margin: 0 0 18px;
  padding: 11px 13px;
  border-left: 3px solid #a68125;
}

.install-warning {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #ddcfaa;
  border-radius: 5px;
}

.install-warning strong,
.install-warning span {
  display: block;
}

.install-warning strong {
  color: #715b20;
}

.install-warning span {
  margin-top: 3px;
}

.install-panel label {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  color: #555a53;
  font-size: 12px;
  font-weight: 700;
}

.install-panel label small {
  color: #747871;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.install-location {
  color: #747871;
  font-size: 11px;
  font-weight: 400;
}

.step-label {
  color: #3d413b;
  font-size: 13px;
}

.install-panel label:first-child {
  margin-top: 0;
}

.install-panel code {
  color: #7a6425;
}

.install-panel textarea {
  width: 100%;
  resize: vertical;
  padding: 11px;
  border: 1px solid #bdc6bc;
  border-radius: 5px;
  color: #2c302a;
  background: #f7f9f6;
  font: 12px/1.5 Consolas, monospace;
  white-space: pre;
}

.copy-button {
  min-height: 36px;
  margin-top: 8px;
  padding: 0 13px;
  border: 1px solid #9ec1ad;
  border-radius: 5px;
  color: #1d563d;
  background: #e2f2e8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.copy-button:disabled {
  border-color: #c7cec6;
  color: #777d76;
  background: #ecefeb;
  cursor: not-allowed;
  opacity: 1;
}

.installation-check {
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 3px solid #1e6849;
  color: #555a53;
  background: #f4f7f3;
  font-size: 12px;
}

.installation-check strong {
  color: #24563f;
}

.installation-check ol {
  margin: 8px 0 0;
  padding-left: 20px;
  line-height: 1.6;
}

.amp-guidance {
  margin: 0 0 18px;
  color: #555a53;
  font-size: 12px;
  line-height: 1.55;
}

.copy-status {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 10000;
  min-height: 0;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #7db696;
  border-radius: 7px;
  color: #ffffff;
  background: #17613f;
  box-shadow: 0 12px 32px rgba(17, 45, 31, 0.28);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.copy-status::before {
  content: "\2713";
  margin-right: 8px;
  font-size: 15px;
}

.copy-status.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  .copy-status {
    width: max-content;
    max-width: calc(100vw - 30px);
    text-align: center;
  }
}

.app-notice-dialog {
  width: min(430px, calc(100vw - 30px));
  padding: 0;
  border: 1px solid #aeb8ad;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(17, 27, 21, 0.3);
}

.app-notice-dialog::backdrop {
  background: rgba(18, 25, 21, 0.54);
}

.app-notice-dialog > div {
  padding: 20px;
}

.app-notice-dialog strong,
.app-notice-dialog p {
  display: block;
}

.app-notice-dialog strong {
  color: #24372e;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}

.app-notice-dialog p {
  margin: 9px 0 0;
  color: #555a53;
  font-size: 14px;
  line-height: 1.5;
}

.app-notice-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px 20px;
}

.conversation-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(88vh, 820px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbd7cd;
  border-radius: 12px;
  color: #29332d;
  background: #f5f7f4;
  box-shadow: 0 24px 70px rgba(15, 34, 24, 0.32);
}

.conversation-dialog::backdrop {
  background: rgba(15, 34, 24, 0.58);
}

.conversation-dialog-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  max-height: min(88vh, 820px);
}

.conversation-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #dbe2dc;
  background: #ffffff;
}

.conversation-dialog-header h2 {
  margin: 4px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
}

.conversation-eyebrow {
  color: #1e6849;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.conversation-meta {
  padding: 11px 22px;
  border-bottom: 1px solid #dbe2dc;
  color: #666d67;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.45;
}

.conversation-messages {
  min-height: 260px;
  max-height: 62vh;
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.conversation-message {
  width: fit-content;
  max-width: min(82%, 600px);
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #d8ddd6;
  border-radius: 10px 10px 10px 3px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(31, 39, 34, 0.05);
}

.conversation-message-cliente {
  margin-left: auto;
  border-color: #bcd8c7;
  border-radius: 10px 10px 3px 10px;
  background: #e9f5ed;
}

.conversation-message-sistema {
  width: 100%;
  max-width: none;
  border-style: dashed;
  background: #f0f2ef;
}

.conversation-message > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.conversation-message strong {
  color: #1e6849;
  font-size: 12px;
}

.conversation-message time {
  color: #858a84;
  font-size: 10px;
  white-space: nowrap;
}

.conversation-message p {
  margin: 7px 0 0;
  color: #343a35;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.conversation-empty {
  margin: 70px auto;
  color: #686f69;
  text-align: center;
}

.conversation-open {
  min-height: 34px;
  padding: 0 11px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .conversation-dialog-header,
  .conversation-meta,
  .conversation-messages {
    padding-left: 16px;
    padding-right: 16px;
  }

  .conversation-message {
    max-width: 92%;
  }

  .conversation-message-sistema {
    max-width: none;
  }
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.reconciliation-heading > div {
  display: grid;
  gap: 4px;
}

.payment-environment {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.payment-environment.environment-sandbox {
  border-color: #c9a84d;
  color: #684d00;
  background: #fff4c9;
}

.payment-environment.environment-production {
  border-color: #62a581;
  color: #124f35;
  background: #dff2e7;
}

.secondary-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #98a59b;
  border-radius: 5px;
  color: #24563f;
  background: #edf5f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-link-button,
.payment-action-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #98a59b;
  border-radius: 5px;
  color: #24563f;
  background: #edf5f0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.payment-muted {
  color: #737871;
  font-size: 12px;
}

.delete-payment-inline {
  margin-left: 6px;
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.reconciliation-status {
  min-height: 18px;
  margin: -3px 0 10px;
  font-size: 12px;
}

.operational-alerts {
  margin-top: 24px;
}

.alerts-list {
  border-top: 1px solid #d8ddd6;
  border-bottom: 1px solid #d8ddd6;
}

.alert-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px 4px;
}

.alert-item + .alert-item {
  border-top: 1px solid #e1e5df;
}

.alert-indicator {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: #a68125;
}

.alert-critico .alert-indicator {
  background: #a6382d;
}

.alert-item strong,
.alert-item div > span {
  display: block;
}

.alert-item strong {
  color: #373c36;
  font-size: 13px;
}

.alert-item div > span {
  margin-top: 3px;
  color: #666b64;
  font-size: 12px;
  line-height: 1.45;
}

.alerts-empty {
  margin: 0;
  padding: 13px 4px;
  color: #2c684c;
  font-size: 12px;
}

.retention-heading {
  margin-bottom: 16px;
}

.retention-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-left: 4px solid #1e6849;
  color: #4f554e;
  background: #edf5f0;
  font-size: 12px;
}

.retention-notice strong {
  color: #24563f;
}

.retention-status {
  min-height: 18px;
  margin: 14px 0 10px;
  font-size: 12px;
}

.retention-cutoff {
  margin: 10px 0 0;
  color: #666b64;
  font-size: 11px;
}

.retention-table td:nth-child(3) {
  color: #1e6849;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d8ddd6;
  border-radius: 7px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid #e3e6e1;
  font-size: 13px;
}

td {
  white-space: nowrap;
}

th {
  color: #666a64;
  background: #f8f9f7;
  font-size: 11px;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.app-footer {
  margin-top: 42px;
  padding: 22px 0 0;
  border-top: 1px solid #d8ddd6;
  color: #676c65;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.app-footer p {
  margin: 3px 0;
}

.app-footer a {
  color: #1e6849;
  font-weight: 700;
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

.status-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  color: #3f443e;
  background: #ecefeb;
  font-size: 12px;
  text-transform: capitalize;
}

.status-ativo,
.status-teste,
.status-recebido,
.status-confirmado,
.status-concluida {
  color: #17613f;
  background: #e2f2e8;
}

.status-teste-expirado {
  color: #922c25;
  background: #f8e7e4;
}

.trial-site-limit-notice {
  max-width: 760px;
  padding: 24px;
  border: 1px solid #e5cf91;
  border-radius: 14px;
  color: #5d4a1b;
  background: #fff8e5;
}

.trial-site-limit-notice strong {
  display: block;
  margin-bottom: 7px;
  color: #59430d;
  font-size: 17px;
}

.trial-site-limit-notice p {
  margin: 0;
  line-height: 1.6;
}

.trial-payment-notice {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #efb5b5;
  border-left: 5px solid #c94b4b;
  border-radius: 10px;
  color: #7d2525;
  background: #fdecec;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.shortcut-card.trial-limited-link {
  border-color: #e5cf91;
  background: #fffaf0;
}

.status-inadimplente,
.status-suspenso,
.status-cancelado,
.status-estornado,
.status-vencido,
.status-erro,
.status-falhou {
  color: #922c25;
  background: #f8e7e4;
}

.status-expirada,
.status-encerrada {
  color: #6a5947;
  background: #eee9e1;
}

.empty-state {
  padding: 28px 16px;
  color: #6b6f69;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .login-shell {
    align-items: start;
    padding: 18px;
  }

  .login-panel {
    margin-top: 5vh;
    padding: 24px;
  }

  .app-header {
    padding: 10px 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .app-brand small {
    display: none;
  }

  .header-actions .user-email,
  .header-actions .account-identity {
    display: none;
  }

  .workspace {
    display: block;
  }

  .app-sidebar {
    position: fixed;
    z-index: 30;
    top: 68px;
    bottom: 0;
    right: 0;
    left: auto;
    width: min(295px, calc(100vw - 54px));
    height: calc(100dvh - 68px);
    border-left: 1px solid #d8ddd6;
    transform: translateX(100%);
    transition: transform 0.18s ease;
    box-shadow: -18px 0 45px rgba(24, 31, 26, 0.22);
  }

  .app-shell.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-shell.sidebar-collapsed .app-sidebar {
    visibility: visible;
  }

  .sidebar-backdrop {
    position: fixed;
    z-index: 20;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: rgba(20, 28, 23, 0.46);
  }

  .dashboard {
    width: 100%;
    padding-top: 24px;
  }

  .page-heading,
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metrics article {
    min-height: 92px;
    padding: 13px;
  }

  .metrics span {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .metrics strong {
    margin-top: 8px;
    font-size: 21px;
    overflow-wrap: anywhere;
  }

  .metrics small {
    font-size: 10px;
    overflow-wrap: anywhere;
  }

  .data-section {
    padding-top: 12px;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  tbody tr {
    border: 1px solid #d8ddd6;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(31, 39, 34, 0.05);
  }

  td {
    display: grid;
    grid-template-columns: minmax(80px, 30%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 42px;
    padding: 11px 13px;
    border-bottom: 1px solid #edf0eb;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  td::before {
    color: #6b7069;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  tbody tr:last-child td,
  tbody tr td:last-child {
    border-bottom: 0;
  }

  td.empty-state {
    display: block;
    padding: 20px 14px;
  }

  td.empty-state::before {
    content: none;
  }

  .saas-clients-body td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .saas-clients-body td:last-child::before {
    flex: 0 0 100%;
  }

  .saas-clients-body .edit-client,
  .saas-clients-body .resend-invite,
  .saas-clients-body .delete-client {
    margin: 0;
  }

  .saas-clients-body td:last-child .saas-client-actions {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .saas-client-actions .secondary-button,
  .saas-client-actions .danger-button {
    width: auto;
    max-width: none;
  }

  .saas-client-actions .client-access-status,
  .saas-client-actions .invite-status {
    flex: 0 0 100%;
  }

  .plan-price-input {
    min-width: 0;
  }

  .saas-plans-form .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .saas-plans-form table {
    min-width: 0;
    width: 100%;
    table-layout: auto;
  }

  .saas-plans-form tbody td:first-child {
    width: auto;
    min-width: 0;
  }

  .saas-plans-form tbody td:nth-child(n) {
    width: auto;
  }

  .saas-plans-form td {
    overflow-wrap: normal;
    word-break: normal;
  }

  .saas-plans-form .plan-price-input,
  .saas-plans-form .plan-discount-input {
    min-width: 0;
  }

  .saas-plans-form .plan-discount-input {
    margin-left: 0;
  }

  .saas-plans-form td:first-child {
    padding-top: 15px;
  }

  .retention-table td:nth-child(3) {
    color: inherit;
  }

  .shortcut-grid {
    grid-template-columns: 1fr;
  }

  .page-tabs {
    overflow-x: auto;
  }

  .page-tabs button {
    flex: 0 0 auto;
  }

  .settings-toolbar,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .client-guidance {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .retention-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .help-popover {
    position: fixed;
    top: auto !important;
    right: 14px;
    bottom: 14px;
    left: 14px !important;
    width: auto;
    font-size: 13px;
  }

  .widget-preview-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .preview-dialog-window > header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .preview-site-canvas {
    height: calc(100dvh - 68px);
    min-height: 0;
  }

  .preview-widget-window,
  .preview-size-small .preview-widget-window,
  .preview-size-medium .preview-widget-window,
  .preview-size-large .preview-widget-window {
    right: 14px;
    bottom: 82px;
    left: auto;
    width: min(340px, calc(100% - 28px));
    height: min(390px, calc(100% - 105px));
  }

  .preview-left .preview-widget-window {
    right: auto;
    left: 14px;
  }

  .preview-dialog-launcher {
    right: 14px;
    bottom: 14px;
  }

  .preview-left .preview-dialog-launcher {
    right: auto;
    left: 14px;
  }

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

  .site-settings .site-form fieldset,
  .guided-settings .advanced-settings {
    margin-right: 12px;
    margin-left: 12px;
  }

  .full-field {
    grid-column: auto;
  }

  .save-site {
    width: 100%;
  }

  .install-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid.plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .saas-plans-form .table-wrap { overflow: visible; border: 0; background: transparent; }
  .saas-plans-form table, .saas-plans-form thead, .saas-plans-form tbody, .saas-plans-form tr, .saas-plans-form th, .saas-plans-form td { display: block; }
  .saas-plans-form thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .saas-plans-form tbody { display: grid; gap: 12px; }
  .saas-plans-form tbody tr { border: 1px solid #d8ddd6; border-radius: 8px; background: #fff; }
  .saas-plans-form td { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 42px; padding: 11px 14px; white-space: normal; overflow-wrap: normal; border-bottom: 1px solid #edf0eb; }
  .saas-plans-form td::before { content: attr(data-label); color: #6b7069; font-size: 10px; font-weight: 700; text-transform: uppercase; }
  .saas-plans-form tbody td:nth-child(n) { width: auto; }
  .saas-plans-form tbody tr td:last-child { border-bottom: 0; }
  .saas-plans-form .plan-price-input { width: 190px; }
  .saas-plans-form .plan-discount-input { width: 90px; margin-left: 0; }
}

@media (max-width: 640px) {
  .saas-client-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .saas-client-search,
  .saas-client-filter {
    flex-basis: auto;
  }

  .saas-client-directory {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .saas-client-card-header {
    padding: 14px;
  }

  .saas-client-card-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .saas-client-detail {
    padding: 12px 14px;
  }

  .saas-client-detail + .saas-client-detail {
    border-top: 1px solid #edf1ec;
    border-left: 0;
  }

  .saas-client-card .saas-client-actions {
    padding: 10px 14px;
  }

  .saas-client-site-list-head {
    display: none;
  }

  .saas-client-site-row {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 13px 14px;
  }

  .saas-client-site-info::before,
  .saas-client-subscription-info::before {
    color: #718071;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .saas-client-site-info::before {
    content: 'Site';
  }

  .saas-client-subscription-info::before {
    content: 'Assinatura';
  }

  .saas-client-site-row .delete-site-inline {
    position: absolute;
    top: 12px;
    right: 14px;
    justify-self: auto;
  }

  .saas-client-site-info {
    padding-right: 94px;
  }
}
