/* edge_dialog.css | one look for the interviews and dialogs, Buyer's EDGE and the Seller Portal
 *
 * Benjamin, 25 October 2026, on a screenshot of the advisor portal's Buyer
 * interview: "I want to use this styling for the pop ups and 'interviews' in
 * the buyer and seller portals. Like the Buyer Profile and the Add Business
 * Target." His rulings: the interviews keep their tags, questions and
 * structure, "the style to change, mostly the header with the different names
 * to the sections"; ONE shared style for both sites; the body follows each
 * site's theme; the advisor portal's interview (advisor-portal-v2/public/app/
 * interview.js) is the source and stays as it is.
 *
 * SHARED, BYTE FOR BYTE: buyer-edge-site/public/edge_dialog.css and
 * seller-portal-site/public/edge_dialog.css are the same file
 * (buyer_dialog_style.check.js holds it). Change it here and copy it.
 *
 * THE HEADER'S COLOURS ARE FIXED, NOT var(--dark). On these sites --dark
 * names the TEXT colour and turns near-white in dark mode (the suggestion
 * pill's lesson, 18 Oct 2026); a header painted var(--dark) would go white in
 * dark mode. The slate and lime are the brand values themselves, so the header
 * reads the same in both themes and the body around it follows the theme.
 *
 * !important ON THE HEAD'S COLOURS ONLY, and on purpose: each site's own
 * <style> loads after this file and its dark theme (theme_dark.css,
 * html[data-theme="dark"] ...) is more specific, and both paint these heads
 * var(--dark). The head is fixed slate and white in both themes (his ruling 2:
 * the BODY follows the theme), so its colours must win; nothing else here does.
 *
 * ASCII only.
 */

/* ---- the interview (Buyer's EDGE ivShell): a card with the advisor portal's head ---- */
.card.edlg{padding:0;overflow:hidden}
.edlg-head{background:#3a4a55 !important;color:#fff !important;padding:14px 18px}
.edlg-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.edlg-title{font-size:17px;font-weight:800;color:#fff !important;margin:0;line-height:1.3}
.edlg-close{color:rgba(255,255,255,.82) !important;font-weight:700;font-size:14px;text-decoration:none;background:transparent;border:0;cursor:pointer;padding:0}
.edlg-close:hover{color:#fff !important;text-decoration:underline}
.edlg-intro{color:rgba(255,255,255,.75) !important;font-size:13px;margin-top:4px}
.edlg-steps{display:flex;gap:6px;margin-top:10px}
.edlg-step{flex:1;min-width:0;text-align:center}
.edlg-bar{display:block;height:4px;border-radius:2px;background:rgba(255,255,255,.2)}
.edlg-step.done .edlg-bar,.edlg-step.on .edlg-bar{background:#d0ed65}
.edlg-lab{display:block;font-size:10.5px;line-height:1.2;margin-top:4px;font-weight:600;color:rgba(255,255,255,.55)}
.edlg-step.on .edlg-lab{color:#d0ed65;font-weight:800}
.edlg-body{padding:16px 20px 18px}
/* the foot: Cancel or Back on the left, the step count and the actions on the right */
.edlg-body .ivnav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--border);
  margin:18px -20px 0;padding:12px 20px 0}
.edlg-count{margin-left:auto;font-size:13px;color:var(--slate)}
@media (max-width:560px){.edlg-lab{display:none}.edlg-steps{gap:4px}}

/* ---- the dialogs (Buyer's EDGE .tmdlg): the slate head ---- */
.tmdlg{overflow:hidden}
.tmdlg-head{background:#3a4a55 !important;border-bottom:0 !important;padding:14px 18px}
.tmdlg-head h2{color:#fff !important}
.tmdlg-x{color:rgba(255,255,255,.82) !important}
.tmdlg-x:hover{color:#fff !important}

/* ---- the representation request (both sites' .repbox): its title is the head ---- */
.repbox h2{background:#3a4a55 !important;color:#fff !important;margin:-22px -24px 14px;padding:14px 24px;border-radius:12px 12px 0 0}
