/* The adviser email composer (emailComposer.js). docs/systems/ADVISER_EMAIL_SEND.md */
.vxec-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; }
.vxec { background: var(--surface, #fff); color: var(--navy, #1a1f2e); width: 100%; max-width: 720px; border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.vxec-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border, #e7e5e4); }
.vxec-h h3 { margin: 0; font-size: 16px; }
.vxec-x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text-tertiary, #6b7280); width: auto; }
.vxec-b { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.vxec-row { display: flex; gap: 10px; align-items: flex-start; }
.vxec-row > label { width: 64px; flex: none; padding-top: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-tertiary, #6b7280); }
.vxec-row > input, .vxec-row > select { flex: 1; min-width: 0; }
.vxec-col { flex-direction: column; gap: 4px; }
.vxec-col > label { padding-top: 0; }
.vxec-col textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.vxec-chips { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 32px; }
.vxec-forms { padding-left: 74px; min-height: 0; }
.vxec-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--neutral-fill, #f1f5f9); border-radius: 14px; padding: 3px 4px 3px 10px; font-size: 12.5px; }
.vxec-chip button { background: none; border: 0; cursor: pointer; font-size: 14px; line-height: 1; color: var(--text-tertiary, #6b7280); width: auto; padding: 0 4px; }
.vxec-add { font: inherit; font-size: 12.5px; padding: 3px 6px; border: 1px dashed var(--border, #d6d3d1); border-radius: 14px; background: transparent; max-width: 100%; }
.vxec-note { font-size: 12px; color: var(--text-tertiary, #6b7280); line-height: 1.45; }
.vxec-route { padding: 8px 10px; background: var(--neutral-fill, #f8fafc); border-radius: 6px; }
.vxec-warn { background: #fff7e6; color: #7a5b00; border-radius: 6px; padding: 8px 10px; }
.vxec-err { background: #fdecec; color: #9b1c1c; border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.vxec-preview iframe { width: 100%; height: 420px; border: 1px solid var(--border, #e7e5e4); border-radius: 6px; background: #fff; }
.vxec-f { display: flex; gap: 8px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--border, #e7e5e4); flex-wrap: wrap; }
@media (max-width: 560px) {
  .vxec-overlay { padding: 0; }
  .vxec { border-radius: 0; min-height: 100%; }
  .vxec-row { flex-direction: column; gap: 4px; }
  .vxec-row > label { width: auto; padding-top: 0; }
  .vxec-forms { padding-left: 0; }
}
