
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
.toggle-button {
  background: none !important;
  color: blue !important;
}

/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
body {
  background-color: #fff;
  color: #333;
  margin: 33px;
}

body, p, ol, ul, td {
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a {
  color: #000;
}

a:visited {
  color: #666;
}

a:where(:not([class*=bg-]):not(.button):not(.gc-btn)):hover {
  color: #111827;
  background-color: #F3F4F6;
}

th {
  padding-bottom: 5px;
}

td {
  padding: 0 5px 7px;
}

div.field,
div.actions {
  margin-bottom: 10px;
}

#notice {
  color: green;
}

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table;
}

#error_explanation {
  width: 450px;
  border: 2px solid red;
  padding: 7px 7px 0;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#error_explanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px -7px 0;
  background-color: #c00;
  color: #fff;
}

#error_explanation ul li {
  font-size: 12px;
  list-style: square;
}

label {
  display: block;
}

body {
  background-color: #fff;
  color: #333;
  margin: 33px;
}

body, p, ol, ul, td {
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a {
  color: #000;
}

a:visited {
  color: #666;
}

a:where(:not([class*=bg-]):not(.button):not(.gc-btn)):hover {
  color: #111827;
  background-color: #F3F4F6;
}

th {
  padding-bottom: 5px;
}

td {
  padding: 0 5px 7px;
}

div.field,
div.actions {
  margin-bottom: 10px;
}

#notice {
  color: green;
}

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table;
}

#error_explanation {
  width: 450px;
  border: 2px solid red;
  padding: 7px 7px 0;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#error_explanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px -7px 0;
  background-color: #c00;
  color: #fff;
}

#error_explanation ul li {
  font-size: 12px;
  list-style: square;
}

label {
  display: block;
}

/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/
.lead-cell-pill {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  padding: 2px 10px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

a.lead-cell-pill:hover {
  background: #E5E7EB;
  color: #111827;
}

.lead-origin {
  background: #EFF5FB;
  color: #2B71A9;
}

a.lead-origin:hover {
  background: #DBEAFE;
  color: #1E40AF;
}

.lead-origin.is-plain {
  background: #F3F4F6;
  color: #4B5563;
}

.lead-avatars {
  display: inline-flex;
  align-items: center;
}

.lead-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  box-shadow: 0 0 0 2px #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
}
.lead-avatar + .lead-avatar {
  margin-left: -6px;
}
.lead-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.lead-avatar:hover, .lead-avatar:focus-visible {
  z-index: 40;
  filter: brightness(0.95);
}
.lead-avatar[data-tip]:hover::after, .lead-avatar[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}
.lead-avatar.is-tone-0 {
  background: #E0E7FF;
  color: #3730A3;
}
.lead-avatar.is-tone-1 {
  background: #D1FAE5;
  color: #065F46;
}
.lead-avatar.is-tone-2 {
  background: #FEF3C7;
  color: #92400E;
}
.lead-avatar.is-tone-3 {
  background: #FCE7F3;
  color: #9D174D;
}
.lead-avatar.is-tone-4 {
  background: #E0F2FE;
  color: #075985;
}
.lead-avatar.is-tone-5 {
  background: #EDE9FE;
  color: #5B21B6;
}
.lead-avatar.is-more {
  background: #F3F4F6;
  color: #4B5563;
}
.lead-avatar.is-dealer {
  border-radius: 6px;
}

.lead-rating {
  position: relative;
  display: inline-block;
}

.lead-rating > summary {
  list-style: none;
}

.lead-rating > summary::-webkit-details-marker {
  display: none;
}

.lead-rating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  background: #fff;
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  user-select: none;
}
.lead-rating-pill svg, .lead-rating-pill i {
  font-size: 10px;
}
.lead-rating-pill.is-0 {
  padding: 0;
  border-color: transparent;
  background: none;
}
.lead-rating-pill.is-0:hover {
  border-color: #E5E7EB;
}
.lead-rating-pill:hover {
  border-color: #D1D5DB;
}

.lead-rating[open] > .lead-rating-pill {
  border-color: #6366F1;
  box-shadow: 0 0 0 1px #6366F1;
}

.lead-rating-pill.is-1, .lead-rating-option b.is-1 {
  color: #6B7280;
}

.lead-rating-pill.is-2, .lead-rating-option b.is-2 {
  color: #6B7280;
}

.lead-rating-pill.is-1, .lead-rating-pill.is-2 {
  background: #F3F4F6;
  border-color: #E5E7EB;
}

.lead-rating-pill.is-3 {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}

.lead-rating-pill.is-4 {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

.lead-rating-pill.is-5 {
  background: #D97706;
  border-color: #D97706;
  color: #fff;
}

.lead-rating-option b.is-3, .lead-rating-option b.is-4, .lead-rating-option b.is-5 {
  color: #D97706;
}

.lead-rating-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: 260px;
  padding: 4px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.lead-rating-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 13px;
  color: #374151;
  text-align: left;
  cursor: pointer;
}
.lead-rating-option b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}
.lead-rating-option b svg, .lead-rating-option b i {
  font-size: 10px;
}
.lead-rating-option:hover, .lead-rating-option:focus-visible {
  background: #F3F4F6;
  outline: none;
}
.lead-rating-option.is-current {
  background: #F9FAFB;
  font-weight: 600;
}

.table th.lead-rating-col {
  min-width: 0 !important;
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.table th.lead-rating-col a {
  color: #9CA3AF;
}

.table th.lead-rating-col a.current {
  color: #D97706;
}

.table th:first-child:has(.select-all),
.table td.lead_ids {
  min-width: 0 !important;
  width: 1%;
  padding-left: 6px;
  padding-right: 4px;
  text-align: center;
}

.table th:first-child:has(.select-all) input,
.table td.lead_ids input {
  margin: 0;
  vertical-align: middle;
}

.table th.lead-rating-col, .table td:has(> .lead-rating) {
  padding-left: 6px;
  padding-right: 6px;
}

.table th.lead-avatar-col {
  min-width: 0 !important;
  width: 1%;
  white-space: nowrap;
}

.lead-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.table th.lead-avatar-col {
  padding-left: 6px;
  padding-right: 6px;
}

.lead-iso {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #CCFBF1;
  color: #115E59;
  box-shadow: inset 0 0 0 1px #99F6E4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: default;
}
.lead-iso:hover, .lead-iso:focus-visible {
  z-index: 40;
  outline: none;
}
.lead-iso[data-tip]:hover::after, .lead-iso[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}

.lt {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #111827;
}

.lt-bulk-form {
  width: 100%;
}

.lt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.lt-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.lt-title h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
}

.lt-total {
  font-size: 14px;
  color: #6B7280;
  font-variant-numeric: tabular-nums;
}

.lt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lt-btn, button.lt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #fff;
  color: #111827 !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.lt-btn:hover, button.lt-btn:hover {
  background: #F3F4F6;
}
.lt-btn:focus-visible, button.lt-btn:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}

.lt-btn.lt-btn-primary {
  background: #111827;
  border-color: #111827;
  color: #fff !important;
}
.lt-btn.lt-btn-primary:hover {
  background: #1F2937;
}

.lt-btn-icon {
  width: 36px;
  padding: 0;
  justify-content: center;
}

.lt-btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.lt-link {
  font-size: 13px;
  font-weight: 500;
  color: #4338CA;
  text-decoration: none;
}
.lt-link:hover {
  color: #312E81;
  text-decoration: underline;
  background: none;
}

.lt-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 340px;
  max-width: 100%;
  height: 36px;
  padding: 0 8px 0 12px;
  box-sizing: border-box;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #fff;
  color: #9CA3AF;
}
.lt-search:focus-within {
  border-color: #6366F1;
  box-shadow: 0 0 0 1px #6366F1;
}
.lt-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #111827;
}

.lt-kbd {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border: 1px solid #E5E7EB;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #F9FAFB;
  color: #6B7280;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.lt-search:focus-within .lt-kbd {
  display: none;
}

.lt-suggest {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  width: 460px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.16);
  color: #111827;
}

.lt-suggest-group {
  padding: 8px 10px 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
}

.lt-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.lt-suggest-item.is-active, .lt-suggest-item:hover {
  background: #F3F4F6;
}

.lt-suggest-kind {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: #EEF2FF;
  color: #3730A3;
  font-size: 11px;
  font-weight: 600;
}

.lt-suggest-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lt-suggest-sub {
  flex-shrink: 0;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6B7280;
  font-size: 13px;
}

.lt-suggest-hint {
  padding: 8px 10px 4px;
  margin-top: 4px;
  border-top: 1px solid #F3F4F6;
  font-size: 12px;
  color: #6B7280;
}
.lt-suggest-hint b {
  color: #374151;
}

.lt-suggest-empty {
  padding: 10px;
  font-size: 13px;
  color: #6B7280;
}

.lt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  border-bottom: 1px solid #E5E7EB;
}

.lt-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: #4B5563 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.lt-tab:hover {
  color: #111827 !important;
  background: none !important;
  border-bottom-color: #D1D5DB;
}
.lt-tab.is-active {
  border-bottom-color: #111827;
  color: #111827 !important;
  font-weight: 600;
}

.lt-count {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lt-count.is-hot {
  background: #FEF3C7;
  color: #92400E;
}

.lt-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.lt-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lt-chip-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px dashed #D1D5DB;
  border-radius: 9999px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lt-chip::-webkit-details-marker {
  display: none;
}
.lt-chip:hover {
  border-color: #9CA3AF;
}
.lt-chip.is-more {
  border-style: solid;
}
.lt-chip.is-active {
  border: 1px solid #C7D2FE;
  background: #EEF2FF;
  color: #3730A3;
}
.lt-chip.is-static {
  cursor: default;
}

.lt-chip-text {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-chip-group.is-active .lt-chip {
  border-radius: 9999px 0 0 9999px;
  padding-right: 8px;
}

.lt-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid #C7D2FE;
  border-left: 0;
  border-radius: 0 9999px 9999px 0;
  background: #EEF2FF;
  color: #4338CA !important;
}
.lt-chip-x:hover {
  background: #E0E7FF !important;
  color: #312E81 !important;
}

.lt-pop[open] > .lt-chip {
  border-color: #6366F1;
  box-shadow: 0 0 0 1px #6366F1;
}

.lt-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #6B7280;
  font-variant-numeric: tabular-nums;
}
.lt-summary b {
  color: #111827;
}

.lt-pop {
  position: relative;
}

.lt-pop > summary {
  list-style: none;
}
.lt-pop > summary::-webkit-details-marker {
  display: none;
}

.lt-pop-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
  color: #111827;
  font-size: 14px;
}
.lt-pop-panel.is-wide {
  width: 340px;
}
.lt-pop-panel.is-right {
  left: auto;
  right: 0;
}

.lt-pop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding: 8px 6px 2px;
  border-top: 1px solid #F3F4F6;
}

.lt-hint {
  font-size: 12px;
  color: #6B7280;
}

.lt-opts {
  display: flex;
  flex-direction: column;
}

.lt-opts-scroll {
  max-height: 280px;
  overflow-y: auto;
}

.lt-opt-search {
  height: 34px;
  margin: 2px 2px 6px;
  padding: 0 10px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  outline: 0;
}
.lt-opt-search:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 1px #6366F1;
}

.lt-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #111827;
}
.lt-opt:hover {
  background: #F9FAFB;
}
.lt-opt input {
  margin: 0;
  flex-shrink: 0;
  accent-color: #4F46E5;
}

.lt-opt-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lt-opt-n {
  color: #6B7280;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.lt-empty {
  margin: 0;
  padding: 8px;
  font-size: 13px;
  color: #6B7280;
}

.lead-avatar.is-sm, .lead-iso.is-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
  flex-shrink: 0;
  box-shadow: none;
}

.lt-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
}

.lt-preset, button.lt-preset {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #D1D5DB;
  border-radius: 9999px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}
.lt-preset:hover, button.lt-preset:hover {
  background: #F3F4F6;
}

.lt-dates, .lt-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px 4px;
}
.lt-dates label, .lt-more label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: #4B5563;
}
.lt-dates input, .lt-dates select, .lt-more input, .lt-more select {
  height: 34px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #111827;
}

.lt-more {
  grid-template-columns: 1fr;
}

.lt-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #111827 !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.lt-menu-item:hover {
  background: #F3F4F6 !important;
}

.lt-menu .lt-pop-panel form {
  margin: 0;
}

.lt-has-selection .lt-filters {
  display: none;
}

.lt-export-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.lt-export-note {
  color: #B91C1C;
  font-size: 13px;
}
.lt-export-note[hidden] {
  display: none;
}

.lt-selbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  margin-bottom: 12px;
  padding: 6px 8px 6px 14px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #111827;
  color: #F9FAFB;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
}
.lt-selbar[hidden] {
  display: none;
}

.lt-sel-count {
  margin-right: 8px;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.lt-sep {
  width: 1px;
  height: 22px;
  margin-right: 6px;
  background: #374151;
}

.lt-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #F9FAFB;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.lt-bar-btn::-webkit-details-marker {
  display: none;
}
.lt-bar-btn:hover {
  background: #374151;
}
.lt-bar-btn:focus-visible {
  outline: 2px solid #A5B4FC;
  outline-offset: 1px;
}
.lt-bar-btn.is-danger {
  color: #FCA5A5;
}

.lt-pop[open] > .lt-bar-btn {
  background: #374151;
}

.lt-bar-icon {
  width: 34px;
  padding: 0;
  justify-content: center;
}

.lt-bar-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lt-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
}

.lt-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0;
  color: #111827;
  font-size: 14px;
}
.lt-table th, .lt-table td {
  font-family: inherit;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.lt-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 42px;
  padding: 0 8px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6B7280;
}
.lt-table thead th a {
  color: #6B7280 !important;
  text-decoration: none;
}
.lt-table thead th a:hover {
  color: #111827 !important;
  background: none !important;
}
.lt-table thead th a.current {
  color: #111827 !important;
}
.lt-table thead th a.current.asc::after {
  content: " ↑";
}
.lt-table thead th a.current.desc::after {
  content: " ↓";
}
.lt-table thead th:first-child {
  border-top-left-radius: 10px;
}
.lt-table thead th:last-child {
  border-top-right-radius: 10px;
}
.lt-table tbody td {
  height: 52px;
  padding: 6px 8px;
  border-bottom: 1px solid #F3F4F6;
  line-height: 1.3;
  font-size: 14px;
}
.lt-table tbody tr:last-child td {
  border-bottom: 0;
}
.lt-table tbody tr:hover td {
  background: #F9FAFB;
}
.lt-table tbody tr:has(.lead_ids input:checked) td {
  background: #EEF2FF;
}
.lt-table input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 0;
  vertical-align: middle;
  accent-color: #4F46E5;
  cursor: pointer;
}

.lt-col-check {
  width: 1%;
  padding-left: 14px !important;
  padding-right: 4px !important;
  text-align: center !important;
}

.lt-col-rating {
  width: 1%;
  padding-left: 6px !important;
  padding-right: 6px !important;
  text-align: center !important;
}

.lt-col-tight {
  width: 1%;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.lt-col-email {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-col-name {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-col-date {
  width: 1%;
  color: #4B5563;
  font-size: 13px !important;
  font-variant-numeric: tabular-nums;
}

.lt-col-stage select.update_stages {
  width: 150px;
  max-width: 150px;
  height: 30px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 13px;
  background-color: #fff;
}

.lt-email {
  color: #2B71A9 !important;
  font-weight: 500;
  text-decoration: none;
}
.lt-email:hover {
  color: #1E3A8A !important;
  text-decoration: underline;
  background: none !important;
}

.lt-owner {
  margin-left: 6px;
  color: #2B71A9;
  font-size: 13px;
}

.lt-muted {
  color: #6B7280;
  font-size: 13px;
}

.lt-empty-row {
  height: 120px !important;
  text-align: center !important;
  color: #6B7280;
}
.lt-empty-row .lt-link {
  margin-left: 8px;
}

.lt-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  color: #6B7280;
}
.lt-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}
.lt-pager .pagination > span > a, .lt-pager .pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #fff;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.lt-pager .pagination > span > a:hover {
  background: #F3F4F6 !important;
}
.lt-pager .pagination .current {
  background: #111827;
  border-color: #111827;
  color: #fff !important;
}
.lt-pager .pagination .gap {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}

.lt-pager-info {
  font-variant-numeric: tabular-nums;
}

.st .lt-head {
  margin-bottom: 4px;
}

.st-find {
  width: 320px;
}

.st-attn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.st-attn h2 {
  margin: 0 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
}

.st-attn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px 0 7px;
  box-sizing: border-box;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  background: #fff;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.st-attn-pill:hover {
  border-color: #D1D5DB;
  background: #F9FAFB !important;
}
.st-attn-pill b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  box-sizing: border-box;
  border-radius: 9999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.st-attn-pill.is-quiet b {
  background: #F3F4F6;
  color: #4B5563;
}

.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 16px;
  align-items: start;
}

.st-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  scroll-margin-top: 16px;
}
.st-card[hidden] {
  display: none;
}

.st-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #F3F4F6;
}
.st-card-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.st-card-head span {
  font-size: 13px;
  color: #6B7280;
}

.st-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 18px;
  box-sizing: border-box;
  border-bottom: 1px solid #F3F4F6;
  color: #111827 !important;
  text-decoration: none;
}
.st-row:last-child {
  border-bottom: 0;
}
.st-row:hover {
  background: #F9FAFB !important;
  color: #111827 !important;
}
.st-row:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: -2px;
}
.st-row[hidden] {
  display: none;
}

.st-tile {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F3F4F6;
  color: #374151;
}

.st-row-text {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.st-row-name {
  font-size: 14px;
  font-weight: 600;
}

.st-row-desc {
  font-size: 13px;
  color: #6B7280;
}

.st-chevron {
  flex-shrink: 0;
  color: #9CA3AF;
}

.st-testing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.st-label {
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
}

.st-switch-user select {
  width: 100%;
  max-width: 420px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
}

.st-empty {
  margin: 0;
  font-size: 14px;
  color: #6B7280;
}

.fb {
  gap: 14px;
}

.fb-crumb {
  font-size: 13px;
  color: #6B7280;
}
.fb-crumb a {
  color: #6B7280 !important;
  text-decoration: none;
}
.fb-crumb a:hover {
  color: #111827 !important;
  background: none !important;
}

.fb-head {
  align-items: flex-end;
  margin-top: -4px;
}

.fb-head-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fb-lede {
  margin: 0;
  font-size: 14px;
  color: #6B7280;
}

.fb-form-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.fb-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.fb-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.fb-stat b {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.fb-stat span {
  font-size: 12px;
  color: #6B7280;
}

.fb-stat-of {
  color: #9CA3AF;
  font-size: 22px !important;
}

.fb-flash {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  background: #ECFDF5;
  color: #047857;
  font-size: 14px;
  font-weight: 500;
}

.fb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fb-toolbar form {
  margin: 0;
}

.fb-search {
  width: 320px;
}

.fb-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #4B5563;
}
.fb-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fb-legend i {
  display: inline-block;
  width: 8px;
  height: 12px;
  border-radius: 2px;
}

.fb-legend-sort {
  color: #6B7280;
}

.is-saved {
  --fb-tick: #111827;
}

.is-auto {
  --fb-tick: #D1D5DB;
}

.is-lost {
  --fb-tick: #F59E0B;
}

.fb-legend i, .fb-ticks i {
  background: var(--fb-tick, #111827);
}

.fb-ticks {
  display: inline-flex;
  gap: 3px;
  margin-right: 8px;
  vertical-align: middle;
}
.fb-ticks i {
  display: inline-block;
  width: 8px;
  height: 16px;
  border-radius: 2px;
}

.fb-table {
  min-width: 980px;
}

.fb-form-id {
  font-variant-numeric: tabular-nums;
}

.fb-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fb-country.is-warn {
  color: #92400E;
  font-weight: 500;
}
.fb-country.is-warn .lead-iso {
  background: #FEF3C7;
  color: #92400E;
  box-shadow: inset 0 0 0 1px #FCD34D;
}

.fb-open {
  text-align: right !important;
}

.fb-open-link {
  font-weight: 600;
  white-space: nowrap;
}

.lt-count.is-ok {
  background: #D1FAE5;
  color: #065F46;
}

.fb-map-form {
  width: 100%;
}

.fb-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6B7280;
}

.fb-spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
}

.fb-spec-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px 18px;
}
.fb-spec-cell + .fb-spec-cell {
  border-left: 1px solid #F3F4F6;
}

.fb-spec-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.fb-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.fb-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #4F46E5;
}

.fb-select, .lt .fb-select, select.fb-select, input.fb-select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
}
.fb-select:focus, .lt .fb-select:focus, select.fb-select:focus, input.fb-select:focus {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}

.fb-details > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
}
.fb-details > summary::-webkit-details-marker {
  display: none;
}

.fb-details-panel {
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.fb-map-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
}

.fb-map-head, .fb-map-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 90px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.fb-map-head {
  height: 42px;
  padding: 0 18px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.fb-map-empty {
  padding: 24px 18px;
  margin: 0;
}

.fb-map {
  padding: 14px 18px;
  border-bottom: 1px solid #F3F4F6;
}
.fb-map:last-child {
  border-bottom: 0;
}
.fb-map.is-lost {
  background: #FFFDF7;
}
.fb-map.is-changed {
  background: #EEF2FF;
}

.fb-map-q {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.fb-map-q strong {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.fb-key {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 400 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #6B7280;
}

.fb-wire {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #D1D5DB;
}
.fb-wire hr {
  flex: 1;
  margin: 0;
  border: 0;
  border-top: 2px dashed currentColor;
  background: none;
  height: 0;
}
.fb-wire b {
  font-weight: 700;
}

.fb-map.is-lost .fb-wire {
  color: #F59E0B;
}

.fb-map.is-saved .fb-wire, .fb-map.is-changed .fb-wire {
  color: #111827;
}

.fb-map-target {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fb-map.is-lost .fb-select {
  border-color: #FCD34D;
  background: #FFFBEB;
}

.fb-readonly {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #F9FAFB;
  color: #4B5563;
  font-size: 14px;
}

.fb-state {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 12px;
  font-weight: 600;
}

.fb-map.is-lost .fb-state {
  background: #FEF3C7;
  color: #92400E;
}

.fb-map.is-saved .fb-state {
  background: #D1FAE5;
  color: #065F46;
}

.fb-map.is-changed .fb-state {
  background: #E0E7FF;
  color: #3730A3;
}

.fb-suggest {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  color: #4B5563;
}
.fb-suggest strong {
  color: #111827;
}
.fb-suggest[hidden] {
  display: none;
}

.fb-note {
  margin: 0;
  max-width: 720px;
  font-size: 13px;
  color: #6B7280;
}

.fb-savebar {
  align-self: stretch;
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 16px -1.5rem 0;
  padding: 12px 1.5rem;
  background: #fff;
  border-top: 1px solid #E5E7EB;
  box-shadow: 0 -6px 16px rgba(17, 24, 39, 0.06);
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
}

.fb-savebar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fb-savebar-actions {
  display: flex;
  gap: 8px;
}

.fb-pending {
  font-size: 14px;
  color: #4B5563;
}

.fb-danger {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 0 24px;
  border-top: 1px solid #E5E7EB;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}
.fb-danger form {
  margin: 0;
}

.lt-btn.fb-delete {
  color: #B91C1C !important;
  border-color: #FECACA;
}
.lt-btn.fb-delete:hover {
  background: #FEF2F2;
}

.as-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.as-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.as-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 12px 24px;
  align-items: start;
  padding: 16px 18px;
  border-bottom: 1px solid #F3F4F6;
}
.as-row:last-child {
  border-bottom: 0;
}
.as-row.is-broken {
  background: #FFFDF7;
}
.as-row.is-broken .fb-select {
  border-color: #FCD34D;
  background: #FFFBEB;
}
@media (max-width: 760px) {
  .as-row {
    grid-template-columns: 1fr;
  }
}

.as-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.as-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.as-help {
  font-size: 13px;
  line-height: 1.45;
  color: #6B7280;
  overflow-wrap: anywhere;
}

.as-key {
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: 4px;
  background: #F3F4F6;
  color: #4B5563;
  font: 400 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.as-key.is-strong {
  font-size: 13px;
  color: #111827;
}

.as-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.as-control.is-end {
  align-items: flex-end;
}

select.fb-select.as-multi {
  height: auto;
  padding: 6px;
}

.as-note {
  font-size: 12px;
  font-weight: 500;
  color: #92400E;
}

.as-hint {
  font-size: 12px;
  color: #6B7280;
}

.as-unused-head {
  justify-content: space-between;
  align-items: center;
}
.as-unused-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.as-unused-head form {
  margin: 0;
}

.as-unused-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 10px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 13px;
}
.as-unused-row:last-child {
  border-bottom: 0;
}

.ev-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ev-alert {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #FECACA;
  border-radius: 8px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 14px;
  font-weight: 500;
}

.ev-table {
  min-width: 960px;
}

.ev-name {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev-toggle-form, .ev-act-form {
  display: inline-block;
  margin: 0;
}

button.ev-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #6B7280;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
button.ev-toggle:hover {
  background: #E5E7EB;
  color: #374151;
}
button.ev-toggle:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}
button.ev-toggle.is-active {
  background: #D1FAE5;
  color: #065F46;
}
button.ev-toggle.is-standard {
  background: #E0E7FF;
  color: #3730A3;
}
button.ev-toggle.is-show {
  background: #EFF5FB;
  color: #2B71A9;
}

.ev-actions {
  width: 1%;
  text-align: right !important;
}

.ev-act-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ev-act, button.ev-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6B7280 !important;
  cursor: pointer;
}
.ev-act:hover, button.ev-act:hover {
  background: #F3F4F6 !important;
  color: #111827 !important;
}
.ev-act:focus-visible, button.ev-act:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}
.ev-act.is-danger, button.ev-act.is-danger {
  color: #B91C1C !important;
}
.ev-act.is-danger:hover, button.ev-act.is-danger:hover {
  background: #FEF2F2 !important;
  color: #991B1B !important;
}

.ls-inline {
  display: inline-block;
  margin: 0;
}

.ls-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
}
.ls-strip .lead-rating {
  align-self: flex-start;
}
.ls-strip select.update_stages {
  max-width: 170px;
  height: 30px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 13px;
  background-color: #fff;
}

.ls-person {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ls-person-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827 !important;
  font-size: 14px;
  text-decoration: none;
}
.ls-person-name:hover {
  background: none !important;
  text-decoration: underline;
}

.ls-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.ls-main {
  display: flex;
  flex: 999 1 560px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.ls-side {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 380px;
}
@media (max-width: 1100px) {
  .ls-side {
    max-width: none;
  }
}

.ls-head {
  align-items: center;
}

.ls-head-end {
  margin-left: auto;
}

.ls-text {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
  white-space: pre-line;
}

.ls-thread {
  padding: 14px 18px;
  font-size: 14px;
}
.ls-thread p {
  margin-top: 0;
}

.ls-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.ls-line:last-child {
  border-bottom: 0;
}
.ls-line.is-quiet {
  padding: 10px 18px;
  font-size: 13px;
  color: #4B5563;
  font-variant-numeric: tabular-nums;
}

.ls-dl {
  margin: 0;
}

.ls-row {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 4px 12px;
  align-items: baseline;
  padding: 9px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
  line-height: 1.4;
}
.ls-row dt {
  font-size: 13px;
  font-weight: 400;
  color: #6B7280;
}
.ls-row dd {
  margin: 0;
  color: #111827;
  overflow-wrap: anywhere;
}

.ls-empty > summary {
  padding: 10px 18px;
  color: #4338CA;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.ls-empty > summary::-webkit-details-marker {
  display: none;
}

.ls-empty[open] > summary {
  border-bottom: 1px solid #F3F4F6;
}

.ls-menu-sep {
  height: 1px;
  margin: 4px 6px;
  background: #F3F4F6;
}

.lt-menu-item.is-danger {
  color: #B91C1C !important;
}
.lt-menu-item.is-danger svg {
  color: #B91C1C;
}
.lt-menu-item.is-danger:hover {
  background: #FEF2F2 !important;
}

.ls-person .lead-avatar {
  flex-shrink: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub-tab-panel[hidden], .email-lang-panel[hidden], .fb-form-item[hidden], .dealer-item[hidden], .plan-dealer-item[hidden] {
  display: none !important;
}

.ev-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ev-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #6B7280;
  font-size: 12px;
  font-weight: 500;
}
.ev-status.is-active {
  background: #D1FAE5;
  color: #065F46;
}
.ev-status.is-show {
  background: #EFF5FB;
  color: #2B71A9;
}

.ev-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
}

button.ev-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #fff;
  color: #111827;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
button.ev-step:hover {
  background: #F9FAFB;
}
button.ev-step:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: -2px;
}
button.ev-step.is-active {
  border-bottom-color: #111827;
}

.ev-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.ev-step-label {
  font-size: 14px;
  font-weight: 600;
}

.ev-step-done {
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
}

.ev-dots {
  display: flex;
  gap: 4px;
}
.ev-dots i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #E5E7EB;
}
.ev-dots i.is-on {
  background: #047857;
}

.ev-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

button.ev-sub {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
button.ev-sub:hover {
  border-color: #D1D5DB;
  background: #F9FAFB;
}
button.ev-sub.is-active {
  border-color: #111827;
  color: #111827;
  font-weight: 600;
}

.ev-sub-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #D1D5DB;
}
.ev-sub-dot.is-ok {
  background: #047857;
}
.ev-sub-dot.is-todo {
  background: #F59E0B;
}

.ev-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ev-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
}

.ev-p {
  margin: 0;
  font-size: 14px;
}

.ev-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.ev-divided {
  padding-top: 14px;
  border-top: 1px solid #F3F4F6;
}

.ev-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
}

.ev-narrow {
  flex: 1 1 280px;
  max-width: 360px;
}

.ev-tiny {
  width: 160px;
}

.ev-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.lt textarea.fb-select {
  height: auto;
  padding: 8px 10px;
  line-height: 1.45;
  resize: vertical;
}

.lt .ev-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.ev-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #F9FAFB;
  font-size: 13px;
  color: #4B5563;
}
.ev-note b {
  font-weight: 600;
}

.ev-h3 {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.ev-header-img {
  max-width: 300px;
  height: auto;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
}

.ev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ev-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 5px;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.ev-ticks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 2px 16px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.ev-tick {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}
.ev-tick input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #4F46E5;
}

.ev-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}

.ev-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}
.ev-stat b {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.ev-stat span {
  font-size: 12px;
  color: #6B7280;
}

.ev-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

button.ev-lang {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #F3F4F6;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
button.ev-lang.is-active {
  background: #111827;
  color: #fff;
}

.ev-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}
.ev-split h2 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.ev-split p {
  margin: 0;
  font-size: 13px;
  color: #6B7280;
}
.ev-split form {
  margin: 0;
}

.ev-line-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ev-line-text b {
  font-weight: 600;
}

.ev-line-actions {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}
.ev-line-actions form {
  margin: 0;
}

.ev-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 44px;
  padding: 6px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.ev-check:last-child {
  border-bottom: 0;
}

.ev-check-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}
.ev-check-mark.is-ok {
  background: #D1FAE5;
  color: #065F46;
}
.ev-check-mark.is-todo {
  background: #FEF3C7;
  color: #92400E;
}

.ev-check-label {
  flex: 1 1 200px;
  font-weight: 500;
}

.ev-table-scroll {
  overflow-x: auto;
}

.ev-forms {
  min-width: 760px;
}

.ev-form-search {
  width: 280px;
  height: 34px;
}

.ev-form-list {
  max-height: 360px;
  overflow-y: auto;
}

.ev-form-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-height: 40px;
  padding: 4px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}
.ev-form-item:hover {
  background: #F9FAFB;
}
.ev-form-item.is-connected {
  background: #FAFBFF;
}
.ev-form-item input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #4F46E5;
}

.ev-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
}

button.ev-link-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.le-form {
  width: 100%;
}

.le {
  padding-bottom: 8px;
}

.le-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  padding: 16px 18px;
}

.le-tick {
  align-self: end;
  min-height: 36px;
  font-weight: 500;
}

.le-rating {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.le-rating legend {
  margin-bottom: 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
}

.le-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.le-rate {
  position: relative;
  cursor: pointer;
}
.le-rate input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.le-rate span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 38px;
  padding: 0 9px;
  box-sizing: border-box;
  border: 1px solid #D1D5DB;
  border-radius: 9999px;
  background: #fff;
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
}
.le-rate input:checked + span {
  border-color: #D97706;
  background: #D97706;
  color: #fff;
}
.le-rate input:focus-visible + span {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}

.le-chip[hidden] {
  display: none;
}

.le-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: none;
  color: #6B7280;
  cursor: pointer;
}
.le-chip button:hover {
  background: #F3F4F6;
  color: #111827;
}

.le-add {
  align-self: flex-start;
}

.le-labels {
  gap: 2px;
}

.le-savebar {
  width: auto;
}

.mf-page {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
}

.mf-page-wide {
  max-width: 640px;
}

.mf-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
}

.mf-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lt .fb-select.mf-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.mf-qr {
  display: flex;
  justify-content: center;
}
.mf-qr svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.mf-key {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #F9FAFB;
  font-size: 13px;
  color: #4B5563;
}
.mf-key code {
  padding: 0;
  background: none;
  color: #111827;
  overflow-wrap: anywhere;
}

.mf-codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-codes li {
  padding: 8px 10px;
  border-radius: 6px;
  background: #F9FAFB;
  text-align: center;
}
.mf-codes code {
  padding: 0;
  background: none;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ev-status.is-warn {
  background: #FEF3C7;
  color: #92400E;
}

.ev-status.is-danger {
  background: #FEE2E2;
  color: #B91C1C;
}

.mf-table-wrap {
  border: 0;
  border-radius: 0;
}

.lt-table.mf-table {
  min-width: 720px;
}
.lt-table.mf-table th:first-child, .lt-table.mf-table td:first-child {
  padding-left: 18px;
}
.lt-table.mf-table th:last-child, .lt-table.mf-table td:last-child {
  padding-right: 18px;
}
.lt-table.mf-table thead th {
  border-radius: 0 !important;
}

.lt-table td.mf-details {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-table td.mf-empty {
  color: #6B7280;
  text-align: center;
}

.mf-pager:has(*) {
  padding: 10px 18px;
  border-top: 1px solid #F3F4F6;
}

.br-name {
  color: #111827 !important;
  font-weight: 500;
  text-decoration: none;
}
.br-name:hover {
  text-decoration: underline;
  background: none !important;
}

.br-phone {
  color: #374151 !important;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.br-phone:hover {
  color: #111827 !important;
  text-decoration: underline;
  background: none !important;
}

.lt-table .br-col-num {
  width: 1%;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.br-pop-title {
  margin: 4px 4px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.br-export, .br-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.br-export {
  padding: 0 4px 6px;
}

.br-export-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.br-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.br-form-body {
  padding: 18px;
}

.br-show {
  gap: 16px;
}

.br-show > .lt-link {
  align-self: flex-start;
}

.br-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  align-items: start;
}

.br-facts {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
  padding: 14px 18px 16px;
  font-size: 14px;
  color: #111827;
}
.br-facts dt {
  color: #6B7280;
}
.br-facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.br-comment {
  margin: 0;
  padding: 14px 18px 16px;
  font-size: 14px;
  color: #374151;
  white-space: pre-line;
}

.br-section-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.br-section-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.lt-table.br-table {
  min-width: 560px;
}

.br-campaigns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.br-campaign-title {
  font-weight: 500;
}

.br-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.br-thread .st-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.br-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  font-size: 14px;
  color: #374151;
}
.br-message + .br-message {
  border-top: 1px solid #F3F4F6;
}

.br-message-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.br-message-from {
  font-weight: 600;
  color: #111827;
  overflow-wrap: anywhere;
}

.br-message-date {
  margin-left: auto;
  font-size: 13px;
  color: #6B7280;
  font-variant-numeric: tabular-nums;
}

.br-message-subject {
  margin: 0;
  font-weight: 500;
  color: #111827;
}

.br-message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.br-message-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 12px;
}

.br-message-note {
  margin: 0 auto 0 0;
  font-size: 12px;
  color: #6B7280;
}

.br-unlink, button.br-unlink {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.br-earlier {
  border-top: 1px solid #F3F4F6;
}
.br-earlier > summary {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
}
.br-earlier > .br-message {
  border-top: 1px solid #F3F4F6;
}

.ae {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #111827;
}

.lead-avatar.ae-preview {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  font-size: 20px;
  box-shadow: none;
}

.ae-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 14px;
}

.ae-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.ae-actions, .ae-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.ae-actions form {
  margin: 0;
}

.lt-search.dl-search {
  width: 420px;
}
.lt-search.dl-search .lt-suggest {
  left: auto;
  right: 0;
}
.lt-search.dl-search input:focus {
  outline: 0;
  box-shadow: none;
}

.dl-note {
  padding: 10px 14px;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  background: #FFFBEB;
  color: #92400E;
  font-size: 13px;
}

.dl-dealer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dl-dealer .lead-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.dl-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lt-table.dl-table {
  min-width: 940px;
}

.dl-col-dealer {
  min-width: 220px;
  max-width: 280px;
}

.dl-col-contact {
  max-width: 205px;
}

.dl-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  overflow: hidden;
  color: #6B7280;
  font-size: 12.5px;
  text-overflow: ellipsis;
}

.dl-why {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: #EEF2FF;
  color: #3730A3;
  font-size: 11px;
  font-weight: 600;
}

.dl-line {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-iso {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-right: 4px;
  padding: 0 6px;
  border-radius: 4px;
  background: #F3F4F6;
  color: #374151;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.dl-warn {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 9999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.lt-table th.dl-col-num, .lt-table td.dl-col-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dl-switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  border-radius: 9999px;
  background: #9CA3AF;
  vertical-align: middle;
}
.dl-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: #fff;
}
.dl-switch.is-on {
  background: #4F46E5;
}
.dl-switch.is-on::after {
  left: 16px;
}
.dl-switch:hover {
  background: #6B7280 !important;
}
.dl-switch.is-on:hover {
  background: #4338CA !important;
}
.dl-switch:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}

.dl-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #6B7280 !important;
}
.dl-edit:hover {
  background: #F3F4F6 !important;
  color: #111827 !important;
}

.lt-table mark {
  background: #FEF3C7;
  color: inherit;
  border-radius: 2px;
}

.dl-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dl-title .lead-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  font-size: 18px;
  box-shadow: none;
}

.dl-show .br-facts {
  grid-template-columns: 110px minmax(0, 1fr);
}

.dl-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.dl-section-head .br-section-title {
  margin-top: 0;
}

.dl-show .lt-table {
  min-width: 620px;
}

.dl-actions {
  text-align: right !important;
  white-space: nowrap;
}

.dl-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-person .lead-avatar {
  flex-shrink: 0;
  box-shadow: none;
}

.dl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dl-form-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
}

.dl-checks {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 4px;
}

.dl-form .lt-opt-search.fb-select {
  height: 36px;
  margin: 0;
  font-size: 14px;
}

.dl-checks .lt-opt input {
  position: static;
  width: 16px;
  height: 16px;
}

.dl-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.dl-inline {
  display: inline-flex;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.dl-actions .dl-edit {
  vertical-align: middle;
}

.dl-col-owner {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-link.dl-link-button {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.dl-inbound {
  margin-top: 16px;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #111827;
}

.dl-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
}
.dl-inline-form .ev-field {
  flex: 1 1 320px;
}

.dl-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
}
.dl-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #4F46E5;
}

.ap-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ap-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: #4338CA;
  cursor: pointer;
  list-style: none;
}
.ap-more > summary::-webkit-details-marker {
  display: none;
}
.ap-more > summary:hover {
  color: #312E81;
}
.ap-more > summary:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}
.ap-more > summary svg {
  transition: transform 0.15s;
}

.ap-more[open] > summary svg {
  transform: rotate(180deg);
}

.ap-more .ap-when-open {
  display: none;
}

.ap-more[open] .ap-when-open {
  display: inline;
}

.ap-more[open] .ap-when-closed {
  display: none;
}

.ap-days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ap-day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #fff;
  color: #374151 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.ap-day:hover {
  border-color: #9CA3AF;
  background: #F9FAFB !important;
}
.ap-day.is-active {
  border-color: #111827;
  background: #111827 !important;
  color: #fff !important;
}
.ap-day.is-active .lt-count {
  background: #374151;
  color: #F9FAFB;
}

.ap-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px 0 8px;
  border: 1px solid #C7D2FE;
  border-radius: 9999px;
  background: #EEF2FF;
  color: #3730A3;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ap-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #6366F1;
}
.ap-status.is-started {
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #065F46;
}
.ap-status.is-started::before {
  background: #10B981;
}
.ap-status.is-cancelled {
  border-color: #FECACA;
  background: #FEF2F2;
  color: #991B1B;
}
.ap-status.is-cancelled::before {
  background: #EF4444;
}

.ap-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.ap-actions form {
  margin: 0;
}

button.lt-btn.ap-btn-confirm {
  height: 32px;
  padding: 0 12px;
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #065F46 !important;
  font-size: 13px;
}
button.lt-btn.ap-btn-confirm:hover {
  border-color: #6EE7B7;
  background: #D1FAE5;
}

.ap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #6B7280 !important;
}
.ap-icon:hover {
  background: #F3F4F6 !important;
  color: #111827 !important;
}
.ap-icon:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}
.ap-icon.is-danger:hover {
  background: #FEF2F2 !important;
  color: #B91C1C !important;
}

.lt-table.ap-table {
  min-width: 720px;
}

.ap-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px !important;
}

.ap-actions.ap-actions-start {
  justify-content: flex-start;
}

.ap-drawer-wrap {
  position: fixed;
  inset: 0;
  z-index: 200;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #111827;
}
.ap-drawer-wrap[hidden] {
  display: none;
}

.ap-drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.4);
  cursor: default;
  animation: ap-fade 0.15s ease-out;
}

.ap-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 520px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -8px 0 32px rgba(17, 24, 39, 0.18);
  outline: 0;
  animation: ap-slide 0.2s ease-out;
}

.ap-drawer-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
}

.ap-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 12px;
}

.ap-drawer-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  overflow-wrap: anywhere;
}

.ap-drawer-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0 20px 14px;
  border-bottom: 1px solid #F3F4F6;
}
.ap-drawer-status .dl-iso {
  height: 24px;
  margin: 0;
}

.ap-drawer-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #F3F4F6;
}
.ap-drawer-quick form {
  margin: 0;
}

.ap-drawer-section {
  padding: 14px 20px 2px;
  border-bottom: 1px solid #F3F4F6;
}
.ap-drawer-section h3 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
}
.ap-drawer-section .br-facts {
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 0 0 12px;
}

.ap-comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 10px;
}
.ap-comment-form textarea.fb-select {
  height: auto;
  padding: 8px 10px;
  line-height: 1.4;
  resize: vertical;
}

.ap-comment-foot {
  display: flex;
  justify-content: flex-end;
}

.ap-comment-log {
  max-height: 220px;
  margin-bottom: 14px;
  padding: 10px 12px;
  overflow-y: auto;
  border-radius: 8px;
  background: #F9FAFB;
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.ap-comments .lt-muted {
  margin: 0 0 14px;
}

.ap-drawer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ap-drawer-tags .dl-iso {
  margin: 0;
}

.ap-drawer-list {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  font-size: 14px;
}
.ap-drawer-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}
.ap-drawer-list time {
  flex-shrink: 0;
  color: #6B7280;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.ap-drawer-note {
  padding-bottom: 14px;
  font-size: 14px;
}
.ap-drawer-note p {
  margin: 0;
  color: #374151;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.ap-drawer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 14px 20px;
  border-top: 1px solid #F3F4F6;
  background: #fff;
  position: sticky;
  bottom: 0;
}

@keyframes ap-slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes ap-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ap-drawer, .ap-drawer-scrim {
    animation: none;
  }
}
.ap-status.is-unused {
  border-color: #E5E7EB;
  background: #F9FAFB;
  color: #374151;
}
.ap-status.is-unused::before {
  background: #9CA3AF;
}

.ap-status.is-send_out {
  border-color: #BAE6FD;
  background: #F0F9FF;
  color: #075985;
}
.ap-status.is-send_out::before {
  background: #0EA5E9;
}

.ap-status.is-used, .ap-status.is-accepted {
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #065F46;
}
.ap-status.is-used::before, .ap-status.is-accepted::before {
  background: #10B981;
}

.ap-status.is-discarded, .ap-status.is-declined {
  border-color: #FECACA;
  background: #FEF2F2;
  color: #991B1B;
}
.ap-status.is-discarded::before, .ap-status.is-declined::before {
  background: #EF4444;
}

.ap-status.is-pending {
  border-color: #FDE68A;
  background: #FFFBEB;
  color: #92400E;
}
.ap-status.is-pending::before {
  background: #F59E0B;
}

.vc-copy {
  margin-left: 8px;
  font-size: 12px !important;
}

.vc-back {
  align-self: flex-start;
}

.vc-steps {
  margin: 4px 0 8px;
  padding-left: 20px;
  font-size: 14px;
  color: #374151;
  list-style: decimal;
}

.vc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin: 6px 0;
}

.vc-meter-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 13px;
}

.vc-meter-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.vc-meter-text b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #111827;
}
.vc-meter-text .lt-muted {
  flex-shrink: 0;
  font-size: 12px;
}

.vc-meter {
  height: 6px;
  overflow: hidden;
  border-radius: 9999px;
  background: #F3F4F6;
}
.vc-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #4F46E5;
}

.lt .ap-code.fb-select {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ap-code.fb-form-title {
  font-size: 22px !important;
}

textarea.fb-select.ap-code {
  height: auto;
  padding: 8px 10px;
}

.dc-folders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.dc-folder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  color: #6B7280 !important;
  text-decoration: none;
}
.dc-folder:hover {
  border-color: #9CA3AF;
  background: #F9FAFB !important;
}
.dc-folder:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}
.dc-folder svg {
  flex-shrink: 0;
}

.dc-folder-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dc-folder-text b {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.nc-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: none;
  font-family: inherit;
  color: #111827;
  text-align: left;
  cursor: pointer;
}
.nc-head:hover {
  background: #F9FAFB;
}
.nc-head:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: -2px;
}
.nc-head svg {
  margin-left: auto;
  color: #6B7280;
  transition: transform 0.15s;
}

.nc-title {
  font-size: 15px;
  font-weight: 600;
}

.nc-section:has(.nc-list.active) .nc-head svg {
  transform: rotate(180deg);
}

.nc-list {
  display: none;
  border-top: 1px solid #F3F4F6;
}
.nc-list.active {
  display: block;
}

.nc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.nc-row time {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.nc-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nc-badge {
  flex-shrink: 0;
  max-width: 220px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-empty {
  margin: 0;
  padding: 14px 18px;
  font-size: 13px;
  color: #6B7280;
}

.nc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
}

.nc-list .nc-row:last-child {
  border-bottom: 0;
}

.ai-score {
  color: #4338CA;
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ai-score-none {
  color: #9CA3AF;
}

.ai-score.is-unrated {
  color: #6B7280;
  font-size: 13px;
  letter-spacing: 0;
}

.ai-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 16px;
}

.ai-card-line {
  margin: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.ai-card-line .is-old {
  color: #B45309;
  font-weight: 500;
}

.ai-card-sources {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-wrap: anywhere;
}

.ai-card-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: #6B7280;
}

.ai-card-error {
  margin: 0;
  padding: 10px 18px;
  font-size: 13px;
  color: #B45309;
}

.of-page {
  max-width: 820px;
}

.of-search {
  width: 240px;
}

.of-boat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: #111827;
  text-decoration: none;
}

.of-boat:hover .of-name {
  text-decoration: underline;
}

.of-thumb {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 44px;
  overflow: hidden;
  border-radius: 6px;
  background: #F3F4F6;
  color: #9CA3AF;
}
.of-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.of-name {
  font-size: 14px;
  font-weight: 600;
}

.of-price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.of-type {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
}
.of-type.is-new {
  background: #D1FAE5;
  color: #065F46;
}

.of-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  padding: 12px 16px 16px;
}

.of-photo {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background: #F3F4F6;
}
.of-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wz {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wz-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wz-step {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 6px;
  border: 0;
  border-bottom: 2px solid #E5E7EB;
  background: none;
  color: #6B7280;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.wz-step:hover {
  color: #111827;
}
.wz-step:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
}
.wz-step.is-active {
  border-bottom-color: #111827;
  color: #111827;
  font-weight: 600;
}
.wz-step.is-active .wz-num {
  background: #111827;
  color: #fff;
}
.wz-step.is-done {
  border-bottom-color: #047857;
}
.wz-step.is-done .wz-num {
  background: #D1FAE5;
  color: #065F46;
}
.wz-step.is-done .wz-n {
  display: none;
}
.wz-step.is-done .wz-tick {
  display: inline-flex;
}

.wz-num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #F3F4F6;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.wz-tick {
  display: none;
}

.wz-title {
  min-width: 0;
}

.wz-errors {
  margin: 0;
  padding-left: 18px;
}

.wz-panel[hidden], .wz .lt-btn[hidden], [data-wz-when][hidden] {
  display: none;
}

.wz-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 18px 20px;
}

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

.wz-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wz-group legend, .wz-legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
}

.wz-group legend {
  margin-bottom: 8px;
}

.wz-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.wz-choices.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wz-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.wz-choice:hover {
  border-color: #9CA3AF;
}
.wz-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wz-choice:has(input:checked) {
  border-color: #111827;
  box-shadow: inset 0 0 0 1px #111827;
  background: #F9FAFB;
}
.wz-choice:has(input:focus-visible) {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
}

.wz-choice-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.wz-choice-note {
  font-size: 12.5px;
  color: #6B7280;
}

.wz-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}

.wz-short {
  max-width: 260px;
}

.wz-drop {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.wz-drop:hover {
  border-color: #6B7280;
  background: #F9FAFB;
}
.wz-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.wz-drop-note {
  color: #6B7280;
  font-size: 13px;
  font-weight: 400;
}

.wz-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.wz-files:empty {
  display: none;
}

.wz-file {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: #4B5563;
}
.wz-file img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  background: #F3F4F6;
  object-fit: cover;
}

.wz-remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wz-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 13px;
  color: #111827;
}

.wz-docs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wz-docs:empty {
  display: none;
}

.wz-review {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
  font-size: 14px;
}
.wz-review dt {
  color: #6B7280;
}
.wz-review dd {
  margin: 0;
  color: #111827;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.wz-review dd.is-empty {
  color: #9CA3AF;
}

.wz-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wz-cancel {
  margin-left: auto;
}

@media (max-width: 640px) {
  .wz-title {
    display: none;
  }
  .wz-step.is-active .wz-title {
    display: inline;
  }
  .wz-steps {
    grid-template-columns: repeat(5, auto);
  }
  .wz-grid, .wz-choices, .wz-choices.is-two {
    grid-template-columns: minmax(0, 1fr);
  }
  .of-search {
    width: 100%;
  }
}
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}
.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}
.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

trix-toolbar .trix-button-group {
  border-radius: 0.375rem;
}

trix-editor {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.75rem;
  min-height: 250px;
}

trix-editor:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

@tailwind base;
@tailwind components;
@tailwind utilities;
.bg-green-200 {
  backdrop-filter: blur();
}

body .notification {
  margin: 1.5rem 0;
}
body {
  background-color: white;
  position: relative;
  width: 100%;
  margin: 0px auto;
}
body header div nav.tabs ul.sessions {
  justify-content: flex-end;
}
body header div nav.tabs ul a {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
body main[role=main] {
  margin: 2rem 0;
}
body main[role=main] .wrapper .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body main[role=main] .wrapper .container .sessions h3 {
  text-align: center;
}
body main[role=main] .wrapper .container .sessions {
  margin: 0 auto;
  max-width: 20rem;
}

.table th:not([align]) {
  border: 1px inset #707070;
  border-collapse: collapse;
  border-top: 1px inset white;
  border-spacing: 0;
}
@media screen and (min-width: 876px) {
  .table th:not([align]) {
    min-width: 120px;
  }
}

.table th:not([align]):first-child {
  border: 0px inset #707070;
  border-collapse: collapse;
  border-left: 0;
  border-spacing: 0;
}
@media screen and (min-width: 876px) {
  .table th:not([align]):first-child {
    min-width: 50px;
  }
}

.table th:not([align]):last-child {
  border: 0px inset #707070;
  border-collapse: collapse;
  border-left: 0;
  border-spacing: 0;
}

@media only screen and (min-width: 1408px) {
  .container {
    max-width: 1420px;
  }
}
@media only screen and (max-width: 878px) {
  .mobile-table {
    display: block !important;
    overflow: scroll;
  }
  .mobile-table thead th {
    font-size: 12px;
  }
}
.custom-label {
  position: absolute;
  top: 0;
  left: 10%;
  display: flex;
  z-index: 1;
  padding: 5px;
  border: white;
}
.custom-label.is-active {
  opacity: 1;
  display: flex !important;
}

.bold {
  font-weight: bold;
}

.status-filter {
  position: relative;
  display: flex;
  flex-flow: row;
  gap: 0.5rem;
}

.dealers .dropdown-menu {
  min-width: 22rem;
  height: 500px;
  overflow-y: scroll;
}
.dealers .dropdown-menu .dropdown-item {
  font-size: 13px;
  line-height: 22px;
  padding: 0.2rem 1rem;
  position: relative;
  height: 22px;
  display: flex;
  align-items: start;
  flex-flow: row wrap;
}

.notification-center {
  display: none;
  position: absolute;
  top: 80px;
  z-index: 5;
  right: 0;
  background: white;
  border-radius: 6px;
  overflow: scroll;
  max-height: 600px;
  padding: 25px;
  background: #f8f8f8;
}
@media only screen and (max-width: 768px) {
  .notification-center {
    max-height: 70vh;
    min-width: 300px;
    padding: 0;
    margin: 0 10px;
  }
}
.notification-center {
  border: 1px solid #ededed;
}
.notification-center .toggle-button {
  cursor: pointer;
  display: flex;
  align-content: center;
  position: relative;
  min-width: 350px;
  padding: 20px 15px;
  border: 1px solid #ededed;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  font-size: 18px;
  font-weight: bold;
}
.notification-center .toggle-button .toggle-title {
  line-height: 24px;
  margin-right: 15px;
}
.notification-center .toggle-button .icon {
  position: absolute;
  right: 20px;
  font-size: 12px;
}
.notification-center .notification-title {
  font-weight: bold;
}
.notification-center .notification-info {
  padding-top: 5px;
  font-size: 14px;
  color: #ddd;
}
.notification-center .notification-info span {
  font-size: 14px;
  color: #ddd;
}
.notification-center .no-notifications {
  padding: 20px 15px;
  color: #333;
  border: 1px solid #ededed;
}
.notification-center .date {
  font-size: 14px;
  color: #333;
}
.notification-center .group .notifications {
  display: none;
}
.notification-center .group .notifications.active {
  display: block;
}
.notification-center .group .notifications .notification-block {
  padding: 15px;
  border: 1px solid #ededed;
}
.notification-center .group .notifications .notification-block a {
  justify-content: flex-start;
  border: 0;
  padding: 0;
}

.overlay {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 1, 1, 0.2);
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.delete-block {
  float: right;
  padding-right: 0px;
  top: -11px;
  position: relative;
}

.close-tooltip {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  margin: 10px;
  font-size: 23px;
  color: #00d1b2;
}

.tooltip {
  top: 50px;
  display: none;
  border: 1px solid #938d8d;
  padding: 30px 30px;
  max-width: 500px;
  position: absolute;
  background: white;
  z-index: 11;
  border-radius: 5px;
}

span.icon.rating-icon {
  cursor: pointer;
  margin-left: 25px;
  position: absolute;
  margin-top: 0;
  height: 24px;
  width: 24px;
}
@media only screen and (max-width: 878px) {
  span.icon.rating-icon {
    display: block;
    position: relative;
    left: 50px;
    top: -14px;
  }
}

.alert ul {
  margin-bottom: 0;
}

.columns {
  width: 100%;
}

form.form {
  width: 100%;
}
@media only screen and (max-width: 824px) {
  form.form {
    padding: 0 !important;
  }
}

.w-100 {
  width: 100%;
}

.filter-form select {
  width: 100%;
}

.overflow-scroll {
  max-width: 100%;
  overflow: scroll;
}

#dealer_email_notification {
  margin-right: 0 !important;
}

.select-all {
  margin-left: 10px;
  margin-right: 10px;
}

.qr_code {
  max-width: 400px;
  margin: auto;
  display: block;
}
@media only screen and (max-width: 824px) {
  .qr_code {
    max-width: 100%;
  }
}

.mb-3 {
  margin-bottom: 20px;
}

.mt-5 {
  margin-top: 50px;
}
@media only screen and (min-width: 1024px) {
  .mt-5 {
    margin-top: 80px;
  }
}

.mt-2 {
  margin-top: 10px;
}

.ml-1 {
  margin-left: 1em;
}

form.update-form {
  min-width: 100%;
}

@media only screen and (max-width: 1024px) {
  .tabs {
    padding: 0 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .self-signup {
    margin: auto;
    max-width: 80%;
    min-width: 600px;
  }
}
@media only screen and (max-width: 1024px) {
  .self-signup {
    margin: auto;
    max-width: 80%;
    min-width: 600px;
  }
  .self-signup .button.is-info, .self-signup a.is-info {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
.self-signup button, .self-signup a {
  width: 230px;
  text-align: center;
}

.has-background-info.is-light {
  background-color: #e3f1fa !important;
}

.has-background-success.is-light {
  background-color: #e6f7ec !important;
}

#unique_id {
  margin-bottom: 50px;
}

.mb-5 {
  margin-bottom: 2rem;
}

.button.is-link {
  background-color: white;
  border: 1px solid black;
  color: black;
}
.button.is-link:hover {
  color: white;
  background-color: black;
}

input[type=checkbox] {
  padding-right: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

th .asc {
  position: relative;
}
th .asc:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-image: url(https://crm.greenlinehybrid.com/caret-up-solid.svg);
  width: 20px;
  height: 20px;
  top: 0;
  right: -25px;
}

th .desc {
  position: relative;
}
th .desc:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-image: url(https://crm.greenlinehybrid.com/caret-down-solid.svg);
  width: 20px;
  height: 20px;
  top: 0;
  right: -25px;
}

.is-unread {
  font-weight: bold;
  background: white;
}

.is-read {
  background: #f9f9f9;
}

.actions {
  display: inline-flex;
}
.actions .button_to {
  width: 50%;
  display: block;
}

#cameraFileInput {
  display: none;
}

.qrcode-video div {
  padding-top: 0 !important;
}
.qrcode-video video {
  position: relative !important;
}

.rating {
  cursor: pointer;
  width: 14px;
}

.notfilled svg path {
  stroke: black !important;
  fill: transparent !important;
  stroke-width: 40px !important;
}

.filled svg path {
  stroke: transparent !important;
  fill: black !important;
  stroke-width: 0 !important;
}

.tabs li.open-notifications-center {
  display: flex;
  align-items: center;
}

.dealers .dropdown-content {
  min-width: 500px;
}

#sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: 15.5rem;
  background: #fff;
  border-right: 1px solid #E5E7EB;
  font-family: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #111827;
  transition: width 0.2s ease;
}

.sidebar-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 0.75rem 0 1.125rem;
  border-bottom: 1px solid #E5E7EB;
}

.sidebar-logo {
  display: flex;
  align-items: center;
}
.sidebar-logo img {
  height: 1.75rem;
  width: auto;
}
.sidebar-logo:hover {
  background: none !important;
}

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6B7280;
  cursor: pointer;
}
.sidebar-toggle:hover {
  background: #F3F4F6;
  color: #111827;
}
.sidebar-toggle svg {
  transition: transform 0.2s ease;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem 0.625rem 1rem;
}
.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-group {
  margin: 0;
  padding: 0.875rem 0.75rem 0.375rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
}

.sidebar-divider {
  display: none;
  width: 1.75rem;
  height: 1px;
  margin: 0.625rem auto;
  background: #E5E7EB;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 6px;
  color: #374151 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.sidebar-link:hover {
  background: #F3F4F6 !important;
  color: #111827 !important;
}
.sidebar-link.is-active {
  background: #F3F4F6;
  color: #111827 !important;
  font-weight: 600;
}
.sidebar-link.is-active .sidebar-icon {
  color: #111827;
}
.sidebar-link:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 1px;
}

.sidebar-icon {
  flex-shrink: 0;
  color: #6B7280;
}

.sidebar-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-ext {
  color: #9CA3AF;
}

.sidebar-count {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.sidebar-count.is-hot {
  background: #FEF3C7;
  color: #92400E;
}

.sidebar-footer {
  position: relative;
  flex-shrink: 0;
  padding: 0.625rem;
  border-top: 1px solid #E5E7EB;
}

.sidebar-account > summary {
  list-style: none;
}
.sidebar-account > summary::-webkit-details-marker {
  display: none;
}

.sidebar-account-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}
.sidebar-account-btn:hover {
  background: #F3F4F6;
}

.sidebar-account[open] > .sidebar-account-btn {
  background: #F3F4F6;
}

.sidebar-avatar {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 9999px;
  background: #E0E7FF;
  color: #3730A3;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sidebar-who {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}

.sidebar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.sidebar-role {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #6B7280;
}

.sidebar-updown {
  flex-shrink: 0;
  color: #6B7280;
}

.sidebar-menu {
  position: absolute;
  z-index: 60;
  left: 0.625rem;
  right: 0.625rem;
  bottom: calc(100% - 0.25rem);
  padding: 6px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
}

.sidebar-menu-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.625rem 0.75rem;
  margin-bottom: 4px;
  border-bottom: 1px solid #F3F4F6;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem 0.625rem;
  border-radius: 6px;
  color: #111827 !important;
  font-size: 14px;
  text-decoration: none;
}
.sidebar-menu-item svg {
  color: #6B7280;
}
.sidebar-menu-item:hover {
  background: #F3F4F6 !important;
}

.with-sidebar {
  padding-left: 15.5rem;
  transition: padding-left 0.2s ease;
  overflow-x: auto;
}

.with-sidebar > main > .wrapper > .container {
  max-width: none;
  padding: 0 1.5rem;
}

body.sidebar-collapsed #sidebar {
  width: 4.5rem;
}
body.sidebar-collapsed #sidebar .sidebar-label {
  display: none;
}
body.sidebar-collapsed #sidebar .sidebar-divider {
  display: block;
}
body.sidebar-collapsed #sidebar .sidebar-header {
  justify-content: center;
  padding: 0;
}
body.sidebar-collapsed #sidebar .sidebar-toggle svg {
  transform: rotate(180deg);
}
body.sidebar-collapsed #sidebar .sidebar-nav ul {
  align-items: center;
}
body.sidebar-collapsed #sidebar .sidebar-link {
  justify-content: center;
  width: 2.75rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 8px;
}
body.sidebar-collapsed #sidebar .sidebar-count {
  position: absolute;
  top: 3px;
  right: 1px;
  height: 16px;
  min-width: 16px;
  padding: 0 4px;
  justify-content: center;
  background: #D97706;
  color: #fff;
  font-size: 10px;
  box-shadow: 0 0 0 2px #fff;
}
body.sidebar-collapsed #sidebar .sidebar-account-btn {
  justify-content: center;
  padding: 0.375rem 0;
}
body.sidebar-collapsed #sidebar .sidebar-menu {
  left: calc(100% + 0.25rem);
  right: auto;
  bottom: 0.5rem;
  width: 15rem;
}
body.sidebar-collapsed .with-sidebar {
  padding-left: 4.5rem;
}

@media (max-width: 767px) {
  body:not(.sidebar-expanded) #sidebar {
    width: 4.5rem;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-label {
    display: none;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-divider {
    display: block;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-header {
    justify-content: center;
    padding: 0;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-toggle svg {
    transform: rotate(180deg);
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-nav ul {
    align-items: center;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-link {
    justify-content: center;
    width: 2.75rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 8px;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-count {
    position: absolute;
    top: 3px;
    right: 1px;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    justify-content: center;
    background: #D97706;
    color: #fff;
    font-size: 10px;
    box-shadow: 0 0 0 2px #fff;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-account-btn {
    justify-content: center;
    padding: 0.375rem 0;
  }
  body:not(.sidebar-expanded) #sidebar .sidebar-menu {
    left: calc(100% + 0.25rem);
    right: auto;
    bottom: 0.5rem;
    width: 15rem;
  }
  body:not(.sidebar-expanded) .with-sidebar {
    padding-left: 4.5rem;
  }
}
.sidebar-tip {
  position: fixed;
  z-index: 80;
  padding: 5px 9px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font: 500 12px/1.2 "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.notifications-page {
  width: 100%;
  text-align: left;
}

.notifications-page .notification-center {
  display: block;
  position: static;
  max-height: none;
  max-width: 48rem;
  overflow: visible;
}
