.customer-brief {
  flex: none;
  min-width: 0;
  background: var(--panel, #14212b);
  border-bottom: 1px solid var(--border, #263642);
}
.brief-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  min-height: 40px;
}
.brief-toolbar [data-brief-toggle] {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  text-align: left;
  padding: 5px 0;
  font-size: 12px;
  color: var(--text, #e0e9ed);
}
.brief-toolbar [data-brief-toggle] strong {
  white-space: nowrap;
}
.brief-toolbar [data-brief-status] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted, #9aadb9);
  font-size: 11px;
}
.brief-toolbar [data-brief-update] {
  flex: none;
  font-size: 12px;
  padding: 5px 10px;
  white-space: nowrap;
}
.customer-brief[data-state="stale"] [data-brief-status],
.customer-brief[data-state="invalidated"] [data-brief-status],
.brief-stale {
  color: #d6bd87;
}
.brief-content {
  padding: 10px 16px 14px;
  max-height: 32vh;
  overflow: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
  border-top: 1px solid var(--border, #263642);
  font-size: 12px;
}
.brief-sections {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
}
.brief-sections section {
  min-width: 0;
}
.brief-sections h3 {
  font-size: 12px;
  color: #a8dfc8;
  margin: 8px 0 6px;
}
.brief-sections ul {
  padding-left: 17px;
  margin: 0;
}
.brief-sections li {
  margin: 5px 0;
  line-height: 1.6;
}
.brief-sections p {
  margin: 5px 0;
  line-height: 1.6;
}
.brief-sections .text-button {
  display: inline-block;
  font-size: 11px;
  margin-left: 4px;
  padding: 3px 5px;
  white-space: nowrap;
  color: #a8dfc8;
}
.brief-topic {
  color: #adc7bc;
  margin-right: 5px;
}
.brief-coverage {
  font-size: 11px;
  color: var(--muted, #9aadb9);
  line-height: 1.6;
  margin: 5px 0;
}
.brief-stale {
  line-height: 1.6;
  margin: 0 0 7px;
}
.customer-brief .helper,
.customer-brief .error {
  font-size: 12px;
  line-height: 1.6;
  margin: 4px 0;
}
@media (max-width: 1000px) {
  .brief-sections {
    grid-template-columns: 1fr;
  }
  .brief-content {
    max-height: 32vh;
  }
  .brief-sections h3 {
    margin-top: 9px;
  }
}
@media (max-width: 720px) {
  .brief-toolbar {
    padding: 3px 10px;
    gap: 5px;
    min-height: 38px;
  }
  .brief-toolbar [data-brief-toggle] {
    gap: 5px;
  }
  .brief-toolbar [data-brief-status] {
    max-width: 108px;
  }
  .brief-content {
    padding: 8px 10px 12px;
    max-height: 30vh;
  }
  .brief-toolbar [data-brief-update] {
    padding: 6px 8px;
    font-size: 11px;
  }
  .brief-sections .text-button {
    min-height: 32px;
    min-width: 58px;
  }
}
@media (pointer: coarse) {
  .brief-toolbar button {
    min-height: 40px;
  }
  .brief-sections .text-button {
    min-height: 40px;
  }
}
