/* Communications hub - reuse corporate / event-admin shell (--cum-* from corporate-user-management.css) */

/* Desktop tab toggle visible by default; mobile picker hidden. */
.communications-tab--desktop {
  flex: 1 1 auto;
  min-width: 0;
}

.communications-tab--mobile {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
}

/* xs/sm/md tier (max-width 1023.98px mirrors --bp-lg). Swap desktop tabs for
   GenericDropdown picker. Media queries can't deref CSS vars. */
@media (max-width: 1023.98px) {
  .communications-tab--desktop {
    display: none;
  }

  .communications-tab--mobile {
    display: flex;
  }
}

/* Split grid: fixed header + scrollable tbody + fixed totals footer (Inventory pattern) */
.com-email-grid-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.com-email-grid-flex {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
}

.com-email-head-table,
.com-email-foot-table {
  flex-shrink: 0;
  table-layout: fixed;
  width: 100%;
}

.com-email-body-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.com-email-body-scroll .cum-table {
  table-layout: fixed;
  width: 100%;
}

.com-email-col-campaign {
  width: 28%;
}

.com-email-col-sent {
  width: 16%;
}

.com-email-col-num {
  width: 12%;
}

/* Totals row is rendered via <PaginatedTable>'s FooterContent slot as a real
   <tfoot> sticky to the bottom of the table-wrapper (above pagination). The
   sticky styling lives in PaginatedTable's <style> block under
   `.generic-table tfoot tr.pt-totals-row`. The legacy
   `.communications-totals-bar` grid below the table was removed in favor of
   the shared sticky-tfoot pattern so the totals stay locked above the
   pagination bar while body rows scroll. */

/* Mirrors .cc-lists-toolbar in constant-contact.css so the Email tab and
   Constant Contact tab feel uniform: left-side label + dropdown, right-side
   "Last synced" + Refresh button pushed to the far right. justify-content:
   space-between is what splits the two inner divs across the row;
   without it both groups bunch up on the left. */
.communications-email-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.communications-date-range-dd {
  min-width: 220px;
}

/* Host wraps the PaginatedTable + totals row in a single flex-column so the
   totals sit at the bottom of the table area and share the same content width
   (.jbf-body already provides the flex container; this class is a hook for
   table-specific overrides only). */

/* Email tab: PaginatedTable uses .generic-table (not .cum-table), so metric alignment needs local rules. */
.communications-email-table-host .generic-table {
  table-layout: fixed;
  width: 100%;
}

.communications-email-table-host .generic-table th,
.communications-email-table-host .generic-table td {
  text-align: right;
  vertical-align: middle;
}

.communications-email-table-host .generic-table th.com-email-col-campaign,
.communications-email-table-host .generic-table td.com-email-col-campaign {
  text-align: left;
  word-break: break-word;
  white-space: normal;
}

.communications-email-table-host .generic-table th.com-email-col-nowrap,
.communications-email-table-host .generic-table td.com-email-col-nowrap {
  white-space: nowrap;
}

.communications-email-table-host .com-email-metric-wrap {
  display: block;
  text-align: right;
}

.communications-email-table-host .com-email-metric-num {
  display: block;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.communications-email-table-host td .communications-metric-zero {
  display: inline-block;
  min-width: 1.25em;
}

.communications-metric-btn {
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--cum-primary);
  text-decoration: none;
  cursor: pointer;
  text-align: right;
  -webkit-appearance: none;
  appearance: none;
}

.communications-metric-btn:hover,
.communications-metric-btn:focus {
  color: var(--cum-primary-hover);
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

/* Pill-style affordance for clickable metric counts (Opens / Clicks > 0).
   Renders as a right-aligned chip inside the cell so it reads as tappable
   without dominating the row. Uses primary plum at low opacity for the
   resting state and a deeper fill on hover/focus to confirm interactivity. */
.communications-email-table-host td .communications-metric-pill {
  display: inline-block;
  width: auto;
  min-width: 36px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--jbf-primary-soft, rgba(125, 91, 129, 0.12));
  color: var(--cum-primary, #7d5b81);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  transition: background-color 120ms ease, color 120ms ease;
}

.communications-email-table-host td .communications-metric-pill:hover,
.communications-email-table-host td .communications-metric-pill:focus-visible {
  background: var(--jbf-primary-medium, rgba(125, 91, 129, 0.22));
  color: var(--cum-primary-hover, #6b4d70);
}

.communications-email-table-host td .communications-metric-pill:focus-visible {
  outline: 2px solid var(--cum-primary, #7d5b81);
  outline-offset: 1px;
}

/* Zero-count variant of the metric pill. Same shape and spacing as the
   active pill (so the Opens/Clicks columns read as one consistent chip
   per row), but rendered in muted gray so it doesn't imply engagement
   that doesn't exist. Still tappable -- opens the side panel with the
   panel's built-in "No contacts for this metric." empty state. */
.communications-email-table-host td .communications-metric-pill--zero {
  background: rgba(128, 140, 145, 0.12);
  color: var(--cum-muted-foreground, #808c91);
}

.communications-email-table-host td .communications-metric-pill--zero:hover,
.communications-email-table-host td .communications-metric-pill--zero:focus-visible {
  background: rgba(128, 140, 145, 0.22);
  color: var(--cum-foreground, #4e5e65);
}

.communications-email-table-host td .communications-metric-pill--zero:focus-visible {
  outline: 2px solid var(--cum-muted-foreground, #808c91);
  outline-offset: 1px;
}

.communications-metric-zero {
  color: var(--cum-muted-foreground, #808c91);
}

.communications-engagement-preview .communications-engagement-loading {
  margin: 0;
  color: var(--cum-muted-foreground, #808c91);
}

.communications-engagement-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

/* Cross-load state: when the user clicks a different row's metric while the
   panel is already open, we keep the prior contacts visible (dimmed +
   non-interactive) under a thin progress bar so the panel never reads as
   "closed and reopened". Once the new payload arrives the list is replaced
   in place and the dim state lifts. */
.communications-engagement-table-wrap--loading .communications-engagement-table,
.communications-engagement-table-wrap--loading .communications-engagement-count {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.communications-engagement-loading-bar {
  position: relative;
  height: 2px;
  background: var(--cum-border, #e6e8e9);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 4px;
}

.communications-engagement-loading-bar__fill {
  position: absolute;
  inset: 0;
  background: var(--cum-primary, #7d5b81);
  transform-origin: left;
  animation: communications-engagement-loading 1.2s ease-in-out infinite;
}

@keyframes communications-engagement-loading {
  0%   { transform: translateX(-100%) scaleX(0.4); }
  50%  { transform: translateX(0%)   scaleX(0.6); }
  100% { transform: translateX(100%) scaleX(0.4); }
}

.communications-engagement-table {
  font-size: 13px;
}

.communications-engagement-table th,
.communications-engagement-table td {
  word-break: break-word;
}

.communications-email-link {
  color: var(--cum-primary);
  text-decoration: none;
}

.communications-email-link:hover {
  text-decoration: underline;
}

.communications-engagement-count {
  margin: 0;
  font-size: 12px;
}

.communications-placeholder-block {
  padding: 8px 0 24px;
}

.communications-placeholder-block h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.communications-template-list {
  margin: 0;
  padding-left: 1.25rem;
}

.communications-template-list li {
  margin-bottom: 6px;
}

/* xs/sm tier (<= --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
  .communications-engagement-table,
  .communications-engagement-table thead,
  .communications-engagement-table tbody,
  .communications-engagement-table tr,
  .communications-engagement-table th,
  .communications-engagement-table td {
    display: block;
    width: 100%;
  }

  .communications-engagement-table thead {
    display: none;
  }

  .communications-engagement-table tr {
    padding: 12px;
    border: 1px solid var(--cum-border, #e6e8e9);
    border-radius: 12px;
    background: var(--cum-card, #fff);
  }

  .communications-engagement-table td {
    padding: 6px 0;
    border: none;
  }

  .communications-engagement-table td::before {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cum-muted-foreground, #808c91);
  }

  .communications-engagement-table td:nth-child(1)::before {
    content: "Name";
  }

  .communications-engagement-table td:nth-child(2)::before {
    content: "Email";
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   InfoRequest inbox - admin surface for the public.info_request table.
   Drops into the Communications page's "Inbox" tab via
   InfoRequestInboxWorkspace + InfoRequestDetailPanel.

   Token strategy mirrors the rest of communications.css: leans on the
   --cum-* token family (corporate-user-management.css) for borders /
   muted text / cards so the inbox visually matches the surrounding hub.
   ───────────────────────────────────────────────────────────────────────── */

/* Tab-body host. Padding mirrors .announcements-tab-body in announcements.css
   (8px 32px 16px desktop / 8px 16px 12px mobile) so the inbox tab matches
   the surrounding tab spacing exactly - without this the filter bar sat
   flush against the tab strip while sibling tabs had breathing room. */
.info-req-inbox-tab-body {
  padding: 8px 32px 16px;
  min-height: 0;
}

.info-req-inbox-tab-body .info-req-inbox {
  flex: 1;
  min-height: 0;
}

/* xs/sm tier (max-width 767.98px mirrors --bp-md). Tighter side padding so
   the filter row + table fill more of the phone width. */
@media (max-width: 767.98px) {
  .info-req-inbox-tab-body {
    padding: 8px 16px 12px;
  }
}

.info-req-inbox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.info-req-inbox__filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-req-inbox__filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.info-req-inbox__filter-dd {
  min-width: 160px;
}

/* DebouncedTextInput renders a bare <input> with our class on it - paint the
   element itself to match the height / border / radius of the Radzen dropdowns
   sitting alongside, otherwise the search box looks like an unstyled native
   control next to plum-bordered controls. Mirrors the project-wide form-field
   look (matches RadzenTextBox at ~36px tall, 1px plum-tinted border, 4px
   radius, focus ring). */
.info-req-inbox__filter-search {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 360px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--cum-border, #d8dadb);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--cum-foreground, #1f2426);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.info-req-inbox__filter-search::placeholder {
  color: var(--cum-muted-foreground, #a3aaad);
}

.info-req-inbox__filter-search:hover {
  border-color: #b4a0b8;
}

.info-req-inbox__filter-search:focus,
.info-req-inbox__filter-search:focus-visible {
  border-color: var(--rz-primary, #7d5b81);
  box-shadow: 0 0 0 3px rgba(125, 91, 129, 0.15);
}

/* 3-segment status toggle (Open / Closed / All). Visual borrowed from the
   Tags filter chrome so admins moving between inboxes feel the same UI. */
.info-req-inbox__seg {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--cum-border, #e6e8e9);
  border-radius: 999px;
  padding: 2px;
  background: var(--cum-card, #fff);
}

.info-req-inbox__seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--cum-foreground, #1f2426);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.info-req-inbox__seg-btn:hover {
  background: rgba(125, 91, 129, 0.08);
}

.info-req-inbox__seg-btn.is-active {
  background: var(--rz-primary, #7d5b81);
  color: #fff;
}

.info-req-inbox__seg-btn.is-active:hover {
  background: var(--rz-primary, #7d5b81);
}

.info-req-inbox__seg-count {
  display: inline-block;
  min-width: 20px;
  text-align: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 600;
}

.info-req-inbox__seg-btn:not(.is-active) .info-req-inbox__seg-count {
  background: rgba(125, 91, 129, 0.12);
  color: var(--rz-primary, #7d5b81);
}

/* Custom checkbox - hide the native input, render a styled box that gets a
   plum check when the input is :checked. Visual scale matches the segment
   buttons / dropdown height so the row aligns vertically. */
.info-req-inbox__all-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cum-foreground, #1f2426);
  cursor: pointer;
  user-select: none;
  height: 36px;
}

.info-req-inbox__all-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.info-req-inbox__all-toggle-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--cum-border, #d8dadb);
  border-radius: 4px;
  background: #fff;
  color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.info-req-inbox__all-toggle-box svg {
  width: 14px;
  height: 14px;
  display: block;
}

.info-req-inbox__all-toggle:hover .info-req-inbox__all-toggle-box {
  border-color: var(--rz-primary, #7d5b81);
}

.info-req-inbox__all-toggle-input:checked ~ .info-req-inbox__all-toggle-box {
  background: var(--rz-primary, #7d5b81);
  border-color: var(--rz-primary, #7d5b81);
  color: #fff;
}

.info-req-inbox__all-toggle-input:focus-visible ~ .info-req-inbox__all-toggle-box {
  box-shadow: 0 0 0 3px rgba(125, 91, 129, 0.25);
}

.info-req-inbox__all-toggle-text {
  white-space: nowrap;
}

/* Cell styling for the inbox table */

.info-req-inbox__col-submitted {
  white-space: nowrap;
  color: var(--cum-muted-foreground, #808c91);
  font-size: 13px;
}

.info-req-inbox__topic {
  font-weight: 600;
  font-size: 13px;
  color: var(--cum-foreground, #1f2426);
}

.info-req-inbox__source {
  font-size: 11px;
  color: var(--cum-muted-foreground, #808c91);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.info-req-inbox__name {
  font-weight: 600;
  font-size: 13px;
}

.info-req-inbox__location {
  font-size: 11px;
  color: var(--cum-muted-foreground, #808c91);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.info-req-inbox__email,
.info-req-inbox__phone {
  color: var(--rz-primary, #7d5b81);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

.info-req-inbox__email:hover,
.info-req-inbox__phone:hover {
  text-decoration: underline;
}

.info-req-inbox__muted {
  color: var(--cum-muted-foreground, #808c91);
  font-size: 13px;
}

.info-req-inbox__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.info-req-inbox__badge--new {
  background: rgba(125, 91, 129, 0.12);
  color: #5e3f63;
}

.info-req-inbox__badge--prog {
  background: rgba(217, 144, 33, 0.14);
  color: #8a5b14;
}

.info-req-inbox__badge--closed {
  background: rgba(120, 130, 135, 0.14);
  color: #4a5358;
}

.info-req-inbox__empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--cum-muted-foreground, #808c91);
}

.info-req-inbox__empty-title {
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--cum-foreground, #1f2426);
}

.info-req-inbox__empty-hint {
  margin: 0;
  font-size: 13px;
}

/* xs/sm tier (max-width 767.98px mirrors --bp-md). Stack filter row vertically
   and let the search box span full width. Media queries can't deref CSS vars. */
@media (max-width: 767.98px) {
  .info-req-inbox__filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .info-req-inbox__seg,
  .info-req-inbox__filter-dd,
  .info-req-inbox__filter-search {
    width: 100%;
    max-width: none;
  }

  .info-req-inbox__seg {
    justify-content: space-between;
  }

  .info-req-inbox__seg-btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .info-req-inbox__all-toggle {
    align-self: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   InfoRequest detail panel (side-panel body)
   ───────────────────────────────────────────────────────────────────────── */

.info-req-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0 16px;
}

.info-req-detail__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.info-req-detail__section + .info-req-detail__section {
  padding-top: 14px;
  border-top: 1px solid var(--cum-border, #e6e8e9);
}

.info-req-detail__section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cum-muted-foreground, #808c91);
  margin: 0 0 4px;
}

.info-req-detail__visitor-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--cum-foreground, #1f2426);
}

.info-req-detail__visitor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}

.info-req-detail__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rz-primary, #7d5b81);
  text-decoration: none;
  font-size: 13px;
}

.info-req-detail__contact-link:hover {
  text-decoration: underline;
}

/* Unicode glyph (envelope / phone) sits at slightly larger size than the
   surrounding text - the symbol itself is visually small at body-text size,
   so a 1em-ish bump and the muted opacity keep it as a quiet affordance
   rather than a competing icon. */
.info-req-detail__contact-glyph {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  opacity: 0.85;
}

.info-req-detail__dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 13px;
}

.info-req-detail__dl dt {
  font-weight: 600;
  color: var(--cum-muted-foreground, #808c91);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-top: 2px;
}

.info-req-detail__dl dd {
  margin: 0;
  color: var(--cum-foreground, #1f2426);
  word-break: break-word;
}

.info-req-detail__source-link {
  color: var(--rz-primary, #7d5b81);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  word-break: break-all;
}

.info-req-detail__source-link:hover {
  text-decoration: underline;
}

.info-req-detail__external-glyph {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  opacity: 0.7;
}

.info-req-detail__reply-glyph {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.info-req-detail__location-name {
  font-weight: 600;
}

.info-req-detail__slug {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--cum-card-alt, #f5f3f6);
  border: 1px solid var(--cum-border, #e6e8e9);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--cum-muted-foreground, #808c91);
}

.info-req-detail__muted {
  color: var(--cum-muted-foreground, #808c91);
  font-style: italic;
}

.info-req-detail__comments {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--cum-card-alt, #f5f3f6);
  border-radius: 8px;
  border: 1px solid var(--cum-border, #e6e8e9);
  color: var(--cum-foreground, #1f2426);
}

.info-req-detail__form-data dt {
  text-transform: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.info-req-detail__reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--rz-primary, #7d5b81);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.15s ease;
}

.info-req-detail__reply-btn:hover {
  background: #6a4d6f;
  color: #fff;
  text-decoration: none;
}

.info-req-detail__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-req-detail__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cum-muted-foreground, #808c91);
}

/* DebouncedTextArea renders a bare <textarea>. Paint it to match the Radzen
   form-field look (border, radius, focus ring) so the resolution-notes box
   doesn't fall back to the OS default with a fat blue outline. AutoGrow
   keeps the height growing to fit content; min-height is set inline by
   MinHeightRem so we don't double-define it here. */
.info-req-detail__notes {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--cum-border, #d8dadb);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--cum-foreground, #1f2426);
  line-height: 1.45;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.info-req-detail__notes::placeholder {
  color: var(--cum-muted-foreground, #a3aaad);
}

.info-req-detail__notes:hover {
  border-color: #b4a0b8;
}

.info-req-detail__notes:focus,
.info-req-detail__notes:focus-visible {
  border-color: var(--rz-primary, #7d5b81);
  box-shadow: 0 0 0 3px rgba(125, 91, 129, 0.15);
}

.info-req-detail__resolved-stamp {
  font-size: 12px;
  color: var(--cum-muted-foreground, #808c91);
  font-style: italic;
}

.info-req-detail__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.info-req-detail__metadata {
  margin-top: 8px;
  border-top: 1px solid var(--cum-border, #e6e8e9);
  padding-top: 12px;
}

.info-req-detail__metadata summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--cum-muted-foreground, #808c91);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 0;
}

.info-req-detail__metadata summary:hover {
  color: var(--cum-foreground, #1f2426);
}

.info-req-detail__metadata[open] summary {
  margin-bottom: 8px;
}

.info-req-detail__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--cum-muted-foreground, #808c91);
  word-break: break-all;
}

.info-req-detail__empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--cum-muted-foreground, #808c91);
  font-style: italic;
}

/* xs/sm tier (max-width 767.98px mirrors --bp-md). Stack the dl single-column
   so labels don't wrap awkwardly in the bottom-sheet panel on phones. */
@media (max-width: 767.98px) {
  .info-req-detail__dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .info-req-detail__dl dt {
    padding-top: 8px;
  }

  .info-req-detail__dl dt + dd {
    margin-bottom: 8px;
  }

  .info-req-detail__reply-btn {
    align-self: stretch;
    justify-content: center;
  }
}

