.ghl-conv-item.active {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.12);
  border-left: 3px solid var(--ghl-accent, #ff6b35);
}
.ghl-conv-bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.ghl-conv-inbound {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.08);
}
.ghl-conv-outbound {
  background: rgba(113, 221, 55, 0.12);
  margin-left: auto;
}
.ghl-kanban-col {
  min-height: 200px;
}
.ghl-scope-ok {
  color: var(--bs-success);
}
.ghl-scope-fail {
  color: var(--bs-danger);
}
#ghl-sync-indicator.sync-live {
  opacity: 1;
}
#ghl-sync-indicator {
  opacity: 0.5;
  transition: opacity 0.3s;
}
.ghl-smart-list .list-group-item {
  cursor: pointer;
}
.ghl-smart-list .list-group-item:hover {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.06);
}
.ghl-contact-header .avatar-initial {
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
}
.ghl-kanban {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.ghl-kanban-col {
  min-width: 260px;
  flex: 0 0 auto;
}
.ghl-kanban-card {
  cursor: grab;
  margin-bottom: 0.5rem;
}
.ghl-kanban-card:active {
  cursor: grabbing;
}
.ghl-kanban-card--dragging {
  opacity: 0.55;
}
.ghl-kanban-card--pending {
  opacity: 0.85;
  outline: 2px dashed rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.45);
}
.ghl-kanban-drop--over {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.08);
  border-radius: 0.375rem;
  min-height: 4rem;
}
.ghl-opp-card-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #28c76f;
}
.ghl-opp-card--compact .card-body {
  padding: 0.65rem !important;
}
.ghl-opp-contact-card {
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ghl-opp-contact-card:hover {
  box-shadow: 0 0.25rem 0.75rem rgba(67, 89, 113, 0.15);
  transform: translateY(-1px);
}
.ghl-opp-contact-empty {
  text-align: center;
}
.ghl-note-group h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary);
}
.ghl-activity-item {
  border-left: 2px solid rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}
.ghl-detail-card dl {
  margin-bottom: 0;
}
#ghl-fullcalendar {
  min-height: 520px;
}

.ghl-contact-content-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ghl-contact-content-wrapper > .container-xxl {
  max-width: none;
  padding: 0;
}
.ghl-contact-page {
  --ghl-accent-soft: var(--ghl-accent-soft, rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.1));
  --ghl-accent-glow: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  --ghl-sidebar-w: 340px;
  position: relative;
  display: flex;
  min-height: calc(100vh - 6.75rem);
  background: linear-gradient(160deg, #f0f4f8 0%, #f8f9fb 45%, #eef2f7 100%);
  border-top: 1px solid rgba(67, 89, 113, 0.08);
  font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif;
}
.ghl-contact-page[data-density='compact'] .ghl-contact-sidebar-inner {
  padding: 0.75rem 1rem 1rem;
}
.ghl-contact-page[data-density='compact'] .ghl-sidebar-field {
  margin-bottom: 0.5rem;
}
.ghl-contact-page.ghl-sidebar-collapsed .ghl-contact-sidebar {
  width: 0;
  min-width: 0;
  overflow: hidden;
  border-right: none;
}
/* Contact customize controls live in .ghl-page-header-actions (Customize + Sidebar layout) */
.ghl-contact-appointments-card .ghl-contact-appt-row:last-child {
  margin-bottom: 0 !important;
}
.ghl-contact-prefs-panel {
  position: fixed;
  top: 7.25rem;
  right: 1.25rem;
  z-index: 1050;
  width: 260px;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(67, 89, 113, 0.12);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.ghl-contact-prefs-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ghl-prefs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.ghl-prefs-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a1acb8;
  margin-bottom: 0.5rem;
}
.ghl-prefs-section {
  margin-bottom: 1rem;
}
.ghl-pref-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ghl-pref-swatch {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ghl-pref-swatch:hover {
  transform: scale(1.1);
}
.ghl-pref-swatch.active {
  border-color: #233446;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--swatch);
}
.ghl-pref-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ghl-pref-pills button {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  background: #fff;
  color: #566a7f;
}
.ghl-pref-pills button.active {
  border-color: var(--ghl-accent);
  color: var(--ghl-accent);
  background: var(--ghl-accent-soft);
}
.ghl-contact-sidebar {
  width: var(--ghl-sidebar-w);
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(67, 89, 113, 0.1);
  overflow-y: auto;
  box-shadow: 2px 0 24px rgba(15, 23, 42, 0.04);
  transition: width 0.25s ease, min-width 0.25s ease;
}
.ghl-contact-identity-card {
  background: linear-gradient(180deg, var(--ghl-accent-soft) 0%, #fff 70%);
  border: 1px solid rgba(67, 89, 113, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.ghl-contact-quick-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(67, 89, 113, 0.08);
}
.ghl-quick-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(67, 89, 113, 0.12);
  background: #fff;
  color: #566a7f;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ghl-quick-action:hover:not(:disabled) {
  color: var(--ghl-accent);
  border-color: var(--ghl-accent);
  background: var(--ghl-accent-soft);
}
.ghl-quick-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ghl-contact-sidebar-inner {
  padding: 1rem 1.25rem 1.5rem;
}
.ghl-contact-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #697a8d;
  text-decoration: none;
  margin-bottom: 1rem;
}
.ghl-contact-back:hover {
  color: #566a7f;
}
.ghl-contact-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ghl-contact-avatar-wrap .avatar-initial {
  width: 3.25rem !important;
  height: 3.25rem !important;
  font-size: 1.125rem !important;
}
.ghl-avatar-gradient {
  border: none !important;
}

/* Sneat .avatar is inline by default — block-size is ignored, so absolute initials float out of table rows */
.ghl-avatar-inline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
}

.ghl-avatar-inline .avatar-initial {
  position: relative !important;
  inset: auto !important;
}

.ghl-list-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
}

.ghl-list-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table td,
.table th {
  vertical-align: middle;
}

.table td .badge,
.ghl-table-tag-cell .badge,
.ghl-tag-pill,
.ghl-detail-kv .badge {
  position: static;
  top: auto;
  transform: none;
  vertical-align: middle;
}

.ghl-table-tag-cell {
  vertical-align: middle;
}

.nx-tbl td .nx-badge {
  position: static;
  top: auto;
  vertical-align: middle;
}
.ghl-contact-identity-text {
  flex: 1;
  min-width: 0;
}
.ghl-contact-identity-text h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #233446;
}
.ghl-contact-delete {
  margin-left: auto;
  color: #a1acb8;
}
.ghl-contact-delete:hover {
  color: #e11d48;
  background: #fff1f2;
}
.ghl-contact-meta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ghl-contact-meta-item {
  flex: 1;
}
.ghl-field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #a1acb8;
  margin-bottom: 0.25rem;
}
.ghl-contact-tags .badge {
  font-weight: 500;
  background: var(--ghl-accent-soft);
  color: var(--ghl-accent);
  border-radius: 999px;
  padding: 0.35em 0.75em;
  border: 1px solid transparent;
}
.ghl-contact-segments {
  display: flex;
  gap: 0.35rem;
  padding: 0.2rem;
  background: #f0f2f5;
  border-radius: 0.5rem;
}
.ghl-contact-segments button {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #697a8d;
}
.ghl-contact-segments button.active {
  background: #fff;
  color: var(--ghl-accent);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.ghl-contact-field-search {
  position: relative;
}
.ghl-contact-field-search .bx-search {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a1acb8;
  font-size: 1rem;
  z-index: 1;
}
.ghl-contact-field-search input {
  padding-left: 2rem;
  border-radius: 0.375rem;
  background: #f5f6f8;
  border-color: transparent;
}
.ghl-contact-accordion .accordion-item {
  border: none;
  background: transparent;
}
.ghl-contact-accordion .accordion-button {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0;
  background: transparent;
  box-shadow: none;
  color: #566a7f;
}
.ghl-contact-accordion .accordion-button:not(.collapsed) {
  color: #233446;
  background: transparent;
}
.ghl-contact-accordion .accordion-body {
  padding: 0 0 0.75rem;
}
.ghl-sidebar-field {
  margin-bottom: 0.75rem;
}
.ghl-sidebar-field label {
  font-size: 0.75rem;
  color: #a1acb8;
  margin-bottom: 0.15rem;
  display: block;
}
.ghl-sidebar-field .form-control,
.ghl-sidebar-field .form-select {
  font-size: 0.875rem;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.15rem 0;
  border-radius: 0;
}
.ghl-sidebar-field .form-control:focus,
.ghl-sidebar-field .form-select:focus {
  border-color: var(--ghl-accent);
  background: #fff;
  box-shadow: 0 0 0 2px var(--ghl-accent-soft);
}
.ghl-sidebar-field-readonly {
  font-size: 0.875rem;
  color: #233446;
  padding: 0.15rem 0;
}
.ghl-sidebar-field-email {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ghl-sidebar-field-email .btn-copy {
  padding: 0;
  border: none;
  background: none;
  color: #a1acb8;
  font-size: 1rem;
}
.ghl-contact-sidebar-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(67, 89, 113, 0.1);
}
.ghl-contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  box-shadow: -4px 0 24px rgba(15, 23, 42, 0.03);
}
.ghl-contact-tabs {
  flex-shrink: 0;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
  gap: 0.15rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.ghl-contact-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #697a8d;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem 0.6rem;
  margin-bottom: -1px;
  white-space: nowrap;
}
.ghl-contact-tabs .nav-link i {
  font-size: 1.1rem;
  opacity: 0.85;
}
.ghl-contact-tabs .nav-link.active {
  color: var(--ghl-accent);
  border-bottom-color: var(--ghl-accent);
  background: transparent;
}
.ghl-contact-tabs .nav-link.active i {
  opacity: 1;
}
.ghl-contact-tab-panels {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.ghl-contact-tab-panels > .tab-pane {
  height: 100%;
}
.ghl-contact-tab-inner {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(100vh - 11rem);
}
.ghl-contact-conv-root {
  height: 100%;
  min-height: 420px;
}
.ghl-conv-contact-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
}
.ghl-conv-contact-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.12);
}
.ghl-conv-contact-body {
  position: relative;
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}
.ghl-conv-refresh-btn {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  z-index: 2;
}
.ghl-conv-contact-toolbar {
  display: none;
}
.ghl-custom-tab-iframe {
  width: 100%;
  min-height: calc(100vh - 14rem);
  border: none;
  border-radius: 0.5rem;
}
.ghl-tab-pref-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.25rem 0;
  cursor: pointer;
}
.ghl-tab-pref-custom {
  justify-content: space-between;
  cursor: default;
}
.ghl-tab-pref-row input {
  flex-shrink: 0;
}
.ghl-tab-pref-row .bx {
  font-size: 1rem;
  color: #697a8d;
}
.ghl-menu-section-header {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ghl-menu-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.ghl-menu-section-toggle .menu-header-text {
  flex: 1;
  text-align: left;
}
.ghl-menu-section-chevron {
  transition: transform 0.2s ease;
  font-size: 1.1rem;
  opacity: 0.65;
}
.ghl-menu-section-toggle.collapsed .ghl-menu-section-chevron {
  transform: rotate(-90deg);
}
.ghl-menu-section-item--hidden {
  display: none !important;
}
.ghl-tab-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ghl-tab-order-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.25rem;
  border-radius: 0.375rem;
  cursor: grab;
  border: 1px solid transparent;
}
.ghl-tab-order-item:hover {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.06);
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.15);
}
.ghl-tab-order-item.ghl-tab-order-dragging {
  opacity: 0.55;
  cursor: grabbing;
}
.ghl-tab-order-handle {
  color: #a1acb8;
  padding: 0 0.15rem;
  cursor: grab;
}
.ghl-tab-order-label {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.ghl-dashboard-installer .ghl-dash-stat-card {
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  padding: 1rem 1.15rem;
  height: 100%;
}
.ghl-dashboard-installer .ghl-dash-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.ghl-contact-job-status,
.ghl-job-status-cycle {
  cursor: pointer;
}
.ghl-contact-job-status:hover,
.ghl-job-status-cycle:hover {
  filter: brightness(0.95);
}
.ghl-contact-tabs .ghl-tab-custom .nav-link span::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--ghl-accent);
  vertical-align: super;
}
.ghl-contact-prefs-panel {
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
}
.ghl-conv-contact-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #a1acb8;
}
.ghl-conv-contact-empty-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  opacity: 0.45;
}
.ghl-conv-contact-empty h6 {
  color: #697a8d;
  font-weight: 500;
}
.ghl-conv-contact-composer {
  border-top: 1px solid rgba(67, 89, 113, 0.12);
  padding: 0.75rem 1.25rem 1rem;
  background: #fafbfc;
}
.ghl-conv-composer-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.ghl-conv-composer-tabs button {
  border: none;
  background: none;
  padding: 0;
  color: #697a8d;
  font-weight: 500;
}
.ghl-conv-composer-tabs button.active {
  color: var(--ghl-accent, #2563eb);
  border-bottom: 2px solid var(--ghl-accent, #2563eb);
}
.ghl-conv-no-phone {
  background: #e8f1ff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: #566a7f;
  margin-bottom: 0.75rem;
}
.ghl-conv-composer-input {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  border: 1px solid #d9dee3;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.5rem;
}
.ghl-conv-composer-input textarea {
  border: none;
  resize: none;
  flex: 1;
  font-size: 0.875rem;
  min-height: 2.5rem;
  max-height: 6rem;
}
.ghl-conv-composer-input textarea:focus {
  box-shadow: none;
  outline: none;
}
.ghl-conv-composer-tools {
  display: flex;
  gap: 0.35rem;
  color: #a1acb8;
  font-size: 1.15rem;
  padding-bottom: 0.15rem;
}
.ghl-conv-inbox-panel {
  width: 280px;
  border-right: 1px solid rgba(67, 89, 113, 0.12);
  overflow-y: auto;
  flex-shrink: 0;
}
.ghl-conv-thread-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ghl-conv-thread-panel .ghl-conv-thread {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}
.ghl-conv-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ghl-conv-internal-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 0.15rem;
}

.ghl-conv-internal {
  background: #fff8e6 !important;
  border: 1px solid #ffe08a;
  color: #5c4a1f;
  max-width: min(72%, 420px);
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.ghl-internal-mention {
  color: #b45309;
  font-weight: 600;
}

.ghl-team-inbox-page .content-wrapper.ghl-team-inbox-wrapper {
  padding-bottom: 0;
}

.ghl-team-inbox-shell {
  padding-top: 0.75rem !important;
  padding-bottom: 0.5rem !important;
  height: calc(100vh - 11rem);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.ghl-team-inbox {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  overflow: hidden;
}

.ghl-team-inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
}

.ghl-team-inbox-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr minmax(220px, 280px);
  min-height: 0;
}

.ghl-team-inbox-list-panel {
  border-right: 1px solid rgba(67, 89, 113, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f8f9fb;
}

.ghl-inbox-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
  padding: 0 0.25rem;
}

.ghl-inbox-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.65rem 0.35rem;
  font-size: 0.75rem;
  color: rgba(67, 89, 113, 0.75);
  border-bottom: 2px solid transparent;
}

.ghl-inbox-tab.active {
  color: var(--ghl-accent, var(--ghl-accent, #ff6b35));
  border-bottom-color: var(--ghl-accent, var(--ghl-accent, #ff6b35));
  font-weight: 600;
}

.ghl-inbox-tab i {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.ghl-inbox-select-row {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.08);
}

.ghl-inbox-list-scroll {
  flex: 1;
  overflow-y: auto;
}

.ghl-inbox-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(67, 89, 113, 0.06);
  background: transparent;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  text-align: left;
}

.ghl-inbox-item:hover,
.ghl-inbox-item.active {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.08);
}

.ghl-inbox-item.unread .ghl-inbox-item-preview {
  font-weight: 600;
  color: #384551;
}

.ghl-inbox-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(67, 89, 113, 0.12);
}

.ghl-inbox-item-body {
  flex: 1;
  min-width: 0;
}

.ghl-inbox-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.ghl-inbox-item-preview {
  display: block;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ghl-team-inbox-thread-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

.ghl-inbox-thread-head {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
}

.ghl-inbox-thread-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.ghl-inbox-thread-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.ghl-inbox-composer {
  border-top: 1px solid rgba(67, 89, 113, 0.1);
  padding: 0.75rem 1rem 1rem;
  background: #fafbfc;
}

.ghl-team-inbox-contact-panel {
  border-left: 1px solid rgba(67, 89, 113, 0.1);
  background: #f8f9fb;
  overflow-y: auto;
}

.ghl-inbox-notify-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.65rem;
}

.ghl-mention-menu {
  max-height: 220px;
  overflow-y: auto;
  min-width: 200px;
  padding: 0.35rem;
  margin-top: 0.35rem;
  border: 1px solid rgba(67, 89, 113, 0.14);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(67, 89, 113, 0.12);
}

.ghl-mention-menu .dropdown-item.active,
.ghl-mention-menu .dropdown-item:hover {
  background: var(--ghl-accent-soft, rgba(255, 107, 53, 0.12));
  color: var(--ghl-accent, #ff6b35);
}

.ghl-app-modal .modal-backdrop.show {
  opacity: 0.45;
}

.ghl-app-modal-content {
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgba(67, 89, 113, 0.18);
  overflow: hidden;
}

.ghl-app-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.ghl-app-modal-header .modal-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #566a7f;
}

.ghl-app-modal-body {
  padding: 1rem 1.25rem 1.1rem;
  background: #fff;
}

.ghl-app-modal-body .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #697a8d;
}

.ghl-app-modal-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(67, 89, 113, 0.1);
  background: #fafbfc;
  gap: 0.5rem;
}

.ghl-picker-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ghl-picker-search-wrap .ghl-picker-search,
.ghl-app-modal-body .ghl-picker-search {
  border-radius: 0.5rem;
  border-color: rgba(67, 89, 113, 0.2);
  padding: 0.55rem 0.85rem;
}

.ghl-picker-search-wrap .ghl-picker-search:focus,
.ghl-app-modal-body .ghl-picker-search:focus {
  border-color: var(--ghl-accent, #ff6b35);
  box-shadow: 0 0 0 0.2rem rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.18);
}

.ghl-picker-list {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  background: #fafbfc;
}

.ghl-picker-list .list-group-item {
  border-color: rgba(67, 89, 113, 0.08);
  padding: 0.65rem 0.9rem;
  background: transparent;
}

.ghl-picker-list .ghl-picker-item {
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ghl-picker-list .ghl-picker-item:hover,
.ghl-picker-list .ghl-picker-item:focus {
  background: var(--ghl-accent-soft, rgba(255, 107, 53, 0.1));
  color: #566a7f;
}

.ghl-picker-list .ghl-picker-item strong {
  font-weight: 600;
}

.ghl-picker-empty {
  font-size: 0.875rem;
  color: #a1acb8 !important;
  background: transparent !important;
}

.ghl-picker-hint {
  padding: 0.5rem 0.65rem;
  border-radius: 0.375rem;
  background: rgba(67, 89, 113, 0.04);
  line-height: 1.45;
}

#ghl-assoc-picker-modal .form-select[size] {
  min-height: 12rem;
  border-radius: 0.5rem;
}

#ghl-assoc-picker-modal #ghl-assoc-record-search {
  border-radius: 0.5rem;
}

.ghl-project-checklist .ghl-checklist-comment {
  font-size: 0.8125rem;
  resize: vertical;
  min-height: 2.5rem;
}

.ghl-workflow-audit-row:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.ghl-pipeline-check-item .input-group-text {
  padding: 0.2rem 0.45rem;
}

.ghl-tag-pill {
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .ghl-team-inbox-grid {
    grid-template-columns: minmax(200px, 260px) 1fr;
  }
  .ghl-team-inbox-contact-panel {
    display: none;
  }
}
.ghl-activity-day {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(67, 89, 113, 0.75);
  margin: 0.5rem 0;
}
.ghl-activity-row {
  display: flex;
  justify-content: center;
}
.ghl-activity-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(67, 89, 113, 0.18);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  box-shadow: 0 1px 2px rgba(67, 89, 113, 0.06);
}
.ghl-activity-icon {
  font-size: 1rem;
  color: rgba(67, 89, 113, 0.65);
  flex-shrink: 0;
}
.ghl-activity-text {
  flex: 1;
  min-width: 0;
}
.ghl-activity-detail {
  margin-left: 0.35rem;
  font-weight: 500;
}
.ghl-activity-time {
  flex-shrink: 0;
  color: rgba(67, 89, 113, 0.55);
  font-size: 0.75rem;
  white-space: nowrap;
}
.ghl-profile-activity .ghl-activity-pill {
  width: 100%;
  border-radius: 0.5rem;
}
@media (max-width: 991.98px) {
  .ghl-contact-page {
    flex-direction: column;
  }
  .ghl-contact-sidebar {
    width: 100%;
    max-height: 45vh;
  }
}
.ghl-builder-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.5rem;
  border: 1px dashed rgba(67, 89, 113, 0.35);
  border-radius: 0.5rem;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.04);
}
.ghl-builder-palette .ghl-builder-chip {
  cursor: grab;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  background: #fff;
  border: 1px solid rgba(67, 89, 113, 0.2);
}
.ghl-builder-canvas {
  min-height: 8rem;
  padding: 0.5rem;
  border: 1px solid rgba(67, 89, 113, 0.2);
  border-radius: 0.5rem;
  background: #fff;
}
.ghl-builder-canvas.ghl-drag-over {
  outline: 2px dashed var(--ghl-accent, #ff6b35);
  outline-offset: 2px;
}
.ghl-builder-canvas .ghl-builder-field {
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.35rem;
  border-radius: 0.35rem;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.06);
  cursor: grab;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ghl-users-split .table-active {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.1);
}
.ghl-user-profile-card .ghl-detail-kv {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(67, 89, 113, 0.08);
}
.ghl-project-stepper {
  padding: 1rem 1.25rem;
  overflow-x: auto;
}
.ghl-stepper-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
}
.ghl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  border: none;
  background: transparent;
  min-width: 7rem;
  position: relative;
  color: #697a8d;
}
.ghl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: calc(50% + 1.1rem);
  width: calc(100% - 2.2rem);
  height: 2px;
  background: #d9dee3;
  z-index: 0;
}
.ghl-step.done:not(:last-child)::after {
  background: #71dd37;
}
.ghl-step-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid #d9dee3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 1;
  font-size: 1rem;
}
.ghl-step-icon.done {
  border-color: #71dd37;
  background: #e8fadf;
  color: #71dd37;
}
.ghl-step-icon.active {
  border-color: var(--ghl-accent, #ff6b35);
  color: var(--ghl-accent, #ff6b35);
}
.ghl-step-label {
  font-size: 0.6875rem;
  text-align: center;
  line-height: 1.2;
  max-width: 6.5rem;
}
.ghl-step.active .ghl-step-label {
  font-weight: 600;
  color: #566a7f;
}
.ghl-project-card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.ghl-project-field .form-label {
  color: #a1acb8;
}
.ghl-measures-table th {
  font-size: 0.75rem;
  text-transform: none;
  white-space: nowrap;
}
.ghl-contact-installer-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(67, 89, 113, 0.12);
}
.ghl-contact-installer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.ghl-installer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  color: #566a7f;
  cursor: pointer;
}
.ghl-installer-nav-item i {
  font-size: 1.1rem;
  opacity: 0.85;
}
.ghl-installer-nav-item:hover {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.06);
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
}
.ghl-installer-nav-item.active {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.12);
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.45);
  color: var(--ghl-accent, #ff6b35);
  font-weight: 600;
}
.ghl-installer-preview-card {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ghl-installer-preview-card:hover {
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  box-shadow: 0 2px 8px rgba(67, 89, 113, 0.08);
}
.ghl-audit-trail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ghl-audit-row {
  padding: 0.5rem 0.65rem;
  border-radius: 0.375rem;
  background: rgba(67, 89, 113, 0.04);
  border: 1px solid rgba(67, 89, 113, 0.08);
}
.ghl-audit-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.ghl-contact-installer-cards .ghl-contact-projects-card {
  margin-bottom: 0.75rem;
}
.ghl-contact-installer-cards .ghl-contact-projects-card:last-child {
  margin-bottom: 0;
}
.ghl-contact-job-pills .badge {
  font-size: 0.65rem;
  font-weight: 500;
}
.ghl-contact-tech-mini {
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(67, 89, 113, 0.06);
}
.ghl-contact-tech-mini:last-of-type {
  border-bottom: none;
}
.ghl-contact-list-installer {
  margin-top: 0.15rem;
  max-width: 100%;
}
.ghl-installer-list-chip {
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  line-height: 1.3;
}
.ghl-installer-crm-card {
  background: #fff;
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ghl-installer-crm-card:hover {
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.4);
  box-shadow: 0 4px 14px rgba(67, 89, 113, 0.1);
}
.ghl-installer-crm-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.ghl-installer-crm-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.1);
  color: var(--ghl-accent, #ff6b35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ghl-installer-crm-card-contact {
  color: #697a8d;
}
.ghl-installer-crm-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ghl-smart-list-item {
  align-items: flex-start;
}
.ghl-contact-projects-card {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(67, 89, 113, 0.12);
}
.ghl-contact-project-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ghl-contact-project-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.06);
  border: 1px solid rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.12);
}
.ghl-contact-project-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #566a7f;
  text-decoration: none;
}
.ghl-contact-project-title:hover {
  color: var(--ghl-accent, #ff6b35);
}
.ghl-contact-project-stage {
  font-size: 0.65rem;
  white-space: nowrap;
}
.ghl-contact-project-stepper {
  display: flex;
  gap: 3px;
  margin-top: 0.35rem;
}
.ghl-contact-project-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #d9dee3;
  transition: background-color 0.25s ease;
}
.ghl-contact-project-step.done,
.ghl-contact-project-step.active {
  background: var(--ghl-accent, #ff6b35);
}
.ghl-contact-project-step.active {
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.35);
}
.ghl-project-stepper-interactive .ghl-contact-project-step {
  border: none;
  padding: 0;
  cursor: pointer;
}
.ghl-project-stepper-interactive .ghl-contact-project-step:hover {
  opacity: 0.85;
}
.ghl-project-stage-board {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.ghl-project-board-col {
  flex: 0 0 200px;
  min-width: 180px;
  background: rgba(67, 89, 113, 0.04);
  border-radius: 0.5rem;
  border: 1px solid rgba(67, 89, 113, 0.12);
}
.ghl-project-board-col-head {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(67, 89, 113, 0.1);
}
.ghl-project-board-col-body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 4rem;
}
.ghl-project-board-card {
  display: block;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border-radius: 0.35rem;
  border: 1px solid rgba(67, 89, 113, 0.15);
  font-size: 0.8125rem;
  color: inherit;
  text-decoration: none;
}
.ghl-project-board-card:hover {
  border-color: var(--ghl-accent, #ff6b35);
}
.ghl-project-activity-list .ghl-project-activity-item {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(67, 89, 113, 0.08);
}
.ghl-assoc-row-meta {
  font-size: 0.75rem;
  color: #a1acb8;
}

.ghl-overview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.ghl-overview-left {
  padding: 1rem 1.25rem;
  border-right: 1px solid #e7e9ed;
  overflow-y: auto;
}
.ghl-overview-right {
  padding: 1rem 1.25rem;
  overflow-y: auto;
}
.ghl-ov-prop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.ghl-ov-prop-card {
  background: #f8f9fa;
  border: 1px solid #e7e9ed;
  border-radius: 0.5rem;
  padding: 0.5rem 0.65rem;
}
.ghl-ov-label {
  font-size: 0.7rem;
  color: #a1acb8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ghl-ov-val {
  font-size: 0.85rem;
  font-weight: 500;
  color: #566a7f;
}
.ghl-ov-funding {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  background: #f8f9fa;
  border: 1px solid #e7e9ed;
  border-radius: 0.5rem;
}
.ghl-ov-tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f2f4;
}
.ghl-ov-job-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.ghl-ov-job-tabs button {
  border: none;
  background: #f0f2f4;
  padding: 0.35rem 0.65rem;
  border-radius: 0.35rem;
  font-size: 0.8rem;
  color: #697a8d;
}
.ghl-ov-job-tabs button.active {
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.12);
  color: var(--ghl-accent, #ff6b35);
  font-weight: 500;
}
.ghl-ov-job-card {
  border: 1px solid #e7e9ed;
  border-radius: 0.5rem;
  padding: 0.65rem;
  margin-bottom: 0.5rem;
}
.ghl-ov-job-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ghl-accent, #ff6b35);
}
.st-pending,
.tsb-pending {
  background: #fff3cd;
  color: #856404;
}
.st-underway {
  background: #cfe2ff;
  color: #084298;
}
.st-complete,
.tsb-installed {
  background: #d1e7dd;
  color: #0f5132;
}
.tsb-none {
  background: #f0f2f4;
  color: #697a8d;
}
.ghl-ov-act-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f2f4;
}
.ghl-ov-act-title {
  font-size: 0.8rem;
  font-weight: 500;
}
.ghl-ov-act-summary {
  font-size: 0.75rem;
  color: #697a8d;
}
.ghl-ov-act-time {
  font-size: 0.7rem;
  color: #a1acb8;
}
.ghl-ov-job-empty {
  text-align: center;
  padding: 1.5rem;
  color: #a1acb8;
  font-size: 0.85rem;
}
.ghl-job-card-full {
  margin-bottom: 0.5rem;
}
.ghl-job-card-full .ghl-job-advance {
  min-width: 2rem;
}
.ghl-tech-card .btn {
  flex: 1;
}
.ghl-status-dropdown .dropdown-toggle.badge {
  font-size: 0.7rem;
  padding: 0.25em 0.5em;
  cursor: pointer;
}
.ghl-status-dropdown .dropdown-toggle.badge::after {
  margin-left: 0.25em;
  vertical-align: middle;
}
.ghl-contact-job-status-mini {
  flex-shrink: 0;
}
.ghl-settings-location-dl dt {
  font-weight: 500;
}
.ghl-settings-location-dl dd {
  margin-bottom: 0.5rem;
}
@media (max-width: 992px) {
  .ghl-overview-split {
    grid-template-columns: 1fr;
  }
  .ghl-overview-left {
    border-right: none;
    border-bottom: 1px solid #e7e9ed;
  }
}

.ghl-inventory-card {
  overflow: hidden;
}
.ghl-inventory-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #f4f5f7;
}
.ghl-inventory-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1acb8;
  font-size: 2.5rem;
}

.ghl-media-card .ghl-media-card-preview {
  display: block;
  cursor: pointer;
}
.ghl-media-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #f4f5f7;
}
.ghl-media-thumb--file {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1acb8;
  font-size: 2.5rem;
}
.ghl-media-thumb--video {
  background: #1e2130;
}
.ghl-media-viewer-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.ghl-media-viewer-video {
  width: 100%;
  max-height: 70vh;
}
.ghl-doc-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #f4f5f7;
}
.ghl-doc-thumb--file {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1acb8;
  font-size: 2rem;
  height: 120px;
}

.ghl-user-permissions {
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(67, 89, 113, 0.03);
  max-height: 420px;
  overflow-y: auto;
}
.ghl-user-perm-group + .ghl-user-perm-group {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(67, 89, 113, 0.1);
}
.ghl-user-perm-group-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #697a8d;
  margin-bottom: 0.5rem;
}
.ghl-user-perm-switch {
  min-height: 1.75rem;
  padding-left: 2.5rem;
}
.ghl-user-perm-switch .form-check-label {
  line-height: 1.35;
}
.ghl-image-upload-preview {
  min-height: 4rem;
  border: 1px dashed rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.04);
}
.ghl-image-upload-preview-img {
  max-width: 100%;
  max-height: 10rem;
  object-fit: contain;
  border-radius: 0.375rem;
}
.ghl-step.ghl-step-blocked,
.ghl-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ghl-pipeline-editor .ghl-pipeline-stage-card {
  border-left: 3px solid rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.45);
}
.ghl-project-checklist .form-check-input {
  flex-shrink: 0;
}
.ghl-dnd-panel .ghl-dnd-channel-row:last-of-type {
  margin-bottom: 0 !important;
}
.ghl-dnd-panel select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

:root { /* accent tokens in ghl-shell.css */ }

.layout-menu .menu-item.active > .menu-link,
.layout-menu .menu-item.active > .menu-link:hover {
  background-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.12) !important;
  color: var(--ghl-menu-active, var(--ghl-accent)) !important;
}

.btn-primary,
.bg-primary {
  background-color: var(--ghl-accent, #ff6b35) !important;
  border-color: var(--ghl-accent, #ff6b35) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--ghl-accent-hover, #e85f2f) !important;
  border-color: var(--ghl-accent-hover, #e85f2f) !important;
}

.text-primary {
  color: var(--ghl-accent, #ff6b35) !important;
}

.bg-label-primary {
  background-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.16) !important;
  color: var(--ghl-accent, #ff6b35) !important;
}

.app-brand.demo.ghl-app-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.75rem 0.65rem;
  width: 100%;
  box-sizing: border-box;
}

.app-brand.demo.ghl-app-brand .layout-menu-toggle {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  margin: 0;
}

.ghl-app-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  text-align: center;
}

.ghl-app-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

.ghl-app-brand-logo {
  display: block;
  max-height: 40px;
  max-width: min(100%, 168px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.ghl-app-brand-text {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 !important;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: normal;
}

.app-brand.demo:not(.ghl-app-brand) {
  padding: 0.75rem 1rem 0.5rem;
}

.layout-menu .app-brand.demo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.75rem 0.65rem;
  width: 100%;
  box-sizing: border-box;
}

.layout-menu .app-brand.demo .app-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.layout-menu .app-brand.demo .app-brand-text.demo:not(.ghl-app-brand-text) {
  display: none;
}

.ghl-health-summary .ghl-health-stat {
  background: rgba(67, 89, 113, 0.04);
  border-radius: 0.5rem;
}

.ghl-health-table code {
  font-size: 0.75rem;
}

.ghl-job-type-modal-dialog {
  max-width: 640px;
}

.ghl-job-type-modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

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

.ghl-job-type-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 88px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(86, 106, 127, 0.22);
  border-radius: 0.65rem;
  background: #fff;
  color: #566a7f;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ghl-job-type-card:hover,
.ghl-job-type-card:focus {
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.45);
  box-shadow: 0 4px 16px rgba(67, 89, 113, 0.1);
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.04);
  outline: none;
}

.ghl-job-type-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  color: #697a8d;
  font-size: 1.35rem;
}

.ghl-job-type-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ghl-job-type-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #566a7f;
  line-height: 1.25;
}

.ghl-job-type-card-hint {
  font-size: 0.8125rem;
  color: #a1acb8;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .ghl-job-type-grid {
    grid-template-columns: 1fr;
  }
}

.ghl-dashboard-widget.d-none {
  display: none !important;
}

.ghl-dash-builder-row {
  border: 1px dashed rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.03);
}

.ghl-settings-card:hover {
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
}

.ghl-wl-preview {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ghl-wl-preview-img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
}

.ghl-page-header h4,
.ghl-page-header-title {
  letter-spacing: -0.02em;
}

.ghl-page-header-legacy-hidden {
  display: none !important;
}

.ghl-settings-location-card {
  border: 1px solid rgba(67, 89, 113, 0.08);
  box-shadow: 0 2px 12px rgba(67, 89, 113, 0.06);
}

.ghl-settings-location-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.ghl-settings-location-logo--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.08);
  color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.85);
  font-size: 1.5rem;
  border-radius: 0.5rem;
}

.ghl-settings-quick {
  border: 1px solid rgba(67, 89, 113, 0.12);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ghl-settings-quick:hover {
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  box-shadow: 0 6px 20px rgba(67, 89, 113, 0.1);
  transform: translateY(-1px);
}

.ghl-settings-quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ghl-settings-quick--primary .ghl-settings-quick-icon {
  background: var(--ghl-accent-soft, rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.12));
  color: var(--ghl-accent, #ff6b35);
}

.ghl-settings-quick--warning .ghl-settings-quick-icon {
  background: rgba(255, 171, 0, 0.15);
  color: #ffab00;
}

.ghl-settings-quick--info .ghl-settings-quick-icon {
  background: rgba(3, 195, 236, 0.12);
  color: #03c3ec;
}

.ghl-settings-card {
  border: 1px solid rgba(67, 89, 113, 0.1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ghl-settings-card:hover {
  border-color: rgba(var(--ghl-accent-rgb, 255, 107, 53), 0.35);
  box-shadow: 0 4px 16px rgba(67, 89, 113, 0.08);
}

.ghl-settings-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(67, 89, 113, 0.06);
  color: #697a8d;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ghl-settings-section-title {
  letter-spacing: 0.06em;
}

.ghl-scopes-card {
  border: 1px solid rgba(67, 89, 113, 0.08);
}

.ghl-health-row--fail {
  background: rgba(255, 62, 29, 0.04);
}

.ghl-health-path {
  max-width: 280px;
  word-break: break-all;
}

.ghl-api-sparkline {
  min-height: 52px;
}

.ghl-api-spark-bar {
  flex: 1;
  min-width: 3px;
  max-width: 12px;
  border-radius: 3px 3px 0 0;
  background: var(--ghl-accent, #696cff);
  opacity: 0.85;
}

.ghl-api-monitor-table code {
  word-break: break-all;
}

.ghl-health-progress {
  height: 6px;
}

.ghl-solar-hw-card .card-header {
  background: rgba(67, 89, 113, 0.03);
}

.ghl-solar-hw-filter {
  max-width: 180px;
}

.ghl-solar-hw-search {
  max-width: 280px;
  min-width: 160px;
}

.ghl-solar-hw-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a1acb8;
  font-weight: 600;
  border-bottom-width: 1px;
}

/* Document pack settings */
.ghl-dps-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ghl-dps-toolbar {
  display: flex;
  gap: 0.5rem;
}
.ghl-dps-tabs .nav-link {
  font-size: 0.875rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
}
.ghl-dps-tabs .nav-link .ghl-dps-tab-count {
  font-size: 0.7rem;
  opacity: 0.85;
  margin-left: 0.35rem;
}
.ghl-dps-card {
  border: 1px solid rgba(67, 89, 113, 0.12);
  box-shadow: none;
}
.ghl-dps-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: rgba(67, 89, 113, 0.04);
}
.ghl-dps-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  user-select: none;
}
.ghl-dps-list {
  display: flex;
  flex-direction: column;
}
.ghl-dps-row {
  border-bottom: 1px solid rgba(67, 89, 113, 0.08);
  padding: 0.65rem 1.15rem;
}
.ghl-dps-row:last-child {
  border-bottom: none;
}
.ghl-dps-row-main {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto auto;
  gap: 0.65rem 0.75rem;
  align-items: center;
}
.ghl-dps-row-main.ghl-dps-row-main--advanced {
  grid-template-columns: 4.5rem 1fr 4.5rem 3.5rem 7rem auto auto;
}
.ghl-dps-ref input {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}
.ghl-dps-label input {
  font-size: 0.875rem;
}
.ghl-dps-tpl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.ghl-dps-tpl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ghl-dps-tpl-dot--ready {
  background: #71dd37;
}
.ghl-dps-tpl-dot--missing {
  background: #ffab00;
}
.ghl-dps-tpl-text {
  font-size: 0.8rem;
  color: #697a8d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem;
}
.ghl-dps-tpl-text--ready {
  color: #566a7f;
}
.ghl-dps-actions {
  display: flex;
  gap: 0.25rem;
  justify-content: flex-end;
}
.ghl-dps-col-advanced {
  display: none;
}
.ghl-dps--advanced .ghl-dps-col-advanced {
  display: block;
}
.ghl-dps--advanced .ghl-dps-row-main {
  grid-template-columns: 4.5rem 1fr 4.5rem 3.5rem 7rem auto auto;
}
.ghl-dps-shortcodes {
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  background: rgba(67, 89, 113, 0.02);
}
.ghl-dps-shortcodes-summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
}
.ghl-dps-shortcodes-summary::-webkit-details-marker {
  display: none;
}
.ghl-dps-shortcodes-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(67, 89, 113, 0.08);
}
.ghl-dps-shortcodes-search {
  max-width: 280px;
  margin-bottom: 0.75rem;
}
.ghl-dps-merge-group {
  margin-bottom: 0.85rem;
}
.ghl-dps-merge-group-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1acb8;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.ghl-dps-merge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ghl-dps-merge-tag {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(67, 89, 113, 0.15);
  background: #fff;
  color: #566a7f;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.ghl-dps-merge-tag:hover {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.35);
}
.ghl-dps-merge-tag.d-none {
  display: none !important;
}
@media (max-width: 768px) {
  .ghl-dps-row-main,
  .ghl-dps--advanced .ghl-dps-row-main {
    grid-template-columns: 1fr 1fr;
  }
  .ghl-dps-ref {
    grid-column: 1;
  }
  .ghl-dps-label {
    grid-column: 1 / -1;
  }
  .ghl-dps-tpl {
    grid-column: 2;
    justify-content: flex-end;
  }
  .ghl-dps-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
