/* V6.88 Admin look stage 2 (Abhishek 7 Nov "go" on the samples): line icons in place of emoji, a 7-column Leads table,
   a compact client header with Call and WhatsApp in front, and underlined tabs. Loaded last, so it wins over theme-a.css. */
svg.qi{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px}
.ic2,.ct-chip,.att-chip,.pol-chip,.pw-chip,.cv-chips .badge{display:inline-flex;align-items:center;gap:4px}
.ic2 svg.qi,.ct-chip svg.qi,.att-chip svg.qi,.pol-chip svg.qi,.pw-chip svg.qi,.cv-chips .badge svg.qi{width:13px;height:13px}
.ct-chip{letter-spacing:0;font-weight:700;margin-top:0}
.ic-key span{display:inline-flex;align-items:center;gap:5px}
.pz-combo,.pz-combo-min,.pz-combo-box h5{display:inline-flex;align-items:center;gap:5px}
.fh-empty-ic svg.qi{width:26px;height:26px;stroke-width:1.6}

/* Leads table: FH ID · Client · City · Stage · Pipeline · Next · Updated · Actions */
.lead-panel table.lt2{table-layout:auto;width:100%;min-width:860px}
.lead-panel table.lt2 th:nth-child(n),.lead-panel table.lt2 td:nth-child(n){width:auto;min-width:0;max-width:none}
.lead-panel table.lt2 th:first-child,.lead-panel table.lt2 td:first-child{width:1%;white-space:nowrap}
.lead-panel table.lt2 th.c-cl,.lead-panel table.lt2 td.c-cl{width:34%;min-width:220px}
.lead-panel table.lt2 td.c-city{min-width:70px}
.lead-panel table.lt2 td.c-st{width:1%;min-width:96px}
.lead-panel table.lt2 th.c-up,.lead-panel table.lt2 td.c-up{width:1%;min-width:150px;white-space:nowrap}
.lead-panel table.lt2 th:last-child,.lead-panel table.lt2 td:last-child{width:1%;white-space:nowrap}
.lead-panel table.lt2 th .th-more{margin-left:8px;font-weight:600;opacity:.85}
.lead-panel table.lt2 th .th-more .sortable{margin-right:6px}
.lead-panel table.lt2 td.c-cl small.sub{margin:1px 0 2px}
.lead-panel table.lt2 .lt-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.lead-panel table.lt2 .lt-tags>*{margin:0!important;font-size:11.5px!important;padding:2px 8px!important;line-height:18px;border-radius:99px;white-space:nowrap}
.lead-panel table.lt2 .lt-tags:empty{display:none}
.lead-panel table.lt2 .lt-pass{background:#F6F1E6;color:var(--navy,#10213A);border:1px solid #EFE7D6}
.lead-panel table.lt2 .lt-sf{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.lead-panel table.lt2 .lt-sf .score{font-size:11.5px;padding:2px 8px}
.lead-panel table.lt2 td.c-cl .vd{display:block;margin-top:4px}
.lead-panel table.lt2 td.c-up .dt-u small{display:inline;font-weight:500;color:var(--muted,#5D6676)}
.lead-panel table.lt2 td.c-up .lt-act{display:block;margin-top:3px;white-space:normal;max-width:190px;line-height:1.35}
.lead-panel table.lt2 td.c-up .dt-a{margin-top:3px}
@media(max-width:1500px){.lead-panel table.lt2 th.c-cl,.lead-panel table.lt2 td.c-cl{min-width:200px}}

/* Client page header */
.cv-hero{background:var(--paper,#FFFDF8);border:1px solid var(--line,#E6DCC6);border-radius:18px;padding:18px 20px;gap:4px 16px;box-shadow:0 14px 30px -28px rgba(16,33,58,.45)}
.cv-av{width:56px;height:56px;font-size:21px;box-shadow:0 0 0 3px #fff,0 0 0 4px var(--gold2,#EAD19A)}
.cv-id h2{font-size:26px;margin:0 0 6px}
.cv-chips{gap:5px}
.cv-chips .badge,.cv-chips .cv-fh,.cv-chips .score,.cv-chips .pol-chip,.cv-chips .ct-chip{font-size:12px!important;padding:3px 9px;margin:0}
.cv-chips .badge.st-alert{color:#B42318;background:#FDECEA;border:1px solid #F5C9C3}
.cv-meta{margin-top:6px;font-size:13px}
@media(min-width:861px){.cv-hero .cv-id,.cv-hero .cv-id[class]{padding-right:0}}
.cv-hero .cv-fsbtns{position:static;grid-column:1/-1;grid-row:auto;order:9;flex-direction:column;align-items:stretch;width:100%;margin-top:8px;padding-top:12px;border-top:1px solid var(--line2,#EFE7D6)}
.cv-hero .cv-fsbtns .fs-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));justify-content:stretch}
.cv-hero .contact-grid.cv-facts{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:12px 0 2px;border:1px solid var(--line2,#EFE7D6);border-radius:12px;overflow:hidden;background:#fff}
.cv-hero .contact-grid.cv-facts>div{border:0;border-right:1px solid var(--line2,#EFE7D6);border-radius:0;padding:9px 12px;min-width:0;background:transparent}
.cv-hero .contact-grid.cv-facts>div:last-child{border-right:0}
.cv-hero .contact-grid.cv-facts small{font-size:10.5px;font-weight:700}
.cv-hero .contact-grid.cv-facts small.sub{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500}
.cv-hero .contact-grid.cv-facts b{font-size:14.5px}
.cv-hero .quick-actions{align-items:center;gap:8px;margin-top:10px}
.cv-hero .quick-actions .qa-sp{flex:1 1 0;min-width:0}
.cv-hero .quick-actions a,.cv-hero .quick-actions button,.cv-hero .quick-actions .excel-btn{border-radius:10px;padding:7px 12px;font-size:13.5px;font-weight:700;background:#fff;color:var(--navy,#10213A);border:1px solid var(--line,#E6DCC6)}
.cv-hero .quick-actions a:first-child{background:var(--navy,#10213A);color:#fff;border-color:var(--navy,#10213A)}
.cv-hero .quick-actions #cvPlan a{background:#fff;color:var(--navy,#10213A)}
.cv-hero .quick-actions .fam-chip.fam-add{border:0;background:none;color:#8A6A22;text-decoration:underline;padding:7px 4px}
/* tabs: underlined, like the rest of Admin */
.cv-tabs{gap:2px;padding:0 4px;border:0;border-bottom:1px solid var(--line,#E6DCC6);border-radius:0;background:var(--ivory,#F6F1E6)}
.cv-tab{border-radius:0;padding:11px 14px;border-bottom:2px solid transparent;margin-bottom:-1px}
.cv-tab:hover{background:transparent;color:var(--navy,#10213A)}
.cv-tab.on{background:transparent;color:var(--navy,#10213A);border-bottom-color:var(--gold,#C7A04C)}
@media(max-width:900px){.cv-hero .contact-grid.cv-facts{grid-template-columns:1fr 1fr}.cv-hero .contact-grid.cv-facts>div{border-bottom:1px solid var(--line2,#EFE7D6)}}
@media(max-width:560px){.cv-hero{padding:16px}.cv-id h2{font-size:22px}.cv-hero .quick-actions .qa-sp{flex-basis:100%;height:0}.cv-hero .contact-grid.cv-facts>div:nth-child(2n){border-right:0}}
@media(max-width:360px){.cv-hero .contact-grid.cv-facts{grid-template-columns:1fr}.cv-hero .contact-grid.cv-facts>div{border-right:0}}
/* phone lead cards: report and PolicyScan chips the same size as the other tags */
.lc-tags .att-chip,.lc-tags .pol-chip{font-size:12.5px!important;font-weight:700;padding:3px 10px!important;margin:0!important;border-radius:99px;line-height:18px;min-height:0}

/* 7.5.2 (Abhishek 10 Nov "Improve ui", phone): a long article title no longer widens the client page; WhatsApp buttons 2 a row, compact */
.cv-hero .cv-fsbtns,.cv-hero .cv-fsbtns .fs-grid{min-width:0;max-width:100%}
@media(max-width:560px){.cv-hero .cv-fsbtns .fs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cv-hero .cv-fsbtns .fs-grid .fs-wa{min-height:42px;padding:8px 10px;font-size:13.5px;justify-content:center;border-radius:12px}}

/* 15 Nov 2026 (Abhishek): compact lead rows. One line per lead: name + score + tags; Stage only; Owner · Next; date only */
.lead-panel table.lt2 tbody td{padding-top:7px;padding-bottom:7px;padding-left:7px;padding-right:7px;vertical-align:middle}
.lead-panel table.lt2 th.c-cl,.lead-panel table.lt2 td.c-cl{width:auto;min-width:0}
.lead-panel table.lt2 td.c-cl{white-space:normal}
.lead-panel table.lt2 td.c-cl>*{white-space:nowrap}
.lead-panel table.lt2 td.c-cl .nm{white-space:normal}
.lead-panel table.lt2 td.c-cl .nm{display:inline}
.lead-panel table.lt2 td.c-cl>*+*{margin-left:7px}
.lead-panel table.lt2 .lt-tags{display:inline-flex;flex-wrap:nowrap;gap:4px;margin-top:0;vertical-align:middle}
.lead-panel table.lt2 .lt-tags>*{font-size:11px!important;padding:1px 7px!important;line-height:16px}
.lead-panel table.lt2 .lt-tags .qi{width:12px;height:12px}
.lead-panel table.lt2 .lt-sf{display:inline-flex;gap:4px;margin-top:0;vertical-align:middle}
.lead-panel table.lt2 td.c-cl .vd{display:inline;margin-top:0}
.lead-panel table.lt2 td.c-st{min-width:0;white-space:nowrap}
.lead-panel table.lt2 td.c-st .badge.stage{max-width:none;white-space:nowrap}
.lead-panel table.lt2 td.c-st .badge{white-space:nowrap;font-size:12px;padding:3px 9px}
.lead-panel table.lt2 td.c-on small.sub,.lead-panel table.lt2 td.c-on .pp-tag{white-space:nowrap}
.lead-panel table.lt2 td.c-on small.sub{display:inline-block!important}
.lead-panel table.lt2 td.c-up{white-space:nowrap}
.lead-panel table.lt2 td.c-on .lt-own{font-weight:600}
.lead-panel table.lt2 td.c-on small.sub{display:inline;margin:0 0 0 5px;font-size:12px}
.lead-panel table.lt2 td.c-on .lt-nx:not(.due){color:#1F6F43;font-weight:700}
.lead-panel table.lt2 td.c-on .lt-nx.due{color:#B3261E;font-weight:700}
.lead-panel table.lt2 th.c-up,.lead-panel table.lt2 td.c-up{min-width:0;cursor:help}
.lead-panel table.lt2 th.c-up{white-space:normal}
.lead-panel table.lt2 th.c-up .th-more{display:block;margin:2px 0 0;font-size:11px}
.lead-panel .pp-tag{display:inline-block;font-size:11px;padding:1px 7px;border-radius:99px;margin-left:6px;line-height:16px;font-weight:600}
.lead-panel .lt-sc .score,.lead-card .lc-tags .score{font-size:12px;padding:1px 8px;white-space:nowrap}
.lead-panel .lt-sc .sc-z,.lead-panel .lt-sc .sc-src,.lead-card .lc-tags .sc-z,.lead-card .lc-tags .sc-src{display:none}
.lead-panel .score.sc-plan{outline:1.6px solid #B8862B;outline-offset:1.5px;box-shadow:0 0 0 3px #FBF3E1}
.lead-panel .iacts .ib{width:28px;height:28px}
.lead-panel .iacts .ib svg{width:15px;height:15px}
@media(max-width:760px){
 .lead-cards{gap:8px}
 .lead-card{padding:10px 12px;display:grid;grid-template-columns:1fr auto;column-gap:8px;row-gap:6px;align-items:center}
 .lead-card .lc-top{grid-column:1/-1;align-items:center}
 .lead-card .lc-top b{font-size:14.5px}
 .lead-card .lc-top small{margin-top:1px;font-size:11.5px}
 .lead-card .lc-top .stage{flex:0 0 auto;white-space:nowrap;font-size:12px}
 .lead-card .lc-tags{margin:0;gap:4px;grid-column:1/2}
 .lead-card .lc-tags>*{font-size:11px!important;padding:2px 7px!important;line-height:16px}
 .lead-card .lc-tags .qi{width:12px;height:12px}
 .lead-card .lc-form,.lead-card .lc-ap{grid-column:1/-1;margin:0;font-size:12px}
 .lead-card .lc-actions.lc-ic{grid-column:2/3;grid-row:2;display:block}
 .lead-card .lc-ic .iacts{gap:6px}
 .lead-card .lc-ic .ib{width:36px;height:36px;min-height:0!important;border-radius:10px}
 .lead-card .lc-ic .ib svg{width:17px;height:17px}
 .lead-card .lc-ic .plan-when{display:none}
}
