[data-local-customer-sample] {
  grid-column: 1 / -1;
  min-width: 0;
}

.lcs-shell {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--border, #dfe3e8);
  border-radius: 14px;
  background: var(--surface, #fff);
  color: var(--text, #17212b);
  box-shadow: 0 8px 24px rgb(15 23 42 / 5%);
}

.lcs-head,
.lcs-summary,
.lcs-sample > header,
.lcs-sample dl,
.lcs-feedback {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.lcs-head { align-items: flex-start; }
.lcs-head h2 { margin: 2px 0 4px; font-size: 20px; }
.lcs-head p { margin: 0; color: var(--muted, #667085); }
.lcs-shell .lcs-eyebrow { color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.lcs-customer { display: grid; gap: 6px; margin: 18px 0 12px; max-width: 520px; font-weight: 650; }
.lcs-customer select,
.lcs-shell input,
.lcs-shell select,
.lcs-shell textarea {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border, #d0d5dd);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.lcs-shell textarea { min-height: 86px; resize: vertical; }
.lcs-summary { align-items: center; padding: 12px 14px; border-radius: 10px; background: #f7f9fc; }
.lcs-summary div { display: grid; gap: 3px; }
.lcs-summary span,
.lcs-sample header span,
.lcs-feedback small,
.lcs-feedback li span { color: var(--muted, #667085); font-size: 12px; }
.lcs-samples > h3 { margin: 20px 0 10px; font-size: 15px; }
.lcs-sample { padding: 15px; border: 1px solid var(--border, #e4e7ec); border-radius: 10px; }
.lcs-sample + .lcs-sample { margin-top: 10px; }
.lcs-sample header > div { display: grid; gap: 3px; }
.lcs-shell .lcs-pill { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: #eef4ff; color: #3538cd; }
.lcs-sample dl { justify-content: flex-start; margin: 12px 0; }
.lcs-sample dl div { min-width: 180px; }
.lcs-sample dt { color: var(--muted, #667085); font-size: 12px; }
.lcs-sample dd { margin: 3px 0 0; }
.lcs-feedback { margin: 12px 0; }
.lcs-feedback > div { flex: 1 1 0; min-width: 0; padding: 12px; border-radius: 8px; background: #f8fafc; }
.lcs-feedback p { white-space: pre-wrap; overflow-wrap: anywhere; }
.lcs-feedback ul { margin: 8px 0 0; padding-left: 20px; }
.lcs-feedback li span { display: block; }
.lcs-shell details { margin-top: 10px; border-top: 1px solid #eaecf0; padding-top: 10px; }
.lcs-shell summary { cursor: pointer; font-weight: 650; }
.lcs-shell form { display: grid; gap: 9px; margin-top: 10px; max-width: 680px; }
.lcs-status { grid-template-columns: 1fr auto; align-items: center; }
.lcs-error,
.lcs-warning { padding: 9px 11px; border-radius: 8px; background: #fff4ed; color: #b42318; }
.lcs-success { padding: 9px 11px; border-radius: 8px; background: #ecfdf3; color: #027a48; }
.lcs-muted,
.lcs-boundary { color: var(--muted, #667085); font-size: 13px; }
.lcs-boundary { margin: 14px 0 0; }

@media (max-width: 720px) {
  .lcs-shell { padding: 14px; }
  .lcs-head,
  .lcs-summary,
  .lcs-sample > header,
  .lcs-sample dl,
  .lcs-feedback { flex-direction: column; }
  .lcs-sample dl div { min-width: 0; }
  .lcs-status { grid-template-columns: 1fr; }
  .lcs-shell button { min-height: 40px; }
}
