:root {
  --sidebar-width: 240px;
}

.summary-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-clamp.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.summary-toggle {
  cursor: pointer;
  font-size: 0.8125rem;
}

body {
  min-height: 100vh;
}

.accordion-header .accordion-button {
  padding-right: 12rem;
}

@media (max-width: 575.98px) {
  .accordion-header .accordion-button {
    padding-right: 3rem;
  }
  .accordion-header .view-report-btn {
    position: static !important;
    transform: none !important;
    display: block;
    margin: 0.5rem 1.25rem 0;
  }
}

.app-content {
  padding: 1.5rem;
}

/* Below md: sidebar is an offcanvas drawer (Bootstrap's offcanvas-md handles
   position/transform); app-content stays full width, no left margin. */
@media (min-width: 768px) {
  .app-sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1030;
  }

  .app-content {
    margin-left: var(--sidebar-width);
  }
}

.app-sidebar .nav-link {
  color: inherit;
  opacity: 0.85;
}
.app-sidebar .nav-link.active {
  opacity: 1;
  font-weight: 600;
}

.offer-card .benefit-callout {
  border-left: 4px solid var(--bs-success);
  background: rgba(25, 135, 84, 0.08);
  border-radius: 0.375rem;
}

[data-bs-theme="dark"] .offer-card .benefit-callout {
  background: rgba(25, 135, 84, 0.15);
}

.chat-log {
  height: 320px;
  overflow-y: auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  padding: 0.75rem;
}

.chat-log .chat-msg {
  margin-bottom: 0.75rem;
}

.redesign-preview iframe {
  width: 100%;
  height: 70vh;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
}

@media (max-width: 991.98px) {
  .redesign-preview iframe {
    height: 45vh;
  }
}

