:root {
  --admin-brand: #6366f1;
  --admin-brand-dark: #4f46e5;
  --admin-accent: #9333ea;
  --admin-chart-secondary: #198754;
  --admin-primary: var(--admin-brand);
  --admin-soft: #eef7f3;
  --admin-soft-alt: #f7faf8;
  --admin-line: #dce3df;
  --admin-muted: #66736e;
  --bs-primary: var(--admin-brand);
  --bs-primary-rgb: 99, 102, 241;
  --bs-link-color: var(--admin-brand);
  --bs-link-hover-color: var(--admin-brand-dark);
  --bs-focus-ring-color: rgba(99, 102, 241, .25);
}

body {
  min-height: 100vh;
  color: #17201d;
  background: linear-gradient(180deg, #f0f5f2 0, #f7f9f8 340px);
}

.admin-header {
  background: linear-gradient(120deg, var(--admin-brand), var(--admin-accent));
}

.admin-container {
  max-width: 1920px;
}

.admin-brand {
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #fff;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.brand-product {
  display: block;
  margin-top: .2rem;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .01em;
}

.admin-navigation {
  top: .75rem;
  z-index: 1020;
}

.admin-navigation .navbar-toggler {
  border-color: var(--admin-line);
}

.admin-navigation .nav-link {
  color: #53615c;
  font-weight: 400;
  white-space: nowrap;
}

.admin-navigation .nav-link.active,
.admin-navigation [data-menu-group] > .nav-link.active,
.admin-navigation .nav-link:hover,
.admin-navigation .nav-link:focus-visible {
  color: #fff;
  background: var(--admin-brand);
}

.admin-navigation .dropdown-menu {
  min-width: 15rem;
}

.admin-navigation .dropdown-item.active,
.admin-navigation .dropdown-item:active {
  color: #fff;
  background: var(--admin-brand);
}

#disconnect {
  margin-left: auto;
  color: var(--bs-danger);
}

#disconnect:hover,
#disconnect:focus-visible {
  color: #fff;
  background: var(--bs-danger);
}

.btn-primary {
  --bs-btn-bg: var(--admin-brand);
  --bs-btn-border-color: var(--admin-brand);
  --bs-btn-hover-bg: var(--admin-brand-dark);
  --bs-btn-hover-border-color: var(--admin-brand-dark);
  --bs-btn-active-bg: var(--admin-brand-dark);
  --bs-btn-active-border-color: var(--admin-brand-dark);
  --bs-btn-disabled-bg: var(--admin-brand);
  --bs-btn-disabled-border-color: var(--admin-brand);
}

.btn-outline-primary {
  --bs-btn-color: var(--admin-brand);
  --bs-btn-border-color: var(--admin-brand);
  --bs-btn-hover-bg: var(--admin-brand);
  --bs-btn-hover-border-color: var(--admin-brand);
  --bs-btn-active-bg: var(--admin-brand-dark);
  --bs-btn-active-border-color: var(--admin-brand-dark);
}

.status,
.text-admin-muted {
  color: var(--admin-muted);
}

.field {
  margin-bottom: 1rem;
}

.admin-grid-row > .field {
  margin-bottom: 0;
}

.admin-grid-row > .wide,
.config-field.col-12 {
  width: 100%;
  flex: 0 0 auto;
}

.filter-panel input::placeholder {
  color: var(--admin-muted);
  opacity: 1;
}

.field textarea:not(.modal-copy):not(.raw-config) {
  min-height: 7rem;
}

.notice {
  padding: .75rem 1rem;
  border-radius: var(--bs-border-radius);
  background: var(--admin-soft);
  white-space: pre-wrap;
}

.notice.error {
  color: var(--bs-danger-text-emphasis);
  background: var(--bs-danger-bg-subtle);
}

.login-card {
  max-width: 61.25rem;
  margin: 4.5rem auto 1.25rem;
}

.totp-setup-qr {
  width: min(240px, 100%);
  height: auto;
  image-rendering: pixelated;
}

.security-block {
  padding: 1rem;
  border: 1px solid var(--admin-line);
  border-radius: var(--bs-border-radius-lg);
  background: var(--admin-soft-alt);
}

.security-block table {
  background: #fff;
}

@media (max-width: 1199.98px) {
  .admin-navigation .navbar-nav > .nav-link {
    text-align: left;
  }

  .admin-navigation .dropdown-menu {
    position: static !important;
    width: 100%;
    margin: 0 0 .5rem;
    border: 0;
    box-shadow: none !important;
  }

  #disconnect {
    margin-left: 0;
  }
}

.toolbar,
.actions,
.selection-bar,
.pager,
.chat-detail-head,
.chat-turn-header,
.review-detail-head,
.review-event-head,
.header-actions,
.manual-page-meta,
.chat-message-row {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.toolbar,
.pager,
.chat-detail-head,
.chat-turn-header,
.review-detail-head,
.review-event-head {
  justify-content: space-between;
}

.toolbar,
.selection-bar,
.pager,
.chat-detail-head,
.chat-turn-header {
  flex-wrap: wrap;
}

.actions,
.selection-bar,
.manual-page-meta {
  flex-wrap: wrap;
}

.list,
.synonym-list,
.synonym-suggestions,
.calculation-format-rules,
.chat-turns,
.review-timeline,
.array-editor,
.config-editor,
.index-progress {
  display: grid;
  gap: .75rem;
}

.admin-list-row {
  padding: .75rem;
  border: var(--bs-border-width) solid var(--admin-line);
  border-radius: var(--bs-border-radius);
  background: #fff;
}

.table-wrap table {
  min-width: 56.25rem;
}

.table-wrap th {
  white-space: nowrap;
  color: #405049;
  background: #edf3f0;
}

.file-button input {
  display: none;
}

.dashboard-card,
.chat-kpi,
.review-automation-card,
.chat-snapshot,
.chat-meta-card,
.config-group,
.chat-turn,
.review-detail {
  height: 100%;
  border: var(--bs-border-width) solid var(--admin-line);
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
}

.dashboard-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 9rem;
  padding: 1rem;
  background: linear-gradient(145deg, #fff, var(--admin-soft-alt));
}

.dashboard-card > .btn {
  align-self: flex-start;
  margin-top: auto;
}

.dashboard-metric-grid > .col {
  display: flex;
}

.dashboard-metric-card {
  width: 100%;
  min-height: 22rem;
  padding: 1.25rem;
  background: var(--admin-soft-alt);
}

.dashboard-metric-label {
  min-height: 2.75rem;
  color: var(--bs-secondary-color);
  font-size: 1.05rem;
  line-height: 1.25;
}

.dashboard-card > .dashboard-metric-total {
  margin: .75rem 0 0;
  color: var(--bs-body-color);
  font-size: clamp(1.9rem, 3vw, 2.25rem);
  line-height: 1;
}

.dashboard-metric-subtitle {
  min-height: 1.5rem;
  color: var(--bs-secondary-color);
  font-size: .95rem;
}

.dashboard-metric-divider {
  margin: .75rem 0;
  border-top: var(--bs-border-width) solid var(--admin-line);
}

.dashboard-metric-breakdown {
  display: grid;
  gap: .6rem;
}

.dashboard-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--bs-secondary-color);
}

.dashboard-metric-row strong {
  flex: 0 0 auto;
  color: var(--bs-body-color);
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: right;
}

.dashboard-advice-section {
  margin-top: .4rem;
  padding-top: .7rem;
  border-top: var(--bs-border-width) solid var(--admin-line);
}

.dashboard-advice-section > small {
  display: block;
  margin-bottom: .35rem;
  color: var(--bs-secondary-color);
}

.dashboard-advice-list {
  display: grid;
  gap: .45rem;
}

.dashboard-advice-row {
  min-width: 0;
  padding: .4rem .5rem;
  border-radius: var(--bs-border-radius-sm);
  background: rgba(255, 255, 255, .75);
}

.dashboard-advice-row span,
.dashboard-advice-row small {
  display: block;
  overflow-wrap: anywhere;
}

.dashboard-advice-row span {
  font-size: .875rem;
}

.dashboard-advice-row small {
  color: var(--bs-body-color);
  font-weight: 600;
}

.dashboard-period-grid {
  margin-bottom: .5rem;
}

.dashboard-section {
  margin-top: 1.5rem;
}

.dashboard-card > strong {
  display: block;
  margin: .5rem 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.dashboard-period,
.chat-kpi {
  min-width: 0;
  padding: .75rem;
  background: var(--admin-soft);
  overflow-wrap: anywhere;
}

.review-automation-card {
  padding: .75rem;
  background: var(--admin-soft-alt);
}

.dashboard-period small,
.dashboard-period strong,
.chat-kpi strong,
.chat-kpi span,
.review-automation-card small,
.review-automation-card strong,
.chat-meta small {
  display: block;
}

.chat-kpi strong {
  font-size: 1.4rem;
}

.analytics-chart-card {
  height: 100%;
  min-width: 0;
  padding: 1rem;
  border: var(--bs-border-width) solid var(--admin-line);
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
}

.analytics-chart-card-main {
  padding: 1.25rem;
}

.analytics-chart-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.analytics-chart-total {
  color: var(--bs-body-color);
  font-size: clamp(1.9rem, 4vw, 2.25rem);
  line-height: 1;
}

.analytics-svg-chart {
  width: 100%;
  min-height: 22rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.analytics-svg-chart-compact {
  min-height: 17rem;
}

.analytics-svg-chart svg {
  display: block;
  width: 100%;
  min-width: 42rem;
  height: auto;
}

.analytics-grid-line {
  stroke: var(--admin-line);
  stroke-width: 1;
}

.analytics-axis-label,
.analytics-value-label {
  fill: var(--admin-muted);
  font-size: .75rem;
}

.analytics-value-label {
  fill: var(--bs-body-color);
  font-weight: 400;
}

.analytics-gradient-start {
  stop-color: var(--admin-brand);
}

.analytics-gradient-end {
  stop-color: var(--admin-accent);
}

.analytics-column {
  transition: opacity .15s ease;
}

.analytics-column:hover {
  opacity: .82;
}

.analytics-line {
  fill: none;
  stroke: var(--admin-brand);
  stroke-width: 3;
}

.analytics-point {
  fill: #fff;
  stroke: var(--admin-brand);
  stroke-width: 2;
}

.analytics-line-series-1 {
  stroke: var(--admin-chart-secondary);
}

.analytics-point-series-1 {
  stroke: var(--admin-chart-secondary);
}

.analytics-bar-chart {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
}

.analytics-bar-item {
  min-width: 0;
}

.analytics-bar-label {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .3rem;
}

.analytics-bar-label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.analytics-bar-label strong {
  flex: 0 0 auto;
  color: var(--bs-body-color);
  font-weight: 400;
}

.analytics-bar-track {
  height: .65rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--admin-soft);
}

.analytics-bar-fill {
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--admin-brand), var(--admin-accent));
}

.analytics-chart-empty {
  margin: 0;
  color: var(--admin-muted);
}

@media (max-width: 575.98px) {
  .analytics-chart-card,
  .analytics-chart-card-main {
    padding: .875rem;
  }

  .analytics-svg-chart {
    min-height: 18rem;
  }
}

#dashboardQualityScore {
  color: var(--bs-body-color);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.dashboard-quality-progress {
  width: 0;
  background: linear-gradient(90deg, var(--admin-brand), var(--admin-accent));
}

.dashboard-period strong,
.chat-kpi strong {
  color: var(--bs-body-color);
}

.dashboard-health::before {
  display: inline-block;
  width: .625rem;
  height: .625rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: #42a877;
  box-shadow: 0 0 0 .3rem #e1f3e9;
  content: "";
}

.filter-panel,
.editor-section,
.advanced-panel {
  overflow: hidden;
  margin: .875rem 0 1.125rem;
  border: var(--bs-border-width) solid var(--admin-line);
  border-radius: var(--bs-border-radius-lg);
  background: var(--admin-soft-alt);
}

.filter-panel > summary,
.editor-section > summary,
.advanced-panel > summary {
  padding: .875rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.filter-panel-content,
.editor-section-content,
.advanced-panel-content {
  padding: 0 1rem 1rem;
}

.config-group,
.chat-turn,
.review-detail,
.chat-snapshot,
.chat-meta-card {
  padding: .875rem;
}

.config-title {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.switch-field {
  display: flex;
  gap: .625rem;
  align-items: center;
  min-height: 2.625rem;
}

.checkbox-label {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.raw-config {
  min-height: 26rem;
  color: #dceae4;
  background: #111d18;
}

.badge {
  border: 1px solid currentColor;
  color: #4b5852;
  background: #edf1ef;
  font-weight: 600;
}

.badge.verified,
.badge.quality-ok,
.badge.active,
.badge.completed,
.badge.success,
.badge.review-pass {
  color: #165d3f;
  background: #dff3e8;
}

.badge.chat-type-structured {
  color: #165d3f;
  background: #dff3e8;
}

.badge.chat-type-free-text {
  color: #174f73;
  background: #e1f1fb;
}

.badge.chat-type-mixed {
  color: #5a3d77;
  background: #f0e7f8;
}

.badge.chat-type-no-input {
  color: #4b5852;
  background: #edf1ef;
}

.badge.needs_review,
.badge.format-warning,
.badge.processing,
.badge.suspended,
.badge.review-attention {
  color: #704d00;
  background: #fff0c9;
}

.badge.excluded,
.badge.no-data,
.badge.review-pending,
.badge.review-excluded {
  color: #4b5852;
  background: #edf1ef;
}

.badge.unit-error,
.badge.error,
.badge.rejected,
.badge.timeout,
.badge.revoked,
.badge.expired,
.badge.review-failed {
  color: #842626;
  background: #fde5e5;
}

#closeChatDetail {
  margin-top: .5rem;
}

.review-cell .badge {
  white-space: normal;
  text-align: left;
}

.chat-overview-table {
  font-size: .875em;
}

.chat-overview-table small,
.chat-overview-table .badge,
.chat-overview-table .btn {
  font-size: 1em;
}

.chat-id {
  overflow-wrap: anywhere;
  font: .8rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.chat-question,
.chat-products,
.chat-message,
.review-event pre,
.chat-technical pre,
.review-prompt-input {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 1399.98px) {
  .chat-overview-table {
    overflow: visible;
    border: 0 !important;
    background: transparent;
  }

  .chat-overview-table table,
  .chat-overview-table tbody,
  .chat-overview-table tr,
  .chat-overview-table td {
    display: block;
    width: 100%;
  }

  .chat-overview-table table {
    min-width: 0;
  }

  .chat-overview-table thead {
    display: none;
  }

  .chat-overview-table tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 31rem), 1fr));
    gap: 1rem;
  }

  .chat-overview-table tr {
    padding: 1rem;
    border: var(--bs-border-width) solid var(--admin-line);
    border-radius: var(--bs-border-radius-lg);
    background: #fff;
    box-shadow: 0 .125rem .35rem rgba(16, 37, 30, .05);
  }

  .chat-overview-table td {
    display: grid;
    grid-template-columns: minmax(8.25rem, 35%) minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    padding: .5rem 0 !important;
    border: 0 !important;
    color: inherit;
    background: transparent !important;
    box-shadow: none !important;
  }

  .chat-overview-table td::before {
    color: var(--admin-muted);
    content: attr(data-label);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  .chat-overview-table td[data-label=""] {
    grid-template-columns: 1fr;
    justify-items: end;
  }

  .chat-overview-table td[data-label=""]::before,
  .chat-overview-table .chat-table-empty td::before {
    content: none;
  }

  .chat-overview-table .chat-table-empty {
    grid-column: 1 / -1;
  }

  .chat-overview-table .chat-table-empty td {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .admin-header .container-fluid {
    gap: .75rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .brand-wordmark {
    font-size: 1.15rem;
  }

  .chat-overview-table td {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .chat-overview-table td[data-label=""] {
    justify-items: stretch;
  }

  .chat-overview-table td[data-label=""] .btn {
    width: 100%;
  }
}

.chat-question {
  max-width: 21.25rem;
}

.chat-products {
  max-width: 13.75rem;
}

.chat-message-label {
  display: flex;
  gap: .625rem;
  justify-content: space-between;
  margin: .6rem .125rem .3rem 2.625rem;
  color: var(--admin-muted);
  font-size: .75rem;
  font-weight: 700;
}

.chat-avatar {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  margin-top: .25rem;
  place-items: center;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
}

.chat-avatar.user {
  color: #394740;
  background: #dde4e0;
}

.chat-avatar.assistant {
  color: #fff;
  background: var(--admin-brand);
}

.chat-message {
  flex: 1;
  min-width: 0;
  padding: .7rem .8rem;
  border-radius: var(--bs-border-radius);
}

.chat-message.user {
  background: #edf1ef;
}

.chat-message.assistant {
  background: var(--admin-soft);
}

.review-event {
  padding: .7rem .8rem;
  border-left: .25rem solid #c8d6d0;
  border-radius: var(--bs-border-radius);
  background: #fff;
}

.review-event.review-pass {
  border-left-color: #2d8a62;
}

.review-event.review-attention {
  border-left-color: #d8a320;
}

.modal-copy {
  min-height: 18rem;
  font: .875rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.modal-id-list {
  max-height: 11rem;
  overflow: auto;
  padding: .75rem 1rem;
  border-radius: var(--bs-border-radius);
  background: var(--admin-soft);
  font: .8rem/1.7 ui-monospace, monospace;
}

.index-progress-track {
  height: .875rem;
  overflow: hidden;
  border-radius: var(--bs-border-radius-pill);
  background: #dfe7e3;
}

.index-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--admin-brand);
  transition: width .35s ease;
}

.pre-wrap {
  white-space: pre-wrap;
}

.clipboard-fallback {
  position: fixed;
  opacity: 0;
}

.width-percent-0 { width: 0%; }
.width-percent-1 { width: 1%; }
.width-percent-2 { width: 2%; }
.width-percent-3 { width: 3%; }
.width-percent-4 { width: 4%; }
.width-percent-5 { width: 5%; }
.width-percent-6 { width: 6%; }
.width-percent-7 { width: 7%; }
.width-percent-8 { width: 8%; }
.width-percent-9 { width: 9%; }
.width-percent-10 { width: 10%; }
.width-percent-11 { width: 11%; }
.width-percent-12 { width: 12%; }
.width-percent-13 { width: 13%; }
.width-percent-14 { width: 14%; }
.width-percent-15 { width: 15%; }
.width-percent-16 { width: 16%; }
.width-percent-17 { width: 17%; }
.width-percent-18 { width: 18%; }
.width-percent-19 { width: 19%; }
.width-percent-20 { width: 20%; }
.width-percent-21 { width: 21%; }
.width-percent-22 { width: 22%; }
.width-percent-23 { width: 23%; }
.width-percent-24 { width: 24%; }
.width-percent-25 { width: 25%; }
.width-percent-26 { width: 26%; }
.width-percent-27 { width: 27%; }
.width-percent-28 { width: 28%; }
.width-percent-29 { width: 29%; }
.width-percent-30 { width: 30%; }
.width-percent-31 { width: 31%; }
.width-percent-32 { width: 32%; }
.width-percent-33 { width: 33%; }
.width-percent-34 { width: 34%; }
.width-percent-35 { width: 35%; }
.width-percent-36 { width: 36%; }
.width-percent-37 { width: 37%; }
.width-percent-38 { width: 38%; }
.width-percent-39 { width: 39%; }
.width-percent-40 { width: 40%; }
.width-percent-41 { width: 41%; }
.width-percent-42 { width: 42%; }
.width-percent-43 { width: 43%; }
.width-percent-44 { width: 44%; }
.width-percent-45 { width: 45%; }
.width-percent-46 { width: 46%; }
.width-percent-47 { width: 47%; }
.width-percent-48 { width: 48%; }
.width-percent-49 { width: 49%; }
.width-percent-50 { width: 50%; }
.width-percent-51 { width: 51%; }
.width-percent-52 { width: 52%; }
.width-percent-53 { width: 53%; }
.width-percent-54 { width: 54%; }
.width-percent-55 { width: 55%; }
.width-percent-56 { width: 56%; }
.width-percent-57 { width: 57%; }
.width-percent-58 { width: 58%; }
.width-percent-59 { width: 59%; }
.width-percent-60 { width: 60%; }
.width-percent-61 { width: 61%; }
.width-percent-62 { width: 62%; }
.width-percent-63 { width: 63%; }
.width-percent-64 { width: 64%; }
.width-percent-65 { width: 65%; }
.width-percent-66 { width: 66%; }
.width-percent-67 { width: 67%; }
.width-percent-68 { width: 68%; }
.width-percent-69 { width: 69%; }
.width-percent-70 { width: 70%; }
.width-percent-71 { width: 71%; }
.width-percent-72 { width: 72%; }
.width-percent-73 { width: 73%; }
.width-percent-74 { width: 74%; }
.width-percent-75 { width: 75%; }
.width-percent-76 { width: 76%; }
.width-percent-77 { width: 77%; }
.width-percent-78 { width: 78%; }
.width-percent-79 { width: 79%; }
.width-percent-80 { width: 80%; }
.width-percent-81 { width: 81%; }
.width-percent-82 { width: 82%; }
.width-percent-83 { width: 83%; }
.width-percent-84 { width: 84%; }
.width-percent-85 { width: 85%; }
.width-percent-86 { width: 86%; }
.width-percent-87 { width: 87%; }
.width-percent-88 { width: 88%; }
.width-percent-89 { width: 89%; }
.width-percent-90 { width: 90%; }
.width-percent-91 { width: 91%; }
.width-percent-92 { width: 92%; }
.width-percent-93 { width: 93%; }
.width-percent-94 { width: 94%; }
.width-percent-95 { width: 95%; }
.width-percent-96 { width: 96%; }
.width-percent-97 { width: 97%; }
.width-percent-98 { width: 98%; }
.width-percent-99 { width: 99%; }
.width-percent-100 { width: 100%; }

.manual-pages {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: var(--bs-border-width) solid var(--admin-line);
}

@media (max-width: 767.98px) {
  .login-card {
    margin-top: 2rem;
  }

  .toolbar,
  .chat-detail-head,
  .review-detail-head {
    align-items: stretch;
  }

  .toolbar > .actions,
  .chat-detail-head > .actions {
    width: 100%;
  }

  .toolbar > .actions > .btn,
  .chat-detail-head > .actions > .btn {
    flex: 1 1 auto;
  }
}
