/* ==========================================================================
   Lead Center (docs/modules/lead-center.md; design canvas "FEOS Lead Center", Peter 18 Oct 2026): option A's colours
   (feos-a.css variables) — a blue band, colour-headed cards, 15 px text; the page, import, sort, the Home widget and
   the WhatsApp / Log windows. Stacks at phone width.
   ========================================================================== */

.feos-lc { max-width: 1440px; margin: 0 auto; padding-bottom: 30px; color: var(--feos-a-ink, #0f1b26); font-size: 15px; }
.feos-lc a { color: var(--feos-a-blue-dark, #075a93); }

/* ---- the band ------------------------------------------------------------------------------------------------- */
.feos-lc-band { background: var(--feos-a-blue, #0a72ba); color: #fff; border-radius: 16px; padding: 22px 26px; display: flex;
    flex-wrap: wrap; align-items: center; gap: 16px; margin: 6px 0 16px; }
.feos-lc-band-teal { background: var(--feos-a-teal, #0e7c86); }
.feos-lc-band-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feos-lc-band h1 { margin: 0; font-size: 30px; font-weight: 800; color: #fff; }
.feos-lc-band-main > span { font-size: 16px; opacity: .95; }
.feos-lc-band-acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.feos-lc a.feos-lc-band-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px;
    border: 2px solid #fff; color: #fff; font-weight: 600; text-decoration: none; }
.feos-lc a.feos-lc-band-btn.is-white { background: #fff; color: var(--feos-a-blue-dark, #075a93); font-weight: 800; }
.feos-lc-wizard { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.feos-lc-wizard li { background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.feos-lc-wizard li.is-done { background: #fff; color: var(--feos-a-teal, #0e7c86); }
.feos-lc-wizard li.is-now { background: #fff; color: var(--feos-a-ink, #0f1b26); font-weight: 800; box-shadow: 0 0 0 3px #9fe0e6; }

/* ---- stages ---------------------------------------------------------------------------------------------------- */
.feos-lc-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.feos-lc a.feos-lc-stage { background: #fff; border-radius: 14px; padding: 10px 14px; text-decoration: none; color: var(--feos-a-ink, #0f1b26);
    display: flex; flex-direction: column; border: 1px solid var(--feos-a-line, #e1e7ee); }
.feos-lc-stage span { font-size: 13px; font-weight: 700; }
.feos-lc-stage b { font-size: 24px; line-height: 1.2; }
.feos-lc-st-blue span { color: var(--feos-a-blue-dark, #075a93); } .feos-lc-st-teal span { color: var(--feos-a-teal, #0e7c86); }
.feos-lc-st-purple span { color: var(--feos-a-purple, #6a3fb5); } .feos-lc-st-amber span { color: var(--feos-a-amber, #7a5a00); }
.feos-lc-st-green span { color: var(--feos-a-green, #1f7a4d); } .feos-lc-st-grey span { color: var(--feos-a-grey, #3d4a57); }

/* ---- layout and cards ---------------------------------------------------------------------------------------- */
.feos-lc-cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.feos-lc-main { flex: 2 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feos-lc-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feos-lc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.feos-lc-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--feos-a-line, #e1e7ee); }
.feos-lc-card.is-hot { box-shadow: 0 0 0 3px rgba(180, 35, 24, .25); }
.feos-lc-narrow { max-width: 760px; }
.feos-lc-h { padding: 12px 18px; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feos-lc-h-note { margin-left: auto; font-size: 13px; font-weight: 500; opacity: .9; }
.feos-lc-h-red { background: #b42318; color: #fff; } .feos-lc-h-orange { background: var(--feos-a-orange-soft, #fdf0e4); color: var(--feos-a-orange, #a14a08); }
.feos-lc-h-amber { background: var(--feos-a-amber-soft, #fff4d6); color: var(--feos-a-amber, #7a5a00); }
.feos-lc-h-teal { background: var(--feos-a-teal-soft, #e3f4f5); color: var(--feos-a-teal, #0e7c86); }
.feos-lc-h-purple { background: var(--feos-a-purple-soft, #f1ebfa); color: var(--feos-a-purple, #6a3fb5); }
.feos-lc-h-green { background: var(--feos-a-green-soft, #e6f4ec); color: var(--feos-a-green, #1f7a4d); }
.feos-lc-h-blue { background: var(--feos-a-blue-soft, #e8f3fb); color: var(--feos-a-blue-dark, #075a93); }
.feos-lc-h-grey { background: var(--feos-a-grey-soft, #eef1f4); color: var(--feos-a-grey, #3d4a57); }
.feos-lc-count { background: #fff; color: inherit; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.feos-lc-count.is-red { color: #b42318; }
.feos-lc-empty { padding: 14px 18px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-small { font-size: 13px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-pad { padding: 10px 18px; }
.feos-lc-p { padding: 12px 18px; } .feos-lc-p p { margin: 0 0 8px; } .feos-lc-p ul { margin: 6px 0; padding-left: 20px; }
.feos-lc-card-foot { padding: 12px 18px; border-top: 1px solid var(--feos-a-line, #e1e7ee); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.feos-lc-sublist-h { padding: 10px 18px 4px; font-size: 13px; font-weight: 700; color: var(--feos-a-muted, #3d4a57); text-transform: uppercase; letter-spacing: .03em; }
.feos-lc-line { display: flex; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--feos-a-line, #e1e7ee); align-items: baseline; flex-wrap: wrap; }
.feos-lc-stop { background: #fde8e6; color: #8c1d13; border-radius: 10px; padding: 10px 12px; margin: 10px 18px; }
.feos-lc-note-box { margin: 10px 18px; background: var(--feos-a-purple-soft, #f1ebfa); color: #3d2470; border-radius: 12px; padding: 10px 14px; font-size: 14px; }

/* ---- a lead row ------------------------------------------------------------------------------------------------ */
.feos-lc-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--feos-a-line, #e1e7ee); flex-wrap: wrap; }
.feos-lc-h + .feos-lc-row { border-top: 0; }
.feos-lc-row-hot { background: #fff5f4; }
.feos-lc-ini { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
    font-size: 15px; flex: none; background: var(--feos-a-blue-soft, #e8f3fb); color: var(--feos-a-blue-dark, #075a93); }
.feos-lc-row-hot .feos-lc-ini { background: #fde8e6; color: #b42318; }
.feos-lc-row-known .feos-lc-ini { background: var(--feos-a-teal-soft, #e3f4f5); color: var(--feos-a-teal, #0e7c86); }
.feos-lc-who { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.feos-lc a.feos-lc-name { font-weight: 800; font-size: 16px; color: var(--feos-a-ink, #0f1b26); text-decoration: none; }
.feos-lc-sub { font-size: 13px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.feos-lc-chip { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--feos-a-grey-soft, #eef1f4); color: var(--feos-a-grey, #3d4a57); white-space: nowrap; }
.feos-lc-chip-src { background: var(--feos-a-blue-soft, #e8f3fb); color: var(--feos-a-blue-dark, #075a93); }
.feos-lc-chip-ok { background: var(--feos-a-green-soft, #e6f4ec); color: var(--feos-a-green, #1f7a4d); }
.feos-lc-chip-known { background: var(--feos-a-teal-soft, #e3f4f5); color: var(--feos-a-teal, #0e7c86); }
.feos-lc-chip-out { background: var(--feos-a-amber-soft, #fff4d6); color: var(--feos-a-amber, #7a5a00); }
.feos-lc-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.feos-lc-acts .btn { min-height: 36px; border-radius: 9px; font-weight: 600; }
.feos-lc a.feos-lc-call { color: #fff; }

/* ---- tiles, speed, sources, steps ------------------------------------------------------------------------------ */
.feos-lc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; padding: 12px 18px; }
.feos-lc a.feos-lc-tile, .feos-lc-tile { background: var(--feos-a-grey-soft, #eef1f4); border-radius: 12px; padding: 10px 12px; text-decoration: none;
    color: var(--feos-a-ink, #0f1b26); display: flex; flex-direction: column; }
.feos-lc-tile b { font-size: 24px; line-height: 1.15; } .feos-lc-tile span { font-size: 13px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-tile.is-good { background: var(--feos-a-green-soft, #e6f4ec); } .feos-lc-tile.is-good b { color: var(--feos-a-green, #1f7a4d); }
.feos-lc-tile.is-warn { background: var(--feos-a-amber-soft, #fff4d6); } .feos-lc-tile.is-warn b { color: var(--feos-a-amber, #7a5a00); }
.feos-lc-speed { padding: 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.feos-lc-speed-big { display: flex; justify-content: space-between; align-items: baseline; } .feos-lc-speed-big b { font-size: 24px; }
.feos-lc-bar > div { display: flex; justify-content: space-between; font-size: 14px; }
.feos-lc-bar i { display: block; height: 9px; background: var(--feos-a-grey-soft, #eef1f4); border-radius: 5px; margin-top: 4px; overflow: hidden; }
.feos-lc-bar em { display: block; height: 9px; background: var(--feos-a-blue, #0a72ba); border-radius: 5px; }
.feos-lc-srcs { padding: 12px 18px; display: flex; flex-direction: column; gap: 9px; }
.feos-lc-src > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.feos-lc-src i { display: block; height: 7px; background: var(--feos-a-teal, #0e7c86); border-radius: 4px; margin-top: 3px; min-width: 4px; }
.feos-lc-steps { margin: 0; padding: 6px 18px 12px 40px; }
.feos-lc-steps li { padding: 7px 0; } .feos-lc-steps li > span { display: block; font-size: 13px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-steps li.is-done, .feos-lc-steps li.is-done a { color: var(--feos-a-green, #1f7a4d); text-decoration: line-through; }
.feos-lc-steps-t { font-weight: 600; }

/* ---- import ------------------------------------------------------------------------------------------------------ */
.feos-lc-srcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; padding: 14px 18px; }
.feos-lc-srcbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid #d5dde6;
    border-radius: 14px; background: #fff; text-align: left; min-height: 74px; }
.feos-lc-srcbtn span { font-size: 20px; color: var(--feos-a-muted, #3d4a57); } .feos-lc-srcbtn em { font-style: normal; font-size: 13px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-srcbtn.is-on { border: 2px solid var(--feos-a-teal, #0e7c86); background: #f0fafb; } .feos-lc-srcbtn.is-on span { color: var(--feos-a-teal, #0e7c86); }
.feos-lc-howto { margin: 0; padding: 12px 18px 6px 40px; } .feos-lc-howto li { padding: 3px 0; }
.feos-lc-drop { margin: 10px 18px 18px; border: 2px dashed #9bb7cf; border-radius: 14px; padding: 22px; display: flex; flex-direction: column;
    align-items: center; gap: 8px; background: #f7fbfe; text-align: center; cursor: pointer; font-weight: 400; }
.feos-lc-drop > span.fas { font-size: 30px; color: var(--feos-a-blue-dark, #075a93); }
.feos-lc-drop input { max-width: 100%; }
.feos-lc-paste { font-size: 14px; }
.feos-lc-imp-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .feos-lc-imp-tools input { flex: 1 1 220px; max-width: 360px; }
.feos-lc-imp-table { max-height: 520px; overflow: auto; border-top: 1px solid var(--feos-a-line, #e1e7ee); }
.feos-lc-trow { display: grid; grid-template-columns: 36px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: 10px;
    align-items: center; padding: 8px 18px; border-bottom: 1px solid var(--feos-a-line, #e1e7ee); font-weight: 400; margin: 0; font-size: 14px; }
.feos-lc-trow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feos-lc-trow-h { background: #f7f9fb; font-size: 13px; font-weight: 700; color: var(--feos-a-muted, #3d4a57); position: sticky; top: 0; }
.feos-lc-trow.is-off { color: #9aa5b1; }

/* ---- sort ---------------------------------------------------------------------------------------------------------- */
.feos-lc-steptabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.feos-lc-steptab { border: 1px solid var(--feos-a-line, #e1e7ee); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; min-height: 40px; }
.feos-lc-steptab em { font-style: normal; background: var(--feos-a-teal-soft, #e3f4f5); color: var(--feos-a-teal, #0e7c86); border-radius: 999px; padding: 1px 8px; margin-left: 4px; font-size: 12px; }
.feos-lc-steptab.is-now { background: var(--feos-a-teal, #0e7c86); color: #fff; border-color: var(--feos-a-teal, #0e7c86); }
.feos-lc-steptab.is-now em { background: #fff; }
.feos-lc-picks { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 18px 14px; }
.feos-lc-pick { display: inline-flex; align-items: stretch; border: 1px solid #d5dde6; border-radius: 12px; background: #fff; overflow: hidden; }
.feos-lc-pick.is-on { border-color: var(--feos-a-green, #1f7a4d); background: var(--feos-a-green-soft, #e6f4ec); }
.feos-lc-pick.is-other { opacity: .7; }
.feos-lc-pick-main { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 0; background: transparent; text-align: left; min-height: 40px; }
.feos-lc-pick-main em { font-style: normal; font-size: 12px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-pick-box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #9aa5b1; display: inline-flex; align-items: center;
    justify-content: center; font-size: 10px; color: #fff; flex: none; }
.feos-lc-pick.is-on .feos-lc-pick-box { background: var(--feos-a-green, #1f7a4d); border-color: var(--feos-a-green, #1f7a4d); }
.feos-lc-star { border: 0; border-left: 1px solid #cfe6d8; background: transparent; padding: 0 10px; color: #9aa5b1; min-width: 40px; }
.feos-lc-star.is-talk { color: #d39e00; }
.feos-lc-rest-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 12px; }

/* ---- windows ------------------------------------------------------------------------------------------------------- */
.feos-lc-dialog .modal-dialog { width: min(980px, 96vw); }
.feos-lc-outs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.feos-lc-out { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid #d5dde6;
    border-radius: 12px; background: #fff; text-align: left; min-height: 60px; }
.feos-lc-out span { font-size: 12px; color: var(--feos-a-muted, #3d4a57); }
.feos-lc-out.is-on { border: 2px solid var(--feos-a-blue, #0a72ba); background: var(--feos-a-blue-soft, #e8f3fb); }
.feos-lc-log-more { display: grid; grid-template-columns: 200px 1fr; gap: 12px; margin-top: 14px; }
.feos-lc-log-more label { font-weight: 600; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.feos-lc-wa-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; }
.feos-lc-wa-left { max-height: 480px; overflow: auto; padding-right: 4px; display: flex; flex-direction: column; gap: 10px; }
.feos-lc-kind-h { font-size: 13px; font-weight: 700; color: var(--feos-a-muted, #3d4a57); margin-bottom: 4px; }
.feos-lc-kind.is-suggested .feos-lc-kind-h { color: var(--feos-a-green, #1f7a4d); }
.feos-lc-tpl { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 8px 10px; margin-bottom: 5px;
    border: 1px solid #d5dde6; border-radius: 10px; background: #fff; text-align: left; }
.feos-lc-tpl span { font-size: 12px; color: var(--feos-a-muted, #3d4a57); } .feos-lc-tpl em { font-size: 11px; color: var(--feos-a-teal, #0e7c86); }
.feos-lc-tpl.is-on { border: 2px solid #25d366; background: #effcf3; }
.feos-lc-wa-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.feos-lc-wa-top .fa-whatsapp { color: #25d366; font-size: 20px; } .feos-lc-wa-top select { width: auto; margin-left: auto; }
.feos-lc-text { font-size: 15px; line-height: 1.45; }
.feos-lc-wa-hint { font-size: 12px; color: var(--feos-a-muted, #3d4a57); margin-top: 4px; }
.feos-lc-wa-tools { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 2px; }
.feos-lc-rules { margin-top: 8px; font-size: 13px; } .feos-lc-rules ul { padding-left: 18px; margin: 6px 0 0; }
.feos-lc-wa .feos-lc-stop { margin: 0 0 10px; }

/* ---- the Home widget --------------------------------------------------------------------------------------------- */
.feos-lcw { font-size: 14px; }
.feos-lcw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-bottom: 8px; }
.feos-lcw a.feos-lcw-tile { background: var(--feos-a-grey-soft, #eef1f4); border-radius: 12px; padding: 9px 11px; text-decoration: none;
    color: var(--feos-a-ink, #0f1b26); display: flex; flex-direction: column; }
.feos-lcw-tile b { font-size: 22px; line-height: 1.15; } .feos-lcw-tile span { font-size: 12px; color: var(--feos-a-muted, #3d4a57); }
.feos-lcw a.feos-lcw-tile.is-red { background: #b42318; color: #fff; } .feos-lcw-tile.is-red span { color: #fde8e6; }
.feos-lcw-tile.is-orange { background: var(--feos-a-orange-soft, #fdf0e4); } .feos-lcw-tile.is-orange b { color: var(--feos-a-orange, #a14a08); }
.feos-lcw-tile.is-amber { background: var(--feos-a-amber-soft, #fff4d6); } .feos-lcw-tile.is-amber b { color: var(--feos-a-amber, #7a5a00); }
.feos-lcw-tile.is-green { background: var(--feos-a-green-soft, #e6f4ec); } .feos-lcw-tile.is-green b { color: var(--feos-a-green, #1f7a4d); }
.feos-lcw-list { border: 1px solid var(--feos-a-line, #e1e7ee); border-radius: 12px; overflow: hidden; }
.feos-lcw-list .feos-lc-row:first-child { border-top: 0; }
.feos-lcw .feos-lc-row { padding: 9px 12px; }
.feos-lcw a.feos-lc-name { font-weight: 800; color: var(--feos-a-ink, #0f1b26); text-decoration: none; }
.feos-lcw a.feos-lc-call { color: #fff; }
.feos-lcw-empty { padding: 8px 2px; color: var(--feos-a-muted, #3d4a57); }
.feos-lcw-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }

@media (max-width: 760px) {
    .feos-lc-band { padding: 18px; } .feos-lc-band h1 { font-size: 24px; } .feos-lc-band-acts { margin-left: 0; }
    .feos-lc-wa-cols, .feos-lc-log-more { grid-template-columns: 1fr; }
    .feos-lc-trow { grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr); } .feos-lc-trow > span:nth-child(4), .feos-lc-trow > span:nth-child(5) { display: none; }
    .feos-lc-acts { width: 100%; } .feos-lc-acts .btn { flex: 1; }
}
