/* Bowranda lead emails and agents (js/bowmail.js). Shared tokens, so light and dark follow styles.css.
   The email preview itself stays white like a real email (see .bmail in styles.css). */
.bwm-sec { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--divider); display: flex; flex-direction: column; gap: 10px; }
.bwm-sec .minihead { margin: 0; }
.bwm-card { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 12px 14px; min-width: 0; }
.bwm-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-start; justify-content: space-between; }
.bwm-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 280px; }
.bwm-who .small { overflow-wrap: anywhere; }
.bwm-subj { font-weight: 600; color: var(--ink); }
.bwm-st { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; }
.bwm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bwm-acts .btn .ic { width: 16px; height: 16px; }
.bwm-check { color: var(--amber); font-weight: 700; }
.bwm-prev { margin-top: 12px; overflow-x: auto; }
.bwm-prev .bsubj { margin-bottom: 8px; }
.bwm-mail { max-width: 600px; }
.bwm-mail .bm-rows th { color: #5F6461; font-weight: 400; width: 34%; }
.bwm-mail .bm-rows td { font-weight: 700; overflow-wrap: anywhere; }
.bwm-pt { font-weight: 700; margin-top: 4px; }
.bwm-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.bwm-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.bwm-link { color: #1480C4; font-weight: 700; text-decoration: underline; }
.bwm-sign { margin-top: 8px; }
.bwm-prep { margin-top: 4px; }
.bwm-note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8125rem; color: var(--grey-ink); background: var(--surface2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 0 0 12px; }
.bwm-note .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--muted); }
.bwm-list { display: flex; flex-direction: column; gap: 10px; }

/* #bowagents */
.bwm-page .tform { margin-top: 12px; }
.bwm-page .sechd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bwm-arow { display: flex; align-items: center; gap: 8px 16px; padding: 12px 4px; flex-wrap: wrap; }
.bwm-aw { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; min-width: 0; }
.bwm-aw .small { overflow-wrap: anywhere; }
.bwm-arow .btn .ic { width: 16px; height: 16px; }
.bwm-new { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--divider); }
.bwm-chk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.bwm-chk input { width: 18px; height: 18px; }
.ldwz .wide { grid-column: 1 / -1; margin: 0; }

@media (max-width: 600px) {
  .bwm-card { padding: 10px 12px; }
  .bwm-photos { gap: 8px; }
  .bwm-mail .bm-body { padding: 16px; }
}

/* Settings, Bowranda settings: the two photos in the acknowledgement (js/bowsettings.js) */
.bwset-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 8px; max-width: 520px; }
.bwset-slot { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bwset-slot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--divider); }
.bwset-acts { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .bwset-slots { grid-template-columns: 1fr; } }
.bwm-banner { margin: 0 0 12px; }
.bwm-banner img { display: block; width: 100%; height: auto; border-radius: 6px; }
.bwm-banner .small { display: block; margin-top: 4px; }
.bwset-banner { display: flex; flex-direction: column; gap: 8px; max-width: 552px; margin: 4px 0 8px; }
.bwset-banner img, .bwset-nobanner { display: block; width: 100%; aspect-ratio: 4 / 1; border-radius: 6px; background: var(--divider); object-fit: cover; }
.bwset-nobanner { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.875rem; border: 1px dashed var(--input); }
.bwset-sub { margin: 16px 0 0; font-size: 1rem; }
